react-flexmonster 2.9.38 → 2.9.40

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/src/es5.js DELETED
@@ -1,88 +0,0 @@
1
- import PropTypes from 'prop-types';
2
- import React from "react";
3
- import Flexmonster from "flexmonster/flexmonster.es5.full";
4
-
5
- export class Pivot extends React.Component {
6
-
7
- constructor(props) {
8
- super(props);
9
- // create a ref to store the DOM element
10
- this.DOMNodeRef = React.createRef();
11
- }
12
-
13
- componentDidMount() {
14
- const DOMNode = this.DOMNodeRef.current;
15
- this.flexmonster = new Flexmonster({
16
- ...this.props,
17
- container: DOMNode
18
- });
19
- }
20
-
21
- shouldComponentUpdate() {
22
- return false;
23
- }
24
-
25
- componentWillUnmount() {
26
- this.flexmonster.dispose();
27
- }
28
-
29
- render() {
30
- return <div ref={this.DOMNodeRef}>Pivot</div>;
31
- }
32
- }
33
-
34
- Pivot.propTypes = {
35
- afterchartdraw: PropTypes.func,
36
- aftergriddraw: PropTypes.func,
37
- beforegriddraw: PropTypes.func,
38
- beforetoolbarcreated: PropTypes.func,
39
- cellclick: PropTypes.func,
40
- celldoubleclick: PropTypes.func,
41
- chartclick: PropTypes.func,
42
- componentFolder: PropTypes.string,
43
- customizeAPIRequest: PropTypes.func,
44
- customizeCell: PropTypes.func,
45
- customizeChartElement: PropTypes.func,
46
- customizeContextMenu: PropTypes.func,
47
- datachanged: PropTypes.func,
48
- dataerror: PropTypes.func,
49
- datafilecancelled: PropTypes.func,
50
- dataloaded: PropTypes.func,
51
- drillthroughclose: PropTypes.func,
52
- drillthroughopen: PropTypes.func,
53
- fieldslistclose: PropTypes.func,
54
- fieldslistopen: PropTypes.func,
55
- filterclose: PropTypes.func,
56
- filteropen: PropTypes.func,
57
- fullscreen: PropTypes.func,
58
- global: PropTypes.object,
59
- height: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
60
- licenseKey: PropTypes.string,
61
- loadingdata: PropTypes.func,
62
- loadinglocalization: PropTypes.func,
63
- loadingolapstructure: PropTypes.func,
64
- loadingreportfile: PropTypes.func,
65
- localizationerror: PropTypes.func,
66
- localizationloaded: PropTypes.func,
67
- olapstructureerror: PropTypes.func,
68
- olapstructureloaded: PropTypes.func,
69
- openingreportfile: PropTypes.func,
70
- querycomplete: PropTypes.func,
71
- queryerror: PropTypes.func,
72
- ready: PropTypes.func,
73
- report: PropTypes.oneOfType([PropTypes.string, PropTypes.object]),
74
- reportchange: PropTypes.func,
75
- reportcomplete: PropTypes.func,
76
- reportfilecancelled: PropTypes.func,
77
- reportfileerror: PropTypes.func,
78
- reportfileloaded: PropTypes.func,
79
- runningquery: PropTypes.func,
80
- sortFieldsList: PropTypes.func,
81
- toolbar: PropTypes.bool,
82
- unauthorizederror: PropTypes.func,
83
- update: PropTypes.func,
84
- width: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
85
- accessibility: PropTypes.object,
86
- }
87
-
88
- export default Pivot;