highcharts 13.0.2 → 13.1.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/bower.json +1 -1
- package/css/highcharts.css +6 -2
- package/es-modules/Accessibility/Components/InfoRegionsComponent.js +10 -6
- package/es-modules/Accessibility/Components/SeriesComponent/SeriesComponent.js +2 -1
- package/es-modules/Accessibility/Components/SeriesComponent/SeriesDescriber.js +25 -1
- package/es-modules/Accessibility/KeyboardNavigation.js +1 -1
- package/es-modules/Accessibility/Utils/HTMLUtilities.js +13 -3
- package/es-modules/Core/Animation/AnimationUtilities.js +7 -2
- package/es-modules/Core/Animation/Fx.js +1 -0
- package/es-modules/Core/Axis/Axis.js +181 -211
- package/es-modules/Core/Axis/Axis3DComposition.js +13 -15
- package/es-modules/Core/Axis/AxisDefaults.js +9 -8
- package/es-modules/Core/Axis/BrokenAxis.js +5 -4
- package/es-modules/Core/Axis/Color/ColorAxis.js +66 -54
- package/es-modules/Core/Axis/Color/ColorAxisComposition.js +3 -0
- package/es-modules/Core/Axis/Color/ColorAxisDefaults.js +6 -4
- package/es-modules/Core/Axis/DateTimeAxis.js +4 -3
- package/es-modules/Core/Axis/GridAxis.js +17 -13
- package/es-modules/Core/Axis/LogarithmicAxis.js +4 -3
- package/es-modules/Core/Axis/NavigatorAxisComposition.js +3 -4
- package/es-modules/Core/Axis/OrdinalAxis.js +0 -15
- package/es-modules/Core/Axis/PlotLineOrBand/PlotLineOrBand.js +135 -72
- package/es-modules/Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js +72 -124
- package/es-modules/Core/Axis/RadialAxis.js +50 -7
- package/es-modules/Core/Axis/ScrollbarAxis.js +3 -0
- package/es-modules/Core/Axis/Stacking/StackItem.js +49 -75
- package/es-modules/Core/Axis/Stacking/StackingAxis.js +34 -22
- package/es-modules/Core/Axis/Tick.js +95 -92
- package/es-modules/Core/Axis/TreeGrid/TreeGridAxis.js +9 -13
- package/es-modules/Core/Axis/WaterfallAxis.js +1 -1
- package/es-modules/Core/Chart/Chart.js +13 -4
- package/es-modules/Core/Chart/StockChart.js +20 -26
- package/es-modules/Core/Defaults.js +18 -0
- package/es-modules/Core/Globals.js +9 -7
- package/es-modules/Core/Pointer.js +7 -8
- package/es-modules/Core/Renderer/HTML/AST.js +18 -11
- package/es-modules/Core/Renderer/HTML/HTMLElement.js +5 -1
- package/es-modules/Core/Renderer/SVG/SVGElement.js +1 -0
- package/es-modules/Core/Renderer/SVG/SVGRenderer.js +1 -1
- package/es-modules/Core/Renderer/SVG/Symbols.js +1 -1
- package/es-modules/Core/Renderer/SVG/TextBuilder.js +6 -2
- package/es-modules/Core/Series/OverlappingDataLabels.js +41 -32
- package/es-modules/Core/Series/Point.js +14 -11
- package/es-modules/Core/Series/Series.js +21 -10
- package/es-modules/Core/Tooltip.js +35 -40
- package/es-modules/Data/DataCursor.js +3 -2
- package/es-modules/Data/DataTable.js +21 -2
- package/es-modules/Data/DataTableCore.js +28 -4
- package/es-modules/Data/Formula/FormulaParser.js +30 -10
- package/es-modules/Extensions/Annotations/Annotation.js +5 -7
- package/es-modules/Extensions/Annotations/AnnotationChart.js +2 -1
- package/es-modules/Extensions/Boost/BoostSeries.js +4 -13
- package/es-modules/Extensions/Breadcrumbs/Breadcrumbs.js +6 -4
- package/es-modules/Extensions/Breadcrumbs/BreadcrumbsDefaults.js +1 -1
- package/es-modules/Extensions/Data.js +4 -2
- package/es-modules/Extensions/DragPanes/DragPanes.js +6 -9
- package/es-modules/Extensions/Drilldown/Drilldown.js +9 -4
- package/es-modules/Extensions/ExportData/ExportData.js +24 -4
- package/es-modules/Extensions/Pane/Pane.js +1 -1
- package/es-modules/Extensions/ParallelCoordinates/ParallelAxis.js +5 -4
- package/es-modules/Extensions/StaticScale.js +13 -11
- package/es-modules/Series/Area/AreaSeriesDefaults.js +1 -1
- package/es-modules/Series/AreaRange/AreaRangeSeriesDefaults.js +1 -1
- package/es-modules/Series/AreaSpline/AreaSplineSeries.js +1 -1
- package/es-modules/Series/AreaSplineRange/AreaSplineRangeSeries.js +1 -1
- package/es-modules/Series/Bar/BarSeries.js +1 -1
- package/es-modules/Series/Bellcurve/BellcurveSeriesDefaults.js +1 -1
- package/es-modules/Series/BoxPlot/BoxPlotSeriesDefaults.js +1 -1
- package/es-modules/Series/Bubble/BubbleSeries.js +1 -1
- package/es-modules/Series/Bullet/BulletSeriesDefaults.js +1 -1
- package/es-modules/Series/Candlestick/CandlestickSeriesDefaults.js +1 -1
- package/es-modules/Series/Column/ColumnSeriesDefaults.js +6 -3
- package/es-modules/Series/ColumnPyramid/ColumnPyramidSeriesDefaults.js +2 -3
- package/es-modules/Series/ColumnRange/ColumnRangeSeriesDefaults.js +1 -1
- package/es-modules/Series/Contour/ContourSeriesDefaults.js +12 -14
- package/es-modules/Series/ErrorBar/ErrorBarSeriesDefaults.js +1 -1
- package/es-modules/Series/Flags/FlagsPoint.js +4 -2
- package/es-modules/Series/Flags/FlagsPointOptions.js +12 -0
- package/es-modules/Series/Flags/FlagsSeries.js +8 -7
- package/es-modules/Series/Flags/FlagsSeriesDefaults.js +7 -7
- package/es-modules/Series/Flags/FlagsSeriesOptions.js +12 -0
- package/es-modules/Series/Flags/FlagsSymbols.js +5 -3
- package/es-modules/Series/Funnel/FunnelSeriesDefaults.js +1 -1
- package/es-modules/Series/Gauge/GaugeSeries.js +1 -1
- package/es-modules/Series/GeoHeatmap/GeoHeatmapSeries.js +1 -1
- package/es-modules/Series/HLC/HLCSeriesDefaults.js +1 -7
- package/es-modules/Series/Heatmap/HeatmapSeriesDefaults.js +1 -1
- package/es-modules/Series/HeikinAshi/HeikinAshiSeriesDefaults.js +1 -1
- package/es-modules/Series/Histogram/HistogramSeriesDefaults.js +1 -1
- package/es-modules/Series/HollowCandlestick/HollowCandlestickSeries.js +1 -1
- package/es-modules/Series/Item/ItemSeriesDefaults.js +1 -1
- package/es-modules/Series/Line/LineSeries.js +0 -1
- package/es-modules/Series/Map/MapSeriesDefaults.js +1 -1
- package/es-modules/Series/MapBubble/MapBubbleSeries.js +0 -1
- package/es-modules/Series/MapLine/MapLineSeriesDefaults.js +1 -1
- package/es-modules/Series/MapPoint/MapPointSeriesDefaults.js +0 -1
- package/es-modules/Series/Networkgraph/ReingoldFruchtermanLayout.js +5 -5
- package/es-modules/Series/OHLC/OHLCSeriesDefaults.js +0 -1
- package/es-modules/Series/PackedBubble/PackedBubbleChart.js +18 -0
- package/es-modules/Series/PackedBubble/PackedBubbleDataLabelOptions.js +12 -0
- package/es-modules/Series/PackedBubble/PackedBubbleIntegration.js +3 -3
- package/es-modules/Series/PackedBubble/PackedBubbleLayout.js +2 -2
- package/es-modules/Series/PackedBubble/PackedBubblePoint.js +1 -1
- package/es-modules/Series/PackedBubble/PackedBubblePointOptions.js +12 -0
- package/es-modules/Series/PackedBubble/PackedBubbleSeries.js +20 -20
- package/es-modules/Series/PackedBubble/PackedBubbleSeriesDefaults.js +2 -2
- package/es-modules/Series/PackedBubble/PackedBubbleSeriesOptions.js +12 -0
- package/es-modules/Series/ParetoSeries/ParetoPoint.js +17 -0
- package/es-modules/Series/ParetoSeries/ParetoPointOptions.js +12 -0
- package/es-modules/Series/ParetoSeries/ParetoSeries.js +3 -3
- package/es-modules/Series/ParetoSeries/ParetoSeriesDefaults.js +1 -1
- package/es-modules/Series/ParetoSeries/ParetoSeriesOptions.js +12 -0
- package/es-modules/Series/PathUtilities.js +3 -1
- package/es-modules/Series/Pictorial/PictorialPointOptions.js +12 -0
- package/es-modules/Series/Pictorial/PictorialSeries.js +5 -25
- package/es-modules/Series/Pictorial/PictorialSeriesDefaults.js +45 -0
- package/es-modules/Series/Pictorial/PictorialSeriesOptions.js +12 -0
- package/es-modules/Series/Pie/PieSeriesDefaults.js +1 -1
- package/es-modules/Series/Pie3D/Pie3DPoint.js +1 -1
- package/es-modules/Series/Pie3D/Pie3DSeries.js +6 -6
- package/es-modules/Series/PolarComposition.js +22 -21
- package/es-modules/Series/Polygon/PolygonPoint.js +17 -0
- package/es-modules/Series/Polygon/PolygonPointOptions.js +12 -0
- package/es-modules/Series/Polygon/PolygonSeriesDefaults.js +1 -1
- package/es-modules/Series/Polygon/PolygonSeriesOptions.js +12 -0
- package/es-modules/Series/Pyramid/PyramidPoint.js +19 -0
- package/es-modules/Series/Pyramid/PyramidPointOptions.js +14 -0
- package/es-modules/Series/Pyramid/PyramidSeries.js +1 -1
- package/es-modules/Series/Pyramid/PyramidSeriesDefaults.js +1 -1
- package/es-modules/Series/Pyramid/PyramidSeriesOptions.js +14 -0
- package/es-modules/Series/Pyramid3D/Pyramid3DPoint.js +19 -0
- package/es-modules/Series/Pyramid3D/Pyramid3DPointOptions.js +14 -0
- package/es-modules/Series/Pyramid3D/Pyramid3DSeries.js +1 -1
- package/es-modules/Series/Pyramid3D/Pyramid3DSeriesOptions.js +14 -0
- package/es-modules/Series/Renko/RenkoSeriesDefaults.js +1 -2
- package/es-modules/Series/Sankey/SankeySeriesDefaults.js +6 -7
- package/es-modules/Series/Scatter/ScatterSeriesDefaults.js +1 -1
- package/es-modules/Series/SolidGauge/SolidGaugeSeriesDefaults.js +1 -1
- package/es-modules/Series/Spline/SplineSeries.js +1 -1
- package/es-modules/Series/Streamgraph/StreamgraphSeriesDefaults.js +1 -1
- package/es-modules/Series/Sunburst/SunburstSeriesDefaults.js +1 -1
- package/es-modules/Series/TiledWebMap/TiledWebMapSeriesDefaults.js +2 -2
- package/es-modules/Series/Tilemap/TilemapSeriesDefaults.js +1 -1
- package/es-modules/Series/Timeline/TimelineSeriesDefaults.js +1 -1
- package/es-modules/Series/Treemap/TreemapSeriesDefaults.js +1 -1
- package/es-modules/Series/VariablePie/VariablePieSeriesDefaults.js +1 -1
- package/es-modules/Series/Variwide/VariwideComposition.js +11 -8
- package/es-modules/Series/Vector/VectorSeriesDefaults.js +1 -1
- package/es-modules/Series/Venn/VennSeriesDefaults.js +1 -1
- package/es-modules/Series/Waterfall/WaterfallSeriesDefaults.js +1 -1
- package/es-modules/Series/Windbarb/WindbarbSeriesDefaults.js +1 -1
- package/es-modules/Shared/Utilities.js +7 -0
- package/es-modules/Stock/Indicators/ABands/ABandsIndicator.js +1 -1
- package/es-modules/Stock/Indicators/AD/ADIndicator.js +0 -1
- package/es-modules/Stock/Indicators/AO/AOIndicator.js +1 -1
- package/es-modules/Stock/Indicators/APO/APOIndicator.js +1 -1
- package/es-modules/Stock/Indicators/ATR/ATRIndicator.js +0 -1
- package/es-modules/Stock/Indicators/Aroon/AroonIndicator.js +1 -1
- package/es-modules/Stock/Indicators/AroonOscillator/AroonOscillatorIndicator.js +2 -2
- package/es-modules/Stock/Indicators/BB/BBIndicator.js +0 -1
- package/es-modules/Stock/Indicators/CCI/CCIIndicator.js +0 -1
- package/es-modules/Stock/Indicators/CMF/CMFIndicator.js +0 -1
- package/es-modules/Stock/Indicators/CMO/CMOIndicator.js +0 -1
- package/es-modules/Stock/Indicators/Chaikin/ChaikinIndicator.js +1 -1
- package/es-modules/Stock/Indicators/DEMA/DEMAIndicator.js +1 -1
- package/es-modules/Stock/Indicators/DMI/DMIIndicator.js +3 -3
- package/es-modules/Stock/Indicators/DPO/DPOIndicator.js +1 -1
- package/es-modules/Stock/Indicators/DisparityIndex/DisparityIndexIndicator.js +3 -3
- package/es-modules/Stock/Indicators/EMA/EMAIndicator.js +0 -1
- package/es-modules/Stock/Indicators/IKH/IKHIndicator.js +0 -1
- package/es-modules/Stock/Indicators/KeltnerChannels/KeltnerChannelsIndicator.js +1 -1
- package/es-modules/Stock/Indicators/LinearRegression/LinearRegressionIndicator.js +0 -1
- package/es-modules/Stock/Indicators/LinearRegressionAngle/LinearRegressionAngleIndicator.js +0 -1
- package/es-modules/Stock/Indicators/LinearRegressionIntercept/LinearRegressionInterceptIndicator.js +0 -1
- package/es-modules/Stock/Indicators/LinearRegressionSlopes/LinearRegressionSlopesIndicator.js +0 -1
- package/es-modules/Stock/Indicators/MACD/MACDIndicator.js +0 -1
- package/es-modules/Stock/Indicators/MFI/MFIIndicator.js +0 -1
- package/es-modules/Stock/Indicators/Momentum/MomentumIndicator.js +0 -1
- package/es-modules/Stock/Indicators/NATR/NATRIndicator.js +0 -1
- package/es-modules/Stock/Indicators/OBV/OBVIndicator.js +0 -1
- package/es-modules/Stock/Indicators/PC/PCIndicator.js +1 -1
- package/es-modules/Stock/Indicators/PPO/PPOIndicator.js +1 -1
- package/es-modules/Stock/Indicators/PSAR/PSARIndicator.js +0 -1
- package/es-modules/Stock/Indicators/PivotPoints/PivotPointsIndicator.js +0 -1
- package/es-modules/Stock/Indicators/PriceEnvelopes/PriceEnvelopesIndicator.js +0 -1
- package/es-modules/Stock/Indicators/ROC/ROCIndicator.js +0 -1
- package/es-modules/Stock/Indicators/RSI/RSIIndicator.js +0 -1
- package/es-modules/Stock/Indicators/SMA/SMAIndicator.js +1 -1
- package/es-modules/Stock/Indicators/Stochastic/StochasticIndicator.js +3 -3
- package/es-modules/Stock/Indicators/Supertrend/SupertrendIndicator.js +1 -1
- package/es-modules/Stock/Indicators/TEMA/TEMAIndicator.js +1 -1
- package/es-modules/Stock/Indicators/TRIX/TRIXIndicator.js +1 -1
- package/es-modules/Stock/Indicators/TrendLine/TrendLineIndicator.js +0 -1
- package/es-modules/Stock/Indicators/VBP/VBPIndicator.js +1 -1
- package/es-modules/Stock/Indicators/VWAP/VWAPIndicator.js +0 -1
- package/es-modules/Stock/Indicators/WMA/WMAIndicator.js +0 -1
- package/es-modules/Stock/Indicators/WilliamsR/WilliamsRIndicator.js +1 -1
- package/es-modules/Stock/Indicators/Zigzag/ZigzagIndicator.js +0 -1
- package/es-modules/Stock/Navigator/ChartNavigatorComposition.js +5 -5
- package/es-modules/Stock/Navigator/Navigator.js +1 -5
- package/es-modules/Stock/Navigator/StandaloneNavigator.js +38 -8
- package/es-modules/Stock/RangeSelector/RangeSelectorComposition.js +2 -2
- package/es-modules/Stock/Scrollbar/ScrollbarDefaults.js +1 -3
- package/es-modules/masters/highcharts-3d.src.js +1 -1
- package/es-modules/masters/highcharts-autoload.src.js +1 -1
- package/es-modules/masters/highcharts-gantt.src.js +1 -1
- package/es-modules/masters/highcharts-more.src.js +1 -1
- package/es-modules/masters/highcharts.src.js +1 -1
- package/es-modules/masters/highmaps.src.js +1 -1
- package/es-modules/masters/highstock.src.js +1 -1
- package/es-modules/masters/i18n/fr-FR.src.d.ts +1 -1
- package/es-modules/masters/i18n/fr-FR.src.js +1 -1
- package/es-modules/masters/i18n/nb-NO.src.d.ts +1 -1
- package/es-modules/masters/i18n/nb-NO.src.js +1 -1
- package/es-modules/masters/i18n/zh-CN.src.d.ts +1 -1
- package/es-modules/masters/i18n/zh-CN.src.js +1 -1
- package/es-modules/masters/indicators/acceleration-bands.src.js +1 -1
- package/es-modules/masters/indicators/accumulation-distribution.src.js +1 -1
- package/es-modules/masters/indicators/ao.src.js +1 -1
- package/es-modules/masters/indicators/apo.src.js +1 -1
- package/es-modules/masters/indicators/aroon-oscillator.src.js +1 -1
- package/es-modules/masters/indicators/aroon.src.js +1 -1
- package/es-modules/masters/indicators/atr.src.js +1 -1
- package/es-modules/masters/indicators/bollinger-bands.src.js +1 -1
- package/es-modules/masters/indicators/cci.src.js +1 -1
- package/es-modules/masters/indicators/chaikin.src.js +1 -1
- package/es-modules/masters/indicators/cmf.src.js +1 -1
- package/es-modules/masters/indicators/cmo.src.js +1 -1
- package/es-modules/masters/indicators/dema.src.js +1 -1
- package/es-modules/masters/indicators/disparity-index.src.js +1 -1
- package/es-modules/masters/indicators/dmi.src.js +1 -1
- package/es-modules/masters/indicators/dpo.src.js +1 -1
- package/es-modules/masters/indicators/ichimoku-kinko-hyo.src.js +1 -1
- package/es-modules/masters/indicators/indicators-all.src.js +1 -1
- package/es-modules/masters/indicators/indicators.src.js +1 -1
- package/es-modules/masters/indicators/keltner-channels.src.js +1 -1
- package/es-modules/masters/indicators/klinger.src.js +1 -1
- package/es-modules/masters/indicators/macd.src.js +1 -1
- package/es-modules/masters/indicators/mfi.src.js +1 -1
- package/es-modules/masters/indicators/momentum.src.js +1 -1
- package/es-modules/masters/indicators/natr.src.js +1 -1
- package/es-modules/masters/indicators/obv.src.js +1 -1
- package/es-modules/masters/indicators/pivot-points.src.js +1 -1
- package/es-modules/masters/indicators/ppo.src.js +1 -1
- package/es-modules/masters/indicators/price-channel.src.js +1 -1
- package/es-modules/masters/indicators/price-envelopes.src.js +1 -1
- package/es-modules/masters/indicators/psar.src.js +1 -1
- package/es-modules/masters/indicators/regressions.src.js +1 -1
- package/es-modules/masters/indicators/roc.src.js +1 -1
- package/es-modules/masters/indicators/rsi.src.js +1 -1
- package/es-modules/masters/indicators/slow-stochastic.src.js +1 -1
- package/es-modules/masters/indicators/stochastic.src.js +1 -1
- package/es-modules/masters/indicators/supertrend.src.js +1 -1
- package/es-modules/masters/indicators/tema.src.js +1 -1
- package/es-modules/masters/indicators/trendline.src.js +1 -1
- package/es-modules/masters/indicators/trix.src.js +1 -1
- package/es-modules/masters/indicators/volume-by-price.src.js +1 -1
- package/es-modules/masters/indicators/vwap.src.js +1 -1
- package/es-modules/masters/indicators/williams-r.src.js +1 -1
- package/es-modules/masters/indicators/wma.src.js +1 -1
- package/es-modules/masters/indicators/zigzag.src.js +1 -1
- package/es-modules/masters/modules/accessibility.src.js +1 -1
- package/es-modules/masters/modules/annotations-advanced.src.js +1 -1
- package/es-modules/masters/modules/annotations.src.js +1 -1
- package/es-modules/masters/modules/arc-diagram.src.js +1 -1
- package/es-modules/masters/modules/arrow-symbols.src.js +1 -1
- package/es-modules/masters/modules/boost-canvas.src.js +1 -1
- package/es-modules/masters/modules/boost.src.js +1 -1
- package/es-modules/masters/modules/broken-axis.src.js +1 -1
- package/es-modules/masters/modules/bullet.src.js +1 -1
- package/es-modules/masters/modules/coloraxis.src.js +1 -1
- package/es-modules/masters/modules/contour.src.js +1 -1
- package/es-modules/masters/modules/current-date-indicator.src.js +1 -1
- package/es-modules/masters/modules/cylinder.src.js +1 -1
- package/es-modules/masters/modules/data-sorting.src.js +1 -1
- package/es-modules/masters/modules/data-tools.src.js +1 -1
- package/es-modules/masters/modules/data.src.js +1 -1
- package/es-modules/masters/modules/datagrouping.src.js +1 -1
- package/es-modules/masters/modules/debugger.src.js +1 -1
- package/es-modules/masters/modules/dependency-wheel.src.js +1 -1
- package/es-modules/masters/modules/dotplot.src.js +1 -1
- package/es-modules/masters/modules/drag-panes.src.js +1 -1
- package/es-modules/masters/modules/draggable-points.src.js +1 -1
- package/es-modules/masters/modules/drilldown.src.js +1 -1
- package/es-modules/masters/modules/dumbbell.src.js +1 -1
- package/es-modules/masters/modules/export-data.src.js +1 -1
- package/es-modules/masters/modules/exporting.src.js +1 -1
- package/es-modules/masters/modules/flowmap.src.js +1 -1
- package/es-modules/masters/modules/full-screen.src.js +1 -1
- package/es-modules/masters/modules/funnel.src.js +1 -1
- package/es-modules/masters/modules/funnel3d.src.js +1 -1
- package/es-modules/masters/modules/gantt.src.js +1 -1
- package/es-modules/masters/modules/geoheatmap.src.js +1 -1
- package/es-modules/masters/modules/grid-axis.src.js +1 -1
- package/es-modules/masters/modules/heatmap.src.js +1 -1
- package/es-modules/masters/modules/heikinashi.src.js +1 -1
- package/es-modules/masters/modules/histogram-bellcurve.src.js +1 -1
- package/es-modules/masters/modules/hollowcandlestick.src.js +1 -1
- package/es-modules/masters/modules/item-series.src.js +1 -1
- package/es-modules/masters/modules/lollipop.src.js +1 -1
- package/es-modules/masters/modules/map.src.js +1 -1
- package/es-modules/masters/modules/marker-clusters.src.js +1 -1
- package/es-modules/masters/modules/mouse-wheel-zoom.src.js +1 -1
- package/es-modules/masters/modules/navigator.src.js +1 -1
- package/es-modules/masters/modules/networkgraph.src.js +1 -1
- package/es-modules/masters/modules/no-data-to-display.src.js +1 -1
- package/es-modules/masters/modules/non-cartesian-zoom.src.js +1 -1
- package/es-modules/masters/modules/offline-exporting.src.js +1 -1
- package/es-modules/masters/modules/organization.src.js +1 -1
- package/es-modules/masters/modules/parallel-coordinates.src.js +1 -1
- package/es-modules/masters/modules/pareto.src.js +1 -1
- package/es-modules/masters/modules/pathfinder.src.js +1 -1
- package/es-modules/masters/modules/pattern-fill.src.js +1 -1
- package/es-modules/masters/modules/pictorial.src.js +1 -1
- package/es-modules/masters/modules/pointandfigure.src.js +1 -1
- package/es-modules/masters/modules/price-indicator.src.js +1 -1
- package/es-modules/masters/modules/pyramid3d.src.js +1 -1
- package/es-modules/masters/modules/renko.src.js +1 -1
- package/es-modules/masters/modules/sankey.src.js +1 -1
- package/es-modules/masters/modules/series-label.src.js +1 -1
- package/es-modules/masters/modules/series-on-point.src.js +1 -1
- package/es-modules/masters/modules/solid-gauge.src.js +1 -1
- package/es-modules/masters/modules/sonification.src.js +1 -1
- package/es-modules/masters/modules/static-scale.src.js +1 -1
- package/es-modules/masters/modules/stock-tools.src.js +1 -1
- package/es-modules/masters/modules/stock.src.js +1 -1
- package/es-modules/masters/modules/streamgraph.src.js +1 -1
- package/es-modules/masters/modules/sunburst.src.js +1 -1
- package/es-modules/masters/modules/textpath.src.js +1 -1
- package/es-modules/masters/modules/tiledwebmap.src.js +1 -1
- package/es-modules/masters/modules/tilemap.src.js +1 -1
- package/es-modules/masters/modules/timeline.src.js +1 -1
- package/es-modules/masters/modules/treegraph.src.js +1 -1
- package/es-modules/masters/modules/treegrid.src.js +1 -1
- package/es-modules/masters/modules/treemap.src.js +1 -1
- package/es-modules/masters/modules/variable-pie.src.js +1 -1
- package/es-modules/masters/modules/variwide.src.js +1 -1
- package/es-modules/masters/modules/vector.src.js +1 -1
- package/es-modules/masters/modules/venn.src.js +1 -1
- package/es-modules/masters/modules/windbarb.src.js +1 -1
- package/es-modules/masters/modules/wordcloud.src.js +1 -1
- package/es-modules/masters/modules/xrange.src.js +1 -1
- package/es-modules/masters/standalone-navigator.src.js +1 -1
- package/es-modules/masters/themes/adaptive.src.js +1 -1
- package/es-modules/masters/themes/avocado.src.js +1 -1
- package/es-modules/masters/themes/dark-unica.src.js +1 -1
- package/es-modules/masters/themes/grid-light.src.js +1 -1
- package/es-modules/masters/themes/high-contrast.src.js +1 -1
- package/es-modules/masters/themes/sand-signika.src.js +1 -1
- package/es-modules/masters/themes/sunset.src.js +1 -1
- package/es-modules/tsconfig.tsbuildinfo +1 -1
- package/esm/highcharts-3d.js +2 -2
- package/esm/highcharts-3d.src.js +38 -61
- package/esm/highcharts-autoload.js +2 -2
- package/esm/highcharts-autoload.src.js +18 -39
- package/esm/highcharts-gantt.js +1 -1
- package/esm/highcharts-gantt.src.js +1 -1
- package/esm/highcharts-more.js +2 -2
- package/esm/highcharts-more.src.js +142 -120
- package/esm/highcharts.js +4 -4
- package/esm/highcharts.src.js +824 -750
- package/esm/highmaps.js +1 -1
- package/esm/highmaps.src.js +1 -1
- package/esm/highstock.js +1 -1
- package/esm/highstock.src.js +1 -1
- package/esm/i18n/fr-FR.js +2 -2
- package/esm/i18n/fr-FR.src.js +17 -38
- package/esm/i18n/nb-NO.js +2 -2
- package/esm/i18n/nb-NO.src.js +17 -38
- package/esm/i18n/zh-CN.js +2 -2
- package/esm/i18n/zh-CN.src.js +17 -38
- package/esm/indicators/acceleration-bands.js +2 -2
- package/esm/indicators/acceleration-bands.src.js +18 -39
- package/esm/indicators/accumulation-distribution.js +2 -2
- package/esm/indicators/accumulation-distribution.src.js +17 -39
- package/esm/indicators/ao.js +2 -2
- package/esm/indicators/ao.src.js +18 -39
- package/esm/indicators/apo.js +2 -2
- package/esm/indicators/apo.src.js +18 -39
- package/esm/indicators/aroon-oscillator.js +2 -2
- package/esm/indicators/aroon-oscillator.src.js +19 -40
- package/esm/indicators/aroon.js +2 -2
- package/esm/indicators/aroon.src.js +18 -39
- package/esm/indicators/atr.js +2 -2
- package/esm/indicators/atr.src.js +17 -39
- package/esm/indicators/bollinger-bands.js +2 -2
- package/esm/indicators/bollinger-bands.src.js +17 -39
- package/esm/indicators/cci.js +2 -2
- package/esm/indicators/cci.src.js +17 -39
- package/esm/indicators/chaikin.js +2 -2
- package/esm/indicators/chaikin.src.js +18 -40
- package/esm/indicators/cmf.js +2 -2
- package/esm/indicators/cmf.src.js +17 -39
- package/esm/indicators/cmo.js +2 -2
- package/esm/indicators/cmo.src.js +17 -39
- package/esm/indicators/dema.js +2 -2
- package/esm/indicators/dema.src.js +18 -39
- package/esm/indicators/disparity-index.js +2 -2
- package/esm/indicators/disparity-index.src.js +20 -41
- package/esm/indicators/dmi.js +2 -2
- package/esm/indicators/dmi.src.js +20 -41
- package/esm/indicators/dpo.js +2 -2
- package/esm/indicators/dpo.src.js +18 -39
- package/esm/indicators/ichimoku-kinko-hyo.js +2 -2
- package/esm/indicators/ichimoku-kinko-hyo.src.js +18 -40
- package/esm/indicators/indicators-all.js +2 -2
- package/esm/indicators/indicators-all.src.js +76 -99
- package/esm/indicators/indicators.js +2 -2
- package/esm/indicators/indicators.src.js +48 -46
- package/esm/indicators/keltner-channels.js +2 -2
- package/esm/indicators/keltner-channels.src.js +18 -39
- package/esm/indicators/klinger.js +2 -2
- package/esm/indicators/klinger.src.js +17 -38
- package/esm/indicators/macd.js +2 -2
- package/esm/indicators/macd.src.js +17 -39
- package/esm/indicators/mfi.js +2 -2
- package/esm/indicators/mfi.src.js +17 -39
- package/esm/indicators/momentum.js +2 -2
- package/esm/indicators/momentum.src.js +17 -39
- package/esm/indicators/natr.js +2 -2
- package/esm/indicators/natr.src.js +17 -39
- package/esm/indicators/obv.js +2 -2
- package/esm/indicators/obv.src.js +17 -39
- package/esm/indicators/pivot-points.js +2 -2
- package/esm/indicators/pivot-points.src.js +17 -39
- package/esm/indicators/ppo.js +2 -2
- package/esm/indicators/ppo.src.js +18 -39
- package/esm/indicators/price-channel.js +2 -2
- package/esm/indicators/price-channel.src.js +18 -39
- package/esm/indicators/price-envelopes.js +2 -2
- package/esm/indicators/price-envelopes.src.js +17 -39
- package/esm/indicators/psar.js +2 -2
- package/esm/indicators/psar.src.js +17 -39
- package/esm/indicators/regressions.js +2 -2
- package/esm/indicators/regressions.src.js +17 -42
- package/esm/indicators/roc.js +2 -2
- package/esm/indicators/roc.src.js +17 -39
- package/esm/indicators/rsi.js +2 -2
- package/esm/indicators/rsi.src.js +17 -39
- package/esm/indicators/slow-stochastic.js +2 -2
- package/esm/indicators/slow-stochastic.src.js +17 -38
- package/esm/indicators/stochastic.js +2 -2
- package/esm/indicators/stochastic.src.js +20 -41
- package/esm/indicators/supertrend.js +2 -2
- package/esm/indicators/supertrend.src.js +19 -40
- package/esm/indicators/tema.js +2 -2
- package/esm/indicators/tema.src.js +18 -39
- package/esm/indicators/trendline.js +2 -2
- package/esm/indicators/trendline.src.js +17 -39
- package/esm/indicators/trix.js +2 -2
- package/esm/indicators/trix.src.js +18 -39
- package/esm/indicators/volume-by-price.js +2 -2
- package/esm/indicators/volume-by-price.src.js +18 -39
- package/esm/indicators/vwap.js +2 -2
- package/esm/indicators/vwap.src.js +17 -39
- package/esm/indicators/williams-r.js +2 -2
- package/esm/indicators/williams-r.src.js +18 -39
- package/esm/indicators/wma.js +2 -2
- package/esm/indicators/wma.src.js +17 -39
- package/esm/indicators/zigzag.js +2 -2
- package/esm/indicators/zigzag.src.js +17 -39
- package/esm/modules/accessibility.js +2 -2
- package/esm/modules/accessibility.src.js +90 -76
- package/esm/modules/annotations-advanced.js +3 -3
- package/esm/modules/annotations-advanced.src.js +36 -58
- package/esm/modules/annotations.js +3 -3
- package/esm/modules/annotations.src.js +36 -58
- package/esm/modules/arc-diagram.js +2 -2
- package/esm/modules/arc-diagram.src.js +18 -39
- package/esm/modules/arrow-symbols.js +3 -3
- package/esm/modules/arrow-symbols.src.js +17 -38
- package/esm/modules/boost-canvas.js +2 -2
- package/esm/modules/boost-canvas.src.js +57 -63
- package/esm/modules/boost.js +2 -2
- package/esm/modules/boost.src.js +56 -62
- package/esm/modules/broken-axis.js +2 -2
- package/esm/modules/broken-axis.src.js +21 -41
- package/esm/modules/bullet.js +2 -2
- package/esm/modules/bullet.src.js +18 -39
- package/esm/modules/coloraxis.js +2 -2
- package/esm/modules/coloraxis.src.js +92 -96
- package/esm/modules/contour.js +3 -3
- package/esm/modules/contour.src.js +29 -52
- package/esm/modules/current-date-indicator.js +2 -2
- package/esm/modules/current-date-indicator.src.js +17 -38
- package/esm/modules/cylinder.js +2 -2
- package/esm/modules/cylinder.src.js +18 -39
- package/esm/modules/data-sorting.js +2 -2
- package/esm/modules/data-sorting.src.js +18 -39
- package/esm/modules/data-tools.js +2 -2
- package/esm/modules/data-tools.src.js +110 -67
- package/esm/modules/data.js +4 -4
- package/esm/modules/data.src.js +53 -48
- package/esm/modules/datagrouping.js +2 -2
- package/esm/modules/datagrouping.src.js +52 -48
- package/esm/modules/debugger.js +2 -2
- package/esm/modules/debugger.src.js +17 -38
- package/esm/modules/dependency-wheel.js +2 -2
- package/esm/modules/dependency-wheel.src.js +17 -38
- package/esm/modules/dotplot.js +2 -2
- package/esm/modules/dotplot.src.js +17 -38
- package/esm/modules/drag-panes.js +2 -2
- package/esm/modules/drag-panes.src.js +22 -46
- package/esm/modules/draggable-points.js +2 -2
- package/esm/modules/draggable-points.src.js +17 -38
- package/esm/modules/drilldown.js +2 -2
- package/esm/modules/drilldown.src.js +40 -54
- package/esm/modules/dumbbell.js +2 -2
- package/esm/modules/dumbbell.src.js +18 -39
- package/esm/modules/export-data.js +2 -2
- package/esm/modules/export-data.src.js +42 -43
- package/esm/modules/exporting.js +2 -2
- package/esm/modules/exporting.src.js +26 -47
- package/esm/modules/flowmap.js +2 -2
- package/esm/modules/flowmap.src.js +17 -38
- package/esm/modules/full-screen.js +2 -2
- package/esm/modules/full-screen.src.js +17 -38
- package/esm/modules/funnel.js +2 -2
- package/esm/modules/funnel.src.js +21 -42
- package/esm/modules/funnel3d.js +2 -2
- package/esm/modules/funnel3d.src.js +18 -39
- package/esm/modules/gantt.js +2 -2
- package/esm/modules/gantt.src.js +84 -104
- package/esm/modules/geoheatmap.js +2 -2
- package/esm/modules/geoheatmap.src.js +18 -39
- package/esm/modules/grid-axis.js +2 -2
- package/esm/modules/grid-axis.src.js +34 -51
- package/esm/modules/heatmap.js +2 -2
- package/esm/modules/heatmap.src.js +20 -41
- package/esm/modules/heikinashi.js +2 -2
- package/esm/modules/heikinashi.src.js +18 -39
- package/esm/modules/histogram-bellcurve.js +2 -2
- package/esm/modules/histogram-bellcurve.src.js +19 -40
- package/esm/modules/hollowcandlestick.js +2 -2
- package/esm/modules/hollowcandlestick.src.js +18 -39
- package/esm/modules/item-series.js +2 -2
- package/esm/modules/item-series.src.js +19 -40
- package/esm/modules/lollipop.js +2 -2
- package/esm/modules/lollipop.src.js +18 -39
- package/esm/modules/map.js +2 -2
- package/esm/modules/map.src.js +64 -63
- package/esm/modules/marker-clusters.js +2 -2
- package/esm/modules/marker-clusters.src.js +49 -46
- package/esm/modules/mouse-wheel-zoom.js +2 -2
- package/esm/modules/mouse-wheel-zoom.src.js +17 -38
- package/esm/modules/navigator.js +2 -2
- package/esm/modules/navigator.src.js +72 -67
- package/esm/modules/networkgraph.js +2 -2
- package/esm/modules/networkgraph.src.js +24 -45
- package/esm/modules/no-data-to-display.js +2 -2
- package/esm/modules/no-data-to-display.src.js +17 -38
- package/esm/modules/non-cartesian-zoom.js +2 -2
- package/esm/modules/non-cartesian-zoom.src.js +17 -38
- package/esm/modules/offline-exporting.js +2 -2
- package/esm/modules/offline-exporting.src.js +19 -40
- package/esm/modules/organization.js +2 -2
- package/esm/modules/organization.src.js +20 -39
- package/esm/modules/parallel-coordinates.js +2 -2
- package/esm/modules/parallel-coordinates.src.js +24 -44
- package/esm/modules/pareto.js +2 -2
- package/esm/modules/pareto.src.js +21 -42
- package/esm/modules/pathfinder.js +2 -2
- package/esm/modules/pathfinder.src.js +20 -39
- package/esm/modules/pattern-fill.js +2 -2
- package/esm/modules/pattern-fill.src.js +17 -38
- package/esm/modules/pictorial.js +2 -2
- package/esm/modules/pictorial.src.js +71 -65
- package/esm/modules/pointandfigure.js +2 -2
- package/esm/modules/pointandfigure.src.js +47 -44
- package/esm/modules/price-indicator.js +2 -2
- package/esm/modules/price-indicator.src.js +17 -38
- package/esm/modules/pyramid3d.js +2 -2
- package/esm/modules/pyramid3d.src.js +18 -39
- package/esm/modules/renko.js +2 -2
- package/esm/modules/renko.src.js +18 -40
- package/esm/modules/sankey.js +2 -2
- package/esm/modules/sankey.src.js +24 -46
- package/esm/modules/series-label.js +2 -2
- package/esm/modules/series-label.src.js +17 -38
- package/esm/modules/series-on-point.js +2 -2
- package/esm/modules/series-on-point.src.js +47 -44
- package/esm/modules/solid-gauge.js +2 -2
- package/esm/modules/solid-gauge.src.js +18 -39
- package/esm/modules/sonification.js +2 -2
- package/esm/modules/sonification.src.js +18 -39
- package/esm/modules/static-scale.js +2 -2
- package/esm/modules/static-scale.src.js +30 -49
- package/esm/modules/stock-tools.js +2 -2
- package/esm/modules/stock-tools.src.js +29 -50
- package/esm/modules/stock.js +2 -2
- package/esm/modules/stock.src.js +117 -141
- package/esm/modules/streamgraph.js +2 -2
- package/esm/modules/streamgraph.src.js +18 -39
- package/esm/modules/sunburst.js +2 -2
- package/esm/modules/sunburst.src.js +38 -57
- package/esm/modules/textpath.js +2 -2
- package/esm/modules/textpath.src.js +17 -38
- package/esm/modules/tiledwebmap.js +3 -3
- package/esm/modules/tiledwebmap.src.js +19 -40
- package/esm/modules/tilemap.js +2 -2
- package/esm/modules/tilemap.src.js +22 -40
- package/esm/modules/timeline.js +2 -2
- package/esm/modules/timeline.src.js +19 -40
- package/esm/modules/treegraph.js +2 -2
- package/esm/modules/treegraph.src.js +23 -42
- package/esm/modules/treegrid.js +2 -2
- package/esm/modules/treegrid.src.js +47 -67
- package/esm/modules/treemap.js +2 -2
- package/esm/modules/treemap.src.js +34 -53
- package/esm/modules/variable-pie.js +2 -2
- package/esm/modules/variable-pie.src.js +19 -40
- package/esm/modules/variwide.js +2 -2
- package/esm/modules/variwide.src.js +28 -46
- package/esm/modules/vector.js +2 -2
- package/esm/modules/vector.src.js +18 -39
- package/esm/modules/venn.js +2 -2
- package/esm/modules/venn.src.js +18 -39
- package/esm/modules/windbarb.js +2 -2
- package/esm/modules/windbarb.src.js +18 -39
- package/esm/modules/wordcloud.js +2 -2
- package/esm/modules/wordcloud.src.js +18 -39
- package/esm/modules/xrange.js +2 -2
- package/esm/modules/xrange.src.js +18 -39
- package/esm/standalone-navigator.js +4 -4
- package/esm/standalone-navigator.src.js +876 -776
- package/esm/themes/adaptive.js +2 -2
- package/esm/themes/adaptive.src.js +17 -38
- package/esm/themes/avocado.js +2 -2
- package/esm/themes/avocado.src.js +17 -38
- package/esm/themes/dark-unica.js +2 -2
- package/esm/themes/dark-unica.src.js +17 -38
- package/esm/themes/grid-light.js +2 -2
- package/esm/themes/grid-light.src.js +17 -38
- package/esm/themes/high-contrast.js +2 -2
- package/esm/themes/high-contrast.src.js +17 -38
- package/esm/themes/sand-signika.js +2 -2
- package/esm/themes/sand-signika.src.js +17 -38
- package/esm/themes/sunset.js +2 -2
- package/esm/themes/sunset.src.js +17 -38
- package/highcharts-3d.js +2 -2
- package/highcharts-3d.src.js +43 -66
- package/highcharts-autoload.d.ts +0 -1
- package/highcharts-autoload.js +4 -4
- package/highcharts-autoload.src.d.ts +0 -1
- package/highcharts-autoload.src.js +833 -778
- package/highcharts-gantt.js +4 -4
- package/highcharts-gantt.src.js +895 -839
- package/highcharts-more.d.ts +10 -0
- package/highcharts-more.js +2 -2
- package/highcharts-more.src.d.ts +10 -0
- package/highcharts-more.src.js +147 -125
- package/highcharts.d.ts +2785 -80144
- package/highcharts.js +4 -4
- package/highcharts.src.d.ts +2785 -80144
- package/highcharts.src.js +832 -777
- package/highmaps.js +4 -4
- package/highmaps.src.js +915 -845
- package/highstock.js +4 -4
- package/highstock.src.js +903 -874
- package/i18n/fr-FR.js +2 -2
- package/i18n/fr-FR.src.js +26 -37
- package/i18n/nb-NO.js +2 -2
- package/i18n/nb-NO.src.js +26 -37
- package/i18n/zh-CN.js +2 -2
- package/i18n/zh-CN.src.js +26 -37
- package/indicators/acceleration-bands.js +2 -2
- package/indicators/acceleration-bands.src.js +23 -44
- package/indicators/accumulation-distribution.js +2 -2
- package/indicators/accumulation-distribution.src.js +22 -44
- package/indicators/ao.js +2 -2
- package/indicators/ao.src.js +23 -44
- package/indicators/apo.js +2 -2
- package/indicators/apo.src.js +23 -44
- package/indicators/aroon-oscillator.js +2 -2
- package/indicators/aroon-oscillator.src.js +24 -45
- package/indicators/aroon.js +2 -2
- package/indicators/aroon.src.js +23 -44
- package/indicators/atr.js +2 -2
- package/indicators/atr.src.js +22 -44
- package/indicators/bollinger-bands.js +2 -2
- package/indicators/bollinger-bands.src.js +22 -44
- package/indicators/cci.js +2 -2
- package/indicators/cci.src.js +22 -44
- package/indicators/chaikin.js +2 -2
- package/indicators/chaikin.src.js +23 -45
- package/indicators/cmf.js +2 -2
- package/indicators/cmf.src.js +22 -44
- package/indicators/cmo.js +2 -2
- package/indicators/cmo.src.js +22 -44
- package/indicators/dema.js +2 -2
- package/indicators/dema.src.js +23 -44
- package/indicators/disparity-index.js +2 -2
- package/indicators/disparity-index.src.js +25 -46
- package/indicators/dmi.js +2 -2
- package/indicators/dmi.src.js +25 -46
- package/indicators/dpo.js +2 -2
- package/indicators/dpo.src.js +23 -44
- package/indicators/ichimoku-kinko-hyo.js +2 -2
- package/indicators/ichimoku-kinko-hyo.src.js +23 -45
- package/indicators/indicators-all.js +2 -2
- package/indicators/indicators-all.src.js +81 -104
- package/indicators/indicators.js +2 -2
- package/indicators/indicators.src.js +53 -51
- package/indicators/keltner-channels.js +2 -2
- package/indicators/keltner-channels.src.js +23 -44
- package/indicators/klinger.js +2 -2
- package/indicators/klinger.src.js +22 -43
- package/indicators/macd.js +2 -2
- package/indicators/macd.src.js +22 -44
- package/indicators/mfi.js +2 -2
- package/indicators/mfi.src.js +22 -44
- package/indicators/momentum.js +2 -2
- package/indicators/momentum.src.js +22 -44
- package/indicators/natr.js +2 -2
- package/indicators/natr.src.js +22 -44
- package/indicators/obv.js +2 -2
- package/indicators/obv.src.js +22 -44
- package/indicators/pivot-points.js +2 -2
- package/indicators/pivot-points.src.js +22 -44
- package/indicators/ppo.js +2 -2
- package/indicators/ppo.src.js +23 -44
- package/indicators/price-channel.js +2 -2
- package/indicators/price-channel.src.js +23 -44
- package/indicators/price-envelopes.js +2 -2
- package/indicators/price-envelopes.src.js +22 -44
- package/indicators/psar.js +2 -2
- package/indicators/psar.src.js +22 -44
- package/indicators/regressions.js +2 -2
- package/indicators/regressions.src.js +22 -47
- package/indicators/roc.js +2 -2
- package/indicators/roc.src.js +22 -44
- package/indicators/rsi.js +2 -2
- package/indicators/rsi.src.js +22 -44
- package/indicators/slow-stochastic.js +2 -2
- package/indicators/slow-stochastic.src.js +22 -43
- package/indicators/stochastic.js +2 -2
- package/indicators/stochastic.src.js +25 -46
- package/indicators/supertrend.js +2 -2
- package/indicators/supertrend.src.js +24 -45
- package/indicators/tema.js +2 -2
- package/indicators/tema.src.js +23 -44
- package/indicators/trendline.js +2 -2
- package/indicators/trendline.src.js +22 -44
- package/indicators/trix.js +2 -2
- package/indicators/trix.src.js +23 -44
- package/indicators/volume-by-price.js +2 -2
- package/indicators/volume-by-price.src.js +23 -44
- package/indicators/vwap.js +2 -2
- package/indicators/vwap.src.js +22 -44
- package/indicators/williams-r.js +2 -2
- package/indicators/williams-r.src.js +23 -44
- package/indicators/wma.js +2 -2
- package/indicators/wma.src.js +22 -44
- package/indicators/zigzag.js +2 -2
- package/indicators/zigzag.src.js +22 -44
- package/modules/accessibility.js +2 -2
- package/modules/accessibility.src.js +95 -81
- package/modules/annotations-advanced.js +9 -9
- package/modules/annotations-advanced.src.js +41 -63
- package/modules/annotations.js +3 -3
- package/modules/annotations.src.js +41 -63
- package/modules/arc-diagram.js +2 -2
- package/modules/arc-diagram.src.js +23 -44
- package/modules/arrow-symbols.js +2 -2
- package/modules/arrow-symbols.src.js +17 -38
- package/modules/boost-canvas.js +2 -2
- package/modules/boost-canvas.src.js +62 -68
- package/modules/boost.js +2 -2
- package/modules/boost.src.js +61 -67
- package/modules/broken-axis.js +2 -2
- package/modules/broken-axis.src.js +26 -46
- package/modules/bullet.js +2 -2
- package/modules/bullet.src.js +23 -44
- package/modules/coloraxis.js +2 -2
- package/modules/coloraxis.src.js +97 -101
- package/modules/contour.js +5 -5
- package/modules/contour.src.js +111 -117
- package/modules/current-date-indicator.js +2 -2
- package/modules/current-date-indicator.src.js +17 -38
- package/modules/cylinder.js +2 -2
- package/modules/cylinder.src.js +23 -44
- package/modules/data-sorting.js +2 -2
- package/modules/data-sorting.src.js +18 -39
- package/modules/data-tools.js +2 -2
- package/modules/data-tools.src.js +110 -67
- package/modules/data.js +4 -4
- package/modules/data.src.js +58 -53
- package/modules/datagrouping.js +2 -2
- package/modules/datagrouping.src.js +57 -53
- package/modules/debugger.js +2 -2
- package/modules/debugger.src.js +17 -38
- package/modules/dependency-wheel.js +2 -2
- package/modules/dependency-wheel.src.js +22 -43
- package/modules/dotplot.js +2 -2
- package/modules/dotplot.src.js +22 -43
- package/modules/drag-panes.js +2 -2
- package/modules/drag-panes.src.js +22 -46
- package/modules/draggable-points.js +2 -2
- package/modules/draggable-points.src.js +17 -38
- package/modules/drilldown.js +2 -2
- package/modules/drilldown.src.js +45 -59
- package/modules/dumbbell.js +2 -2
- package/modules/dumbbell.src.js +23 -44
- package/modules/export-data.js +2 -2
- package/modules/export-data.src.js +47 -48
- package/modules/exporting.js +2 -2
- package/modules/exporting.src.js +31 -52
- package/modules/flowmap.js +2 -2
- package/modules/flowmap.src.js +22 -43
- package/modules/full-screen.js +2 -2
- package/modules/full-screen.src.js +22 -43
- package/modules/funnel.js +2 -2
- package/modules/funnel.src.js +26 -47
- package/modules/funnel3d.js +2 -2
- package/modules/funnel3d.src.js +23 -44
- package/modules/gantt.js +8 -8
- package/modules/gantt.src.js +93 -113
- package/modules/geoheatmap.js +2 -2
- package/modules/geoheatmap.src.js +23 -44
- package/modules/grid-axis.js +2 -2
- package/modules/grid-axis.src.js +39 -56
- package/modules/heatmap.js +4 -4
- package/modules/heatmap.src.js +101 -105
- package/modules/heikinashi.js +2 -2
- package/modules/heikinashi.src.js +23 -44
- package/modules/histogram-bellcurve.js +2 -2
- package/modules/histogram-bellcurve.src.js +24 -45
- package/modules/hollowcandlestick.js +2 -2
- package/modules/hollowcandlestick.src.js +23 -44
- package/modules/item-series.js +2 -2
- package/modules/item-series.src.js +24 -45
- package/modules/lollipop.js +2 -2
- package/modules/lollipop.src.js +23 -44
- package/modules/map.js +4 -4
- package/modules/map.src.js +146 -128
- package/modules/marker-clusters.js +2 -2
- package/modules/marker-clusters.src.js +49 -46
- package/modules/mouse-wheel-zoom.js +2 -2
- package/modules/mouse-wheel-zoom.src.js +17 -38
- package/modules/navigator.js +2 -2
- package/modules/navigator.src.js +77 -72
- package/modules/networkgraph.js +2 -2
- package/modules/networkgraph.src.js +29 -50
- package/modules/no-data-to-display.js +2 -2
- package/modules/no-data-to-display.src.js +22 -43
- package/modules/non-cartesian-zoom.js +2 -2
- package/modules/non-cartesian-zoom.src.js +17 -38
- package/modules/offline-exporting.js +2 -2
- package/modules/offline-exporting.src.js +24 -45
- package/modules/organization.js +3 -3
- package/modules/organization.src.js +25 -44
- package/modules/parallel-coordinates.js +2 -2
- package/modules/parallel-coordinates.src.js +29 -49
- package/modules/pareto.js +2 -2
- package/modules/pareto.src.js +26 -47
- package/modules/pathfinder.js +2 -2
- package/modules/pathfinder.src.js +25 -44
- package/modules/pattern-fill.js +2 -2
- package/modules/pattern-fill.src.js +17 -38
- package/modules/pictorial.js +2 -2
- package/modules/pictorial.src.js +76 -70
- package/modules/pointandfigure.js +2 -2
- package/modules/pointandfigure.src.js +52 -49
- package/modules/price-indicator.js +2 -2
- package/modules/price-indicator.src.js +17 -38
- package/modules/pyramid3d.js +2 -2
- package/modules/pyramid3d.src.js +23 -44
- package/modules/renko.js +2 -2
- package/modules/renko.src.js +23 -45
- package/modules/sankey.js +2 -2
- package/modules/sankey.src.js +29 -51
- package/modules/series-label.js +2 -2
- package/modules/series-label.src.js +22 -43
- package/modules/series-on-point.js +2 -2
- package/modules/series-on-point.src.js +52 -49
- package/modules/solid-gauge.js +2 -2
- package/modules/solid-gauge.src.js +23 -44
- package/modules/sonification.js +2 -2
- package/modules/sonification.src.js +23 -44
- package/modules/static-scale.js +2 -2
- package/modules/static-scale.src.js +30 -49
- package/modules/stock-tools.js +2 -2
- package/modules/stock-tools.src.js +34 -55
- package/modules/stock.js +6 -6
- package/modules/stock.src.js +132 -154
- package/modules/streamgraph.js +2 -2
- package/modules/streamgraph.src.js +23 -44
- package/modules/sunburst.js +2 -2
- package/modules/sunburst.src.js +43 -62
- package/modules/textpath.js +2 -2
- package/modules/textpath.src.js +17 -38
- package/modules/tiledwebmap.js +3 -3
- package/modules/tiledwebmap.src.js +24 -45
- package/modules/tilemap.js +2 -2
- package/modules/tilemap.src.js +27 -45
- package/modules/timeline.js +2 -2
- package/modules/timeline.src.js +24 -45
- package/modules/treegraph.js +2 -2
- package/modules/treegraph.src.js +28 -47
- package/modules/treegrid.js +2 -2
- package/modules/treegrid.src.js +52 -72
- package/modules/treemap.js +2 -2
- package/modules/treemap.src.js +39 -58
- package/modules/variable-pie.js +2 -2
- package/modules/variable-pie.src.js +24 -45
- package/modules/variwide.js +2 -2
- package/modules/variwide.src.js +33 -51
- package/modules/vector.js +2 -2
- package/modules/vector.src.js +23 -44
- package/modules/venn.js +2 -2
- package/modules/venn.src.js +23 -44
- package/modules/windbarb.js +2 -2
- package/modules/windbarb.src.js +23 -44
- package/modules/wordcloud.js +2 -2
- package/modules/wordcloud.src.js +23 -44
- package/modules/xrange.js +2 -2
- package/modules/xrange.src.js +23 -44
- package/options/abands.d.ts +183 -8
- package/options/abands.src.d.ts +183 -8
- package/options/ad.d.ts +176 -5
- package/options/ad.src.d.ts +176 -5
- package/options/ao.d.ts +202 -0
- package/options/ao.src.d.ts +202 -0
- package/options/apo.d.ts +178 -8
- package/options/apo.src.d.ts +178 -8
- package/options/arcdiagram.d.ts +785 -0
- package/options/arcdiagram.src.d.ts +785 -0
- package/options/area.d.ts +226 -0
- package/options/area.src.d.ts +226 -0
- package/options/arearange.d.ts +229 -8
- package/options/arearange.src.d.ts +229 -8
- package/options/areaspline.d.ts +1344 -8
- package/options/areaspline.src.d.ts +1344 -8
- package/options/areasplinerange.d.ts +972 -8
- package/options/areasplinerange.src.d.ts +972 -8
- package/options/aroon.d.ts +219 -0
- package/options/aroon.src.d.ts +219 -0
- package/options/aroonoscillator.d.ts +1140 -8
- package/options/aroonoscillator.src.d.ts +1140 -8
- package/options/atr.d.ts +210 -0
- package/options/atr.src.d.ts +210 -0
- package/options/bar.d.ts +183 -10
- package/options/bar.src.d.ts +183 -10
- package/options/bb.d.ts +1232 -0
- package/options/bb.src.d.ts +1232 -0
- package/options/bellcurve.d.ts +1167 -8
- package/options/bellcurve.src.d.ts +1167 -8
- package/options/boxplot.d.ts +163 -10
- package/options/boxplot.src.d.ts +163 -10
- package/options/bubble.d.ts +1005 -8
- package/options/bubble.src.d.ts +1005 -8
- package/options/bullet.d.ts +953 -8
- package/options/bullet.src.d.ts +953 -8
- package/options/candlestick.d.ts +1309 -8
- package/options/candlestick.src.d.ts +1309 -8
- package/options/cci.d.ts +210 -0
- package/options/cci.src.d.ts +210 -0
- package/options/chaikin.d.ts +180 -8
- package/options/chaikin.src.d.ts +180 -8
- package/options/cmf.d.ts +211 -0
- package/options/cmf.src.d.ts +211 -0
- package/options/cmo.d.ts +175 -5
- package/options/cmo.src.d.ts +175 -5
- package/options/column.d.ts +252 -2
- package/options/column.src.d.ts +252 -2
- package/options/columnpyramid.d.ts +1296 -0
- package/options/columnpyramid.src.d.ts +1296 -0
- package/options/columnrange.d.ts +216 -2
- package/options/columnrange.src.d.ts +216 -2
- package/options/contour.d.ts +1148 -0
- package/options/contour.src.d.ts +1148 -0
- package/options/cylinder.d.ts +183 -2
- package/options/cylinder.src.d.ts +183 -2
- package/options/dema.d.ts +1181 -0
- package/options/dema.src.d.ts +1181 -0
- package/options/dependencywheel.d.ts +315 -0
- package/options/dependencywheel.src.d.ts +315 -0
- package/options/disparityindex.d.ts +1157 -8
- package/options/disparityindex.src.d.ts +1157 -8
- package/options/dmi.d.ts +1227 -0
- package/options/dmi.src.d.ts +1227 -0
- package/options/dpo.d.ts +1140 -8
- package/options/dpo.src.d.ts +1140 -8
- package/options/dumbbell.d.ts +286 -0
- package/options/dumbbell.src.d.ts +286 -0
- package/options/ema.d.ts +1156 -5
- package/options/ema.src.d.ts +1156 -5
- package/options/errorbar.d.ts +1286 -0
- package/options/errorbar.src.d.ts +1286 -0
- package/options/flags.d.ts +1269 -8
- package/options/flags.src.d.ts +1269 -8
- package/options/flowmap.d.ts +551 -0
- package/options/flowmap.src.d.ts +551 -0
- package/options/funnel.d.ts +728 -10
- package/options/funnel.src.d.ts +728 -10
- package/options/gantt.d.ts +1011 -0
- package/options/gantt.src.d.ts +1011 -0
- package/options/gauge.d.ts +675 -0
- package/options/gauge.src.d.ts +675 -0
- package/options/geoheatmap.d.ts +585 -8
- package/options/geoheatmap.src.d.ts +585 -8
- package/options/heatmap.d.ts +1054 -8
- package/options/heatmap.src.d.ts +1054 -8
- package/options/heikinashi.d.ts +178 -10
- package/options/heikinashi.src.d.ts +178 -10
- package/options/histogram.d.ts +1226 -0
- package/options/histogram.src.d.ts +1226 -0
- package/options/hlc.d.ts +223 -2
- package/options/hlc.src.d.ts +223 -2
- package/options/hollowcandlestick.d.ts +1335 -0
- package/options/hollowcandlestick.src.d.ts +1335 -0
- package/options/ikh.d.ts +228 -5
- package/options/ikh.src.d.ts +228 -5
- package/options/item.d.ts +217 -8
- package/options/item.src.d.ts +217 -8
- package/options/keltnerchannels.d.ts +1220 -0
- package/options/keltnerchannels.src.d.ts +1220 -0
- package/options/klinger.d.ts +1162 -0
- package/options/klinger.src.d.ts +1162 -0
- package/options/line.d.ts +1377 -8
- package/options/line.src.d.ts +1377 -8
- package/options/linearregression.d.ts +199 -5
- package/options/linearregression.src.d.ts +199 -5
- package/options/linearregressionangle.d.ts +1157 -5
- package/options/linearregressionangle.src.d.ts +1157 -5
- package/options/linearregressionintercept.d.ts +240 -0
- package/options/linearregressionintercept.src.d.ts +240 -0
- package/options/linearregressionslope.d.ts +240 -0
- package/options/linearregressionslope.src.d.ts +240 -0
- package/options/lollipop.d.ts +949 -0
- package/options/lollipop.src.d.ts +949 -0
- package/options/macd.d.ts +254 -0
- package/options/macd.src.d.ts +254 -0
- package/options/map.d.ts +150 -8
- package/options/map.src.d.ts +150 -8
- package/options/mapbubble.d.ts +1016 -8
- package/options/mapbubble.src.d.ts +1016 -8
- package/options/mapline.d.ts +994 -0
- package/options/mapline.src.d.ts +994 -0
- package/options/mappoint.d.ts +1105 -1
- package/options/mappoint.src.d.ts +1105 -1
- package/options/mfi.d.ts +181 -5
- package/options/mfi.src.d.ts +181 -5
- package/options/momentum.d.ts +215 -0
- package/options/momentum.src.d.ts +215 -0
- package/options/natr.d.ts +170 -5
- package/options/natr.src.d.ts +170 -5
- package/options/networkgraph.d.ts +365 -0
- package/options/networkgraph.src.d.ts +365 -0
- package/options/obv.d.ts +170 -5
- package/options/obv.src.d.ts +170 -5
- package/options/ohlc.d.ts +183 -7
- package/options/ohlc.src.d.ts +183 -7
- package/options/organization.d.ts +808 -0
- package/options/organization.src.d.ts +808 -0
- package/options/packedbubble.d.ts +877 -8
- package/options/packedbubble.src.d.ts +877 -8
- package/options/pareto.d.ts +1028 -0
- package/options/pareto.src.d.ts +1028 -0
- package/options/pc.d.ts +183 -8
- package/options/pc.src.d.ts +183 -8
- package/options/pictorial.d.ts +202 -2
- package/options/pictorial.src.d.ts +202 -2
- package/options/pie.d.ts +196 -8
- package/options/pie.src.d.ts +196 -8
- package/options/pivotpoints.d.ts +1199 -0
- package/options/pivotpoints.src.d.ts +1199 -0
- package/options/pointandfigure.d.ts +980 -0
- package/options/pointandfigure.src.d.ts +980 -0
- package/options/polygon.d.ts +234 -0
- package/options/polygon.src.d.ts +234 -0
- package/options/ppo.d.ts +1156 -8
- package/options/ppo.src.d.ts +1156 -8
- package/options/priceenvelopes.d.ts +1229 -0
- package/options/priceenvelopes.src.d.ts +1229 -0
- package/options/psar.d.ts +1156 -5
- package/options/psar.src.d.ts +1156 -5
- package/options/pyramid.d.ts +837 -2
- package/options/pyramid.src.d.ts +837 -2
- package/options/renko.d.ts +247 -10
- package/options/renko.src.d.ts +247 -10
- package/options/roc.d.ts +1215 -0
- package/options/roc.src.d.ts +1215 -0
- package/options/rsi.d.ts +1157 -5
- package/options/rsi.src.d.ts +1157 -5
- package/options/sankey.d.ts +276 -8
- package/options/sankey.src.d.ts +276 -8
- package/options/scatter.d.ts +3043 -1018
- package/options/scatter.src.d.ts +3043 -1018
- package/options/series.d.ts +175 -0
- package/options/series.src.d.ts +175 -0
- package/options/slowstochastic.d.ts +183 -0
- package/options/slowstochastic.src.d.ts +183 -0
- package/options/sma.d.ts +211 -0
- package/options/sma.src.d.ts +211 -0
- package/options/solidgauge.d.ts +218 -0
- package/options/solidgauge.src.d.ts +218 -0
- package/options/spline.d.ts +230 -0
- package/options/spline.src.d.ts +230 -0
- package/options/stochastic.d.ts +1170 -8
- package/options/stochastic.src.d.ts +1170 -8
- package/options/streamgraph.d.ts +1345 -8
- package/options/streamgraph.src.d.ts +1345 -8
- package/options/sunburst.d.ts +286 -9
- package/options/sunburst.src.d.ts +286 -9
- package/options/supertrend.d.ts +1208 -0
- package/options/supertrend.src.d.ts +1208 -0
- package/options/tema.d.ts +1140 -8
- package/options/tema.src.d.ts +1140 -8
- package/options/tiledwebmap.d.ts +164 -0
- package/options/tiledwebmap.src.d.ts +164 -0
- package/options/tilemap.d.ts +687 -0
- package/options/tilemap.src.d.ts +687 -0
- package/options/timeline.d.ts +282 -0
- package/options/timeline.src.d.ts +282 -0
- package/options/treegraph.d.ts +982 -0
- package/options/treegraph.src.d.ts +982 -0
- package/options/treemap.d.ts +1396 -22
- package/options/treemap.src.d.ts +1396 -22
- package/options/trendline.d.ts +211 -0
- package/options/trendline.src.d.ts +211 -0
- package/options/trix.d.ts +178 -8
- package/options/trix.src.d.ts +178 -8
- package/options/variablepie.d.ts +686 -8
- package/options/variablepie.src.d.ts +686 -8
- package/options/variwide.d.ts +178 -2
- package/options/variwide.src.d.ts +178 -2
- package/options/vbp.d.ts +576 -0
- package/options/vbp.src.d.ts +576 -0
- package/options/vector.d.ts +660 -0
- package/options/vector.src.d.ts +660 -0
- package/options/venn.d.ts +654 -0
- package/options/venn.src.d.ts +654 -0
- package/options/vwap.d.ts +1157 -5
- package/options/vwap.src.d.ts +1157 -5
- package/options/waterfall.d.ts +1254 -8
- package/options/waterfall.src.d.ts +1254 -8
- package/options/williamsr.d.ts +209 -0
- package/options/williamsr.src.d.ts +209 -0
- package/options/windbarb.d.ts +222 -2
- package/options/windbarb.src.d.ts +222 -2
- package/options/wma.d.ts +1156 -5
- package/options/wma.src.d.ts +1156 -5
- package/options/wordcloud.d.ts +682 -0
- package/options/wordcloud.src.d.ts +682 -0
- package/options/xrange.d.ts +1168 -0
- package/options/xrange.src.d.ts +1168 -0
- package/options/zigzag.d.ts +1197 -0
- package/options/zigzag.src.d.ts +1197 -0
- package/package.json +1 -1
- package/standalone-navigator.js +4 -4
- package/standalone-navigator.src.js +884 -803
- package/themes/adaptive.js +2 -2
- package/themes/adaptive.src.js +22 -43
- package/themes/avocado.js +2 -2
- package/themes/avocado.src.js +17 -38
- package/themes/dark-unica.js +2 -2
- package/themes/dark-unica.src.js +17 -38
- package/themes/grid-light.js +2 -2
- package/themes/grid-light.src.js +17 -38
- package/themes/high-contrast.js +2 -2
- package/themes/high-contrast.src.js +17 -38
- package/themes/sand-signika.js +2 -2
- package/themes/sand-signika.src.js +17 -38
- package/themes/sunset.js +2 -2
- package/themes/sunset.src.js +17 -38
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// SPDX-License-Identifier: LicenseRef-Highcharts
|
|
2
2
|
/**
|
|
3
|
-
* @license Highcharts JS v13.0
|
|
3
|
+
* @license Highcharts JS v13.1.0 (2026-09-18)
|
|
4
4
|
* @module highcharts/modules/data-tools
|
|
5
5
|
* @requires highcharts
|
|
6
6
|
*
|
|
@@ -17,48 +17,27 @@ import * as __WEBPACK_EXTERNAL_MODULE__highcharts_src_js_8202131d__ from "../hig
|
|
|
17
17
|
/******/
|
|
18
18
|
/************************************************************************/
|
|
19
19
|
/******/ /* webpack/runtime/compat get default export */
|
|
20
|
-
/******/
|
|
21
|
-
/******/
|
|
22
|
-
/******/
|
|
23
|
-
/******/
|
|
24
|
-
/******/
|
|
25
|
-
/******/
|
|
26
|
-
/******/
|
|
27
|
-
/******/
|
|
28
|
-
/******/ };
|
|
29
|
-
/******/ })();
|
|
20
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
21
|
+
/******/ __webpack_require__.n = (module) => {
|
|
22
|
+
/******/ const getter = module && module.__esModule ?
|
|
23
|
+
/******/ () => (module['default']) :
|
|
24
|
+
/******/ () => (module);
|
|
25
|
+
/******/ __webpack_require__.d(getter, { a: getter });
|
|
26
|
+
/******/ return getter;
|
|
27
|
+
/******/ };
|
|
30
28
|
/******/
|
|
31
29
|
/******/ /* webpack/runtime/define property getters */
|
|
32
|
-
/******/
|
|
33
|
-
/******/
|
|
34
|
-
/******/
|
|
35
|
-
/******/ if(
|
|
36
|
-
/******/
|
|
37
|
-
/******/ while(i < definition.length) {
|
|
38
|
-
/******/ var key = definition[i++];
|
|
39
|
-
/******/ var binding = definition[i++];
|
|
40
|
-
/******/ if(!__webpack_require__.o(exports, key)) {
|
|
41
|
-
/******/ if(binding === 0) {
|
|
42
|
-
/******/ Object.defineProperty(exports, key, { enumerable: true, value: definition[i++] });
|
|
43
|
-
/******/ } else {
|
|
44
|
-
/******/ Object.defineProperty(exports, key, { enumerable: true, get: binding });
|
|
45
|
-
/******/ }
|
|
46
|
-
/******/ } else if(binding === 0) { i++; }
|
|
47
|
-
/******/ }
|
|
48
|
-
/******/ } else {
|
|
49
|
-
/******/ for(var key in definition) {
|
|
50
|
-
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
51
|
-
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
52
|
-
/******/ }
|
|
53
|
-
/******/ }
|
|
30
|
+
/******/ // define getter/value functions for harmony exports
|
|
31
|
+
/******/ __webpack_require__.d = (exports, definition) => {
|
|
32
|
+
/******/ for(var key in definition) {
|
|
33
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
34
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
54
35
|
/******/ }
|
|
55
|
-
/******/ }
|
|
56
|
-
/******/ }
|
|
36
|
+
/******/ }
|
|
37
|
+
/******/ };
|
|
57
38
|
/******/
|
|
58
39
|
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
59
|
-
/******/ (
|
|
60
|
-
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
61
|
-
/******/ })();
|
|
40
|
+
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop));
|
|
62
41
|
/******/
|
|
63
42
|
/************************************************************************/
|
|
64
43
|
|
|
@@ -180,7 +159,7 @@ class DataModifier {
|
|
|
180
159
|
* Event object containing additional event information.
|
|
181
160
|
*/
|
|
182
161
|
emit(e) {
|
|
183
|
-
(0,external_highcharts_src_js_default_namespaceObject.fireEvent)(this, e.type, e);
|
|
162
|
+
;(0,external_highcharts_src_js_default_namespaceObject.fireEvent)(this, e.type, e);
|
|
184
163
|
}
|
|
185
164
|
/**
|
|
186
165
|
* Modifies the given table and sets its `modified` property as a reference
|
|
@@ -441,13 +420,19 @@ const { setLength: DataTableCore_setLength, splice: DataTableCore_splice } = Dat
|
|
|
441
420
|
class DataTableCore {
|
|
442
421
|
constructor(options = {}) {
|
|
443
422
|
this.isDataTable = true;
|
|
444
|
-
|
|
423
|
+
// Reject IDs that would pollute the prototype of ID-keyed maps.
|
|
424
|
+
const id = this.isPollutingKey(options.id) ? void 0 : options.id;
|
|
425
|
+
this.autoId = !id;
|
|
445
426
|
this.columns = {};
|
|
446
|
-
this.id = (
|
|
427
|
+
this.id = (id || (0,external_highcharts_src_js_default_namespaceObject.uniqueKey)());
|
|
447
428
|
this.rowCount = 0;
|
|
448
429
|
this.versionTag = (0,external_highcharts_src_js_default_namespaceObject.uniqueKey)();
|
|
449
430
|
let rowCount = 0;
|
|
450
431
|
(0,external_highcharts_src_js_default_namespaceObject.objectEach)(options.columns || {}, (column, columnId) => {
|
|
432
|
+
if (columnId === '__proto__' ||
|
|
433
|
+
columnId === 'constructor') {
|
|
434
|
+
return;
|
|
435
|
+
}
|
|
451
436
|
this.columns[columnId] = column.slice();
|
|
452
437
|
rowCount = Math.max(rowCount, column.length);
|
|
453
438
|
});
|
|
@@ -458,6 +443,17 @@ class DataTableCore {
|
|
|
458
443
|
* Functions
|
|
459
444
|
*
|
|
460
445
|
* */
|
|
446
|
+
/**
|
|
447
|
+
* Checks whether a key would pollute the prototype if used to index a
|
|
448
|
+
* plain object (e.g. as a column ID or table ID).
|
|
449
|
+
*
|
|
450
|
+
* @private
|
|
451
|
+
* @param {string|undefined} key The key to check.
|
|
452
|
+
* @return {boolean} True if the key is unsafe to use.
|
|
453
|
+
*/
|
|
454
|
+
isPollutingKey(key) {
|
|
455
|
+
return key === '__proto__' || key === 'constructor';
|
|
456
|
+
}
|
|
461
457
|
/**
|
|
462
458
|
* Applies a row count to the table by setting the `rowCount` property and
|
|
463
459
|
* adjusting the length of all columns.
|
|
@@ -504,7 +500,7 @@ class DataTableCore {
|
|
|
504
500
|
});
|
|
505
501
|
this.rowCount = length;
|
|
506
502
|
}
|
|
507
|
-
(0,external_highcharts_src_js_default_namespaceObject.fireEvent)(this, 'afterDeleteRows', { rowIndex, rowCount });
|
|
503
|
+
;(0,external_highcharts_src_js_default_namespaceObject.fireEvent)(this, 'afterDeleteRows', { rowIndex, rowCount });
|
|
508
504
|
this.versionTag = (0,external_highcharts_src_js_default_namespaceObject.uniqueKey)();
|
|
509
505
|
}
|
|
510
506
|
/**
|
|
@@ -616,6 +612,10 @@ class DataTableCore {
|
|
|
616
612
|
setColumns(columns, rowIndex, eventDetail) {
|
|
617
613
|
let rowCount = this.rowCount;
|
|
618
614
|
(0,external_highcharts_src_js_default_namespaceObject.objectEach)(columns, (column, columnId) => {
|
|
615
|
+
if (columnId === '__proto__' ||
|
|
616
|
+
columnId === 'constructor') {
|
|
617
|
+
return;
|
|
618
|
+
}
|
|
619
619
|
this.columns[columnId] = column.slice();
|
|
620
620
|
rowCount = column.length;
|
|
621
621
|
});
|
|
@@ -654,14 +654,17 @@ class DataTableCore {
|
|
|
654
654
|
* @emits #afterSetRows
|
|
655
655
|
*/
|
|
656
656
|
setRow(row, rowIndex = this.rowCount, insert, eventDetail) {
|
|
657
|
-
var _a;
|
|
658
657
|
const { columns } = this, indexRowCount = insert ? this.rowCount + 1 : rowIndex + 1, rowKeys = Object.keys(row);
|
|
659
658
|
if (eventDetail?.addColumns !== false) {
|
|
660
659
|
for (let i = 0, iEnd = rowKeys.length; i < iEnd; i++) {
|
|
661
|
-
|
|
660
|
+
const rowKey = rowKeys[i];
|
|
661
|
+
if (!this.isPollutingKey(rowKey) &&
|
|
662
|
+
!Object.hasOwnProperty.call(columns, rowKey)) {
|
|
663
|
+
columns[rowKey] = new Array(this.rowCount);
|
|
664
|
+
}
|
|
662
665
|
}
|
|
663
666
|
}
|
|
664
|
-
(0,external_highcharts_src_js_default_namespaceObject.objectEach)(columns, (column, columnId) => {
|
|
667
|
+
;(0,external_highcharts_src_js_default_namespaceObject.objectEach)(columns, (column, columnId) => {
|
|
665
668
|
if (column) {
|
|
666
669
|
if (insert) {
|
|
667
670
|
column = DataTableCore_splice(column, rowIndex, 0, true, [row[columnId]]).array;
|
|
@@ -1023,7 +1026,7 @@ class DataTable extends Data_DataTableCore {
|
|
|
1023
1026
|
].includes(e.type)) {
|
|
1024
1027
|
this.versionTag = (0,external_highcharts_src_js_default_namespaceObject.uniqueKey)();
|
|
1025
1028
|
}
|
|
1026
|
-
(0,external_highcharts_src_js_default_namespaceObject.fireEvent)(this, e.type, e);
|
|
1029
|
+
;(0,external_highcharts_src_js_default_namespaceObject.fireEvent)(this, e.type, e);
|
|
1027
1030
|
}
|
|
1028
1031
|
/**
|
|
1029
1032
|
* Fetches a single cell value.
|
|
@@ -1348,6 +1351,9 @@ class DataTable extends Data_DataTableCore {
|
|
|
1348
1351
|
hasRowWith(columnId, cellValue) {
|
|
1349
1352
|
const table = this;
|
|
1350
1353
|
const column = table.columns[columnId];
|
|
1354
|
+
if (!column) {
|
|
1355
|
+
return false;
|
|
1356
|
+
}
|
|
1351
1357
|
// Normal array
|
|
1352
1358
|
if (Array.isArray(column)) {
|
|
1353
1359
|
return (column.indexOf(cellValue) !== -1);
|
|
@@ -1393,8 +1399,14 @@ class DataTable extends Data_DataTableCore {
|
|
|
1393
1399
|
* Returns `true` if successful, `false` if the column was not found.
|
|
1394
1400
|
*/
|
|
1395
1401
|
changeColumnId(columnId, newColumnId) {
|
|
1402
|
+
if (columnId === '__proto__' ||
|
|
1403
|
+
columnId === 'constructor' ||
|
|
1404
|
+
newColumnId === '__proto__' ||
|
|
1405
|
+
newColumnId === 'constructor') {
|
|
1406
|
+
return false;
|
|
1407
|
+
}
|
|
1396
1408
|
const table = this, columns = table.columns;
|
|
1397
|
-
if (columns
|
|
1409
|
+
if (Object.hasOwnProperty.call(columns, columnId)) {
|
|
1398
1410
|
if (columnId !== newColumnId) {
|
|
1399
1411
|
columns[newColumnId] = columns[columnId];
|
|
1400
1412
|
delete columns[columnId];
|
|
@@ -1427,8 +1439,14 @@ class DataTable extends Data_DataTableCore {
|
|
|
1427
1439
|
* @emits #afterSetCell
|
|
1428
1440
|
*/
|
|
1429
1441
|
setCell(columnId, rowIndex, cellValue, eventDetail) {
|
|
1442
|
+
if (columnId === '__proto__' ||
|
|
1443
|
+
columnId === 'constructor') {
|
|
1444
|
+
return;
|
|
1445
|
+
}
|
|
1430
1446
|
const table = this, columns = table.columns, modifier = table.modifier;
|
|
1431
|
-
let column = columns
|
|
1447
|
+
let column = Object.hasOwnProperty.call(columns, columnId) ?
|
|
1448
|
+
columns[columnId] :
|
|
1449
|
+
void 0;
|
|
1432
1450
|
if (column && column[rowIndex] === cellValue) {
|
|
1433
1451
|
return;
|
|
1434
1452
|
}
|
|
@@ -1497,6 +1515,10 @@ class DataTable extends Data_DataTableCore {
|
|
|
1497
1515
|
else {
|
|
1498
1516
|
for (let i = 0, iEnd = columnIds.length, column, tableColumn, columnId, ArrayConstructor; i < iEnd; ++i) {
|
|
1499
1517
|
columnId = columnIds[i];
|
|
1518
|
+
if (columnId === '__proto__' ||
|
|
1519
|
+
columnId === 'constructor') {
|
|
1520
|
+
continue;
|
|
1521
|
+
}
|
|
1500
1522
|
column = columns[columnId];
|
|
1501
1523
|
tableColumn = tableColumns[columnId];
|
|
1502
1524
|
ArrayConstructor = Object.getPrototypeOf((tableColumn && typeAsOriginal) ? tableColumn : column).constructor;
|
|
@@ -2035,7 +2057,7 @@ class DataConnector {
|
|
|
2035
2057
|
* Event object containing additional event information.
|
|
2036
2058
|
*/
|
|
2037
2059
|
emit(e) {
|
|
2038
|
-
(0,external_highcharts_src_js_default_namespaceObject.fireEvent)(this, e.type, e);
|
|
2060
|
+
;(0,external_highcharts_src_js_default_namespaceObject.fireEvent)(this, e.type, e);
|
|
2039
2061
|
}
|
|
2040
2062
|
/**
|
|
2041
2063
|
* Registers a callback for a specific connector event.
|
|
@@ -2569,7 +2591,7 @@ class DataConverter {
|
|
|
2569
2591
|
* Event object containing additional event data
|
|
2570
2592
|
*/
|
|
2571
2593
|
emit(e) {
|
|
2572
|
-
(0,external_highcharts_src_js_default_namespaceObject.fireEvent)(this, e.type, e);
|
|
2594
|
+
;(0,external_highcharts_src_js_default_namespaceObject.fireEvent)(this, e.type, e);
|
|
2573
2595
|
}
|
|
2574
2596
|
/**
|
|
2575
2597
|
* Registers a callback for a specific event.
|
|
@@ -2707,9 +2729,10 @@ class DataCursor {
|
|
|
2707
2729
|
* Constructor
|
|
2708
2730
|
*
|
|
2709
2731
|
* */
|
|
2710
|
-
constructor(stateMap =
|
|
2732
|
+
constructor(stateMap = Object.create(null)) {
|
|
2711
2733
|
this.emittingRegister = [];
|
|
2712
|
-
|
|
2734
|
+
// Table IDs are used as keys, so keep the maps prototype-less.
|
|
2735
|
+
this.listenerMap = Object.create(null);
|
|
2713
2736
|
this.stateMap = stateMap;
|
|
2714
2737
|
}
|
|
2715
2738
|
/* *
|
|
@@ -3085,7 +3108,7 @@ class DataPool {
|
|
|
3085
3108
|
* Event object with event information.
|
|
3086
3109
|
*/
|
|
3087
3110
|
emit(e) {
|
|
3088
|
-
(0,external_highcharts_src_js_default_namespaceObject.fireEvent)(this, e.type, e);
|
|
3111
|
+
;(0,external_highcharts_src_js_default_namespaceObject.fireEvent)(this, e.type, e);
|
|
3089
3112
|
}
|
|
3090
3113
|
/**
|
|
3091
3114
|
* Loads the connector.
|
|
@@ -3341,10 +3364,16 @@ const decimal2RegExp = /^[+\-]?\d+(?:,\d+)?(?:e[+\-]\d+)?/;
|
|
|
3341
3364
|
* @private
|
|
3342
3365
|
*/
|
|
3343
3366
|
const functionRegExp = /^([A-Z][A-Z\d\.]*)\(/;
|
|
3367
|
+
/**
|
|
3368
|
+
* Maximum nesting level of parentheses and function arguments. Deeper
|
|
3369
|
+
* formulas would exceed the call stack of the recursive parser.
|
|
3370
|
+
* @private
|
|
3371
|
+
*/
|
|
3372
|
+
const MAX_NESTING_LEVEL = 256;
|
|
3344
3373
|
/**
|
|
3345
3374
|
* @private
|
|
3346
3375
|
*/
|
|
3347
|
-
const operatorRegExp = /^(
|
|
3376
|
+
const operatorRegExp = /^(?:<=|>=|[+\-*\/^<=>])/;
|
|
3348
3377
|
/**
|
|
3349
3378
|
* - Group 1: Start column
|
|
3350
3379
|
* - Group 2: Start row
|
|
@@ -3462,10 +3491,13 @@ function extractString(text) {
|
|
|
3462
3491
|
* @param {boolean} alternativeSeparators
|
|
3463
3492
|
* Whether to expect `;` as argument separator and `,` as decimal separator.
|
|
3464
3493
|
*
|
|
3494
|
+
* @param {number} nestingLevel
|
|
3495
|
+
* Current nesting level of the parsed formula.
|
|
3496
|
+
*
|
|
3465
3497
|
* @return {Formula|Function|Range|Reference|Value}
|
|
3466
3498
|
* The recognized term structure.
|
|
3467
3499
|
*/
|
|
3468
|
-
function parseArgument(text, alternativeSeparators) {
|
|
3500
|
+
function parseArgument(text, alternativeSeparators, nestingLevel) {
|
|
3469
3501
|
let match;
|
|
3470
3502
|
// Check for a R1C1:R1C1 range notation
|
|
3471
3503
|
match = text.match(rangeR1C1RegExp);
|
|
@@ -3540,7 +3572,7 @@ function parseArgument(text, alternativeSeparators) {
|
|
|
3540
3572
|
return range;
|
|
3541
3573
|
}
|
|
3542
3574
|
// Fallback to formula processing for other pattern types
|
|
3543
|
-
const formula = parseFormula(text, alternativeSeparators);
|
|
3575
|
+
const formula = parseFormula(text, alternativeSeparators, nestingLevel);
|
|
3544
3576
|
return (formula.length === 1 && typeof formula[0] !== 'string' ?
|
|
3545
3577
|
formula[0] :
|
|
3546
3578
|
formula);
|
|
@@ -3556,10 +3588,13 @@ function parseArgument(text, alternativeSeparators) {
|
|
|
3556
3588
|
* @param {boolean} alternativeSeparators
|
|
3557
3589
|
* Whether to expect `;` as argument separator and `,` as decimal separator.
|
|
3558
3590
|
*
|
|
3591
|
+
* @param {number} nestingLevel
|
|
3592
|
+
* Current nesting level of the parsed formula.
|
|
3593
|
+
*
|
|
3559
3594
|
* @return {Highcharts.FormulaArguments}
|
|
3560
3595
|
* Parsed arguments array.
|
|
3561
3596
|
*/
|
|
3562
|
-
function parseArguments(text, alternativeSeparators) {
|
|
3597
|
+
function parseArguments(text, alternativeSeparators, nestingLevel) {
|
|
3563
3598
|
const args = [], argumentsSeparator = (alternativeSeparators ? ';' : ',');
|
|
3564
3599
|
let parantheseLevel = 0, term = '';
|
|
3565
3600
|
for (let i = 0, iEnd = text.length, char; i < iEnd; ++i) {
|
|
@@ -3568,7 +3603,7 @@ function parseArguments(text, alternativeSeparators) {
|
|
|
3568
3603
|
if (char === argumentsSeparator &&
|
|
3569
3604
|
!parantheseLevel &&
|
|
3570
3605
|
term) {
|
|
3571
|
-
args.push(parseArgument(term, alternativeSeparators));
|
|
3606
|
+
args.push(parseArgument(term, alternativeSeparators, nestingLevel));
|
|
3572
3607
|
term = '';
|
|
3573
3608
|
// Check for a quoted string before skip logic
|
|
3574
3609
|
}
|
|
@@ -3592,7 +3627,7 @@ function parseArguments(text, alternativeSeparators) {
|
|
|
3592
3627
|
}
|
|
3593
3628
|
// Look for left-overs from last argument
|
|
3594
3629
|
if (!parantheseLevel && term) {
|
|
3595
|
-
args.push(parseArgument(term, alternativeSeparators));
|
|
3630
|
+
args.push(parseArgument(term, alternativeSeparators, nestingLevel));
|
|
3596
3631
|
}
|
|
3597
3632
|
return args;
|
|
3598
3633
|
}
|
|
@@ -3624,10 +3659,19 @@ function negativeReference(formula) {
|
|
|
3624
3659
|
* * `false` to expect `,` between arguments and `.` in decimals.
|
|
3625
3660
|
* * `true` to expect `;` between arguments and `,` in decimals.
|
|
3626
3661
|
*
|
|
3662
|
+
* @param {number} [nestingLevel]
|
|
3663
|
+
* Current nesting level of the parsed formula. Formulas nested deeper than
|
|
3664
|
+
* 256 levels are rejected.
|
|
3665
|
+
*
|
|
3627
3666
|
* @return {Formula.Formula}
|
|
3628
3667
|
* Formula array representing the string.
|
|
3629
3668
|
*/
|
|
3630
|
-
function parseFormula(text, alternativeSeparators) {
|
|
3669
|
+
function parseFormula(text, alternativeSeparators, nestingLevel = 0) {
|
|
3670
|
+
if (nestingLevel > MAX_NESTING_LEVEL) {
|
|
3671
|
+
const error = new Error('Formula nested deeper than ' + MAX_NESTING_LEVEL + ' levels.');
|
|
3672
|
+
error.name = 'FormulaParseError';
|
|
3673
|
+
throw error;
|
|
3674
|
+
}
|
|
3631
3675
|
const decimalRegExp = (alternativeSeparators ?
|
|
3632
3676
|
decimal2RegExp :
|
|
3633
3677
|
decimal1RegExp), formula = [];
|
|
@@ -3733,7 +3777,7 @@ function parseFormula(text, alternativeSeparators) {
|
|
|
3733
3777
|
formula.push({
|
|
3734
3778
|
type: 'function',
|
|
3735
3779
|
name: match[1],
|
|
3736
|
-
args: parseArguments(parantheses, alternativeSeparators)
|
|
3780
|
+
args: parseArguments(parantheses, alternativeSeparators, nestingLevel + 1)
|
|
3737
3781
|
});
|
|
3738
3782
|
next = next.substring(parantheses.length + 2).trim();
|
|
3739
3783
|
continue;
|
|
@@ -3742,8 +3786,7 @@ function parseFormula(text, alternativeSeparators) {
|
|
|
3742
3786
|
if (next[0] === '(') {
|
|
3743
3787
|
const parentheses = extractParentheses(next);
|
|
3744
3788
|
if (parentheses) {
|
|
3745
|
-
formula
|
|
3746
|
-
.push(parseFormula(parentheses, alternativeSeparators));
|
|
3789
|
+
formula.push(parseFormula(parentheses, alternativeSeparators, nestingLevel + 1));
|
|
3747
3790
|
next = next.substring(parentheses.length + 2).trim();
|
|
3748
3791
|
continue;
|
|
3749
3792
|
}
|
|
@@ -6308,7 +6351,7 @@ class CSVConnector extends Connectors_DataConnector {
|
|
|
6308
6351
|
* Event object containing additional event information.
|
|
6309
6352
|
*/
|
|
6310
6353
|
emit(e) {
|
|
6311
|
-
(0,external_highcharts_src_js_default_namespaceObject.fireEvent)(this, e.type, e);
|
|
6354
|
+
;(0,external_highcharts_src_js_default_namespaceObject.fireEvent)(this, e.type, e);
|
|
6312
6355
|
}
|
|
6313
6356
|
/**
|
|
6314
6357
|
* Initiates the loading of the CSV source to the connector
|
|
@@ -6698,7 +6741,7 @@ class JSONConnector extends Connectors_DataConnector {
|
|
|
6698
6741
|
* Event object containing additional event information.
|
|
6699
6742
|
*/
|
|
6700
6743
|
emit(e) {
|
|
6701
|
-
(0,external_highcharts_src_js_default_namespaceObject.fireEvent)(this, e.type, e);
|
|
6744
|
+
;(0,external_highcharts_src_js_default_namespaceObject.fireEvent)(this, e.type, e);
|
|
6702
6745
|
}
|
|
6703
6746
|
/**
|
|
6704
6747
|
* Initiates the loading of the JSON source to the connector
|
|
@@ -7010,7 +7053,7 @@ class GoogleSheetsConnector extends Connectors_DataConnector {
|
|
|
7010
7053
|
* Event object containing additional event information.
|
|
7011
7054
|
*/
|
|
7012
7055
|
emit(e) {
|
|
7013
|
-
(0,external_highcharts_src_js_default_namespaceObject.fireEvent)(this, e.type, e);
|
|
7056
|
+
;(0,external_highcharts_src_js_default_namespaceObject.fireEvent)(this, e.type, e);
|
|
7014
7057
|
}
|
|
7015
7058
|
/**
|
|
7016
7059
|
* Loads data from a Google Spreadsheet.
|
|
@@ -7839,7 +7882,7 @@ class ChainModifier extends Modifiers_DataModifier {
|
|
|
7839
7882
|
});
|
|
7840
7883
|
}
|
|
7841
7884
|
emit(e) {
|
|
7842
|
-
(0,external_highcharts_src_js_default_namespaceObject.fireEvent)(this, e.type, e);
|
|
7885
|
+
;(0,external_highcharts_src_js_default_namespaceObject.fireEvent)(this, e.type, e);
|
|
7843
7886
|
}
|
|
7844
7887
|
on(type, callback) {
|
|
7845
7888
|
return (0,external_highcharts_src_js_default_namespaceObject.addEvent)(this, type, callback);
|
package/esm/modules/data.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Highcharts JS v13.0
|
|
2
|
+
* Highcharts JS v13.1.0 (2026-09-18)
|
|
3
3
|
* @module highcharts/modules/data
|
|
4
4
|
* @requires highcharts
|
|
5
5
|
*
|
|
@@ -10,6 +10,6 @@
|
|
|
10
10
|
*
|
|
11
11
|
* A commercial license may be required depending on use,
|
|
12
12
|
* see www.highcharts.com/license
|
|
13
|
-
*/import*as e from"../highcharts.js";let t={};t.n=e=>{let s=e&&e.__esModule?()=>e.default:()=>e;return t.d(s,{a:s}),s},t.d=(e,s)=>{if(Array.isArray(s))for(var i=0;i<s.length;){var r=s[i++],a=s[i++];t.o(e,r)?0===a&&i++:0===a?Object.defineProperty(e,r,{enumerable:!0,value:s[i++]}):Object.defineProperty(e,r,{enumerable:!0,get:a})}else for(var r in s)t.o(s,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:s[r]})},t.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);let s=e.default;var i=t.n(s);let{win:r}=i();function a(e){let t={json:"application/json",xml:"application/xml",text:"text/plain",octet:"application/octet-stream"},i=new XMLHttpRequest;function r(t,s){e.error&&e.error(t,s)}if(!e.url)return!1;i.open((e.type||"get").toUpperCase(),e.url,!0),e.headers?.["Content-Type"]||i.setRequestHeader("Content-Type",t[e.dataType||"json"]||t.text),(0,s.objectEach)(e.headers,function(e,t){i.setRequestHeader(t,e)}),e.responseType&&(i.responseType=e.responseType),i.onreadystatechange=function(){let t;if(4===i.readyState){if(200===i.status){if("blob"!==e.responseType&&(t=i.responseText,"json"===e.dataType))try{t=JSON.parse(t)}catch(e){if(e instanceof Error)return r(i,e)}return e.success?.(t,i)}r(i,i.responseText)}},e.data&&"string"!=typeof e.data&&(e.data=JSON.stringify(e.data)),i.send(e.data)}let n={ajax:a,getJSON:function(e,t){n.ajax({url:e,success:t,dataType:"json",headers:{"Content-Type":"text/plain"}})}};n.post=async function(e,t,i){let a=new r.FormData;(0,s.objectEach)(t,function(e,t){a.append(t,e)}),a.append("b64","true");let n=await r.fetch(e,{method:"POST",body:a,...i});if(n.ok){let e=await n.text(),i=document.createElement("a");i.href=`data:${t.type};base64,${e}`,i.download=t.filename,i.click(),(0,s.discardElement)(i)}};let o=e.default.Axis;var l=t.n(o);let u=e.default.Chart;var h=t.n(u);let{setLength:d,splice:c}={convertToNumber:function(e,t){switch(typeof e){case"boolean":return+!!e;case"number":return isNaN(e)&&!t?null:e;default:return isNaN(e=parseFloat(`${e??""}`))&&!t?null:e}},setLength:function(e,t,s){return Array.isArray(e)?(e.length=t,e):e[s?"subarray":"slice"](0,t)},splice:function(e,t,s,i,r=[]){if(Array.isArray(e))return Array.isArray(r)||(r=Array.from(r)),{removed:e.splice(t,s,...r),array:e};let a=Object.getPrototypeOf(e).constructor,n=e[i?"subarray":"slice"](t,t+s),o=new a(e.length-s+r.length);return o.set(e.subarray(0,t),0),o.set(r,t),o.set(e.subarray(t+s),t+r.length),{removed:n,array:o}}},m=class{constructor(e={}){this.isDataTable=!0,this.autoId=!e.id,this.columns={},this.id=e.id||(0,s.uniqueKey)(),this.rowCount=0,this.versionTag=(0,s.uniqueKey)();let t=0;(0,s.objectEach)(e.columns||{},(e,s)=>{this.columns[s]=e.slice(),t=Math.max(t,e.length)}),this.applyRowCount(t)}applyRowCount(e){this.rowCount=e,(0,s.objectEach)(this.columns,(t,s)=>{t.length!==e&&(this.columns[s]=d(t,e))})}deleteRows(e,t=1){if(t>0&&e<this.rowCount){let i=0;(0,s.objectEach)(this.columns,(s,r)=>{this.columns[r]=c(s,e,t).array,i=s.length}),this.rowCount=i}(0,s.fireEvent)(this,"afterDeleteRows",{rowIndex:e,rowCount:t}),this.versionTag=(0,s.uniqueKey)()}getColumn(e,t){return this.columns[e]}getColumns(e,t){return(e||Object.keys(this.columns)).reduce((e,t)=>(e[t]=this.columns[t],e),{})}getRowObject(e,t){let s={},i=this.columns;for(let r of(t??(t=Object.keys(this.columns)),t))s[r]=i[r]?.[e];return s}setColumn(e,t=[],s=0,i){this.setColumns({[e]:t},s,i)}setColumns(e,t,i){let r=this.rowCount;(0,s.objectEach)(e,(e,t)=>{this.columns[t]=e.slice(),r=e.length}),this.applyRowCount(r),i?.silent||((0,s.fireEvent)(this,"afterSetColumns"),this.versionTag=(0,s.uniqueKey)())}setRow(e,t=this.rowCount,i,r){var a;let{columns:n}=this,o=i?this.rowCount+1:t+1,l=Object.keys(e);if(r?.addColumns!==!1)for(let e=0,t=l.length;e<t;e++)n[a=l[e]]||(n[a]=Array(this.rowCount));(0,s.objectEach)(n,(s,r)=>{s&&(i?s=c(s,t,0,!0,[e[r]]).array:s[t]=r in e?e[r]:s[t],n[r]=s)}),this.applyRowCount(Math.max(o,this.rowCount)),r?.silent||((0,s.fireEvent)(this,"afterSetRows",{rowIndex:t}),this.versionTag=(0,s.uniqueKey)())}getModified(){return this.modified||this}},p=e.default.Point;var f=t.n(p);let g=e.default.SeriesRegistry;var y=t.n(g);let x=e.default.Time;var v=t.n(x);let{doc:C}=i(),{seriesTypes:R}=y();function N(e){return!!(e.rowsURL||e.csvURL||e.columnsURL)}class T{static data(e,t={},s){return new T(e,t,s)}static rowsToColumns(e){let t,s,i,r,a;if(e)for(t=0,a=[],s=e.length;t<s;t++)for(i=0,r=e[t].length;i<r;i++)a[i]||(a[i]=[]),a[i][t]=e[t][i];return a}constructor(e,t={},s){this.rowsToColumns=T.rowsToColumns,this.dateFormats={"YYYY/mm/dd":{regex:/^(\d{4})[\-\/\.](\d{1,2})[\-\/\.](\d{1,2})$/,parser:function(e){return e?Date.UTC(+e[1],e[2]-1,+e[3]):NaN}},"dd/mm/YYYY":{regex:/^(\d{1,2})[\-\/\.](\d{1,2})[\-\/\.](\d{4})$/,parser:function(e){return e?Date.UTC(+e[3],e[2]-1,+e[1]):NaN},alternative:"mm/dd/YYYY"},"mm/dd/YYYY":{regex:/^(\d{1,2})[\-\/\.](\d{1,2})[\-\/\.](\d{4})$/,parser:function(e){return e?Date.UTC(+e[3],e[1]-1,+e[2]):NaN}},"dd/mm/YY":{regex:/^(\d{1,2})[\-\/\.](\d{1,2})[\-\/\.](\d{2})$/,parser:function(e){if(!e)return NaN;let t=new Date,s=+e[3];return s>t.getFullYear()-2e3?s+=1900:s+=2e3,Date.UTC(s,e[2]-1,+e[1])},alternative:"mm/dd/YY"},"mm/dd/YY":{regex:/^(\d{1,2})[\-\/\.](\d{1,2})[\-\/\.](\d{2})$/,parser:function(e){return e?Date.UTC(+e[3]+2e3,e[1]-1,+e[2]):NaN}}},this.chart=s,this.chartOptions=t,this.options=e,this.rawColumns=[],this.init(e,t,s)}init(e,t,i){let r=e.decimalPoint,a;t&&(this.chartOptions=t),i&&(this.chart=i),"."!==r&&","!==r&&(r=void 0),this.options=e,this.columns=e.columns||this.rowsToColumns(e.rows)||[],this.firstRowAsNames=e.firstRowAsNames??this.firstRowAsNames??!0,this.decimalRegex=r&&RegExp("^(-?[0-9]+)"+r+"([0-9]+)$"),void 0!==this.liveDataTimeout&&(0,s.internalClearTimeout)(this.liveDataTimeout),this.rawColumns=[],this.columns.length&&(this.dataFound(),a=!N(e)),a||(a=this.fetchLiveData()),a||(a=!!this.parseCSV().length),a||(a=!!this.parseTable().length),a||(a=this.parseGoogleSpreadsheet()),!a&&e.afterComplete&&e.afterComplete(this)}getColumnDistribution(){let e=this.chartOptions,t=this.options,i=[],r=function(e="line"){return(R[e].prototype.pointArrayMap||[0]).length},a=function(e="line"){return R[e].prototype.pointArrayMap},n=e?.chart?.type,o=[],l=[],u=t?.seriesMapping||e?.series?.map(function(){return{x:0}})||[],h=0;(e?.series||[]).forEach(e=>{o.push(r(e.type||n))}),u.forEach(e=>{i.push(e.x||0)}),0===i.length&&i.push(0),u.forEach(t=>{let i=new w,u=o[h]||r(n),d=(e?.series??[])[h]??{},c=a(d.type||n),m=c??["y"];((0,s.defined)(t.x)||d.isCartesian||!c)&&i.addColumnReader(t.x,"x"),(0,s.objectEach)(t,function(e,t){"x"!==t&&i.addColumnReader(e,t)});for(let e=0;e<u;e++)i.hasReader(m[e])||i.addColumnReader(void 0,m[e]);l.push(i),h++});let d=a(n);void 0===d&&(d=["y"]),this.valueCount={global:r(n),xColumns:i,individual:o,seriesBuilders:l,globalPointArrayMap:d}}dataFound(){this.options.switchRowsAndColumns&&(this.columns=this.rowsToColumns(this.columns)),this.getColumnDistribution(),this.parseTypes(),!1!==this.parsed()&&this.complete()}parseCSV(e){let t=this,i=this.columns=[],r=e||this.options,a=r.startColumn||0,n=r.endColumn||Number.MAX_VALUE,o=[],l={",":0,";":0," ":0},u=r.csv,h=r.startRow||0,d=r.endRow||Number.MAX_VALUE,c,m,p=0;if(u&&r.beforeParse&&(u=r.beforeParse.call(this,u,this)),u){if(m=u.replace(/\r\n/g,"\n").replace(/\r/g,"\n").split(r.lineDelimiter||"\n"),(!h||h<0)&&(h=0),(!d||d>=m.length)&&(d=m.length-1),r.itemDelimiter)c=r.itemDelimiter;else{let e,s,i;e=0,s=0,i=!1,m.some(function(t,i){let r=!1,a,n,o,u="";if(i>13)return!0;for(let i=0;i<t.length;i++){if(a=t[i],n=t[i+1],o=t[i-1],"#"===a)return;if('"'===a)if(r){if('"'!==o&&'"'!==n){for(;" "===n&&i<t.length;)n=t[++i];void 0!==l[n]&&l[n]++,r=!1}}else r=!0;else void 0!==l[a]?(isNaN(Date.parse(u=u.trim()))?(isNaN(u)||!isFinite(u))&&l[a]++:l[a]++,u=""):u+=a;","===a&&s++,"."===a&&e++}}),l[";"]>l[","]?i=";":(l[","],l[";"],i=","),r.decimalPoint||(e>s?r.decimalPoint=".":r.decimalPoint=",",t.decimalRegex=RegExp("^(-?[0-9]+)"+r.decimalPoint+"([0-9]+)$")),c=i}let e=0;for(p=h;p<=d;p++)"#"===m[p][0]?e++:function(e,t,s,l){let u=0,h="",d="",m="",p="",f=0,g=0;function y(t){h=e[t],d=e[t-1],m=e[t+1]}function x(e){o.length<g+1&&o.push([e]),o[g][o[g].length-1]!==e&&o[g].push(e)}function v(){if(a>f||f>n){++f,p="";return}r.columnTypes||(!isNaN(parseFloat(p))&&isFinite(p)?(p=parseFloat(p),x("number")):isNaN(Date.parse(p))?x("string"):(p=p.replace(/\//g,"-"),x("date"))),i.length<g+1&&i.push([]),i[g][t]=p,p="",++g,++f}if(e.trim().length&&"#"!==e.trim()[0]){for(;u<e.length;u++)if(y(u),'"'===h)for(y(++u);u<e.length&&('"'!==h||'"'===d||'"'===m);)('"'!==h||'"'===h&&'"'!==d)&&(p+=h),y(++u);else h===c?v():p+=h;v()}}(m[p],p-h-e);(!r.columnTypes||0===r.columnTypes.length)&&o.length&&o[0].length&&"date"===o[0][1]&&!r.dateFormat&&(r.dateFormat=function(e,i){let r="YYYY/mm/dd",a=[],n=[],o,l=[],u,h=0,d=!1,c;for((!i||i>e.length)&&(i=e.length);h<i;h++)if(void 0!==e[h]&&e[h]?.length)for(c=0,o=e[h].trim().replace(/\//g," ").replace(/\-/g," ").replace(/\./g," ").split(" "),l=["","",""];c<o.length;c++)c<l.length&&(o[c]=parseInt(o[c],10),o[c]&&(n[c]=!n[c]||n[c]<o[c]?o[c]:n[c],void 0!==a[c]?a[c]!==o[c]&&(a[c]=!1):a[c]=o[c],o[c]>31?o[c]<100?l[c]="YY":l[c]="YYYY":o[c]>12&&o[c]<=31?(l[c]="dd",d=!0):l[c].length||(l[c]="mm")));if(d){for(c=0;c<a.length;c++)!1!==a[c]?n[c]>12&&"YY"!==l[c]&&"YYYY"!==l[c]&&(l[c]="YY"):n[c]>12&&"mm"===l[c]&&(l[c]="dd");return(3===l.length&&"dd"===l[1]&&"dd"===l[2]&&(l[2]="YY"),u=l.join("/"),t.dateFormats[u])?u:((0,s.fireEvent)(t,"deduceDateFailed"),r)}return r}(i[0])),this.dataFound()}return i}parseTable(){let e=this.options,t=this.columns||[],s=e.startRow||0,i=e.endRow||Number.MAX_VALUE,r=e.startColumn||0,a=e.endColumn||Number.MAX_VALUE;if(e.table){let n=e.table;"string"==typeof n&&(n=C.getElementById(n)),[].forEach.call(n.getElementsByTagName("tr"),(e,n)=>{n>=s&&n<=i&&[].forEach.call(e.children,(e,i)=>{let o=t[i-r],l=1;if(("TD"===e.tagName||"TH"===e.tagName)&&i>=r&&i<=a)for(t[i-r]||(t[i-r]=[]),t[i-r][n-s]=e.innerHTML;n-s>=l&&void 0===o[n-s-l];)o[n-s-l]=null,l++})}),this.dataFound()}return t}fetchLiveData(){let e=this,t=this.chart,i=this.options,r=i.enablePolling,n=(0,s.merge)(i),o=0,l=1e3*(i.dataRefreshRate||2);return!!N(i)&&(l=Math.max(l,1e3),delete i.csvURL,delete i.rowsURL,delete i.columnsURL,!function i(u){function h(n,h,d){if(!n||!/^(http|\/|\.\/|\.\.\/)/.test(n))return n&&(0,s.error)(`Invalid URL: ${n}`,!1,t),!1;function c(){r&&t.liveDataURL===n&&(e.liveDataTimeout=setTimeout(i,l))}return u&&((0,s.internalClearTimeout)(e.liveDataTimeout),t.liveDataURL=n),a({url:n,dataType:d||"json",success:function(e){t?.series&&h(e),c()},error:function(e,i){if(++o<3&&c(),t.options)return(0,s.error)(`Request failed - ${e.status}
|
|
14
|
-
`+("string"==typeof i?i:i.message),!1,t)}}),!0}h(
|
|
15
|
-
`+("string"==typeof t?t:t.message),!1,r)}})}(function(t){let s=t.values;if(!s||0===s.length)return!1;let i=s.reduce((e,t)=>Math.max(e,t.length),0);s.forEach(e=>{for(let t=0;t<i;t++)void 0===e[t]&&(e[t]=null)}),r?.series?r.update({data:{columns:s}}):(e.columns=s,e.dataFound())})),!1}trim(e,t){return"string"==typeof e&&(e=e.replace(/^\s+|\s+$/g,""),t&&/[\d\s]+/.test(e)&&(e=e.replace(/\s/g,"")),this.decimalRegex&&(e=e.replace(this.decimalRegex,"$1.$2"))),e}parseTypes(){let e=this.columns||[],t=e.length;for(;t--;)this.parseColumn(e[t],t)}parseColumn(e,t){let i=this.rawColumns,r=this.columns=this.columns||[],
|
|
13
|
+
*/import*as e from"../highcharts.js";let t={};t.n=e=>{let s=e&&e.__esModule?()=>e.default:()=>e;return t.d(s,{a:s}),s},t.d=(e,s)=>{for(var i in s)t.o(s,i)&&!t.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:s[i]})},t.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);let s=e.default;var i=t.n(s);let{win:r}=i();function n(e){let t={json:"application/json",xml:"application/xml",text:"text/plain",octet:"application/octet-stream"},i=new XMLHttpRequest;function r(t,s){e.error&&e.error(t,s)}if(!e.url)return!1;i.open((e.type||"get").toUpperCase(),e.url,!0),e.headers?.["Content-Type"]||i.setRequestHeader("Content-Type",t[e.dataType||"json"]||t.text),(0,s.objectEach)(e.headers,function(e,t){i.setRequestHeader(t,e)}),e.responseType&&(i.responseType=e.responseType),i.onreadystatechange=function(){let t;if(4===i.readyState){if(200===i.status){if("blob"!==e.responseType&&(t=i.responseText,"json"===e.dataType))try{t=JSON.parse(t)}catch(e){if(e instanceof Error)return r(i,e)}return e.success?.(t,i)}r(i,i.responseText)}},e.data&&"string"!=typeof e.data&&(e.data=JSON.stringify(e.data)),i.send(e.data)}let a={ajax:n,getJSON:function(e,t){a.ajax({url:e,success:t,dataType:"json",headers:{"Content-Type":"text/plain"}})}};a.post=async function(e,t,i){let n=new r.FormData;(0,s.objectEach)(t,function(e,t){n.append(t,e)}),n.append("b64","true");let a=await r.fetch(e,{method:"POST",body:n,...i});if(a.ok){let e=await a.text(),i=document.createElement("a");i.href=`data:${t.type};base64,${e}`,i.download=t.filename,i.click(),(0,s.discardElement)(i)}};let o=e.default.Axis;var l=t.n(o);let u=e.default.Chart;var h=t.n(u);let{setLength:d,splice:c}={convertToNumber:function(e,t){switch(typeof e){case"boolean":return+!!e;case"number":return isNaN(e)&&!t?null:e;default:return isNaN(e=parseFloat(`${e??""}`))&&!t?null:e}},setLength:function(e,t,s){return Array.isArray(e)?(e.length=t,e):e[s?"subarray":"slice"](0,t)},splice:function(e,t,s,i,r=[]){if(Array.isArray(e))return Array.isArray(r)||(r=Array.from(r)),{removed:e.splice(t,s,...r),array:e};let n=Object.getPrototypeOf(e).constructor,a=e[i?"subarray":"slice"](t,t+s),o=new n(e.length-s+r.length);return o.set(e.subarray(0,t),0),o.set(r,t),o.set(e.subarray(t+s),t+r.length),{removed:a,array:o}}},m=class{constructor(e={}){this.isDataTable=!0;let t=this.isPollutingKey(e.id)?void 0:e.id;this.autoId=!t,this.columns={},this.id=t||(0,s.uniqueKey)(),this.rowCount=0,this.versionTag=(0,s.uniqueKey)();let i=0;(0,s.objectEach)(e.columns||{},(e,t)=>{"__proto__"!==t&&"constructor"!==t&&(this.columns[t]=e.slice(),i=Math.max(i,e.length))}),this.applyRowCount(i)}isPollutingKey(e){return"__proto__"===e||"constructor"===e}applyRowCount(e){this.rowCount=e,(0,s.objectEach)(this.columns,(t,s)=>{t.length!==e&&(this.columns[s]=d(t,e))})}deleteRows(e,t=1){if(t>0&&e<this.rowCount){let i=0;(0,s.objectEach)(this.columns,(s,r)=>{this.columns[r]=c(s,e,t).array,i=s.length}),this.rowCount=i}(0,s.fireEvent)(this,"afterDeleteRows",{rowIndex:e,rowCount:t}),this.versionTag=(0,s.uniqueKey)()}getColumn(e,t){return this.columns[e]}getColumns(e,t){return(e||Object.keys(this.columns)).reduce((e,t)=>(e[t]=this.columns[t],e),{})}getRowObject(e,t){let s={},i=this.columns;for(let r of(t??(t=Object.keys(this.columns)),t))s[r]=i[r]?.[e];return s}setColumn(e,t=[],s=0,i){this.setColumns({[e]:t},s,i)}setColumns(e,t,i){let r=this.rowCount;(0,s.objectEach)(e,(e,t)=>{"__proto__"!==t&&"constructor"!==t&&(this.columns[t]=e.slice(),r=e.length)}),this.applyRowCount(r),i?.silent||((0,s.fireEvent)(this,"afterSetColumns"),this.versionTag=(0,s.uniqueKey)())}setRow(e,t=this.rowCount,i,r){let{columns:n}=this,a=i?this.rowCount+1:t+1,o=Object.keys(e);if(r?.addColumns!==!1)for(let e=0,t=o.length;e<t;e++){let t=o[e];this.isPollutingKey(t)||Object.hasOwnProperty.call(n,t)||(n[t]=Array(this.rowCount))}(0,s.objectEach)(n,(s,r)=>{s&&(i?s=c(s,t,0,!0,[e[r]]).array:s[t]=r in e?e[r]:s[t],n[r]=s)}),this.applyRowCount(Math.max(a,this.rowCount)),r?.silent||((0,s.fireEvent)(this,"afterSetRows",{rowIndex:t}),this.versionTag=(0,s.uniqueKey)())}getModified(){return this.modified||this}},p=e.default.Point;var f=t.n(p);let g=e.default.SeriesRegistry;var y=t.n(g);let x=e.default.Time;var v=t.n(x);let{doc:C}=i(),{seriesTypes:R}=y();function T(e){return!!(e.rowsURL||e.csvURL||e.columnsURL)}class w{static data(e,t={},s){return new w(e,t,s)}static rowsToColumns(e){let t,s,i,r,n;if(e)for(n=[],s=e.length,t=0;t<s;t++)for(r=e[t].length,i=0;i<r;i++)n[i]||(n[i]=[]),n[i][t]=e[t][i];return n}constructor(e,t={},s){this.rowsToColumns=w.rowsToColumns,this.dateFormats={"YYYY/mm/dd":{regex:/^(\d{4})[\-\/\.](\d{1,2})[\-\/\.](\d{1,2})$/,parser:function(e){return e?Date.UTC(+e[1],e[2]-1,+e[3]):0/0}},"dd/mm/YYYY":{regex:/^(\d{1,2})[\-\/\.](\d{1,2})[\-\/\.](\d{4})$/,parser:function(e){return e?Date.UTC(+e[3],e[2]-1,+e[1]):0/0},alternative:"mm/dd/YYYY"},"mm/dd/YYYY":{regex:/^(\d{1,2})[\-\/\.](\d{1,2})[\-\/\.](\d{4})$/,parser:function(e){return e?Date.UTC(+e[3],e[1]-1,+e[2]):0/0}},"dd/mm/YY":{regex:/^(\d{1,2})[\-\/\.](\d{1,2})[\-\/\.](\d{2})$/,parser:function(e){if(!e)return 0/0;let t=new Date,s=+e[3];return s>t.getFullYear()-2e3?s+=1900:s+=2e3,Date.UTC(s,e[2]-1,+e[1])},alternative:"mm/dd/YY"},"mm/dd/YY":{regex:/^(\d{1,2})[\-\/\.](\d{1,2})[\-\/\.](\d{2})$/,parser:function(e){return e?Date.UTC(+e[3]+2e3,e[1]-1,+e[2]):0/0}}},this.chart=s,this.chartOptions=t,this.options=e,this.rawColumns=[],this.init(e,t,s)}init(e,t,i){let r=e.decimalPoint,n;t&&(this.chartOptions=t),i&&(this.chart=i),"."!==r&&","!==r&&(r=void 0),this.options=e,this.columns=e.columns||this.rowsToColumns(e.rows)||[],this.firstRowAsNames=e.firstRowAsNames??this.firstRowAsNames??!0,this.decimalRegex=r&&RegExp("^(-?[0-9]+)"+r+"([0-9]+)$"),void 0!==this.liveDataTimeout&&(0,s.internalClearTimeout)(this.liveDataTimeout),this.rawColumns=[],this.columns.length&&(this.dataFound(),n=!T(e)),n||(n=this.fetchLiveData()),n||(n=!!this.parseCSV().length),n||(n=!!this.parseTable().length),n||(n=this.parseGoogleSpreadsheet()),!n&&e.afterComplete&&e.afterComplete(this)}getColumnDistribution(){let e=this.chartOptions,t=this.options,i=[],r=function(e="line"){return(R[e].prototype.pointArrayMap||[0]).length},n=function(e="line"){return R[e].prototype.pointArrayMap},a=e?.chart?.type,o=[],l=[],u=t?.seriesMapping||e?.series?.map(function(){return{x:0}})||[],h=0;(e?.series||[]).forEach(e=>{o.push(r(e.type||a))}),u.forEach(e=>{i.push(e.x||0)}),0===i.length&&i.push(0),u.forEach(t=>{let i=new b,u=o[h]||r(a),d=(e?.series??[])[h]??{},c=n(d.type||a),m=c??["y"];((0,s.defined)(t.x)||d.isCartesian||!c)&&i.addColumnReader(t.x,"x"),(0,s.objectEach)(t,function(e,t){"x"!==t&&i.addColumnReader(e,t)});for(let e=0;e<u;e++)i.hasReader(m[e])||i.addColumnReader(void 0,m[e]);l.push(i),h++});let d=n(a);void 0===d&&(d=["y"]),this.valueCount={global:r(a),xColumns:i,individual:o,seriesBuilders:l,globalPointArrayMap:d}}dataFound(){this.options.switchRowsAndColumns&&(this.columns=this.rowsToColumns(this.columns)),this.getColumnDistribution(),this.parseTypes(),!1!==this.parsed()&&this.complete()}parseCSV(e){let t=this,i=this.columns=[],r=e||this.options,n=r.startColumn||0,a=r.endColumn||Number.MAX_VALUE,o=[],l={",":0,";":0," ":0},u=r.csv,h=r.startRow||0,d=r.endRow||Number.MAX_VALUE,c,m,p=0;if(u&&r.beforeParse&&(u=r.beforeParse.call(this,u,this)),u){if(m=u.replace(/\r\n/g,"\n").replace(/\r/g,"\n").split(r.lineDelimiter||"\n"),(!h||h<0)&&(h=0),(!d||d>=m.length)&&(d=m.length-1),r.itemDelimiter)c=r.itemDelimiter;else{let e,s,i;e=0,s=0,i=!1,m.some(function(t,i){let r=!1,n,a,o,u="";if(i>13)return!0;for(let i=0;i<t.length;i++){if(n=t[i],a=t[i+1],o=t[i-1],"#"===n)return;if('"'===n)if(r){if('"'!==o&&'"'!==a){for(;" "===a&&i<t.length;)a=t[++i];void 0!==l[a]&&l[a]++,r=!1}}else r=!0;else void 0!==l[n]?(isNaN(Date.parse(u=u.trim()))?(isNaN(u)||!isFinite(u))&&l[n]++:l[n]++,u=""):u+=n;","===n&&s++,"."===n&&e++}}),l[";"]>l[","]?i=";":(l[","],l[";"],i=","),r.decimalPoint||(e>s?r.decimalPoint=".":r.decimalPoint=",",t.decimalRegex=RegExp("^(-?[0-9]+)"+r.decimalPoint+"([0-9]+)$")),c=i}let e=0;for(p=h;p<=d;p++)"#"===m[p][0]?e++:function(e,t){let s=0,l="",u="",h="",d="",m=0,p=0;function f(t){l=e[t],u=e[t-1],h=e[t+1]}function g(e){o.length<p+1&&o.push([e]),o[p][o[p].length-1]!==e&&o[p].push(e)}function y(){if(n>m||m>a){++m,d="";return}r.columnTypes||(!isNaN(parseFloat(d))&&isFinite(d)?(d=parseFloat(d),g("number")):isNaN(Date.parse(d))?g("string"):(d=d.replace(/\//g,"-"),g("date"))),i.length<p+1&&i.push([]),i[p][t]=d,d="",++p,++m}if(e.trim().length&&"#"!==e.trim()[0]){for(;s<e.length;s++)if(f(s),'"'===l)for(f(++s);s<e.length&&('"'!==l||'"'===u||'"'===h);)('"'!==l||'"'===l&&'"'!==u)&&(d+=l),f(++s);else l===c?y():d+=l;y()}}(m[p],p-h-e);(!r.columnTypes||0===r.columnTypes.length)&&o.length&&o[0].length&&"date"===o[0][1]&&!r.dateFormat&&(r.dateFormat=function(e,i){let r="YYYY/mm/dd",n=[],a=[],o,l=[],u,h=0,d=!1,c;for((!i||i>e.length)&&(i=e.length);h<i;h++)if(void 0!==e[h]&&e[h]?.length)for(o=e[h].trim().replace(/\//g," ").replace(/\-/g," ").replace(/\./g," ").split(" "),l=["","",""],c=0;c<o.length;c++)c<l.length&&(o[c]=parseInt(o[c],10),o[c]&&(a[c]=!a[c]||a[c]<o[c]?o[c]:a[c],void 0!==n[c]?n[c]!==o[c]&&(n[c]=!1):n[c]=o[c],o[c]>31?o[c]<100?l[c]="YY":l[c]="YYYY":o[c]>12&&o[c]<=31?(l[c]="dd",d=!0):l[c].length||(l[c]="mm")));if(d){for(c=0;c<n.length;c++)!1!==n[c]?a[c]>12&&"YY"!==l[c]&&"YYYY"!==l[c]&&(l[c]="YY"):a[c]>12&&"mm"===l[c]&&(l[c]="dd");return(3===l.length&&"dd"===l[1]&&"dd"===l[2]&&(l[2]="YY"),u=l.join("/"),t.dateFormats[u])?u:((0,s.fireEvent)(t,"deduceDateFailed"),r)}return r}(i[0])),this.dataFound()}return i}parseTable(){let e=this.options,t=this.columns||[],s=e.startRow||0,i=e.endRow||Number.MAX_VALUE,r=e.startColumn||0,n=e.endColumn||Number.MAX_VALUE;if(e.table){let a=e.table;"string"==typeof a&&(a=C.getElementById(a)),[].forEach.call(a.getElementsByTagName("tr"),(e,a)=>{a>=s&&a<=i&&[].forEach.call(e.children,(e,i)=>{let o=t[i-r],l=1;if(("TD"===e.tagName||"TH"===e.tagName)&&i>=r&&i<=n)for(t[i-r]||(t[i-r]=[]),t[i-r][a-s]=e.innerHTML;a-s>=l&&void 0===o[a-s-l];)o[a-s-l]=null,l++})}),this.dataFound()}return t}fetchLiveData(){let e=this,t=this.chart,i=this.options,r=i.enablePolling,a=(0,s.merge)(i),o=0,l=1e3*(i.dataRefreshRate||2);return!!T(i)&&(l=Math.max(l,1e3),delete i.csvURL,delete i.rowsURL,delete i.columnsURL,!function i(u){function h(a,h,d){if(!a||!/^(http|\/|\.\/|\.\.\/)/.test(a))return a&&(0,s.error)(`Invalid URL: ${a}`,!1,t),!1;function c(){r&&t.liveDataURL===a&&(e.liveDataTimeout=setTimeout(i,l))}return u&&((0,s.internalClearTimeout)(e.liveDataTimeout),t.liveDataURL=a),n({url:a,dataType:d||"json",success:function(e){t?.series&&h(e),c()},error:function(e,i){if(++o<3&&c(),t.options)return(0,s.error)(`Request failed - ${e.status}
|
|
14
|
+
`+("string"==typeof i?i:i.message),!1,t)}}),!0}h(a.csvURL,function(e){t.update({data:{csv:e}})},"text")||h(a.rowsURL,function(e){t.update({data:{rows:e}})})||h(a.columnsURL,function(e){t.update({data:{columns:e}})})}(!0),T(i))}parseGoogleSpreadsheet(){let e=this,t=this.options,i=t.googleSpreadsheetKey,r=this.chart,a=Math.max(1e3*(t.dataRefreshRate||2),4e3);return i&&(delete t.googleSpreadsheetKey,!function o(l){n({url:["https://sheets.googleapis.com/v4/spreadsheets",i,"values",(()=>{if(t.googleSpreadsheetRange)return t.googleSpreadsheetRange;let e="ABCDEFGHIJKLMNOPQRSTUVWXYZ",i=(e.charAt(t.startColumn||0)||"A")+((t.startRow||0)+1),r=e.charAt(t.endColumn??-1)||"ZZ";return(0,s.defined)(t.endRow)&&(r+=t.endRow+1),`${i}:${r}`})(),"?alt=json&majorDimension=COLUMNS&valueRenderOption=UNFORMATTED_VALUE&dateTimeRenderOption=FORMATTED_STRING&key="+t.googleAPIKey].join("/"),dataType:"json",success:function(s){l(s),t.enablePolling&&(e.liveDataTimeout=setTimeout(function(){o(l)},a))},error:function(e,t){if(r.options)return(0,s.error)(`Request failed - ${e.status}
|
|
15
|
+
`+("string"==typeof t?t:t.message),!1,r)}})}(function(t){let s=t.values;if(!s||0===s.length)return!1;let i=s.reduce((e,t)=>Math.max(e,t.length),0);s.forEach(e=>{for(let t=0;t<i;t++)void 0===e[t]&&(e[t]=null)}),r?.series?r.update({data:{columns:s}}):(e.columns=s,e.dataFound())})),!1}trim(e,t){return"string"==typeof e&&(e=e.replace(/^\s+|\s+$/g,""),t&&/[\d\s]+/.test(e)&&(e=e.replace(/\s/g,"")),this.decimalRegex&&(e=e.replace(this.decimalRegex,"$1.$2"))),e}parseTypes(){let e=this.columns||[],t=e.length;for(;t--;)this.parseColumn(e[t],t)}parseColumn(e,t){let i=this.rawColumns,r=this.columns=this.columns||[],n=this.firstRowAsNames,a=this.valueCount?.xColumns.indexOf(t)!==-1,o=[],l=this.chartOptions,u=(this.options.columnTypes||[])[t],h=a&&l?.xAxis&&"category"===(0,s.splat)(l.xAxis)[0].type||"string"===u,d=(0,s.defined)(e.name),c=e.length,m,p,f,g,y,x,v;for(i[t]||(i[t]=[]);c--;)m=o[c]||e[c],f=this.trim(m),p=parseFloat(g=this.trim(m,!0)),void 0===i[t][c]&&(i[t][c]=f),h||0===c&&n&&!d?e[c]=""+f:+g===p?(e[c]=p,p>31536e6&&"float"!==u?e.isDatetime=!0:e.isNumeric=!0,void 0!==e[c+1]&&(v=p>e[c+1])):(f?.length&&(y=this.parseDate(m)),a&&(0,s.isNumber)(y)&&"float"!==u?(o[c]=m,e[c]=y,e.isDatetime=!0,void 0!==e[c+1]&&((x=y>e[c+1])!==v&&void 0!==v&&this.alternativeFormat&&(this.dateFormat=this.alternativeFormat,c=e.length,this.alternativeFormat=this.dateFormats[this.dateFormat].alternative),v=x)):(e[c]=""===f?null:f,0!==c&&(e.isDatetime||e.isNumeric)&&(e.mixed=!0)));a&&e.mixed&&(r[t]=i[t])}parseDate(e){let t=this.options.parseDate,s,i,r,n=this.options.dateFormat||this.dateFormat,a;if(t)s=t(e);else if(!1===t)s=e;else if("string"==typeof e){if(n)(r=this.dateFormats[n])||(r=this.dateFormats["YYYY/mm/dd"]),(a=e.match(r.regex))&&(s=r.parser(a));else for(i in this.dateFormats)if(r=this.dateFormats[i],a=e.match(r.regex)){this.dateFormat=n=i,this.alternativeFormat=r.alternative,s=r.parser(a);break}a||(s=new(v())().parse(e))}return s}getData(){if(this.columns)return this.rowsToColumns(this.columns)?.slice(1)}getDataTable(){return new m({columns:Object.values(this.columns||[]).reduce((e,t)=>{let s=t.slice(),i=s.shift();return("string"==typeof i||"number"==typeof i)&&(e[i]=s),e},{})})}parsed(){if(this.options.parsed)return this.options.parsed.call(this,this.columns,this)}complete(){let e=this.columns=this.columns||[],t=this.options,i=[],r="linear",n,a,o,l,u,h,d,c,m,p;if([].length=e.length,t.complete||t.afterComplete){var f,g;let y,x;if(this.firstRowAsNames)for(o=0;o<e.length;o++){let t=e[o];(0,s.defined)(t.name)||(t.name=(t.shift()??"").toString())}for(n=[],f=e?.length||0,g=this.valueCount.seriesBuilders,y=Array(f).fill(!0),x=[],g.forEach(e=>{e.getReferencedColumnIndexes().forEach(e=>{y[e]=!1})}),y.forEach((e,t)=>{e&&x.push(t)}),h=0;h<this.valueCount.seriesBuilders.length;h++)(c=this.valueCount.seriesBuilders[h]).populateColumns(x)&&i.push(c);for(;x.length>0;){for((c=new b).addColumnReader(0,"x"),-1!==(p=x.indexOf(0))&&x.splice(p,1),o=0;o<this.valueCount.global;o++)c.addColumnReader(void 0,this.valueCount.globalPointArrayMap[o]);c.populateColumns(x)&&i.push(c)}if(i.length>0&&i[0].readers.length>0&&void 0!==(m=e?.[i[0].readers[0].columnIndex??-1])&&(m.isDatetime?r="datetime":m.isNumeric||(r="category")),"category"===r)for(h=0;h<i.length;h++)for(c=i[h],u=0;u<c.readers.length;u++)"x"===c.readers[u].configName&&(c.readers[u].configName="name");for(h=0;h<i.length;h++){for(c=i[h],a=[],l=0;l<e[0].length;l++)a[l]=c.read(e,l);n[h]={data:a,pointStart:a[0]&&(c.pointIsArray?a[0]?.[0]:a[0]?.x)||void 0},c.name&&(n[h].name=c.name),"category"===r&&(n[h].turboThreshold=0,n[h].pointStart=0)}d={series:n},"linear"!==r||this.xAxisOptions&&this.xAxisOptions.type!==r?(this.xAxisOptions={type:r},"category"===r&&(this.xAxisOptions.uniqueNames=!1)):r=this.xAxisOptions=void 0,this.chart||(0,s.merge)(!0,d,{xAxis:this.xAxisOptions||{}}),t.complete?.(d),t.afterComplete?.(this,d)}}xAxisUpdateHandler(e){let t=this.xAxisOptions;t&&(!e.options.type&&t.type&&(e.type=t.type),e.options.uniqueNames||!1!==t.uniqueNames||(e.uniqueNames=t.uniqueNames))}update(e,t){let i=this.chart,r=i.options;e&&(e.afterComplete=function(e,s){if(!s)return;let r=i.xAxis[0],n=e.xAxisOptions;n&&r&&(r.type!==n.type&&!r.options.type||r.uniqueNames&&!1===n.uniqueNames&&void 0===r.options.uniqueNames)?r.update({},!1):(s?.series||[]).forEach(function(e){delete e.pointStart}),i.update(s,t,!0)},(0,s.merge)(!0,r.data,e),r.data?.googleSpreadsheetKey&&!e.columns&&delete r.data.columns,this.init(r.data||{},r))}}(0,s.addEvent)(l(),"afterSetType",function(){this.isXAxis&&(!this.chart.xAxis.length||this.chart.xAxis[0]===this)&&this.chart.data?.xAxisUpdateHandler(this)},{order:0}),(0,s.addEvent)(h(),"init",function(e){let t=this,i=e.args[1],r=(0,s.getOptions)().data,n=e.args[0]||{};if((r||n&&n.data)&&!t.hasDataDef){t.hasDataDef=!0;let a=(0,s.merge)(r,n.data);t.data=new w((0,s.extend)(a,{afterComplete:function(e,r){let a,o;if(Object.hasOwnProperty.call(n,"series"))if("object"==typeof n.series)for(a=Math.max(n.series.length,r?.series?.length??0);a--;)o=n.series[a]||{},n.series[a]=(0,s.merge)(o,r?.series?.[a]??{});else delete n.series;n=(0,s.merge)(r,n),t.data=e,t.init(n,i)}}),n,t),e.preventDefault()}});class b{constructor(){this.readers=[],this.pointIsArray=!0}populateColumns(e){let t=!0;return this.readers.forEach(t=>{void 0===t.columnIndex&&(t.columnIndex=e.shift())}),this.readers.forEach(e=>{void 0===e.columnIndex&&(t=!1)}),t}read(e,t){let s=this.pointIsArray,i=s?[]:{};if(this.readers.forEach(r=>{let n=e[r.columnIndex][t];s?i.push(n):r.configName.indexOf(".")>0?f().prototype.setNestedProperty(i,n,r.configName):i[r.configName]=n}),void 0===this.name&&this.readers.length>=2){let t=[];this.readers.forEach(function(e){("x"===e.configName||"name"===e.configName||"y"===e.configName)&&void 0!==e.columnIndex&&t.push(e.columnIndex)}),t.length>=2&&(t.shift(),t.sort(function(e,t){return e-t})),this.name=e[t.shift()??0].name}return i}addColumnReader(e,t){this.readers.push({columnIndex:e,configName:t}),"x"!==t&&"y"!==t&&void 0!==t&&(this.pointIsArray=!1)}getReferencedColumnIndexes(){let e,t,s=[];for(e=0;e<this.readers.length;e+=1)void 0!==(t=this.readers[e]).columnIndex&&s.push(t.columnIndex);return s}hasReader(e){let t;for(t=0;t<this.readers.length;t+=1)if(this.readers[t].configName===e)return!0}}let A=i();A.Data=A.Data||w,A.HttpUtilities=A.HttpUtilities||a,A.ajax=A.HttpUtilities.ajax,A.data=A.Data.data,A.getJSON=A.HttpUtilities.getJSON,A.post=A.HttpUtilities.post;let N=i();export{N as default};
|