@mui/x-charts-pro 9.8.0 → 9.10.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.
Files changed (209) hide show
  1. package/BarChartPro/BarChartPro.d.mts +9 -1
  2. package/BarChartPro/BarChartPro.d.ts +9 -1
  3. package/BarChartPro/BarChartPro.js +14 -3
  4. package/BarChartPro/BarChartPro.mjs +14 -3
  5. package/BarChartPro/BarChartPro.plugins.d.mts +2 -1
  6. package/BarChartPro/BarChartPro.plugins.d.ts +2 -1
  7. package/BarChartPro/BarChartPro.plugins.js +2 -1
  8. package/BarChartPro/BarChartPro.plugins.mjs +2 -1
  9. package/CHANGELOG.md +230 -0
  10. package/ChartsContainerPro/useChartsContainerProProps.d.mts +6 -2
  11. package/ChartsContainerPro/useChartsContainerProProps.d.ts +6 -2
  12. package/ChartsContainerPro/useChartsContainerProProps.js +9 -1
  13. package/ChartsContainerPro/useChartsContainerProProps.mjs +8 -1
  14. package/ChartsDataProviderPro/ChartsDataProviderPro.d.mts +1 -1
  15. package/ChartsDataProviderPro/ChartsDataProviderPro.d.ts +1 -1
  16. package/ChartsDataProviderPro/ChartsDataProviderPro.js +14 -3
  17. package/ChartsDataProviderPro/ChartsDataProviderPro.mjs +14 -3
  18. package/ChartsDataProviderPro/useChartsDataProviderProProps.d.mts +1 -1
  19. package/ChartsDataProviderPro/useChartsDataProviderProProps.d.ts +1 -1
  20. package/ChartsToolbarPro/ChartsToolbarPro.d.mts +2 -1
  21. package/ChartsToolbarPro/ChartsToolbarPro.d.ts +2 -1
  22. package/ChartsToolbarPro/Toolbar.types.d.mts +2 -1
  23. package/ChartsToolbarPro/Toolbar.types.d.ts +2 -1
  24. package/ChartsToolbarPro/internals/ChartsMenu.d.mts +1 -1
  25. package/ChartsToolbarPro/internals/ChartsMenu.d.ts +1 -1
  26. package/ChartsZoomSlider/ChartsZoomSlider.d.mts +2 -1
  27. package/ChartsZoomSlider/ChartsZoomSlider.d.ts +2 -1
  28. package/ChartsZoomSlider/internals/ChartsAxisZoomSlider.d.mts +2 -1
  29. package/ChartsZoomSlider/internals/ChartsAxisZoomSlider.d.ts +2 -1
  30. package/ChartsZoomSlider/internals/ChartsAxisZoomSliderActiveTrack.d.mts +2 -1
  31. package/ChartsZoomSlider/internals/ChartsAxisZoomSliderActiveTrack.d.ts +2 -1
  32. package/ChartsZoomSlider/internals/ChartsAxisZoomSliderPreview.d.mts +2 -1
  33. package/ChartsZoomSlider/internals/ChartsAxisZoomSliderPreview.d.ts +2 -1
  34. package/ChartsZoomSlider/internals/ChartsAxisZoomSliderPreviewContent.d.mts +2 -1
  35. package/ChartsZoomSlider/internals/ChartsAxisZoomSliderPreviewContent.d.ts +2 -1
  36. package/ChartsZoomSlider/internals/ChartsAxisZoomSliderTrack.d.mts +1 -1
  37. package/ChartsZoomSlider/internals/ChartsAxisZoomSliderTrack.d.ts +1 -1
  38. package/ChartsZoomSlider/internals/ChartsTooltipZoomSliderValue.d.mts +1 -1
  39. package/ChartsZoomSlider/internals/ChartsTooltipZoomSliderValue.d.ts +1 -1
  40. package/ChartsZoomSlider/internals/chartsAxisZoomSliderTrackClasses.d.mts +1 -1
  41. package/ChartsZoomSlider/internals/chartsAxisZoomSliderTrackClasses.d.ts +1 -1
  42. package/ChartsZoomSlider/internals/previews/AreaPreviewPlot.d.mts +1 -1
  43. package/ChartsZoomSlider/internals/previews/AreaPreviewPlot.d.ts +1 -1
  44. package/ChartsZoomSlider/internals/previews/BarPreviewPlot.d.mts +1 -1
  45. package/ChartsZoomSlider/internals/previews/BarPreviewPlot.d.ts +1 -1
  46. package/ChartsZoomSlider/internals/previews/LineAreaPreviewPlot.d.mts +2 -1
  47. package/ChartsZoomSlider/internals/previews/LineAreaPreviewPlot.d.ts +2 -1
  48. package/ChartsZoomSlider/internals/previews/LinePreviewPlot.d.mts +1 -1
  49. package/ChartsZoomSlider/internals/previews/LinePreviewPlot.d.ts +1 -1
  50. package/ChartsZoomSlider/internals/previews/LinePreviewPlot.js +16 -1
  51. package/ChartsZoomSlider/internals/previews/LinePreviewPlot.mjs +17 -2
  52. package/ChartsZoomSlider/internals/previews/ScatterPreviewPlot.d.mts +2 -1
  53. package/ChartsZoomSlider/internals/previews/ScatterPreviewPlot.d.ts +2 -1
  54. package/FunnelChart/FocusedFunnelSection.d.mts +1 -1
  55. package/FunnelChart/FocusedFunnelSection.d.ts +1 -1
  56. package/FunnelChart/FunnelPlot.d.mts +1 -1
  57. package/FunnelChart/FunnelPlot.d.ts +1 -1
  58. package/FunnelChart/curves/getFunnelCurve.d.mts +1 -1
  59. package/FunnelChart/curves/getFunnelCurve.d.ts +1 -1
  60. package/FunnelChart/funnelClasses.d.mts +1 -1
  61. package/FunnelChart/funnelClasses.d.ts +1 -1
  62. package/FunnelChart/funnelPlotSlots.types.d.mts +3 -2
  63. package/FunnelChart/funnelPlotSlots.types.d.ts +3 -2
  64. package/FunnelChart/labelUtils.d.mts +2 -2
  65. package/FunnelChart/labelUtils.d.ts +2 -2
  66. package/FunnelChart/seriesConfig/index.js +2 -2
  67. package/FunnelChart/seriesConfig/index.mjs +2 -2
  68. package/FunnelChart/seriesConfig/tooltipPosition.d.mts +2 -3
  69. package/FunnelChart/seriesConfig/tooltipPosition.d.ts +2 -3
  70. package/FunnelChart/seriesConfig/tooltipPosition.js +11 -15
  71. package/FunnelChart/seriesConfig/tooltipPosition.mjs +11 -15
  72. package/Heatmap/FocusedHeatmapCell.d.mts +1 -1
  73. package/Heatmap/FocusedHeatmapCell.d.ts +1 -1
  74. package/Heatmap/Heatmap.d.mts +2 -1
  75. package/Heatmap/Heatmap.d.ts +2 -1
  76. package/Heatmap/HeatmapItem.d.mts +3 -2
  77. package/Heatmap/HeatmapItem.d.ts +3 -2
  78. package/Heatmap/HeatmapSVGPlot.d.mts +2 -1
  79. package/Heatmap/HeatmapSVGPlot.d.ts +2 -1
  80. package/Heatmap/HeatmapTooltip/HeatmapTooltip.classes.d.mts +1 -1
  81. package/Heatmap/HeatmapTooltip/HeatmapTooltip.classes.d.ts +1 -1
  82. package/Heatmap/HeatmapTooltip/HeatmapTooltip.d.mts +1 -1
  83. package/Heatmap/HeatmapTooltip/HeatmapTooltip.d.ts +1 -1
  84. package/Heatmap/HeatmapTooltip/HeatmapTooltip.types.d.mts +2 -1
  85. package/Heatmap/HeatmapTooltip/HeatmapTooltip.types.d.ts +2 -1
  86. package/Heatmap/HeatmapTooltip/HeatmapTooltipContent.d.mts +1 -1
  87. package/Heatmap/HeatmapTooltip/HeatmapTooltipContent.d.ts +1 -1
  88. package/Heatmap/seriesConfig/highlight.d.mts +2 -2
  89. package/Heatmap/seriesConfig/highlight.d.ts +2 -2
  90. package/Heatmap/seriesConfig/index.js +2 -2
  91. package/Heatmap/seriesConfig/index.mjs +2 -2
  92. package/Heatmap/seriesConfig/tooltipPosition.d.mts +2 -3
  93. package/Heatmap/seriesConfig/tooltipPosition.d.ts +2 -3
  94. package/Heatmap/seriesConfig/tooltipPosition.js +12 -16
  95. package/Heatmap/seriesConfig/tooltipPosition.mjs +12 -16
  96. package/LineChartPro/LineChartPro.d.mts +11 -1
  97. package/LineChartPro/LineChartPro.d.ts +11 -1
  98. package/LineChartPro/LineChartPro.js +16 -3
  99. package/LineChartPro/LineChartPro.mjs +16 -3
  100. package/LineChartPro/LineChartPro.plugins.d.mts +2 -1
  101. package/LineChartPro/LineChartPro.plugins.d.ts +2 -1
  102. package/LineChartPro/LineChartPro.plugins.js +2 -1
  103. package/LineChartPro/LineChartPro.plugins.mjs +2 -1
  104. package/SankeyChart/FocusedSankeyLink.d.mts +1 -1
  105. package/SankeyChart/FocusedSankeyLink.d.ts +1 -1
  106. package/SankeyChart/FocusedSankeyNode.d.mts +1 -1
  107. package/SankeyChart/FocusedSankeyNode.d.ts +1 -1
  108. package/SankeyChart/SankeyDataProvider.d.mts +1 -1
  109. package/SankeyChart/SankeyDataProvider.d.ts +1 -1
  110. package/SankeyChart/SankeyLinkLabelPlot.d.mts +1 -1
  111. package/SankeyChart/SankeyLinkLabelPlot.d.ts +1 -1
  112. package/SankeyChart/SankeyLinkPlot.d.mts +1 -1
  113. package/SankeyChart/SankeyLinkPlot.d.ts +1 -1
  114. package/SankeyChart/SankeyNodeLabelPlot.d.mts +1 -1
  115. package/SankeyChart/SankeyNodeLabelPlot.d.ts +1 -1
  116. package/SankeyChart/SankeyNodePlot.d.mts +1 -1
  117. package/SankeyChart/SankeyNodePlot.d.ts +1 -1
  118. package/SankeyChart/SankeyPlot.d.mts +1 -1
  119. package/SankeyChart/SankeyPlot.d.ts +1 -1
  120. package/SankeyChart/SankeyTooltip/SankeyTooltip.classes.d.mts +1 -1
  121. package/SankeyChart/SankeyTooltip/SankeyTooltip.classes.d.ts +1 -1
  122. package/SankeyChart/SankeyTooltip/SankeyTooltip.d.mts +1 -1
  123. package/SankeyChart/SankeyTooltip/SankeyTooltip.d.ts +1 -1
  124. package/SankeyChart/SankeyTooltip/SankeyTooltipContent.d.mts +1 -1
  125. package/SankeyChart/SankeyTooltip/SankeyTooltipContent.d.ts +1 -1
  126. package/SankeyChart/sankeyClasses.d.mts +1 -1
  127. package/SankeyChart/sankeyClasses.d.ts +1 -1
  128. package/SankeyChart/seriesConfig/createIsFaded.d.mts +1 -1
  129. package/SankeyChart/seriesConfig/createIsFaded.d.ts +1 -1
  130. package/SankeyChart/seriesConfig/index.js +2 -2
  131. package/SankeyChart/seriesConfig/index.mjs +2 -2
  132. package/SankeyChart/seriesConfig/tooltipPosition.d.mts +2 -3
  133. package/SankeyChart/seriesConfig/tooltipPosition.d.ts +2 -3
  134. package/SankeyChart/seriesConfig/tooltipPosition.js +6 -11
  135. package/SankeyChart/seriesConfig/tooltipPosition.mjs +5 -10
  136. package/SankeyChart/utils.d.mts +2 -2
  137. package/SankeyChart/utils.d.ts +2 -2
  138. package/ScatterChartPro/ScatterChartPro.d.mts +2 -1
  139. package/ScatterChartPro/ScatterChartPro.d.ts +2 -1
  140. package/index.js +1 -1
  141. package/index.mjs +1 -1
  142. package/internals/ChartsWatermark.d.mts +2 -1
  143. package/internals/ChartsWatermark.d.ts +2 -1
  144. package/internals/index.d.mts +2 -0
  145. package/internals/index.d.ts +2 -0
  146. package/internals/index.js +30 -0
  147. package/internals/index.mjs +2 -0
  148. package/internals/material/components/BaseMenuItem.d.mts +1 -1
  149. package/internals/material/components/BaseMenuItem.d.ts +1 -1
  150. package/internals/material/components/BasePopper.d.mts +2 -1
  151. package/internals/material/components/BasePopper.d.ts +2 -1
  152. package/internals/plugins/allPlugins.d.mts +2 -2
  153. package/internals/plugins/allPlugins.d.ts +2 -2
  154. package/internals/plugins/useChartProSampling/barSampler.d.mts +8 -0
  155. package/internals/plugins/useChartProSampling/barSampler.d.ts +8 -0
  156. package/internals/plugins/useChartProSampling/barSampler.js +18 -0
  157. package/internals/plugins/useChartProSampling/barSampler.mjs +12 -0
  158. package/internals/plugins/useChartProSampling/index.d.mts +2 -0
  159. package/internals/plugins/useChartProSampling/index.d.ts +2 -0
  160. package/internals/plugins/useChartProSampling/index.js +12 -0
  161. package/internals/plugins/useChartProSampling/index.mjs +1 -0
  162. package/internals/plugins/useChartProSampling/lineSampler.d.mts +8 -0
  163. package/internals/plugins/useChartProSampling/lineSampler.d.ts +8 -0
  164. package/internals/plugins/useChartProSampling/lineSampler.js +47 -0
  165. package/internals/plugins/useChartProSampling/lineSampler.mjs +41 -0
  166. package/internals/plugins/useChartProSampling/sampling.d.mts +38 -0
  167. package/internals/plugins/useChartProSampling/sampling.d.ts +38 -0
  168. package/internals/plugins/useChartProSampling/sampling.js +175 -0
  169. package/internals/plugins/useChartProSampling/sampling.line.d.mts +22 -0
  170. package/internals/plugins/useChartProSampling/sampling.line.d.ts +22 -0
  171. package/internals/plugins/useChartProSampling/sampling.line.js +172 -0
  172. package/internals/plugins/useChartProSampling/sampling.line.mjs +164 -0
  173. package/internals/plugins/useChartProSampling/sampling.mjs +164 -0
  174. package/internals/plugins/useChartProSampling/sampling.pyramid.types.d.mts +33 -0
  175. package/internals/plugins/useChartProSampling/sampling.pyramid.types.d.ts +33 -0
  176. package/internals/plugins/useChartProSampling/sampling.pyramid.types.js +5 -0
  177. package/internals/plugins/useChartProSampling/sampling.pyramid.types.mjs +1 -0
  178. package/internals/plugins/useChartProSampling/useChartProSampling.d.mts +4 -0
  179. package/internals/plugins/useChartProSampling/useChartProSampling.d.ts +4 -0
  180. package/internals/plugins/useChartProSampling/useChartProSampling.js +59 -0
  181. package/internals/plugins/useChartProSampling/useChartProSampling.mjs +52 -0
  182. package/internals/plugins/useChartProSampling/useChartProSampling.types.d.mts +25 -0
  183. package/internals/plugins/useChartProSampling/useChartProSampling.types.d.ts +25 -0
  184. package/internals/plugins/useChartProSampling/useChartProSampling.types.js +5 -0
  185. package/internals/plugins/useChartProSampling/useChartProSampling.types.mjs +1 -0
  186. package/internals/plugins/useChartProZoom/ZoomInteractionConfig.selectors.d.mts +26 -26
  187. package/internals/plugins/useChartProZoom/ZoomInteractionConfig.selectors.d.ts +26 -26
  188. package/internals/plugins/useChartProZoom/gestureHooks/usePanOnDrag.d.mts +1 -1
  189. package/internals/plugins/useChartProZoom/gestureHooks/usePanOnDrag.d.ts +1 -1
  190. package/internals/plugins/useChartProZoom/gestureHooks/usePanOnPressAndDrag.d.mts +1 -1
  191. package/internals/plugins/useChartProZoom/gestureHooks/usePanOnPressAndDrag.d.ts +1 -1
  192. package/internals/plugins/useChartProZoom/gestureHooks/usePanOnWheel.d.mts +1 -1
  193. package/internals/plugins/useChartProZoom/gestureHooks/usePanOnWheel.d.ts +1 -1
  194. package/internals/plugins/useChartProZoom/gestureHooks/useRegisterZoomGestures.d.mts +4 -3
  195. package/internals/plugins/useChartProZoom/gestureHooks/useRegisterZoomGestures.d.ts +4 -3
  196. package/internals/plugins/useChartProZoom/gestureHooks/useRegisterZoomGestures.mjs +1 -0
  197. package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnBrush.d.mts +1 -1
  198. package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnBrush.d.ts +1 -1
  199. package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnDoubleTapReset.d.mts +1 -1
  200. package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnDoubleTapReset.d.ts +1 -1
  201. package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnPinch.d.mts +1 -1
  202. package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnPinch.d.ts +1 -1
  203. package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnTapAndDrag.d.mts +1 -1
  204. package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnTapAndDrag.d.ts +1 -1
  205. package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnWheel.d.mts +1 -1
  206. package/internals/plugins/useChartProZoom/gestureHooks/useZoomOnWheel.d.ts +1 -1
  207. package/package.json +6 -6
  208. package/typeOverloads/modules.d.mts +9 -1
  209. package/typeOverloads/modules.d.ts +9 -1
@@ -1,25 +1,25 @@
1
1
  export declare const selectorZoomInteractionConfig: (args_0: import("@mui/x-charts/internals/plugins/corePlugins/useChartId/useChartId.types").UseChartIdState & import("@mui/x-charts/internals/plugins/corePlugins/useChartSeriesConfig/useChartSeriesConfig.types").UseChartSeriesConfigState<keyof import("@mui/x-charts/internals").ChartsSeriesConfig> & import("@mui/x-charts/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types").UseChartExperimentalFeaturesState & import("@mui/x-charts/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.types").UseChartDimensionsState & import("@mui/x-charts/internals/plugins/corePlugins/useChartSeries/useChartSeries.types").UseChartSeriesState<keyof import("@mui/x-charts/internals").ChartsSeriesConfig> & import("@mui/x-charts/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.types").UseChartAnimationState & import("@mui/x-charts/internals").UseChartInteractionListenerState & import("./useChartProZoom.types.mjs").UseChartProZoomState & Partial<{}> & {
2
2
  cacheKey: import("@mui/x-charts/internals").ChartStateCacheKey;
3
- }, interactionName: "wheel" | "pinch" | "tapAndDrag" | "doubleTapReset" | "brush") => (Omit<{
4
- type: "wheel";
3
+ }, interactionName: "brush" | "doubleTapReset" | "pinch" | "tapAndDrag" | "wheel") => (Omit<{
4
+ requiredKeys?: import("@mui/x-internal-gestures/core").KeyboardKey[];
5
5
  pointerMode?: any;
6
- requiredKeys?: import("@mui/x-internal-gestures/core").KeyboardKey[] | undefined;
6
+ type: 'wheel';
7
7
  } | {
8
- type: "pinch";
8
+ requiredKeys?: any[];
9
9
  pointerMode?: any;
10
- requiredKeys?: any[] | undefined;
10
+ type: 'pinch';
11
11
  } | {
12
- type: "tapAndDrag";
13
- pointerMode?: ("mouse" | "touch") | undefined;
14
- requiredKeys?: import("@mui/x-internal-gestures/core").KeyboardKey[] | undefined;
12
+ requiredKeys?: import("@mui/x-internal-gestures/core").KeyboardKey[];
13
+ pointerMode?: "mouse" | "touch";
14
+ type: 'tapAndDrag';
15
15
  } | {
16
- type: "doubleTapReset";
17
- pointerMode?: ("mouse" | "touch") | undefined;
18
- requiredKeys?: import("@mui/x-internal-gestures/core").KeyboardKey[] | undefined;
16
+ requiredKeys?: import("@mui/x-internal-gestures/core").KeyboardKey[];
17
+ pointerMode?: "mouse" | "touch";
18
+ type: 'doubleTapReset';
19
19
  } | {
20
- type: "brush";
21
- pointerMode?: ("mouse" | "touch") | undefined;
22
- requiredKeys?: import("@mui/x-internal-gestures/core").KeyboardKey[] | undefined;
20
+ requiredKeys?: import("@mui/x-internal-gestures/core").KeyboardKey[];
21
+ pointerMode?: "mouse" | "touch";
22
+ type: 'brush';
23
23
  }, "pointerMode"> & {
24
24
  mouse: {
25
25
  requiredKeys?: import("@mui/x-internal-gestures/core").KeyboardKey[];
@@ -28,23 +28,23 @@ export declare const selectorZoomInteractionConfig: (args_0: import("@mui/x-char
28
28
  requiredKeys?: import("@mui/x-internal-gestures/core").KeyboardKey[];
29
29
  };
30
30
  pointerMode?: import("@mui/x-internal-gestures/core").PointerMode[];
31
- allowedDirection?: "x" | "y" | "xy";
31
+ allowedDirection?: 'x' | 'y' | 'xy';
32
32
  }) | null;
33
33
  export declare const selectorPanInteractionConfig: (args_0: import("@mui/x-charts/internals/plugins/corePlugins/useChartId/useChartId.types").UseChartIdState & import("@mui/x-charts/internals/plugins/corePlugins/useChartSeriesConfig/useChartSeriesConfig.types").UseChartSeriesConfigState<keyof import("@mui/x-charts/internals").ChartsSeriesConfig> & import("@mui/x-charts/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types").UseChartExperimentalFeaturesState & import("@mui/x-charts/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.types").UseChartDimensionsState & import("@mui/x-charts/internals/plugins/corePlugins/useChartSeries/useChartSeries.types").UseChartSeriesState<keyof import("@mui/x-charts/internals").ChartsSeriesConfig> & import("@mui/x-charts/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.types").UseChartAnimationState & import("@mui/x-charts/internals").UseChartInteractionListenerState & import("./useChartProZoom.types.mjs").UseChartProZoomState & Partial<{}> & {
34
34
  cacheKey: import("@mui/x-charts/internals").ChartStateCacheKey;
35
- }, interactionName: "wheel" | "drag" | "pressAndDrag") => (Omit<{
36
- type: "drag";
37
- pointerMode?: ("mouse" | "touch") | undefined;
38
- requiredKeys?: import("@mui/x-internal-gestures/core").KeyboardKey[] | undefined;
35
+ }, interactionName: "drag" | "pressAndDrag" | "wheel") => (Omit<{
36
+ requiredKeys?: import("@mui/x-internal-gestures/core").KeyboardKey[];
37
+ pointerMode?: "mouse" | "touch";
38
+ type: 'drag';
39
39
  } | {
40
- type: "pressAndDrag";
41
- pointerMode?: ("mouse" | "touch") | undefined;
42
- requiredKeys?: import("@mui/x-internal-gestures/core").KeyboardKey[] | undefined;
40
+ requiredKeys?: import("@mui/x-internal-gestures/core").KeyboardKey[];
41
+ pointerMode?: "mouse" | "touch";
42
+ type: 'pressAndDrag';
43
43
  } | {
44
- type: "wheel";
45
- allowedDirection?: "x" | "y" | "xy" | undefined;
44
+ requiredKeys?: import("@mui/x-internal-gestures/core").KeyboardKey[];
46
45
  pointerMode?: any;
47
- requiredKeys?: import("@mui/x-internal-gestures/core").KeyboardKey[] | undefined;
46
+ type: 'wheel';
47
+ allowedDirection?: 'x' | 'y' | 'xy';
48
48
  }, "pointerMode"> & {
49
49
  mouse: {
50
50
  requiredKeys?: import("@mui/x-internal-gestures/core").KeyboardKey[];
@@ -53,5 +53,5 @@ export declare const selectorPanInteractionConfig: (args_0: import("@mui/x-chart
53
53
  requiredKeys?: import("@mui/x-internal-gestures/core").KeyboardKey[];
54
54
  };
55
55
  pointerMode?: import("@mui/x-internal-gestures/core").PointerMode[];
56
- allowedDirection?: "x" | "y" | "xy";
56
+ allowedDirection?: 'x' | 'y' | 'xy';
57
57
  }) | null;
@@ -1,25 +1,25 @@
1
1
  export declare const selectorZoomInteractionConfig: (args_0: import("@mui/x-charts/internals/plugins/corePlugins/useChartId/useChartId.types").UseChartIdState & import("@mui/x-charts/internals/plugins/corePlugins/useChartSeriesConfig/useChartSeriesConfig.types").UseChartSeriesConfigState<keyof import("@mui/x-charts/internals").ChartsSeriesConfig> & import("@mui/x-charts/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types").UseChartExperimentalFeaturesState & import("@mui/x-charts/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.types").UseChartDimensionsState & import("@mui/x-charts/internals/plugins/corePlugins/useChartSeries/useChartSeries.types").UseChartSeriesState<keyof import("@mui/x-charts/internals").ChartsSeriesConfig> & import("@mui/x-charts/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.types").UseChartAnimationState & import("@mui/x-charts/internals").UseChartInteractionListenerState & import("./useChartProZoom.types.js").UseChartProZoomState & Partial<{}> & {
2
2
  cacheKey: import("@mui/x-charts/internals").ChartStateCacheKey;
3
- }, interactionName: "wheel" | "pinch" | "tapAndDrag" | "doubleTapReset" | "brush") => (Omit<{
4
- type: "wheel";
3
+ }, interactionName: "brush" | "doubleTapReset" | "pinch" | "tapAndDrag" | "wheel") => (Omit<{
4
+ requiredKeys?: import("@mui/x-internal-gestures/core").KeyboardKey[];
5
5
  pointerMode?: any;
6
- requiredKeys?: import("@mui/x-internal-gestures/core").KeyboardKey[] | undefined;
6
+ type: 'wheel';
7
7
  } | {
8
- type: "pinch";
8
+ requiredKeys?: any[];
9
9
  pointerMode?: any;
10
- requiredKeys?: any[] | undefined;
10
+ type: 'pinch';
11
11
  } | {
12
- type: "tapAndDrag";
13
- pointerMode?: ("mouse" | "touch") | undefined;
14
- requiredKeys?: import("@mui/x-internal-gestures/core").KeyboardKey[] | undefined;
12
+ requiredKeys?: import("@mui/x-internal-gestures/core").KeyboardKey[];
13
+ pointerMode?: "mouse" | "touch";
14
+ type: 'tapAndDrag';
15
15
  } | {
16
- type: "doubleTapReset";
17
- pointerMode?: ("mouse" | "touch") | undefined;
18
- requiredKeys?: import("@mui/x-internal-gestures/core").KeyboardKey[] | undefined;
16
+ requiredKeys?: import("@mui/x-internal-gestures/core").KeyboardKey[];
17
+ pointerMode?: "mouse" | "touch";
18
+ type: 'doubleTapReset';
19
19
  } | {
20
- type: "brush";
21
- pointerMode?: ("mouse" | "touch") | undefined;
22
- requiredKeys?: import("@mui/x-internal-gestures/core").KeyboardKey[] | undefined;
20
+ requiredKeys?: import("@mui/x-internal-gestures/core").KeyboardKey[];
21
+ pointerMode?: "mouse" | "touch";
22
+ type: 'brush';
23
23
  }, "pointerMode"> & {
24
24
  mouse: {
25
25
  requiredKeys?: import("@mui/x-internal-gestures/core").KeyboardKey[];
@@ -28,23 +28,23 @@ export declare const selectorZoomInteractionConfig: (args_0: import("@mui/x-char
28
28
  requiredKeys?: import("@mui/x-internal-gestures/core").KeyboardKey[];
29
29
  };
30
30
  pointerMode?: import("@mui/x-internal-gestures/core").PointerMode[];
31
- allowedDirection?: "x" | "y" | "xy";
31
+ allowedDirection?: 'x' | 'y' | 'xy';
32
32
  }) | null;
33
33
  export declare const selectorPanInteractionConfig: (args_0: import("@mui/x-charts/internals/plugins/corePlugins/useChartId/useChartId.types").UseChartIdState & import("@mui/x-charts/internals/plugins/corePlugins/useChartSeriesConfig/useChartSeriesConfig.types").UseChartSeriesConfigState<keyof import("@mui/x-charts/internals").ChartsSeriesConfig> & import("@mui/x-charts/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types").UseChartExperimentalFeaturesState & import("@mui/x-charts/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.types").UseChartDimensionsState & import("@mui/x-charts/internals/plugins/corePlugins/useChartSeries/useChartSeries.types").UseChartSeriesState<keyof import("@mui/x-charts/internals").ChartsSeriesConfig> & import("@mui/x-charts/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.types").UseChartAnimationState & import("@mui/x-charts/internals").UseChartInteractionListenerState & import("./useChartProZoom.types.js").UseChartProZoomState & Partial<{}> & {
34
34
  cacheKey: import("@mui/x-charts/internals").ChartStateCacheKey;
35
- }, interactionName: "wheel" | "drag" | "pressAndDrag") => (Omit<{
36
- type: "drag";
37
- pointerMode?: ("mouse" | "touch") | undefined;
38
- requiredKeys?: import("@mui/x-internal-gestures/core").KeyboardKey[] | undefined;
35
+ }, interactionName: "drag" | "pressAndDrag" | "wheel") => (Omit<{
36
+ requiredKeys?: import("@mui/x-internal-gestures/core").KeyboardKey[];
37
+ pointerMode?: "mouse" | "touch";
38
+ type: 'drag';
39
39
  } | {
40
- type: "pressAndDrag";
41
- pointerMode?: ("mouse" | "touch") | undefined;
42
- requiredKeys?: import("@mui/x-internal-gestures/core").KeyboardKey[] | undefined;
40
+ requiredKeys?: import("@mui/x-internal-gestures/core").KeyboardKey[];
41
+ pointerMode?: "mouse" | "touch";
42
+ type: 'pressAndDrag';
43
43
  } | {
44
- type: "wheel";
45
- allowedDirection?: "x" | "y" | "xy" | undefined;
44
+ requiredKeys?: import("@mui/x-internal-gestures/core").KeyboardKey[];
46
45
  pointerMode?: any;
47
- requiredKeys?: import("@mui/x-internal-gestures/core").KeyboardKey[] | undefined;
46
+ type: 'wheel';
47
+ allowedDirection?: 'x' | 'y' | 'xy';
48
48
  }, "pointerMode"> & {
49
49
  mouse: {
50
50
  requiredKeys?: import("@mui/x-internal-gestures/core").KeyboardKey[];
@@ -53,5 +53,5 @@ export declare const selectorPanInteractionConfig: (args_0: import("@mui/x-chart
53
53
  requiredKeys?: import("@mui/x-internal-gestures/core").KeyboardKey[];
54
54
  };
55
55
  pointerMode?: import("@mui/x-internal-gestures/core").PointerMode[];
56
- allowedDirection?: "x" | "y" | "xy";
56
+ allowedDirection?: 'x' | 'y' | 'xy';
57
57
  }) | null;
@@ -3,4 +3,4 @@ import type { UseChartProZoomSignature } from "../useChartProZoom.types.mjs";
3
3
  export declare const usePanOnDrag: ({
4
4
  store,
5
5
  instance
6
- }: Pick<Parameters<ChartPlugin<UseChartProZoomSignature>>[0], "store" | "instance">, setZoomDataCallback: React.Dispatch<ZoomData[] | ((prev: ZoomData[]) => ZoomData[])>) => void;
6
+ }: Pick<Parameters<ChartPlugin<UseChartProZoomSignature>>[0], 'store' | 'instance'>, setZoomDataCallback: React.Dispatch<ZoomData[] | ((prev: ZoomData[]) => ZoomData[])>) => void;
@@ -3,4 +3,4 @@ import type { UseChartProZoomSignature } from "../useChartProZoom.types.js";
3
3
  export declare const usePanOnDrag: ({
4
4
  store,
5
5
  instance
6
- }: Pick<Parameters<ChartPlugin<UseChartProZoomSignature>>[0], "store" | "instance">, setZoomDataCallback: React.Dispatch<ZoomData[] | ((prev: ZoomData[]) => ZoomData[])>) => void;
6
+ }: Pick<Parameters<ChartPlugin<UseChartProZoomSignature>>[0], 'store' | 'instance'>, setZoomDataCallback: React.Dispatch<ZoomData[] | ((prev: ZoomData[]) => ZoomData[])>) => void;
@@ -3,4 +3,4 @@ import type { UseChartProZoomSignature } from "../useChartProZoom.types.mjs";
3
3
  export declare const usePanOnPressAndDrag: ({
4
4
  store,
5
5
  instance
6
- }: Pick<Parameters<ChartPlugin<UseChartProZoomSignature>>[0], "store" | "instance">, setZoomDataCallback: React.Dispatch<ZoomData[] | ((prev: ZoomData[]) => ZoomData[])>) => void;
6
+ }: Pick<Parameters<ChartPlugin<UseChartProZoomSignature>>[0], 'store' | 'instance'>, setZoomDataCallback: React.Dispatch<ZoomData[] | ((prev: ZoomData[]) => ZoomData[])>) => void;
@@ -3,4 +3,4 @@ import type { UseChartProZoomSignature } from "../useChartProZoom.types.js";
3
3
  export declare const usePanOnPressAndDrag: ({
4
4
  store,
5
5
  instance
6
- }: Pick<Parameters<ChartPlugin<UseChartProZoomSignature>>[0], "store" | "instance">, setZoomDataCallback: React.Dispatch<ZoomData[] | ((prev: ZoomData[]) => ZoomData[])>) => void;
6
+ }: Pick<Parameters<ChartPlugin<UseChartProZoomSignature>>[0], 'store' | 'instance'>, setZoomDataCallback: React.Dispatch<ZoomData[] | ((prev: ZoomData[]) => ZoomData[])>) => void;
@@ -4,4 +4,4 @@ import type { UseChartProZoomSignature } from "../useChartProZoom.types.mjs";
4
4
  export declare const usePanOnWheel: ({
5
5
  store,
6
6
  instance
7
- }: Pick<Parameters<ChartPlugin<UseChartProZoomSignature>>[0], "store" | "instance">, setZoomDataCallback: React.Dispatch<ZoomData[] | ((prev: ZoomData[]) => ZoomData[])>) => void;
7
+ }: Pick<Parameters<ChartPlugin<UseChartProZoomSignature>>[0], 'store' | 'instance'>, setZoomDataCallback: React.Dispatch<ZoomData[] | ((prev: ZoomData[]) => ZoomData[])>) => void;
@@ -4,4 +4,4 @@ import type { UseChartProZoomSignature } from "../useChartProZoom.types.js";
4
4
  export declare const usePanOnWheel: ({
5
5
  store,
6
6
  instance
7
- }: Pick<Parameters<ChartPlugin<UseChartProZoomSignature>>[0], "store" | "instance">, setZoomDataCallback: React.Dispatch<ZoomData[] | ((prev: ZoomData[]) => ZoomData[])>) => void;
7
+ }: Pick<Parameters<ChartPlugin<UseChartProZoomSignature>>[0], 'store' | 'instance'>, setZoomDataCallback: React.Dispatch<ZoomData[] | ((prev: ZoomData[]) => ZoomData[])>) => void;
@@ -1,5 +1,4 @@
1
- import type { ChartPlugin } from '@mui/x-charts/internals';
2
- import type { UseChartProZoomSignature } from "../useChartProZoom.types.mjs";
1
+ import type { ChartUsedInstance } from '@mui/x-charts/internals';
3
2
  /**
4
3
  * Registers the gestures required by the zoom feature.
5
4
  * They are registered here instead of in the core interaction listener plugin
@@ -7,4 +6,6 @@ import type { UseChartProZoomSignature } from "../useChartProZoom.types.mjs";
7
6
  */
8
7
  export declare const useRegisterZoomGestures: ({
9
8
  instance
10
- }: Pick<Parameters<ChartPlugin<UseChartProZoomSignature>>[0], "instance">) => void;
9
+ }: {
10
+ instance: ChartUsedInstance<any>;
11
+ }) => void;
@@ -1,5 +1,4 @@
1
- import type { ChartPlugin } from '@mui/x-charts/internals';
2
- import type { UseChartProZoomSignature } from "../useChartProZoom.types.js";
1
+ import type { ChartUsedInstance } from '@mui/x-charts/internals';
3
2
  /**
4
3
  * Registers the gestures required by the zoom feature.
5
4
  * They are registered here instead of in the core interaction listener plugin
@@ -7,4 +6,6 @@ import type { UseChartProZoomSignature } from "../useChartProZoom.types.js";
7
6
  */
8
7
  export declare const useRegisterZoomGestures: ({
9
8
  instance
10
- }: Pick<Parameters<ChartPlugin<UseChartProZoomSignature>>[0], "instance">) => void;
9
+ }: {
10
+ instance: ChartUsedInstance<any>;
11
+ }) => void;
@@ -2,6 +2,7 @@
2
2
 
3
3
  import * as React from 'react';
4
4
  import { PanGesture, PinchGesture, PressAndDragGesture, TapAndDragGesture, TapGesture, TurnWheelGesture } from '@mui/x-internal-gestures/core';
5
+
5
6
  /**
6
7
  * Registers the gestures required by the zoom feature.
7
8
  * They are registered here instead of in the core interaction listener plugin
@@ -4,4 +4,4 @@ import type { UseChartProZoomSignature } from "../useChartProZoom.types.mjs";
4
4
  export declare const useZoomOnBrush: ({
5
5
  store,
6
6
  instance
7
- }: Pick<Parameters<ChartPlugin<UseChartProZoomSignature>>[0], "store" | "instance">, setZoomDataCallback: React.Dispatch<(prev: ZoomData[]) => ZoomData[]>) => void;
7
+ }: Pick<Parameters<ChartPlugin<UseChartProZoomSignature>>[0], 'store' | 'instance'>, setZoomDataCallback: React.Dispatch<(prev: ZoomData[]) => ZoomData[]>) => void;
@@ -4,4 +4,4 @@ import type { UseChartProZoomSignature } from "../useChartProZoom.types.js";
4
4
  export declare const useZoomOnBrush: ({
5
5
  store,
6
6
  instance
7
- }: Pick<Parameters<ChartPlugin<UseChartProZoomSignature>>[0], "store" | "instance">, setZoomDataCallback: React.Dispatch<(prev: ZoomData[]) => ZoomData[]>) => void;
7
+ }: Pick<Parameters<ChartPlugin<UseChartProZoomSignature>>[0], 'store' | 'instance'>, setZoomDataCallback: React.Dispatch<(prev: ZoomData[]) => ZoomData[]>) => void;
@@ -4,4 +4,4 @@ import type { UseChartProZoomSignature } from "../useChartProZoom.types.mjs";
4
4
  export declare const useZoomOnDoubleTapReset: ({
5
5
  store,
6
6
  instance
7
- }: Pick<Parameters<ChartPlugin<UseChartProZoomSignature>>[0], "store" | "instance">, setZoomDataCallback: React.Dispatch<ZoomData[] | ((prev: ZoomData[]) => ZoomData[])>) => void;
7
+ }: Pick<Parameters<ChartPlugin<UseChartProZoomSignature>>[0], 'store' | 'instance'>, setZoomDataCallback: React.Dispatch<ZoomData[] | ((prev: ZoomData[]) => ZoomData[])>) => void;
@@ -4,4 +4,4 @@ import type { UseChartProZoomSignature } from "../useChartProZoom.types.js";
4
4
  export declare const useZoomOnDoubleTapReset: ({
5
5
  store,
6
6
  instance
7
- }: Pick<Parameters<ChartPlugin<UseChartProZoomSignature>>[0], "store" | "instance">, setZoomDataCallback: React.Dispatch<ZoomData[] | ((prev: ZoomData[]) => ZoomData[])>) => void;
7
+ }: Pick<Parameters<ChartPlugin<UseChartProZoomSignature>>[0], 'store' | 'instance'>, setZoomDataCallback: React.Dispatch<ZoomData[] | ((prev: ZoomData[]) => ZoomData[])>) => void;
@@ -3,4 +3,4 @@ import type { UseChartProZoomSignature } from "../useChartProZoom.types.mjs";
3
3
  export declare const useZoomOnPinch: ({
4
4
  store,
5
5
  instance
6
- }: Pick<Parameters<ChartPlugin<UseChartProZoomSignature>>[0], "store" | "instance">, setZoomDataCallback: React.Dispatch<ZoomData[] | ((prev: ZoomData[]) => ZoomData[])>) => void;
6
+ }: Pick<Parameters<ChartPlugin<UseChartProZoomSignature>>[0], 'store' | 'instance'>, setZoomDataCallback: React.Dispatch<ZoomData[] | ((prev: ZoomData[]) => ZoomData[])>) => void;
@@ -3,4 +3,4 @@ import type { UseChartProZoomSignature } from "../useChartProZoom.types.js";
3
3
  export declare const useZoomOnPinch: ({
4
4
  store,
5
5
  instance
6
- }: Pick<Parameters<ChartPlugin<UseChartProZoomSignature>>[0], "store" | "instance">, setZoomDataCallback: React.Dispatch<ZoomData[] | ((prev: ZoomData[]) => ZoomData[])>) => void;
6
+ }: Pick<Parameters<ChartPlugin<UseChartProZoomSignature>>[0], 'store' | 'instance'>, setZoomDataCallback: React.Dispatch<ZoomData[] | ((prev: ZoomData[]) => ZoomData[])>) => void;
@@ -4,4 +4,4 @@ import type { UseChartProZoomSignature } from "../useChartProZoom.types.mjs";
4
4
  export declare const useZoomOnTapAndDrag: ({
5
5
  store,
6
6
  instance
7
- }: Pick<Parameters<ChartPlugin<UseChartProZoomSignature>>[0], "store" | "instance">, setZoomDataCallback: React.Dispatch<ZoomData[] | ((prev: ZoomData[]) => ZoomData[])>) => void;
7
+ }: Pick<Parameters<ChartPlugin<UseChartProZoomSignature>>[0], 'store' | 'instance'>, setZoomDataCallback: React.Dispatch<ZoomData[] | ((prev: ZoomData[]) => ZoomData[])>) => void;
@@ -4,4 +4,4 @@ import type { UseChartProZoomSignature } from "../useChartProZoom.types.js";
4
4
  export declare const useZoomOnTapAndDrag: ({
5
5
  store,
6
6
  instance
7
- }: Pick<Parameters<ChartPlugin<UseChartProZoomSignature>>[0], "store" | "instance">, setZoomDataCallback: React.Dispatch<ZoomData[] | ((prev: ZoomData[]) => ZoomData[])>) => void;
7
+ }: Pick<Parameters<ChartPlugin<UseChartProZoomSignature>>[0], 'store' | 'instance'>, setZoomDataCallback: React.Dispatch<ZoomData[] | ((prev: ZoomData[]) => ZoomData[])>) => void;
@@ -3,4 +3,4 @@ import type { UseChartProZoomSignature } from "../useChartProZoom.types.mjs";
3
3
  export declare const useZoomOnWheel: ({
4
4
  store,
5
5
  instance
6
- }: Pick<Parameters<ChartPlugin<UseChartProZoomSignature>>[0], "store" | "instance">, setZoomDataCallback: React.Dispatch<ZoomData[] | ((prev: ZoomData[]) => ZoomData[])>) => void;
6
+ }: Pick<Parameters<ChartPlugin<UseChartProZoomSignature>>[0], 'store' | 'instance'>, setZoomDataCallback: React.Dispatch<ZoomData[] | ((prev: ZoomData[]) => ZoomData[])>) => void;
@@ -3,4 +3,4 @@ import type { UseChartProZoomSignature } from "../useChartProZoom.types.js";
3
3
  export declare const useZoomOnWheel: ({
4
4
  store,
5
5
  instance
6
- }: Pick<Parameters<ChartPlugin<UseChartProZoomSignature>>[0], "store" | "instance">, setZoomDataCallback: React.Dispatch<ZoomData[] | ((prev: ZoomData[]) => ZoomData[])>) => void;
6
+ }: Pick<Parameters<ChartPlugin<UseChartProZoomSignature>>[0], 'store' | 'instance'>, setZoomDataCallback: React.Dispatch<ZoomData[] | ((prev: ZoomData[]) => ZoomData[])>) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/x-charts-pro",
3
- "version": "9.8.0",
3
+ "version": "9.10.0",
4
4
  "author": "MUI Team",
5
5
  "description": "The Pro plan edition of the MUI X Charts components.",
6
6
  "license": "SEE LICENSE IN LICENSE",
@@ -28,14 +28,14 @@
28
28
  },
29
29
  "dependencies": {
30
30
  "@babel/runtime": "^7.29.7",
31
- "@mui/utils": "^9.1.1",
31
+ "@mui/utils": "^9.2.0",
32
32
  "clsx": "^2.1.1",
33
33
  "prop-types": "^15.8.1",
34
+ "@mui/x-charts": "^9.10.0",
34
35
  "@mui/x-charts-vendor": "^9.4.0",
35
- "@mui/x-charts": "^9.8.0",
36
- "@mui/x-internal-gestures": "^9.8.0",
37
- "@mui/x-internals": "^9.8.0",
38
- "@mui/x-license": "^9.8.0"
36
+ "@mui/x-internal-gestures": "^9.10.0",
37
+ "@mui/x-license": "^9.10.0",
38
+ "@mui/x-internals": "^9.10.0"
39
39
  },
40
40
  "peerDependencies": {
41
41
  "@emotion/react": "^11.9.0",
@@ -1,5 +1,5 @@
1
1
  import type { DefaultizedProps, MakeRequired } from '@mui/x-internals/types';
2
- import type { AxisId, CommonHighlightScope, SeriesId, ComputedXAxis, ComputedYAxis, ZoomOptions } from '@mui/x-charts/internals';
2
+ import type { AxisId, CommonHighlightScope, SeriesId, ComputedXAxis, ComputedYAxis, ZoomOptions, BarSamplingMethod, SamplingMethod } from '@mui/x-charts/internals';
3
3
  import type { DefaultizedFunnelSeriesType, FunnelItemIdentifier, FunnelSeriesType, FunnelValueType } from "../FunnelChart/funnel.types.mjs";
4
4
  import type { HeatmapItemIdentifier, HeatmapItemIdentifierWithData, HeatmapSeriesType, DefaultizedHeatmapSeriesType, HeatmapValueType } from "../models/seriesType/heatmap.mjs";
5
5
  import type { SankeyLayout, SankeySeriesType, DefaultizedSankeySeriesType, SankeyItemIdentifier, SankeyItemIdentifierWithData } from "../SankeyChart/sankey.types.mjs";
@@ -71,6 +71,14 @@ declare module '@mui/x-charts/internals' {
71
71
  highlightIdentifier: SankeyItemIdentifier;
72
72
  };
73
73
  }
74
+ interface BarSeriesExtension {
75
+ /** Bar `sampling` method. */
76
+ samplingMethod: BarSamplingMethod;
77
+ }
78
+ interface LineSeriesExtension {
79
+ /** Line `sampling` method. */
80
+ samplingMethod: SamplingMethod;
81
+ }
74
82
  interface DefaultizedZoomOptions extends Required<ZoomOptions> {
75
83
  axisId: AxisId;
76
84
  axisDirection: 'x' | 'y';
@@ -1,5 +1,5 @@
1
1
  import type { DefaultizedProps, MakeRequired } from '@mui/x-internals/types';
2
- import type { AxisId, CommonHighlightScope, SeriesId, ComputedXAxis, ComputedYAxis, ZoomOptions } from '@mui/x-charts/internals';
2
+ import type { AxisId, CommonHighlightScope, SeriesId, ComputedXAxis, ComputedYAxis, ZoomOptions, BarSamplingMethod, SamplingMethod } from '@mui/x-charts/internals';
3
3
  import type { DefaultizedFunnelSeriesType, FunnelItemIdentifier, FunnelSeriesType, FunnelValueType } from "../FunnelChart/funnel.types.js";
4
4
  import type { HeatmapItemIdentifier, HeatmapItemIdentifierWithData, HeatmapSeriesType, DefaultizedHeatmapSeriesType, HeatmapValueType } from "../models/seriesType/heatmap.js";
5
5
  import type { SankeyLayout, SankeySeriesType, DefaultizedSankeySeriesType, SankeyItemIdentifier, SankeyItemIdentifierWithData } from "../SankeyChart/sankey.types.js";
@@ -71,6 +71,14 @@ declare module '@mui/x-charts/internals' {
71
71
  highlightIdentifier: SankeyItemIdentifier;
72
72
  };
73
73
  }
74
+ interface BarSeriesExtension {
75
+ /** Bar `sampling` method. */
76
+ samplingMethod: BarSamplingMethod;
77
+ }
78
+ interface LineSeriesExtension {
79
+ /** Line `sampling` method. */
80
+ samplingMethod: SamplingMethod;
81
+ }
74
82
  interface DefaultizedZoomOptions extends Required<ZoomOptions> {
75
83
  axisId: AxisId;
76
84
  axisDirection: 'x' | 'y';