Completely updated React, fixed #11, (hopefully)
This commit is contained in:
+19
-16
@@ -12,9 +12,9 @@ npm i --save @devexpress/dx-react-core @devexpress/dx-react-grid @devexpress/dx-
|
||||
|
||||
Add the required modules to your project:
|
||||
|
||||
```js
|
||||
```jsx
|
||||
import {
|
||||
Grid, TableView, TableHeaderRow
|
||||
Grid, Table, TableHeaderRow
|
||||
} from '@devexpress/dx-react-grid-material-ui';
|
||||
|
||||
const App = () => (
|
||||
@@ -28,7 +28,7 @@ const App = () => (
|
||||
{ name: 'product', title: 'Product' },
|
||||
{ name: 'owner', title: 'Owner' },
|
||||
]}>
|
||||
<TableView />
|
||||
<Table />
|
||||
<TableHeaderRow />
|
||||
</Grid>
|
||||
);
|
||||
@@ -44,28 +44,31 @@ See [demos](https://devexpress.github.io/devextreme-reactive/react/grid/demos/)
|
||||
|
||||
## Reference
|
||||
|
||||
The package exposes components and plugins with injected templates.
|
||||
The package exposes components and plugins with injected template components.
|
||||
|
||||
Components:
|
||||
|
||||
- [Grid](https://devexpress.github.io/devextreme-reactive/react/grid/docs/reference/grid/)
|
||||
- [ColumnChooser](https://devexpress.github.io/devextreme-reactive/react/grid/docs/reference/column-chooser/)
|
||||
|
||||
Plugins:
|
||||
|
||||
- [TableView](https://devexpress.github.io/devextreme-reactive/react/grid/docs/reference/table-view/)
|
||||
- [TableHeaderRow](https://devexpress.github.io/devextreme-reactive/react/grid/docs/reference/table-header-row/)
|
||||
- [TableSelection](https://devexpress.github.io/devextreme-reactive/react/grid/docs/reference/table-selection/)
|
||||
- [TableFilterRow](https://devexpress.github.io/devextreme-reactive/react/grid/docs/reference/table-filter-row/)
|
||||
- [TableRowDetail](https://devexpress.github.io/devextreme-reactive/react/grid/docs/reference/table-row-detail/)
|
||||
- [TableGroupRow](https://devexpress.github.io/devextreme-reactive/react/grid/docs/reference/table-group-row/)
|
||||
- [TableColumnVisibility](https://devexpress.github.io/devextreme-reactive/react/grid/docs/reference/table-column-visibility/)
|
||||
- [TableColumnReordering](https://devexpress.github.io/devextreme-reactive/react/grid/docs/reference/table-column-reordering/)
|
||||
- [DragDropProvider](https://devexpress.github.io/devextreme-reactive/react/grid/docs/reference/drag-drop-provider/)
|
||||
- [GroupingPanel](https://devexpress.github.io/devextreme-reactive/react/grid/docs/reference/grouping-panel/)
|
||||
- [ColumnChooser](https://devexpress.github.io/devextreme-reactive/react/grid/docs/reference/column-chooser/)
|
||||
- [PagingPanel](https://devexpress.github.io/devextreme-reactive/react/grid/docs/reference/paging-panel/)
|
||||
- [DragDropContext](https://devexpress.github.io/devextreme-reactive/react/grid/docs/reference/drag-drop-context/)
|
||||
|
||||
The templates are defined via properties that end with the 'Template' postfix which accept a rendering function. Assign a custom function to the required property to override the default rendering function. The custom function should return `undefined` if you need to invoke the default behavior under certain conditions.
|
||||
- [Table](https://devexpress.github.io/devextreme-reactive/react/grid/docs/reference/table/)
|
||||
- [TableColumnResizing](https://devexpress.github.io/devextreme-reactive/react/grid/docs/reference/table-column-resizing/)
|
||||
- [TableColumnReordering](https://devexpress.github.io/devextreme-reactive/react/grid/docs/reference/table-column-reordering/)
|
||||
- [TableColumnVisibility](https://devexpress.github.io/devextreme-reactive/react/grid/docs/reference/table-column-visibility/)
|
||||
- [TableEditColumn](https://devexpress.github.io/devextreme-reactive/react/grid/docs/reference/table-edit-column/)
|
||||
- [TableEditRow](https://devexpress.github.io/devextreme-reactive/react/grid/docs/reference/table-edit-row/)
|
||||
- [TableFilterRow](https://devexpress.github.io/devextreme-reactive/react/grid/docs/reference/table-filter-row/)
|
||||
- [TableGroupRow](https://devexpress.github.io/devextreme-reactive/react/grid/docs/reference/table-group-row/)
|
||||
- [TableHeaderRow](https://devexpress.github.io/devextreme-reactive/react/grid/docs/reference/table-header-row/)
|
||||
- [TableRowDetail](https://devexpress.github.io/devextreme-reactive/react/grid/docs/reference/table-row-detail/)
|
||||
- [TableSelection](https://devexpress.github.io/devextreme-reactive/react/grid/docs/reference/table-selection/)
|
||||
- [Toolbar](https://devexpress.github.io/devextreme-reactive/react/grid/docs/reference/toolbar/)
|
||||
- [VirtualTable](https://devexpress.github.io/devextreme-reactive/react/grid/docs/reference/virtual-table/)
|
||||
|
||||
## License
|
||||
|
||||
|
||||
Generated
Vendored
+1024
-1056
File diff suppressed because it is too large
Load Diff
Generated
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Generated
Vendored
+997
-1031
File diff suppressed because it is too large
Load Diff
Generated
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Generated
Vendored
+1
-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-material-ui\\node_modules\\promise",
|
||||
"_where": "C:\\Users\\deranjer\\go\\src\\github.com\\deranjer\\goTorrent\\goTorrentWebUI\\node_modules\\@devexpress\\dx-react-grid-material-ui\\node_modules\\promise",
|
||||
"browser": {
|
||||
"./asap": "./browser-asap.js",
|
||||
"./asap.js": "./browser-asap.js",
|
||||
|
||||
Generated
Vendored
+1
-1
@@ -21,7 +21,7 @@
|
||||
"_resolved": "https://registry.npmjs.org/classnames/-/classnames-2.2.5.tgz",
|
||||
"_shasum": "fb3801d453467649ef3603c7d61a02bd129bde6d",
|
||||
"_spec": "classnames@^2.2.5",
|
||||
"_where": "C:\\Users\\deranjer\\GoglandProjects\\torrent-project\\torrent-project\\node_modules\\@devexpress\\dx-react-grid-material-ui",
|
||||
"_where": "C:\\Users\\deranjer\\go\\src\\github.com\\deranjer\\goTorrent\\goTorrentWebUI\\node_modules\\@devexpress\\dx-react-grid-material-ui",
|
||||
"author": {
|
||||
"name": "Jed Watson"
|
||||
},
|
||||
|
||||
Generated
Vendored
+1
-1
@@ -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-material-ui\\node_modules\\fbjs",
|
||||
"_where": "C:\\Users\\deranjer\\go\\src\\github.com\\deranjer\\goTorrent\\goTorrentWebUI\\node_modules\\@devexpress\\dx-react-grid-material-ui\\node_modules\\fbjs",
|
||||
"bugs": {
|
||||
"url": "https://github.com/zloirock/core-js/issues"
|
||||
},
|
||||
|
||||
goTorrentWebUI/node_modules/@devexpress/dx-react-grid-material-ui/node_modules/encoding/package.json
Generated
Vendored
+1
-1
@@ -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-material-ui\\node_modules\\node-fetch",
|
||||
"_where": "C:\\Users\\deranjer\\go\\src\\github.com\\deranjer\\goTorrent\\goTorrentWebUI\\node_modules\\@devexpress\\dx-react-grid-material-ui\\node_modules\\node-fetch",
|
||||
"author": {
|
||||
"name": "Andris Reinman"
|
||||
},
|
||||
|
||||
Generated
Vendored
+1
-1
@@ -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-material-ui\\node_modules\\prop-types",
|
||||
"_where": "C:\\Users\\deranjer\\go\\src\\github.com\\deranjer\\goTorrent\\goTorrentWebUI\\node_modules\\@devexpress\\dx-react-grid-material-ui\\node_modules\\prop-types",
|
||||
"browserify": {
|
||||
"transform": [
|
||||
"loose-envify"
|
||||
|
||||
Generated
Vendored
+1
-1
@@ -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-material-ui\\node_modules\\encoding",
|
||||
"_where": "C:\\Users\\deranjer\\go\\src\\github.com\\deranjer\\goTorrent\\goTorrentWebUI\\node_modules\\@devexpress\\dx-react-grid-material-ui\\node_modules\\encoding",
|
||||
"author": {
|
||||
"name": "Alexander Shtuchkin",
|
||||
"email": "ashtuchkin@gmail.com"
|
||||
|
||||
Generated
Vendored
+1
-1
@@ -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-material-ui\\node_modules\\node-fetch",
|
||||
"_where": "C:\\Users\\deranjer\\go\\src\\github.com\\deranjer\\goTorrent\\goTorrentWebUI\\node_modules\\@devexpress\\dx-react-grid-material-ui\\node_modules\\node-fetch",
|
||||
"author": {
|
||||
"name": "Sindre Sorhus",
|
||||
"email": "sindresorhus@gmail.com",
|
||||
|
||||
Generated
Vendored
+1
-1
@@ -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-material-ui\\node_modules\\fbjs",
|
||||
"_where": "C:\\Users\\deranjer\\go\\src\\github.com\\deranjer\\goTorrent\\goTorrentWebUI\\node_modules\\@devexpress\\dx-react-grid-material-ui\\node_modules\\fbjs",
|
||||
"author": {
|
||||
"name": "Matt Andrews",
|
||||
"email": "matt@mattandre.ws"
|
||||
|
||||
Generated
Vendored
+1
-1
@@ -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-material-ui\\node_modules\\loose-envify",
|
||||
"_where": "C:\\Users\\deranjer\\go\\src\\github.com\\deranjer\\goTorrent\\goTorrentWebUI\\node_modules\\@devexpress\\dx-react-grid-material-ui\\node_modules\\loose-envify",
|
||||
"author": {
|
||||
"name": "Simon Lydell"
|
||||
},
|
||||
|
||||
Generated
Vendored
+1
-1
@@ -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-material-ui\\node_modules\\prop-types",
|
||||
"_where": "C:\\Users\\deranjer\\go\\src\\github.com\\deranjer\\goTorrent\\goTorrentWebUI\\node_modules\\@devexpress\\dx-react-grid-material-ui\\node_modules\\prop-types",
|
||||
"author": {
|
||||
"name": "Andres Suarez",
|
||||
"email": "zertosh@gmail.com"
|
||||
|
||||
Generated
Vendored
+1
-1
@@ -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-material-ui\\node_modules\\isomorphic-fetch",
|
||||
"_where": "C:\\Users\\deranjer\\go\\src\\github.com\\deranjer\\goTorrent\\goTorrentWebUI\\node_modules\\@devexpress\\dx-react-grid-material-ui\\node_modules\\isomorphic-fetch",
|
||||
"author": {
|
||||
"name": "David Frank"
|
||||
},
|
||||
|
||||
Generated
Vendored
+1
-1
@@ -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-material-ui\\node_modules\\prop-types",
|
||||
"_where": "C:\\Users\\deranjer\\go\\src\\github.com\\deranjer\\goTorrent\\goTorrentWebUI\\node_modules\\@devexpress\\dx-react-grid-material-ui\\node_modules\\prop-types",
|
||||
"author": {
|
||||
"name": "Sindre Sorhus",
|
||||
"email": "sindresorhus@gmail.com",
|
||||
|
||||
Generated
Vendored
+1
-1
@@ -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-material-ui\\node_modules\\fbjs",
|
||||
"_where": "C:\\Users\\deranjer\\go\\src\\github.com\\deranjer\\goTorrent\\goTorrentWebUI\\node_modules\\@devexpress\\dx-react-grid-material-ui\\node_modules\\fbjs",
|
||||
"author": {
|
||||
"name": "ForbesLindesay"
|
||||
},
|
||||
|
||||
Generated
Vendored
+20
-4
@@ -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
|
||||
|
||||
|
||||
Generated
Vendored
+8
-8
@@ -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-material-ui/prop-types",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
@@ -18,17 +18,17 @@
|
||||
"_requiredBy": [
|
||||
"/@devexpress/dx-react-grid-material-ui"
|
||||
],
|
||||
"_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-material-ui",
|
||||
"_where": "C:\\Users\\deranjer\\go\\src\\github.com\\deranjer\\goTorrent\\goTorrentWebUI\\node_modules\\@devexpress\\dx-react-grid-material-ui",
|
||||
"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"
|
||||
}
|
||||
|
||||
Generated
Vendored
+42
-50
@@ -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;
|
||||
|
||||
Generated
Vendored
+1
-1
@@ -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-material-ui\\node_modules\\fbjs",
|
||||
"_where": "C:\\Users\\deranjer\\go\\src\\github.com\\deranjer\\goTorrent\\goTorrentWebUI\\node_modules\\@devexpress\\dx-react-grid-material-ui\\node_modules\\fbjs",
|
||||
"author": {
|
||||
"name": "YuzuJS"
|
||||
},
|
||||
|
||||
Generated
Vendored
+1
-1
@@ -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-material-ui\\node_modules\\fbjs",
|
||||
"_where": "C:\\Users\\deranjer\\go\\src\\github.com\\deranjer\\goTorrent\\goTorrentWebUI\\node_modules\\@devexpress\\dx-react-grid-material-ui\\node_modules\\fbjs",
|
||||
"author": {
|
||||
"name": "Faisal Salman",
|
||||
"email": "f@faisalman.com",
|
||||
|
||||
Generated
Vendored
+1
-1
@@ -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-material-ui\\node_modules\\isomorphic-fetch",
|
||||
"_where": "C:\\Users\\deranjer\\go\\src\\github.com\\deranjer\\goTorrent\\goTorrentWebUI\\node_modules\\@devexpress\\dx-react-grid-material-ui\\node_modules\\isomorphic-fetch",
|
||||
"bugs": {
|
||||
"url": "https://github.com/github/fetch/issues"
|
||||
},
|
||||
|
||||
+35
-34
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"_from": "@devexpress/dx-react-grid-material-ui",
|
||||
"_id": "@devexpress/dx-react-grid-material-ui@1.0.0-beta.1",
|
||||
"_id": "@devexpress/dx-react-grid-material-ui@1.0.3",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-6KIBi2FYGsmBjTcRFi03C8U1ijCivIBUoVrM2MwsjRXD2tedUZ3DsHtpb5KZK4s2eOBYt9I8ZEAVnrvieWjDyQ==",
|
||||
"_integrity": "sha512-na/nxtsWLEpIWuPagCl78uxq7LGZzokl/XqXFOfMBogFvbuuzkaJ5Z3cfMTwKnCUqBFmgRnaAdTPMnmYoH0tOw==",
|
||||
"_location": "/@devexpress/dx-react-grid-material-ui",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
@@ -19,10 +19,10 @@
|
||||
"_requiredBy": [
|
||||
"#USER"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/@devexpress/dx-react-grid-material-ui/-/dx-react-grid-material-ui-1.0.0-beta.1.tgz",
|
||||
"_shasum": "437b63a3ccd1ab5cb3f4fa82d0608d754afbef8a",
|
||||
"_resolved": "https://registry.npmjs.org/@devexpress/dx-react-grid-material-ui/-/dx-react-grid-material-ui-1.0.3.tgz",
|
||||
"_shasum": "c0844349c6b2ad5d2fdca7faf87f3cc56ad61121",
|
||||
"_spec": "@devexpress/dx-react-grid-material-ui",
|
||||
"_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/"
|
||||
@@ -38,40 +38,41 @@
|
||||
"deprecated": false,
|
||||
"description": "Material UI templates for DevExtreme React Grid component",
|
||||
"devDependencies": {
|
||||
"@devexpress/dx-grid-core": "1.0.0-beta.1",
|
||||
"@devexpress/dx-react-core": "1.0.0-beta.1",
|
||||
"@devexpress/dx-react-grid": "1.0.0-beta.1",
|
||||
"@devexpress/dx-testing": "1.0.0-beta.1",
|
||||
"@devexpress/dx-grid-core": "1.0.3",
|
||||
"@devexpress/dx-react-core": "1.0.3",
|
||||
"@devexpress/dx-react-grid": "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",
|
||||
"jss": "^9.2.0",
|
||||
"jss-preset-default": "^4.0.1",
|
||||
"eslint-plugin-jest": "^21.7.0",
|
||||
"eslint-plugin-jsx-a11y": "^6.0.3",
|
||||
"eslint-plugin-react": "^7.6.1",
|
||||
"jest": "^22.1.4",
|
||||
"jss": "^9.6.0",
|
||||
"jss-preset-default": "^4.1.0",
|
||||
"jss-theme-reactor": "^0.11.1",
|
||||
"material-ui": "1.0.0-beta.20",
|
||||
"material-ui-icons": "1.0.0-beta.17",
|
||||
"react": "^15.6.1",
|
||||
"react-dom": "^15.6.1",
|
||||
"react-test-renderer": "^15.6.1",
|
||||
"material-ui": "1.0.0-beta.35",
|
||||
"material-ui-icons": "1.0.0-beta.35",
|
||||
"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"
|
||||
@@ -80,7 +81,7 @@
|
||||
"homepage": "https://devexpress.github.io/devextreme-reactive/",
|
||||
"jest": {
|
||||
"setupFiles": [
|
||||
"<rootDir>/setup.js"
|
||||
"<rootDir>/setup-enzyme.js"
|
||||
]
|
||||
},
|
||||
"keywords": [
|
||||
@@ -96,12 +97,12 @@
|
||||
"module": "dist/dx-react-grid-material-ui.es.js",
|
||||
"name": "@devexpress/dx-react-grid-material-ui",
|
||||
"peerDependencies": {
|
||||
"@devexpress/dx-grid-core": "1.0.0-beta.1",
|
||||
"@devexpress/dx-react-core": "1.0.0-beta.1",
|
||||
"@devexpress/dx-react-grid": "1.0.0-beta.1",
|
||||
"material-ui": "1.0.0-beta.20",
|
||||
"material-ui-icons": "1.0.0-beta.17",
|
||||
"react": "^15.6.1 || ^16.0.0"
|
||||
"@devexpress/dx-grid-core": "1.0.3",
|
||||
"@devexpress/dx-react-core": "1.0.3",
|
||||
"@devexpress/dx-react-grid": "1.0.3",
|
||||
"material-ui": "1.0.0-beta.35",
|
||||
"material-ui-icons": "1.0.0-beta.35",
|
||||
"react": "^16.2.0"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
@@ -119,5 +120,5 @@
|
||||
"test:coverage": "jest --coverage",
|
||||
"test:watch": "jest --watch"
|
||||
},
|
||||
"version": "1.0.0-beta.1"
|
||||
"version": "1.0.3"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user