react-ui-basics 0.0.152 → 0.0.155
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Animated.js +2 -0
- package/AutocompleteSelect.js +2 -0
- package/Button.js +2 -0
- package/Checkbox.js +2 -0
- package/CircleProgress.js +2 -0
- package/DNDContainer.js +2 -0
- package/DNDDraggable.js +2 -0
- package/DNDDroppable.js +2 -0
- package/Dialog.js +3 -1
- package/DropFileInput.js +2 -0
- package/DroppableHorizontalList.js +3 -1
- package/DroppableList.js +3 -1
- package/Dropzone.js +3 -1
- package/FilteredList.js +2 -0
- package/FloatingActionButton.js +2 -0
- package/FormUploadProgress.js +2 -0
- package/ImageGallery.js +3 -1
- package/MaterialIcon.js +2 -0
- package/Modal.js +3 -1
- package/ModalMenu.js +2 -0
- package/ReactConstants.js +1 -1
- package/ReadyListener.js +2 -0
- package/Scrollable.js +3 -1
- package/ScrollableTable.js +2 -0
- package/Size.js +2 -0
- package/Snackbar.js +2 -0
- package/SpinningProgress.js +2 -0
- package/Switch.js +2 -0
- package/Table.d.ts +22 -22
- package/Table.js +114 -98
- package/Table.js.map +1 -1
- package/TextField.js +3 -1
- package/Tools.js +120 -105
- package/Tools.js.map +1 -1
- package/bundle.css +642 -642
- package/index.js +2 -0
- package/package.json +1 -1
- package/router/Link.js +2 -0
- package/router/NavLink.js +2 -0
- package/router/Route.js +3 -1
- package/router/index.js +2 -0
- package/store/ProxyTools.js +2 -0
- package/store/Store.js +30 -26
- package/store/Store.js.map +1 -1
package/Animated.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { inherits as _inherits, createSuper as _createSuper, createClass as _createClass, defineProperty as _defineProperty, classCallCheck as _classCallCheck, assertThisInitialized as _assertThisInitialized, objectSpread2 as _objectSpread2 } from './_virtual/_rollupPluginBabelHelpers.js';
|
|
2
|
+
import {toConsumableArray as __toConsumableArray} from "./_virtual/_rollupPluginBabelHelpers";
|
|
2
3
|
import {extends as __extends} from "./_virtual/_rollupPluginBabelHelpers";
|
|
4
|
+
import {inherits as __inherits} from "./_virtual/_rollupPluginBabelHelpers";
|
|
3
5
|
import {className as __className} from "./ReactConstants";
|
|
4
6
|
import {children as __children} from "./ReactConstants";
|
|
5
7
|
import React from 'react';
|
package/AutocompleteSelect.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { inherits as _inherits, createSuper as _createSuper, classCallCheck as _classCallCheck, objectSpread2 as _objectSpread2, defineProperty as _defineProperty, assertThisInitialized as _assertThisInitialized, createClass as _createClass, toConsumableArray as _toConsumableArray } from './_virtual/_rollupPluginBabelHelpers.js';
|
|
2
|
+
import {toConsumableArray as __toConsumableArray} from "./_virtual/_rollupPluginBabelHelpers";
|
|
2
3
|
import {extends as __extends} from "./_virtual/_rollupPluginBabelHelpers";
|
|
4
|
+
import {inherits as __inherits} from "./_virtual/_rollupPluginBabelHelpers";
|
|
3
5
|
import {className as __className} from "./ReactConstants";
|
|
4
6
|
import {children as __children} from "./ReactConstants";
|
|
5
7
|
import React from 'react';
|
package/Button.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { inherits as _inherits, createSuper as _createSuper, classCallCheck as _classCallCheck, assertThisInitialized as _assertThisInitialized, createClass as _createClass } from './_virtual/_rollupPluginBabelHelpers.js';
|
|
2
|
+
import {toConsumableArray as __toConsumableArray} from "./_virtual/_rollupPluginBabelHelpers";
|
|
2
3
|
import {extends as __extends} from "./_virtual/_rollupPluginBabelHelpers";
|
|
4
|
+
import {inherits as __inherits} from "./_virtual/_rollupPluginBabelHelpers";
|
|
3
5
|
import {className as __className} from "./ReactConstants";
|
|
4
6
|
import {children as __children} from "./ReactConstants";
|
|
5
7
|
import 'react';
|
package/Checkbox.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { inherits as _inherits, createSuper as _createSuper, classCallCheck as _classCallCheck, assertThisInitialized as _assertThisInitialized, createClass as _createClass } from './_virtual/_rollupPluginBabelHelpers.js';
|
|
2
|
+
import {toConsumableArray as __toConsumableArray} from "./_virtual/_rollupPluginBabelHelpers";
|
|
2
3
|
import {extends as __extends} from "./_virtual/_rollupPluginBabelHelpers";
|
|
4
|
+
import {inherits as __inherits} from "./_virtual/_rollupPluginBabelHelpers";
|
|
3
5
|
import {className as __className} from "./ReactConstants";
|
|
4
6
|
import {children as __children} from "./ReactConstants";
|
|
5
7
|
import 'react';
|
package/CircleProgress.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import 'react';
|
|
2
|
+
import {toConsumableArray as __toConsumableArray} from "./_virtual/_rollupPluginBabelHelpers";
|
|
2
3
|
import {extends as __extends} from "./_virtual/_rollupPluginBabelHelpers";
|
|
4
|
+
import {inherits as __inherits} from "./_virtual/_rollupPluginBabelHelpers";
|
|
3
5
|
import {className as __className} from "./ReactConstants";
|
|
4
6
|
import {children as __children} from "./ReactConstants";
|
|
5
7
|
import ReactCreateElement from './ReactCreateElement.js';
|
package/DNDContainer.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { inherits as _inherits, createSuper as _createSuper, classCallCheck as _classCallCheck, createClass as _createClass } from './_virtual/_rollupPluginBabelHelpers.js';
|
|
2
|
+
import {toConsumableArray as __toConsumableArray} from "./_virtual/_rollupPluginBabelHelpers";
|
|
2
3
|
import {extends as __extends} from "./_virtual/_rollupPluginBabelHelpers";
|
|
4
|
+
import {inherits as __inherits} from "./_virtual/_rollupPluginBabelHelpers";
|
|
3
5
|
import {className as __className} from "./ReactConstants";
|
|
4
6
|
import {children as __children} from "./ReactConstants";
|
|
5
7
|
import { Component } from 'react';
|
package/DNDDraggable.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { inherits as _inherits, createSuper as _createSuper, classCallCheck as _classCallCheck, assertThisInitialized as _assertThisInitialized, createClass as _createClass } from './_virtual/_rollupPluginBabelHelpers.js';
|
|
2
|
+
import {toConsumableArray as __toConsumableArray} from "./_virtual/_rollupPluginBabelHelpers";
|
|
2
3
|
import {extends as __extends} from "./_virtual/_rollupPluginBabelHelpers";
|
|
4
|
+
import {inherits as __inherits} from "./_virtual/_rollupPluginBabelHelpers";
|
|
3
5
|
import {className as __className} from "./ReactConstants";
|
|
4
6
|
import {children as __children} from "./ReactConstants";
|
|
5
7
|
import 'react';
|
package/DNDDroppable.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { inherits as _inherits, createSuper as _createSuper, classCallCheck as _classCallCheck, assertThisInitialized as _assertThisInitialized, createClass as _createClass } from './_virtual/_rollupPluginBabelHelpers.js';
|
|
2
|
+
import {toConsumableArray as __toConsumableArray} from "./_virtual/_rollupPluginBabelHelpers";
|
|
2
3
|
import {extends as __extends} from "./_virtual/_rollupPluginBabelHelpers";
|
|
4
|
+
import {inherits as __inherits} from "./_virtual/_rollupPluginBabelHelpers";
|
|
3
5
|
import {className as __className} from "./ReactConstants";
|
|
4
6
|
import {children as __children} from "./ReactConstants";
|
|
5
7
|
import 'react';
|
package/Dialog.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { inherits as _inherits, createSuper as _createSuper, classCallCheck as _classCallCheck, createClass as _createClass, assertThisInitialized as _assertThisInitialized, slicedToArray as _slicedToArray, objectWithoutProperties as _objectWithoutProperties, extends as _extends } from './_virtual/_rollupPluginBabelHelpers.js';
|
|
2
|
+
import {toConsumableArray as __toConsumableArray} from "./_virtual/_rollupPluginBabelHelpers";
|
|
2
3
|
import {extends as __extends} from "./_virtual/_rollupPluginBabelHelpers";
|
|
4
|
+
import {inherits as __inherits} from "./_virtual/_rollupPluginBabelHelpers";
|
|
3
5
|
import {className as __className} from "./ReactConstants";
|
|
4
6
|
import {children as __children} from "./ReactConstants";
|
|
5
7
|
import { Component } from 'react';
|
|
@@ -7,7 +9,7 @@ import ReactCreateElement from './ReactCreateElement.js';
|
|
|
7
9
|
import Button from './Button.js';
|
|
8
10
|
import Modal from './Modal.js';
|
|
9
11
|
import { classNames, UNDEFINED, isUndefined, orNoop, createRef, preventDefault } from './Tools.js';
|
|
10
|
-
import { render,
|
|
12
|
+
import { render, stateGSs, componentDidMount, PureComponent, propsGetter } from './ReactConstants.js';
|
|
11
13
|
import PropTypes from 'prop-types';
|
|
12
14
|
|
|
13
15
|
var _excluded = ["top", "className"];
|
package/DropFileInput.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import 'react';
|
|
2
|
+
import {toConsumableArray as __toConsumableArray} from "./_virtual/_rollupPluginBabelHelpers";
|
|
2
3
|
import {extends as __extends} from "./_virtual/_rollupPluginBabelHelpers";
|
|
4
|
+
import {inherits as __inherits} from "./_virtual/_rollupPluginBabelHelpers";
|
|
3
5
|
import {className as __className} from "./ReactConstants";
|
|
4
6
|
import {children as __children} from "./ReactConstants";
|
|
5
7
|
import ReactCreateElement from './ReactCreateElement.js';
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { inherits as _inherits, createSuper as _createSuper, classCallCheck as _classCallCheck, assertThisInitialized as _assertThisInitialized, createClass as _createClass } from './_virtual/_rollupPluginBabelHelpers.js';
|
|
2
|
+
import {toConsumableArray as __toConsumableArray} from "./_virtual/_rollupPluginBabelHelpers";
|
|
2
3
|
import {extends as __extends} from "./_virtual/_rollupPluginBabelHelpers";
|
|
4
|
+
import {inherits as __inherits} from "./_virtual/_rollupPluginBabelHelpers";
|
|
3
5
|
import {className as __className} from "./ReactConstants";
|
|
4
6
|
import {children as __children} from "./ReactConstants";
|
|
5
7
|
import React, { Component } from 'react';
|
|
@@ -8,7 +10,7 @@ import DNDDroppable from './DNDDroppable.js';
|
|
|
8
10
|
import { orNoop, NOOP, setTimeout, classNames } from './Tools.js';
|
|
9
11
|
import DNDDraggable from './DNDDraggable.js';
|
|
10
12
|
import { addListener } from './DNDContainer.js';
|
|
11
|
-
import {
|
|
13
|
+
import { stateGS, componentDidUpdate, children, componentDidMount, setState, props, render, propsGetter } from './ReactConstants.js';
|
|
12
14
|
|
|
13
15
|
var DroppableHorizontalList = function (_Component) {
|
|
14
16
|
_inherits(DroppableHorizontalList, _Component);
|
package/DroppableList.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { inherits as _inherits, createSuper as _createSuper, classCallCheck as _classCallCheck, assertThisInitialized as _assertThisInitialized, createClass as _createClass } from './_virtual/_rollupPluginBabelHelpers.js';
|
|
2
|
+
import {toConsumableArray as __toConsumableArray} from "./_virtual/_rollupPluginBabelHelpers";
|
|
2
3
|
import {extends as __extends} from "./_virtual/_rollupPluginBabelHelpers";
|
|
4
|
+
import {inherits as __inherits} from "./_virtual/_rollupPluginBabelHelpers";
|
|
3
5
|
import {className as __className} from "./ReactConstants";
|
|
4
6
|
import {children as __children} from "./ReactConstants";
|
|
5
7
|
import React, { Component } from 'react';
|
|
@@ -8,7 +10,7 @@ import DNDDroppable from './DNDDroppable.js';
|
|
|
8
10
|
import { orNoop, NOOP, setTimeout, classNames } from './Tools.js';
|
|
9
11
|
import DNDDraggable from './DNDDraggable.js';
|
|
10
12
|
import { addListener } from './DNDContainer.js';
|
|
11
|
-
import {
|
|
13
|
+
import { stateGS, componentDidUpdate, children, componentDidMount, setState, props, render, propsGetter } from './ReactConstants.js';
|
|
12
14
|
|
|
13
15
|
var DroppableList = function (_Component) {
|
|
14
16
|
_inherits(DroppableList, _Component);
|
package/Dropzone.js
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { inherits as _inherits, createSuper as _createSuper, classCallCheck as _classCallCheck, assertThisInitialized as _assertThisInitialized, createClass as _createClass } from './_virtual/_rollupPluginBabelHelpers.js';
|
|
2
|
+
import {toConsumableArray as __toConsumableArray} from "./_virtual/_rollupPluginBabelHelpers";
|
|
2
3
|
import {extends as __extends} from "./_virtual/_rollupPluginBabelHelpers";
|
|
4
|
+
import {inherits as __inherits} from "./_virtual/_rollupPluginBabelHelpers";
|
|
3
5
|
import {className as __className} from "./ReactConstants";
|
|
4
6
|
import {children as __children} from "./ReactConstants";
|
|
5
7
|
import 'react';
|
|
6
8
|
import PropTypes from 'prop-types';
|
|
7
9
|
import ReactCreateElement from './ReactCreateElement.js';
|
|
8
10
|
import { setOf, classNames, UNDEFINED, createRef, preventDefault, stopPropagation } from './Tools.js';
|
|
9
|
-
import {
|
|
11
|
+
import { stateGS, render, propsGetter, PureComponent } from './ReactConstants.js';
|
|
10
12
|
|
|
11
13
|
var toArray = function toArray(o) {
|
|
12
14
|
if (o instanceof Array) return o;
|
package/FilteredList.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { inherits as _inherits, createSuper as _createSuper, classCallCheck as _classCallCheck, createClass as _createClass, objectSpread2 as _objectSpread2 } from './_virtual/_rollupPluginBabelHelpers.js';
|
|
2
|
+
import {toConsumableArray as __toConsumableArray} from "./_virtual/_rollupPluginBabelHelpers";
|
|
2
3
|
import {extends as __extends} from "./_virtual/_rollupPluginBabelHelpers";
|
|
4
|
+
import {inherits as __inherits} from "./_virtual/_rollupPluginBabelHelpers";
|
|
3
5
|
import {className as __className} from "./ReactConstants";
|
|
4
6
|
import {children as __children} from "./ReactConstants";
|
|
5
7
|
import React from 'react';
|
package/FloatingActionButton.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import 'react';
|
|
2
|
+
import {toConsumableArray as __toConsumableArray} from "./_virtual/_rollupPluginBabelHelpers";
|
|
2
3
|
import {extends as __extends} from "./_virtual/_rollupPluginBabelHelpers";
|
|
4
|
+
import {inherits as __inherits} from "./_virtual/_rollupPluginBabelHelpers";
|
|
3
5
|
import {className as __className} from "./ReactConstants";
|
|
4
6
|
import {children as __children} from "./ReactConstants";
|
|
5
7
|
import ReactCreateElement from './ReactCreateElement.js';
|
package/FormUploadProgress.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import {toConsumableArray as __toConsumableArray} from "./_virtual/_rollupPluginBabelHelpers";
|
|
2
3
|
import {extends as __extends} from "./_virtual/_rollupPluginBabelHelpers";
|
|
4
|
+
import {inherits as __inherits} from "./_virtual/_rollupPluginBabelHelpers";
|
|
3
5
|
import {className as __className} from "./ReactConstants";
|
|
4
6
|
import {children as __children} from "./ReactConstants";
|
|
5
7
|
import ReactCreateElement from './ReactCreateElement.js';
|
package/ImageGallery.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { createClass as _createClass, classCallCheck as _classCallCheck, objectSpread2 as _objectSpread2, defineProperty as _defineProperty, inherits as _inherits, createSuper as _createSuper, assertThisInitialized as _assertThisInitialized, slicedToArray as _slicedToArray, extends as _extends, toConsumableArray as _toConsumableArray } from './_virtual/_rollupPluginBabelHelpers.js';
|
|
2
|
+
import {toConsumableArray as __toConsumableArray} from "./_virtual/_rollupPluginBabelHelpers";
|
|
2
3
|
import {extends as __extends} from "./_virtual/_rollupPluginBabelHelpers";
|
|
4
|
+
import {inherits as __inherits} from "./_virtual/_rollupPluginBabelHelpers";
|
|
3
5
|
import {className as __className} from "./ReactConstants";
|
|
4
6
|
import {children as __children} from "./ReactConstants";
|
|
5
7
|
import React from 'react';
|
|
@@ -9,7 +11,7 @@ import Button from './Button.js';
|
|
|
9
11
|
import SpinningProgress from './SpinningProgress.js';
|
|
10
12
|
import { UNDEFINED, setTimeout, addEventListener, removeEventListener, classNames, WINDOW, orNoop, preventDefault, isDifferent, DOCUMENT, stopPropagation, createRef, debounce } from './Tools.js';
|
|
11
13
|
import MaterialIcon from './MaterialIcon.js';
|
|
12
|
-
import { stateGSs,
|
|
14
|
+
import { stateGSs, componentDidUpdate, componentDidMount, componentWillUnmount, render, propsGetter } from './ReactConstants.js';
|
|
13
15
|
|
|
14
16
|
var _reducers;
|
|
15
17
|
var min = Math.min;
|
package/MaterialIcon.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import 'react';
|
|
2
|
+
import {toConsumableArray as __toConsumableArray} from "./_virtual/_rollupPluginBabelHelpers";
|
|
2
3
|
import {extends as __extends} from "./_virtual/_rollupPluginBabelHelpers";
|
|
4
|
+
import {inherits as __inherits} from "./_virtual/_rollupPluginBabelHelpers";
|
|
3
5
|
import {className as __className} from "./ReactConstants";
|
|
4
6
|
import {children as __children} from "./ReactConstants";
|
|
5
7
|
import ReactCreateElement from './ReactCreateElement.js';
|
package/Modal.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { inherits as _inherits, createSuper as _createSuper, classCallCheck as _classCallCheck, assertThisInitialized as _assertThisInitialized, slicedToArray as _slicedToArray, createClass as _createClass } from './_virtual/_rollupPluginBabelHelpers.js';
|
|
2
|
+
import {toConsumableArray as __toConsumableArray} from "./_virtual/_rollupPluginBabelHelpers";
|
|
2
3
|
import {extends as __extends} from "./_virtual/_rollupPluginBabelHelpers";
|
|
4
|
+
import {inherits as __inherits} from "./_virtual/_rollupPluginBabelHelpers";
|
|
3
5
|
import {className as __className} from "./ReactConstants";
|
|
4
6
|
import {children as __children} from "./ReactConstants";
|
|
5
7
|
import React from 'react';
|
|
@@ -7,7 +9,7 @@ import ReactDOM from 'react-dom';
|
|
|
7
9
|
import ReactCreateElement from './ReactCreateElement.js';
|
|
8
10
|
import Button from './Button.js';
|
|
9
11
|
import { classNames, orNoop, setTimeout, UNDEFINED, removeEventListener, DOCUMENT, addEventListener, createRef, stopPropagation } from './Tools.js';
|
|
10
|
-
import { stateGSs,
|
|
12
|
+
import { stateGSs, render, componentDidMount, componentDidUpdate, propsGetter, PureComponent } from './ReactConstants.js';
|
|
11
13
|
import MaterialIcon from './MaterialIcon.js';
|
|
12
14
|
import PropTypes from 'prop-types';
|
|
13
15
|
|
package/ModalMenu.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { inherits as _inherits, createSuper as _createSuper, classCallCheck as _classCallCheck, assertThisInitialized as _assertThisInitialized, createClass as _createClass } from './_virtual/_rollupPluginBabelHelpers.js';
|
|
2
|
+
import {toConsumableArray as __toConsumableArray} from "./_virtual/_rollupPluginBabelHelpers";
|
|
2
3
|
import {extends as __extends} from "./_virtual/_rollupPluginBabelHelpers";
|
|
4
|
+
import {inherits as __inherits} from "./_virtual/_rollupPluginBabelHelpers";
|
|
3
5
|
import {className as __className} from "./ReactConstants";
|
|
4
6
|
import {children as __children} from "./ReactConstants";
|
|
5
7
|
import 'react';
|
package/ReactConstants.js
CHANGED
package/ReadyListener.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { inherits as _inherits, createSuper as _createSuper, classCallCheck as _classCallCheck, assertThisInitialized as _assertThisInitialized, createClass as _createClass } from './_virtual/_rollupPluginBabelHelpers.js';
|
|
2
|
+
import {toConsumableArray as __toConsumableArray} from "./_virtual/_rollupPluginBabelHelpers";
|
|
2
3
|
import {extends as __extends} from "./_virtual/_rollupPluginBabelHelpers";
|
|
4
|
+
import {inherits as __inherits} from "./_virtual/_rollupPluginBabelHelpers";
|
|
3
5
|
import {className as __className} from "./ReactConstants";
|
|
4
6
|
import {children as __children} from "./ReactConstants";
|
|
5
7
|
import 'react';
|
package/Scrollable.js
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { inherits as _inherits, createSuper as _createSuper, classCallCheck as _classCallCheck, assertThisInitialized as _assertThisInitialized, createClass as _createClass } from './_virtual/_rollupPluginBabelHelpers.js';
|
|
2
|
+
import {toConsumableArray as __toConsumableArray} from "./_virtual/_rollupPluginBabelHelpers";
|
|
2
3
|
import {extends as __extends} from "./_virtual/_rollupPluginBabelHelpers";
|
|
4
|
+
import {inherits as __inherits} from "./_virtual/_rollupPluginBabelHelpers";
|
|
3
5
|
import {className as __className} from "./ReactConstants";
|
|
4
6
|
import {children as __children} from "./ReactConstants";
|
|
5
7
|
import 'react';
|
|
6
8
|
import ReactCreateElement from './ReactCreateElement.js';
|
|
7
9
|
import PropTypes from 'prop-types';
|
|
8
10
|
import { classNames, createRef, clearInterval, clearTimeout, orNoop, addEventListener, WINDOW, preventDefault, setTimeout, setInterval, removeEventListener } from './Tools.js';
|
|
9
|
-
import {
|
|
11
|
+
import { stateGS, componentDidMount, componentWillUnmount, componentDidUpdate, render, propsGetter, PureComponent } from './ReactConstants.js';
|
|
10
12
|
|
|
11
13
|
var SCROLLBAR_MODE_HIDDEN = 'hidden';
|
|
12
14
|
var SCROLLBAR_MODE_VISIBLE = 'visible';
|
package/ScrollableTable.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { inherits as _inherits, createSuper as _createSuper, classCallCheck as _classCallCheck, assertThisInitialized as _assertThisInitialized, extends as _extends, createClass as _createClass } from './_virtual/_rollupPluginBabelHelpers.js';
|
|
2
|
+
import {toConsumableArray as __toConsumableArray} from "./_virtual/_rollupPluginBabelHelpers";
|
|
2
3
|
import {extends as __extends} from "./_virtual/_rollupPluginBabelHelpers";
|
|
4
|
+
import {inherits as __inherits} from "./_virtual/_rollupPluginBabelHelpers";
|
|
3
5
|
import {className as __className} from "./ReactConstants";
|
|
4
6
|
import {children as __children} from "./ReactConstants";
|
|
5
7
|
import 'react';
|
package/Size.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import 'react';
|
|
2
|
+
import {toConsumableArray as __toConsumableArray} from "./_virtual/_rollupPluginBabelHelpers";
|
|
2
3
|
import {extends as __extends} from "./_virtual/_rollupPluginBabelHelpers";
|
|
4
|
+
import {inherits as __inherits} from "./_virtual/_rollupPluginBabelHelpers";
|
|
3
5
|
import {className as __className} from "./ReactConstants";
|
|
4
6
|
import {children as __children} from "./ReactConstants";
|
|
5
7
|
import ReactCreateElement from './ReactCreateElement.js';
|
package/Snackbar.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { inherits as _inherits, createSuper as _createSuper, classCallCheck as _classCallCheck, assertThisInitialized as _assertThisInitialized, slicedToArray as _slicedToArray, createClass as _createClass } from './_virtual/_rollupPluginBabelHelpers.js';
|
|
2
|
+
import {toConsumableArray as __toConsumableArray} from "./_virtual/_rollupPluginBabelHelpers";
|
|
2
3
|
import {extends as __extends} from "./_virtual/_rollupPluginBabelHelpers";
|
|
4
|
+
import {inherits as __inherits} from "./_virtual/_rollupPluginBabelHelpers";
|
|
3
5
|
import {className as __className} from "./ReactConstants";
|
|
4
6
|
import {children as __children} from "./ReactConstants";
|
|
5
7
|
import 'react';
|
package/SpinningProgress.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import 'react';
|
|
2
|
+
import {toConsumableArray as __toConsumableArray} from "./_virtual/_rollupPluginBabelHelpers";
|
|
2
3
|
import {extends as __extends} from "./_virtual/_rollupPluginBabelHelpers";
|
|
4
|
+
import {inherits as __inherits} from "./_virtual/_rollupPluginBabelHelpers";
|
|
3
5
|
import {className as __className} from "./ReactConstants";
|
|
4
6
|
import {children as __children} from "./ReactConstants";
|
|
5
7
|
import ReactCreateElement from './ReactCreateElement.js';
|
package/Switch.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { inherits as _inherits, createSuper as _createSuper, classCallCheck as _classCallCheck, createClass as _createClass } from './_virtual/_rollupPluginBabelHelpers.js';
|
|
2
|
+
import {toConsumableArray as __toConsumableArray} from "./_virtual/_rollupPluginBabelHelpers";
|
|
2
3
|
import {extends as __extends} from "./_virtual/_rollupPluginBabelHelpers";
|
|
4
|
+
import {inherits as __inherits} from "./_virtual/_rollupPluginBabelHelpers";
|
|
3
5
|
import {className as __className} from "./ReactConstants";
|
|
4
6
|
import {children as __children} from "./ReactConstants";
|
|
5
7
|
import 'react';
|
package/Table.d.ts
CHANGED
|
@@ -6,49 +6,49 @@ declare type SortOrder = typeof SORT_ASC | typeof SORT_DESC;
|
|
|
6
6
|
declare type Comparator = <T>(a: T, b: T) => number;
|
|
7
7
|
declare const editorSelect = "Select";
|
|
8
8
|
declare const editorSwitch = "Switch";
|
|
9
|
-
export interface RowProps {
|
|
10
|
-
item:
|
|
11
|
-
disabled?:
|
|
9
|
+
export interface RowProps<T> {
|
|
10
|
+
item: T;
|
|
11
|
+
disabled?: (t: T) => boolean;
|
|
12
12
|
editing: any;
|
|
13
|
-
onClick?: (
|
|
14
|
-
className?: string | (
|
|
15
|
-
columns: TableColumn[];
|
|
13
|
+
onClick?: (t: T) => void;
|
|
14
|
+
className?: string | ((e: T) => string);
|
|
15
|
+
columns: TableColumn<T>[];
|
|
16
16
|
editingContext: any;
|
|
17
17
|
}
|
|
18
18
|
export declare type Formatter<T, V> = ((value?: V, item?: T, format?: string) => ReactElement) | ((value: V, item: T) => ReactElement) | ((value: V) => ReactElement);
|
|
19
|
-
export interface TableColumn {
|
|
19
|
+
export interface TableColumn<T> {
|
|
20
20
|
field?: string;
|
|
21
21
|
className?: string;
|
|
22
22
|
comparator?: Comparator;
|
|
23
23
|
header?: string | ReactElement;
|
|
24
24
|
sortable?: boolean;
|
|
25
25
|
displayEditor?: boolean;
|
|
26
|
-
formatter?: Formatter<
|
|
27
|
-
editable?: boolean |
|
|
28
|
-
editor?: typeof editorSelect | typeof editorSwitch |
|
|
29
|
-
preEditor?: any;
|
|
26
|
+
formatter?: Formatter<T, any>;
|
|
27
|
+
editable?: boolean | ((t: T) => boolean);
|
|
28
|
+
editor?: typeof editorSelect | typeof editorSwitch | ((t: T, cancel: () => void, isEditing: boolean) => ReactElement);
|
|
29
|
+
preEditor?: (a: any) => any;
|
|
30
30
|
}
|
|
31
|
-
export interface TableProps {
|
|
32
|
-
columns: TableColumn[];
|
|
33
|
-
data:
|
|
31
|
+
export interface TableProps<T> {
|
|
32
|
+
columns: TableColumn<T>[];
|
|
33
|
+
data: T[];
|
|
34
34
|
className?: string;
|
|
35
35
|
sortOrder?: SortOrder;
|
|
36
36
|
sortBy?: string;
|
|
37
37
|
onSortChange?: (sortBy: string, sortOrder: SortOrder) => void;
|
|
38
|
-
onRowClick?: (
|
|
39
|
-
disabled?:
|
|
40
|
-
toKey?:
|
|
41
|
-
onChange?:
|
|
42
|
-
rowClassName?: string | (
|
|
38
|
+
onRowClick?: (t: T) => void;
|
|
39
|
+
disabled?: (t: T) => boolean;
|
|
40
|
+
toKey?: (t: T) => number | string;
|
|
41
|
+
onChange?: (t: T, cancel: () => void) => void;
|
|
42
|
+
rowClassName?: string | ((t: T) => string);
|
|
43
43
|
}
|
|
44
|
-
export interface TableState {
|
|
44
|
+
export interface TableState<T> {
|
|
45
45
|
sortOrder?: SortOrder;
|
|
46
46
|
sortBy?: string;
|
|
47
47
|
comparator?: Comparator;
|
|
48
|
-
data?:
|
|
48
|
+
data?: T[];
|
|
49
49
|
editing?: any;
|
|
50
50
|
}
|
|
51
|
-
declare class Table extends Component<TableProps
|
|
51
|
+
declare class Table<T> extends Component<TableProps<T>, TableState<T>> {
|
|
52
52
|
headers: () => any;
|
|
53
53
|
updateHeadersInterval: number;
|
|
54
54
|
constructor(props: any);
|