@mui/x-charts-pro 7.0.0-alpha.0
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/BarChartPro/BarChartPro.d.ts +18 -0
- package/BarChartPro/BarChartPro.js +417 -0
- package/BarChartPro/index.d.ts +1 -0
- package/BarChartPro/index.js +1 -0
- package/BarChartPro/package.json +6 -0
- package/CHANGELOG.md +4404 -0
- package/ChartContainerPro/ChartContainerPro.d.ts +7 -0
- package/ChartContainerPro/ChartContainerPro.js +282 -0
- package/ChartContainerPro/index.d.ts +1 -0
- package/ChartContainerPro/index.js +1 -0
- package/ChartContainerPro/package.json +6 -0
- package/ChartContainerPro/useChartContainerProProps.d.ts +15 -0
- package/ChartContainerPro/useChartContainerProProps.js +39 -0
- package/Heatmap/DefaultHeatmapTooltip.d.ts +7 -0
- package/Heatmap/DefaultHeatmapTooltip.js +97 -0
- package/Heatmap/Heatmap.d.ts +49 -0
- package/Heatmap/Heatmap.js +387 -0
- package/Heatmap/HeatmapItem.d.ts +49 -0
- package/Heatmap/HeatmapItem.js +106 -0
- package/Heatmap/HeatmapPlot.d.ts +9 -0
- package/Heatmap/HeatmapPlot.js +57 -0
- package/Heatmap/extremums.d.ts +2 -0
- package/Heatmap/extremums.js +8 -0
- package/Heatmap/formatter.d.ts +3 -0
- package/Heatmap/formatter.js +20 -0
- package/Heatmap/getColor.d.ts +3 -0
- package/Heatmap/getColor.js +15 -0
- package/Heatmap/heatmapClasses.d.ts +11 -0
- package/Heatmap/heatmapClasses.js +13 -0
- package/Heatmap/index.d.ts +4 -0
- package/Heatmap/index.js +4 -0
- package/Heatmap/package.json +6 -0
- package/Heatmap/plugin.d.ts +2 -0
- package/Heatmap/plugin.js +10 -0
- package/LICENSE +11 -0
- package/LineChartPro/LineChartPro.d.ts +17 -0
- package/LineChartPro/LineChartPro.js +473 -0
- package/LineChartPro/index.d.ts +1 -0
- package/LineChartPro/index.js +1 -0
- package/LineChartPro/package.json +6 -0
- package/README.md +26 -0
- package/ResponsiveChartContainerPro/ResponsiveChartContainerPro.d.ts +7 -0
- package/ResponsiveChartContainerPro/ResponsiveChartContainerPro.js +259 -0
- package/ResponsiveChartContainerPro/index.d.ts +1 -0
- package/ResponsiveChartContainerPro/index.js +1 -0
- package/ResponsiveChartContainerPro/package.json +6 -0
- package/ResponsiveChartContainerPro/useResponsiveChartContainerProProps.d.ts +41 -0
- package/ResponsiveChartContainerPro/useResponsiveChartContainerProProps.js +25 -0
- package/ScatterChartPro/ScatterChartPro.d.ts +17 -0
- package/ScatterChartPro/ScatterChartPro.js +388 -0
- package/ScatterChartPro/index.d.ts +1 -0
- package/ScatterChartPro/index.js +1 -0
- package/ScatterChartPro/package.json +6 -0
- package/context/CartesianProviderPro/CartesianProviderPro.d.ts +6 -0
- package/context/CartesianProviderPro/CartesianProviderPro.js +54 -0
- package/context/CartesianProviderPro/index.d.ts +1 -0
- package/context/CartesianProviderPro/index.js +1 -0
- package/context/ZoomProvider/Zoom.types.d.ts +134 -0
- package/context/ZoomProvider/Zoom.types.js +1 -0
- package/context/ZoomProvider/ZoomContext.d.ts +4 -0
- package/context/ZoomProvider/ZoomContext.js +16 -0
- package/context/ZoomProvider/ZoomProvider.d.ts +3 -0
- package/context/ZoomProvider/ZoomProvider.js +53 -0
- package/context/ZoomProvider/ZoomSetup.d.ts +9 -0
- package/context/ZoomProvider/ZoomSetup.js +16 -0
- package/context/ZoomProvider/defaultizeZoom.d.ts +2 -0
- package/context/ZoomProvider/defaultizeZoom.js +31 -0
- package/context/ZoomProvider/index.d.ts +3 -0
- package/context/ZoomProvider/index.js +3 -0
- package/context/ZoomProvider/initializeZoomData.d.ts +6 -0
- package/context/ZoomProvider/initializeZoomData.js +13 -0
- package/context/ZoomProvider/useSetupPan.d.ts +1 -0
- package/context/ZoomProvider/useSetupPan.js +104 -0
- package/context/ZoomProvider/useSetupZoom.d.ts +1 -0
- package/context/ZoomProvider/useSetupZoom.js +272 -0
- package/context/ZoomProvider/useZoom.d.ts +7 -0
- package/context/ZoomProvider/useZoom.js +17 -0
- package/context/index.d.ts +3 -0
- package/context/index.js +5 -0
- package/context/package.json +6 -0
- package/hooks/index.d.ts +1 -0
- package/hooks/index.js +1 -0
- package/hooks/package.json +6 -0
- package/hooks/useSeries.d.ts +11 -0
- package/hooks/useSeries.js +14 -0
- package/index.d.ts +31 -0
- package/index.js +45 -0
- package/internals/utils/releaseInfo.d.ts +1 -0
- package/internals/utils/releaseInfo.js +13 -0
- package/models/index.d.ts +1 -0
- package/models/index.js +1 -0
- package/models/package.json +6 -0
- package/models/seriesType/heatmap.d.ts +28 -0
- package/models/seriesType/heatmap.js +1 -0
- package/models/seriesType/index.d.ts +1 -0
- package/models/seriesType/index.js +1 -0
- package/modern/BarChartPro/BarChartPro.js +417 -0
- package/modern/BarChartPro/index.js +1 -0
- package/modern/ChartContainerPro/ChartContainerPro.js +282 -0
- package/modern/ChartContainerPro/index.js +1 -0
- package/modern/ChartContainerPro/useChartContainerProProps.js +39 -0
- package/modern/Heatmap/DefaultHeatmapTooltip.js +97 -0
- package/modern/Heatmap/Heatmap.js +387 -0
- package/modern/Heatmap/HeatmapItem.js +106 -0
- package/modern/Heatmap/HeatmapPlot.js +57 -0
- package/modern/Heatmap/extremums.js +8 -0
- package/modern/Heatmap/formatter.js +20 -0
- package/modern/Heatmap/getColor.js +15 -0
- package/modern/Heatmap/heatmapClasses.js +13 -0
- package/modern/Heatmap/index.js +4 -0
- package/modern/Heatmap/plugin.js +10 -0
- package/modern/LineChartPro/LineChartPro.js +473 -0
- package/modern/LineChartPro/index.js +1 -0
- package/modern/ResponsiveChartContainerPro/ResponsiveChartContainerPro.js +259 -0
- package/modern/ResponsiveChartContainerPro/index.js +1 -0
- package/modern/ResponsiveChartContainerPro/useResponsiveChartContainerProProps.js +25 -0
- package/modern/ScatterChartPro/ScatterChartPro.js +388 -0
- package/modern/ScatterChartPro/index.js +1 -0
- package/modern/context/CartesianProviderPro/CartesianProviderPro.js +54 -0
- package/modern/context/CartesianProviderPro/index.js +1 -0
- package/modern/context/ZoomProvider/Zoom.types.js +1 -0
- package/modern/context/ZoomProvider/ZoomContext.js +16 -0
- package/modern/context/ZoomProvider/ZoomProvider.js +53 -0
- package/modern/context/ZoomProvider/ZoomSetup.js +16 -0
- package/modern/context/ZoomProvider/defaultizeZoom.js +31 -0
- package/modern/context/ZoomProvider/index.js +3 -0
- package/modern/context/ZoomProvider/initializeZoomData.js +13 -0
- package/modern/context/ZoomProvider/useSetupPan.js +104 -0
- package/modern/context/ZoomProvider/useSetupZoom.js +272 -0
- package/modern/context/ZoomProvider/useZoom.js +17 -0
- package/modern/context/index.js +5 -0
- package/modern/hooks/index.js +1 -0
- package/modern/hooks/useSeries.js +14 -0
- package/modern/index.js +45 -0
- package/modern/internals/utils/releaseInfo.js +13 -0
- package/modern/models/index.js +1 -0
- package/modern/models/seriesType/heatmap.js +1 -0
- package/modern/models/seriesType/index.js +1 -0
- package/modern/typeOverloads/index.js +1 -0
- package/modern/typeOverloads/modules.js +1 -0
- package/node/BarChartPro/BarChartPro.js +425 -0
- package/node/BarChartPro/index.js +16 -0
- package/node/ChartContainerPro/ChartContainerPro.js +290 -0
- package/node/ChartContainerPro/index.js +16 -0
- package/node/ChartContainerPro/useChartContainerProProps.js +47 -0
- package/node/Heatmap/DefaultHeatmapTooltip.js +105 -0
- package/node/Heatmap/Heatmap.js +395 -0
- package/node/Heatmap/HeatmapItem.js +114 -0
- package/node/Heatmap/HeatmapPlot.js +65 -0
- package/node/Heatmap/extremums.js +15 -0
- package/node/Heatmap/formatter.js +27 -0
- package/node/Heatmap/getColor.js +21 -0
- package/node/Heatmap/heatmapClasses.js +21 -0
- package/node/Heatmap/index.js +47 -0
- package/node/Heatmap/plugin.js +17 -0
- package/node/LineChartPro/LineChartPro.js +481 -0
- package/node/LineChartPro/index.js +16 -0
- package/node/ResponsiveChartContainerPro/ResponsiveChartContainerPro.js +267 -0
- package/node/ResponsiveChartContainerPro/index.js +16 -0
- package/node/ResponsiveChartContainerPro/useResponsiveChartContainerProProps.js +33 -0
- package/node/ScatterChartPro/ScatterChartPro.js +396 -0
- package/node/ScatterChartPro/index.js +16 -0
- package/node/context/CartesianProviderPro/CartesianProviderPro.js +61 -0
- package/node/context/CartesianProviderPro/index.js +16 -0
- package/node/context/ZoomProvider/Zoom.types.js +5 -0
- package/node/context/ZoomProvider/ZoomContext.js +24 -0
- package/node/context/ZoomProvider/ZoomProvider.js +62 -0
- package/node/context/ZoomProvider/ZoomSetup.js +20 -0
- package/node/context/ZoomProvider/defaultizeZoom.js +39 -0
- package/node/context/ZoomProvider/index.js +38 -0
- package/node/context/ZoomProvider/initializeZoomData.js +20 -0
- package/node/context/ZoomProvider/useSetupPan.js +114 -0
- package/node/context/ZoomProvider/useSetupZoom.js +281 -0
- package/node/context/ZoomProvider/useZoom.js +25 -0
- package/node/context/index.js +27 -0
- package/node/hooks/index.js +12 -0
- package/node/hooks/useSeries.js +21 -0
- package/node/index.js +354 -0
- package/node/internals/utils/releaseInfo.js +20 -0
- package/node/models/index.js +16 -0
- package/node/models/seriesType/heatmap.js +5 -0
- package/node/models/seriesType/index.js +16 -0
- package/node/typeOverloads/index.js +6 -0
- package/node/typeOverloads/modules.js +5 -0
- package/package.json +64 -0
- package/typeOverloads/index.d.ts +1 -0
- package/typeOverloads/index.js +1 -0
- package/typeOverloads/modules.d.ts +17 -0
- package/typeOverloads/modules.js +1 -0
- package/typeOverloads/package.json +6 -0
package/node/index.js
ADDED
|
@@ -0,0 +1,354 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @mui/x-charts-pro v7.0.0-alpha.0
|
|
3
|
+
*
|
|
4
|
+
* @license MUI X Commercial
|
|
5
|
+
* This source code is licensed under the commercial license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
"use strict";
|
|
9
|
+
|
|
10
|
+
Object.defineProperty(exports, "__esModule", {
|
|
11
|
+
value: true
|
|
12
|
+
});
|
|
13
|
+
require("./typeOverloads/modules");
|
|
14
|
+
var _constants = require("@mui/x-charts/constants");
|
|
15
|
+
Object.keys(_constants).forEach(function (key) {
|
|
16
|
+
if (key === "default" || key === "__esModule") return;
|
|
17
|
+
if (key in exports && exports[key] === _constants[key]) return;
|
|
18
|
+
Object.defineProperty(exports, key, {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function () {
|
|
21
|
+
return _constants[key];
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
});
|
|
25
|
+
var _context = require("@mui/x-charts/context");
|
|
26
|
+
Object.keys(_context).forEach(function (key) {
|
|
27
|
+
if (key === "default" || key === "__esModule") return;
|
|
28
|
+
if (key in exports && exports[key] === _context[key]) return;
|
|
29
|
+
Object.defineProperty(exports, key, {
|
|
30
|
+
enumerable: true,
|
|
31
|
+
get: function () {
|
|
32
|
+
return _context[key];
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
});
|
|
36
|
+
var _hooks = require("@mui/x-charts/hooks");
|
|
37
|
+
Object.keys(_hooks).forEach(function (key) {
|
|
38
|
+
if (key === "default" || key === "__esModule") return;
|
|
39
|
+
if (key in exports && exports[key] === _hooks[key]) return;
|
|
40
|
+
Object.defineProperty(exports, key, {
|
|
41
|
+
enumerable: true,
|
|
42
|
+
get: function () {
|
|
43
|
+
return _hooks[key];
|
|
44
|
+
}
|
|
45
|
+
});
|
|
46
|
+
});
|
|
47
|
+
var _colorPalettes = require("@mui/x-charts/colorPalettes");
|
|
48
|
+
Object.keys(_colorPalettes).forEach(function (key) {
|
|
49
|
+
if (key === "default" || key === "__esModule") return;
|
|
50
|
+
if (key in exports && exports[key] === _colorPalettes[key]) return;
|
|
51
|
+
Object.defineProperty(exports, key, {
|
|
52
|
+
enumerable: true,
|
|
53
|
+
get: function () {
|
|
54
|
+
return _colorPalettes[key];
|
|
55
|
+
}
|
|
56
|
+
});
|
|
57
|
+
});
|
|
58
|
+
var _models = require("@mui/x-charts/models");
|
|
59
|
+
Object.keys(_models).forEach(function (key) {
|
|
60
|
+
if (key === "default" || key === "__esModule") return;
|
|
61
|
+
if (key in exports && exports[key] === _models[key]) return;
|
|
62
|
+
Object.defineProperty(exports, key, {
|
|
63
|
+
enumerable: true,
|
|
64
|
+
get: function () {
|
|
65
|
+
return _models[key];
|
|
66
|
+
}
|
|
67
|
+
});
|
|
68
|
+
});
|
|
69
|
+
var _ChartsClipPath = require("@mui/x-charts/ChartsClipPath");
|
|
70
|
+
Object.keys(_ChartsClipPath).forEach(function (key) {
|
|
71
|
+
if (key === "default" || key === "__esModule") return;
|
|
72
|
+
if (key in exports && exports[key] === _ChartsClipPath[key]) return;
|
|
73
|
+
Object.defineProperty(exports, key, {
|
|
74
|
+
enumerable: true,
|
|
75
|
+
get: function () {
|
|
76
|
+
return _ChartsClipPath[key];
|
|
77
|
+
}
|
|
78
|
+
});
|
|
79
|
+
});
|
|
80
|
+
var _ChartsReferenceLine = require("@mui/x-charts/ChartsReferenceLine");
|
|
81
|
+
Object.keys(_ChartsReferenceLine).forEach(function (key) {
|
|
82
|
+
if (key === "default" || key === "__esModule") return;
|
|
83
|
+
if (key in exports && exports[key] === _ChartsReferenceLine[key]) return;
|
|
84
|
+
Object.defineProperty(exports, key, {
|
|
85
|
+
enumerable: true,
|
|
86
|
+
get: function () {
|
|
87
|
+
return _ChartsReferenceLine[key];
|
|
88
|
+
}
|
|
89
|
+
});
|
|
90
|
+
});
|
|
91
|
+
var _ChartsAxis = require("@mui/x-charts/ChartsAxis");
|
|
92
|
+
Object.keys(_ChartsAxis).forEach(function (key) {
|
|
93
|
+
if (key === "default" || key === "__esModule") return;
|
|
94
|
+
if (key in exports && exports[key] === _ChartsAxis[key]) return;
|
|
95
|
+
Object.defineProperty(exports, key, {
|
|
96
|
+
enumerable: true,
|
|
97
|
+
get: function () {
|
|
98
|
+
return _ChartsAxis[key];
|
|
99
|
+
}
|
|
100
|
+
});
|
|
101
|
+
});
|
|
102
|
+
var _ChartsXAxis = require("@mui/x-charts/ChartsXAxis");
|
|
103
|
+
Object.keys(_ChartsXAxis).forEach(function (key) {
|
|
104
|
+
if (key === "default" || key === "__esModule") return;
|
|
105
|
+
if (key in exports && exports[key] === _ChartsXAxis[key]) return;
|
|
106
|
+
Object.defineProperty(exports, key, {
|
|
107
|
+
enumerable: true,
|
|
108
|
+
get: function () {
|
|
109
|
+
return _ChartsXAxis[key];
|
|
110
|
+
}
|
|
111
|
+
});
|
|
112
|
+
});
|
|
113
|
+
var _ChartsYAxis = require("@mui/x-charts/ChartsYAxis");
|
|
114
|
+
Object.keys(_ChartsYAxis).forEach(function (key) {
|
|
115
|
+
if (key === "default" || key === "__esModule") return;
|
|
116
|
+
if (key in exports && exports[key] === _ChartsYAxis[key]) return;
|
|
117
|
+
Object.defineProperty(exports, key, {
|
|
118
|
+
enumerable: true,
|
|
119
|
+
get: function () {
|
|
120
|
+
return _ChartsYAxis[key];
|
|
121
|
+
}
|
|
122
|
+
});
|
|
123
|
+
});
|
|
124
|
+
var _ChartsGrid = require("@mui/x-charts/ChartsGrid");
|
|
125
|
+
Object.keys(_ChartsGrid).forEach(function (key) {
|
|
126
|
+
if (key === "default" || key === "__esModule") return;
|
|
127
|
+
if (key in exports && exports[key] === _ChartsGrid[key]) return;
|
|
128
|
+
Object.defineProperty(exports, key, {
|
|
129
|
+
enumerable: true,
|
|
130
|
+
get: function () {
|
|
131
|
+
return _ChartsGrid[key];
|
|
132
|
+
}
|
|
133
|
+
});
|
|
134
|
+
});
|
|
135
|
+
var _ChartsText = require("@mui/x-charts/ChartsText");
|
|
136
|
+
Object.keys(_ChartsText).forEach(function (key) {
|
|
137
|
+
if (key === "default" || key === "__esModule") return;
|
|
138
|
+
if (key in exports && exports[key] === _ChartsText[key]) return;
|
|
139
|
+
Object.defineProperty(exports, key, {
|
|
140
|
+
enumerable: true,
|
|
141
|
+
get: function () {
|
|
142
|
+
return _ChartsText[key];
|
|
143
|
+
}
|
|
144
|
+
});
|
|
145
|
+
});
|
|
146
|
+
var _ChartsTooltip = require("@mui/x-charts/ChartsTooltip");
|
|
147
|
+
Object.keys(_ChartsTooltip).forEach(function (key) {
|
|
148
|
+
if (key === "default" || key === "__esModule") return;
|
|
149
|
+
if (key in exports && exports[key] === _ChartsTooltip[key]) return;
|
|
150
|
+
Object.defineProperty(exports, key, {
|
|
151
|
+
enumerable: true,
|
|
152
|
+
get: function () {
|
|
153
|
+
return _ChartsTooltip[key];
|
|
154
|
+
}
|
|
155
|
+
});
|
|
156
|
+
});
|
|
157
|
+
var _ChartsLegend = require("@mui/x-charts/ChartsLegend");
|
|
158
|
+
Object.keys(_ChartsLegend).forEach(function (key) {
|
|
159
|
+
if (key === "default" || key === "__esModule") return;
|
|
160
|
+
if (key in exports && exports[key] === _ChartsLegend[key]) return;
|
|
161
|
+
Object.defineProperty(exports, key, {
|
|
162
|
+
enumerable: true,
|
|
163
|
+
get: function () {
|
|
164
|
+
return _ChartsLegend[key];
|
|
165
|
+
}
|
|
166
|
+
});
|
|
167
|
+
});
|
|
168
|
+
var _ChartsAxisHighlight = require("@mui/x-charts/ChartsAxisHighlight");
|
|
169
|
+
Object.keys(_ChartsAxisHighlight).forEach(function (key) {
|
|
170
|
+
if (key === "default" || key === "__esModule") return;
|
|
171
|
+
if (key in exports && exports[key] === _ChartsAxisHighlight[key]) return;
|
|
172
|
+
Object.defineProperty(exports, key, {
|
|
173
|
+
enumerable: true,
|
|
174
|
+
get: function () {
|
|
175
|
+
return _ChartsAxisHighlight[key];
|
|
176
|
+
}
|
|
177
|
+
});
|
|
178
|
+
});
|
|
179
|
+
var _ChartsVoronoiHandler = require("@mui/x-charts/ChartsVoronoiHandler");
|
|
180
|
+
Object.keys(_ChartsVoronoiHandler).forEach(function (key) {
|
|
181
|
+
if (key === "default" || key === "__esModule") return;
|
|
182
|
+
if (key in exports && exports[key] === _ChartsVoronoiHandler[key]) return;
|
|
183
|
+
Object.defineProperty(exports, key, {
|
|
184
|
+
enumerable: true,
|
|
185
|
+
get: function () {
|
|
186
|
+
return _ChartsVoronoiHandler[key];
|
|
187
|
+
}
|
|
188
|
+
});
|
|
189
|
+
});
|
|
190
|
+
var _ChartsOnAxisClickHandler = require("@mui/x-charts/ChartsOnAxisClickHandler");
|
|
191
|
+
Object.keys(_ChartsOnAxisClickHandler).forEach(function (key) {
|
|
192
|
+
if (key === "default" || key === "__esModule") return;
|
|
193
|
+
if (key in exports && exports[key] === _ChartsOnAxisClickHandler[key]) return;
|
|
194
|
+
Object.defineProperty(exports, key, {
|
|
195
|
+
enumerable: true,
|
|
196
|
+
get: function () {
|
|
197
|
+
return _ChartsOnAxisClickHandler[key];
|
|
198
|
+
}
|
|
199
|
+
});
|
|
200
|
+
});
|
|
201
|
+
var _BarChart = require("@mui/x-charts/BarChart");
|
|
202
|
+
Object.keys(_BarChart).forEach(function (key) {
|
|
203
|
+
if (key === "default" || key === "__esModule") return;
|
|
204
|
+
if (key in exports && exports[key] === _BarChart[key]) return;
|
|
205
|
+
Object.defineProperty(exports, key, {
|
|
206
|
+
enumerable: true,
|
|
207
|
+
get: function () {
|
|
208
|
+
return _BarChart[key];
|
|
209
|
+
}
|
|
210
|
+
});
|
|
211
|
+
});
|
|
212
|
+
var _LineChart = require("@mui/x-charts/LineChart");
|
|
213
|
+
Object.keys(_LineChart).forEach(function (key) {
|
|
214
|
+
if (key === "default" || key === "__esModule") return;
|
|
215
|
+
if (key in exports && exports[key] === _LineChart[key]) return;
|
|
216
|
+
Object.defineProperty(exports, key, {
|
|
217
|
+
enumerable: true,
|
|
218
|
+
get: function () {
|
|
219
|
+
return _LineChart[key];
|
|
220
|
+
}
|
|
221
|
+
});
|
|
222
|
+
});
|
|
223
|
+
var _PieChart = require("@mui/x-charts/PieChart");
|
|
224
|
+
Object.keys(_PieChart).forEach(function (key) {
|
|
225
|
+
if (key === "default" || key === "__esModule") return;
|
|
226
|
+
if (key in exports && exports[key] === _PieChart[key]) return;
|
|
227
|
+
Object.defineProperty(exports, key, {
|
|
228
|
+
enumerable: true,
|
|
229
|
+
get: function () {
|
|
230
|
+
return _PieChart[key];
|
|
231
|
+
}
|
|
232
|
+
});
|
|
233
|
+
});
|
|
234
|
+
var _ScatterChart = require("@mui/x-charts/ScatterChart");
|
|
235
|
+
Object.keys(_ScatterChart).forEach(function (key) {
|
|
236
|
+
if (key === "default" || key === "__esModule") return;
|
|
237
|
+
if (key in exports && exports[key] === _ScatterChart[key]) return;
|
|
238
|
+
Object.defineProperty(exports, key, {
|
|
239
|
+
enumerable: true,
|
|
240
|
+
get: function () {
|
|
241
|
+
return _ScatterChart[key];
|
|
242
|
+
}
|
|
243
|
+
});
|
|
244
|
+
});
|
|
245
|
+
var _SparkLineChart = require("@mui/x-charts/SparkLineChart");
|
|
246
|
+
Object.keys(_SparkLineChart).forEach(function (key) {
|
|
247
|
+
if (key === "default" || key === "__esModule") return;
|
|
248
|
+
if (key in exports && exports[key] === _SparkLineChart[key]) return;
|
|
249
|
+
Object.defineProperty(exports, key, {
|
|
250
|
+
enumerable: true,
|
|
251
|
+
get: function () {
|
|
252
|
+
return _SparkLineChart[key];
|
|
253
|
+
}
|
|
254
|
+
});
|
|
255
|
+
});
|
|
256
|
+
var _Gauge = require("@mui/x-charts/Gauge");
|
|
257
|
+
Object.keys(_Gauge).forEach(function (key) {
|
|
258
|
+
if (key === "default" || key === "__esModule") return;
|
|
259
|
+
if (key in exports && exports[key] === _Gauge[key]) return;
|
|
260
|
+
Object.defineProperty(exports, key, {
|
|
261
|
+
enumerable: true,
|
|
262
|
+
get: function () {
|
|
263
|
+
return _Gauge[key];
|
|
264
|
+
}
|
|
265
|
+
});
|
|
266
|
+
});
|
|
267
|
+
var _ChartsSurface = require("@mui/x-charts/ChartsSurface");
|
|
268
|
+
Object.keys(_ChartsSurface).forEach(function (key) {
|
|
269
|
+
if (key === "default" || key === "__esModule") return;
|
|
270
|
+
if (key in exports && exports[key] === _ChartsSurface[key]) return;
|
|
271
|
+
Object.defineProperty(exports, key, {
|
|
272
|
+
enumerable: true,
|
|
273
|
+
get: function () {
|
|
274
|
+
return _ChartsSurface[key];
|
|
275
|
+
}
|
|
276
|
+
});
|
|
277
|
+
});
|
|
278
|
+
var _Heatmap = require("./Heatmap");
|
|
279
|
+
Object.keys(_Heatmap).forEach(function (key) {
|
|
280
|
+
if (key === "default" || key === "__esModule") return;
|
|
281
|
+
if (key in exports && exports[key] === _Heatmap[key]) return;
|
|
282
|
+
Object.defineProperty(exports, key, {
|
|
283
|
+
enumerable: true,
|
|
284
|
+
get: function () {
|
|
285
|
+
return _Heatmap[key];
|
|
286
|
+
}
|
|
287
|
+
});
|
|
288
|
+
});
|
|
289
|
+
var _ResponsiveChartContainerPro = require("./ResponsiveChartContainerPro");
|
|
290
|
+
Object.keys(_ResponsiveChartContainerPro).forEach(function (key) {
|
|
291
|
+
if (key === "default" || key === "__esModule") return;
|
|
292
|
+
if (key in exports && exports[key] === _ResponsiveChartContainerPro[key]) return;
|
|
293
|
+
Object.defineProperty(exports, key, {
|
|
294
|
+
enumerable: true,
|
|
295
|
+
get: function () {
|
|
296
|
+
return _ResponsiveChartContainerPro[key];
|
|
297
|
+
}
|
|
298
|
+
});
|
|
299
|
+
});
|
|
300
|
+
var _ChartContainerPro = require("./ChartContainerPro");
|
|
301
|
+
Object.keys(_ChartContainerPro).forEach(function (key) {
|
|
302
|
+
if (key === "default" || key === "__esModule") return;
|
|
303
|
+
if (key in exports && exports[key] === _ChartContainerPro[key]) return;
|
|
304
|
+
Object.defineProperty(exports, key, {
|
|
305
|
+
enumerable: true,
|
|
306
|
+
get: function () {
|
|
307
|
+
return _ChartContainerPro[key];
|
|
308
|
+
}
|
|
309
|
+
});
|
|
310
|
+
});
|
|
311
|
+
var _ScatterChartPro = require("./ScatterChartPro");
|
|
312
|
+
Object.keys(_ScatterChartPro).forEach(function (key) {
|
|
313
|
+
if (key === "default" || key === "__esModule") return;
|
|
314
|
+
if (key in exports && exports[key] === _ScatterChartPro[key]) return;
|
|
315
|
+
Object.defineProperty(exports, key, {
|
|
316
|
+
enumerable: true,
|
|
317
|
+
get: function () {
|
|
318
|
+
return _ScatterChartPro[key];
|
|
319
|
+
}
|
|
320
|
+
});
|
|
321
|
+
});
|
|
322
|
+
var _BarChartPro = require("./BarChartPro");
|
|
323
|
+
Object.keys(_BarChartPro).forEach(function (key) {
|
|
324
|
+
if (key === "default" || key === "__esModule") return;
|
|
325
|
+
if (key in exports && exports[key] === _BarChartPro[key]) return;
|
|
326
|
+
Object.defineProperty(exports, key, {
|
|
327
|
+
enumerable: true,
|
|
328
|
+
get: function () {
|
|
329
|
+
return _BarChartPro[key];
|
|
330
|
+
}
|
|
331
|
+
});
|
|
332
|
+
});
|
|
333
|
+
var _LineChartPro = require("./LineChartPro");
|
|
334
|
+
Object.keys(_LineChartPro).forEach(function (key) {
|
|
335
|
+
if (key === "default" || key === "__esModule") return;
|
|
336
|
+
if (key in exports && exports[key] === _LineChartPro[key]) return;
|
|
337
|
+
Object.defineProperty(exports, key, {
|
|
338
|
+
enumerable: true,
|
|
339
|
+
get: function () {
|
|
340
|
+
return _LineChartPro[key];
|
|
341
|
+
}
|
|
342
|
+
});
|
|
343
|
+
});
|
|
344
|
+
var _context2 = require("./context");
|
|
345
|
+
Object.keys(_context2).forEach(function (key) {
|
|
346
|
+
if (key === "default" || key === "__esModule") return;
|
|
347
|
+
if (key in exports && exports[key] === _context2[key]) return;
|
|
348
|
+
Object.defineProperty(exports, key, {
|
|
349
|
+
enumerable: true,
|
|
350
|
+
get: function () {
|
|
351
|
+
return _context2[key];
|
|
352
|
+
}
|
|
353
|
+
});
|
|
354
|
+
});
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.getReleaseInfo = void 0;
|
|
7
|
+
var _utils = require("@mui/utils");
|
|
8
|
+
const getReleaseInfo = () => {
|
|
9
|
+
const releaseInfo = "MTcyMzE1NDQwMDAwMA==";
|
|
10
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
11
|
+
// A simple hack to set the value in the test environment (has no build step).
|
|
12
|
+
// eslint-disable-next-line no-useless-concat
|
|
13
|
+
if (releaseInfo === '__RELEASE' + '_INFO__') {
|
|
14
|
+
// eslint-disable-next-line no-underscore-dangle
|
|
15
|
+
return _utils.ponyfillGlobal.__MUI_RELEASE_INFO__;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
return releaseInfo;
|
|
19
|
+
};
|
|
20
|
+
exports.getReleaseInfo = getReleaseInfo;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
var _seriesType = require("./seriesType");
|
|
7
|
+
Object.keys(_seriesType).forEach(function (key) {
|
|
8
|
+
if (key === "default" || key === "__esModule") return;
|
|
9
|
+
if (key in exports && exports[key] === _seriesType[key]) return;
|
|
10
|
+
Object.defineProperty(exports, key, {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function () {
|
|
13
|
+
return _seriesType[key];
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
var _heatmap = require("./heatmap");
|
|
7
|
+
Object.keys(_heatmap).forEach(function (key) {
|
|
8
|
+
if (key === "default" || key === "__esModule") return;
|
|
9
|
+
if (key in exports && exports[key] === _heatmap[key]) return;
|
|
10
|
+
Object.defineProperty(exports, key, {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function () {
|
|
13
|
+
return _heatmap[key];
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
});
|
package/package.json
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@mui/x-charts-pro",
|
|
3
|
+
"version": "7.0.0-alpha.0",
|
|
4
|
+
"description": "The Pro plan edition of the Charts components (MUI X).",
|
|
5
|
+
"author": "MUI Team",
|
|
6
|
+
"main": "./node/index.js",
|
|
7
|
+
"license": "SEE LICENSE IN LICENSE",
|
|
8
|
+
"bugs": {
|
|
9
|
+
"url": "https://github.com/mui/mui-x/issues"
|
|
10
|
+
},
|
|
11
|
+
"homepage": "https://mui.com/x/react-charts/",
|
|
12
|
+
"sideEffects": false,
|
|
13
|
+
"publishConfig": {
|
|
14
|
+
"access": "public",
|
|
15
|
+
"directory": "build"
|
|
16
|
+
},
|
|
17
|
+
"keywords": [
|
|
18
|
+
"react",
|
|
19
|
+
"react-component",
|
|
20
|
+
"mui",
|
|
21
|
+
"mui-x",
|
|
22
|
+
"material-ui",
|
|
23
|
+
"material design",
|
|
24
|
+
"charts"
|
|
25
|
+
],
|
|
26
|
+
"repository": {
|
|
27
|
+
"type": "git",
|
|
28
|
+
"url": "https://github.com/mui/mui-x.git",
|
|
29
|
+
"directory": "packages/x-charts-pro"
|
|
30
|
+
},
|
|
31
|
+
"dependencies": {
|
|
32
|
+
"@babel/runtime": "^7.25.0",
|
|
33
|
+
"@mui/system": "^5.16.5",
|
|
34
|
+
"@mui/utils": "^5.16.5",
|
|
35
|
+
"@react-spring/rafz": "^9.7.4",
|
|
36
|
+
"@react-spring/web": "^9.7.4",
|
|
37
|
+
"clsx": "^2.1.1",
|
|
38
|
+
"prop-types": "^15.8.1",
|
|
39
|
+
"@mui/x-charts": "7.12.1",
|
|
40
|
+
"@mui/x-license": "7.12.0",
|
|
41
|
+
"@mui/x-charts-vendor": "7.12.1"
|
|
42
|
+
},
|
|
43
|
+
"peerDependencies": {
|
|
44
|
+
"@emotion/react": "^11.9.0",
|
|
45
|
+
"@emotion/styled": "^11.8.1",
|
|
46
|
+
"@mui/material": "^5.15.14",
|
|
47
|
+
"react": "^17.0.0 || ^18.0.0",
|
|
48
|
+
"react-dom": "^17.0.0 || ^18.0.0"
|
|
49
|
+
},
|
|
50
|
+
"peerDependenciesMeta": {
|
|
51
|
+
"@emotion/react": {
|
|
52
|
+
"optional": true
|
|
53
|
+
},
|
|
54
|
+
"@emotion/styled": {
|
|
55
|
+
"optional": true
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"engines": {
|
|
59
|
+
"node": ">=14.0.0"
|
|
60
|
+
},
|
|
61
|
+
"private": false,
|
|
62
|
+
"module": "./index.js",
|
|
63
|
+
"types": "./index.d.ts"
|
|
64
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {} from './modules';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {} from './modules';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { DefaultizedProps } from '@mui/x-charts/internals';
|
|
2
|
+
import { HeatmapItemIdentifier, HeatmapSeriesType, DefaultizedHeatmapSeriesType } from '../models/seriesType/heatmap';
|
|
3
|
+
import { ZoomOptions } from '../context/ZoomProvider';
|
|
4
|
+
declare module '@mui/x-charts/internals' {
|
|
5
|
+
interface ChartsSeriesConfig {
|
|
6
|
+
heatmap: {
|
|
7
|
+
seriesInput: DefaultizedProps<HeatmapSeriesType, 'id'>;
|
|
8
|
+
series: DefaultizedHeatmapSeriesType;
|
|
9
|
+
seriesProp: HeatmapSeriesType;
|
|
10
|
+
itemIdentifier: HeatmapItemIdentifier;
|
|
11
|
+
cartesian: true;
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
interface AxisConfigExtension {
|
|
15
|
+
zoom?: boolean | ZoomOptions;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|