highcharts 12.2.0 → 12.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1253) hide show
  1. package/bower.json +1 -1
  2. package/css/annotations/popup.css +86 -45
  3. package/css/highcharts.css +40 -30
  4. package/css/stocktools/gui.css +28 -11
  5. package/es-modules/Accessibility/Components/InfoRegionsComponent.js +3 -3
  6. package/es-modules/Accessibility/Components/LegendComponent.js +10 -1
  7. package/es-modules/Accessibility/Components/MenuComponent.js +23 -22
  8. package/es-modules/Accessibility/HighContrastMode.js +0 -5
  9. package/es-modules/Core/Axis/AxisDefaults.js +5 -0
  10. package/es-modules/Core/Axis/OrdinalAxis.js +19 -11
  11. package/es-modules/Core/Axis/PlotLineOrBand/PlotLineOrBand.js +14 -1
  12. package/es-modules/Core/Axis/RadialAxis.js +3 -4
  13. package/es-modules/Core/Axis/Tick.js +1 -1
  14. package/es-modules/Core/Axis/WaterfallAxis.js +4 -4
  15. package/es-modules/Core/Chart/Chart.js +31 -25
  16. package/es-modules/Core/Chart/ChartDefaults.js +13 -0
  17. package/es-modules/Core/Chart/GanttChart.js +4 -2
  18. package/es-modules/Core/Chart/StockChart.js +1 -1
  19. package/es-modules/Core/Color/Color.js +4 -8
  20. package/es-modules/Core/Defaults.js +4 -0
  21. package/es-modules/Core/Globals.js +1 -1
  22. package/es-modules/Core/HttpUtilities.js +45 -38
  23. package/es-modules/Core/Pointer.js +3 -4
  24. package/es-modules/Core/Renderer/HTML/AST.js +14 -14
  25. package/es-modules/Core/Renderer/HTML/HTMLElement.js +6 -2
  26. package/es-modules/Core/Renderer/SVG/SVGRenderer.js +4 -1
  27. package/es-modules/Core/Series/DataLabel.js +4 -2
  28. package/es-modules/Core/Series/Series.js +16 -6
  29. package/es-modules/Core/Series/SeriesDefaults.js +1 -3
  30. package/es-modules/Core/Templating.js +6 -5
  31. package/es-modules/Core/Tooltip.js +3 -1
  32. package/es-modules/Data/Connectors/CSVConnector.js +32 -15
  33. package/es-modules/Data/Connectors/DataConnector.js +107 -12
  34. package/es-modules/Data/Connectors/GoogleSheetsConnector.js +29 -17
  35. package/es-modules/Data/Connectors/HTMLTableConnector.js +3 -3
  36. package/es-modules/Data/Connectors/JSONConnector.js +37 -16
  37. package/es-modules/Data/Converters/HTMLTableConverter.js +1 -1
  38. package/es-modules/Data/DataPool.js +15 -4
  39. package/es-modules/Extensions/Annotations/Annotation.js +10 -7
  40. package/es-modules/Extensions/Annotations/AnnotationChart.js +7 -3
  41. package/es-modules/Extensions/Annotations/AnnotationDefaults.js +38 -12
  42. package/es-modules/Extensions/Annotations/Controllables/ControllableLabel.js +10 -3
  43. package/es-modules/Extensions/Annotations/NavigationBindingsDefaults.js +1 -1
  44. package/es-modules/Extensions/Annotations/Popup/PopupAnnotations.js +10 -4
  45. package/es-modules/Extensions/Annotations/Popup/PopupComposition.js +1 -1
  46. package/es-modules/Extensions/Annotations/Types/BasicAnnotation.js +0 -3
  47. package/es-modules/Extensions/Annotations/Types/CrookedLine.js +97 -94
  48. package/es-modules/Extensions/Annotations/Types/ElliottWave.js +43 -36
  49. package/es-modules/Extensions/Annotations/Types/Fibonacci.js +86 -82
  50. package/es-modules/Extensions/Annotations/Types/FibonacciTimeZones.js +74 -71
  51. package/es-modules/Extensions/Annotations/Types/InfinityLine.js +17 -3
  52. package/es-modules/Extensions/Annotations/Types/Measure.js +229 -226
  53. package/es-modules/Extensions/Annotations/Types/Pitchfork.js +39 -40
  54. package/es-modules/Extensions/Annotations/Types/TimeCycles.js +56 -52
  55. package/es-modules/Extensions/Annotations/Types/Tunnel.js +80 -76
  56. package/es-modules/Extensions/Annotations/Types/VerticalLine.js +57 -53
  57. package/es-modules/Extensions/Boost/BoostSeries.js +22 -3
  58. package/es-modules/Extensions/DownloadURL.js +41 -8
  59. package/es-modules/Extensions/ExportData/ExportData.js +876 -780
  60. package/es-modules/Extensions/ExportData/ExportDataDefaults.js +67 -13
  61. package/es-modules/Extensions/Exporting/Exporting.js +1091 -546
  62. package/es-modules/Extensions/Exporting/ExportingDefaults.js +52 -36
  63. package/es-modules/Extensions/Exporting/Fullscreen.js +2 -2
  64. package/es-modules/Extensions/NonCartesianSeriesZoom/NonCartesianSeriesZoom.js +311 -0
  65. package/es-modules/Extensions/OfflineExporting/OfflineExporting.js +254 -575
  66. package/es-modules/Extensions/OfflineExporting/OfflineExportingDefaults.js +9 -38
  67. package/es-modules/Extensions/Pane/Pane.js +1 -1
  68. package/es-modules/Extensions/Pane/PaneDefaults.js +9 -1
  69. package/es-modules/Extensions/Themes/Adaptive.js +1009 -0
  70. package/es-modules/Maps/MapNavigation.js +1 -1
  71. package/es-modules/Series/Bubble/BubblePoint.js +2 -2
  72. package/es-modules/Series/Column/ColumnSeriesDefaults.js +1 -2
  73. package/es-modules/Series/DragNodesComposition.js +4 -0
  74. package/es-modules/Series/Flags/FlagsSeriesDefaults.js +2 -0
  75. package/es-modules/Series/GraphLayoutComposition.js +2 -1
  76. package/es-modules/Series/Heatmap/HeatmapSeriesDefaults.js +1 -2
  77. package/es-modules/Series/Item/ItemSeries.js +1 -1
  78. package/es-modules/Series/PackedBubble/PackedBubblePoint.js +5 -0
  79. package/es-modules/Series/Pie/PieSeriesDefaults.js +1 -2
  80. package/es-modules/Series/PolarComposition.js +1 -1
  81. package/es-modules/Series/SolidGauge/SolidGaugeSeries.js +7 -2
  82. package/es-modules/Series/Treegraph/TreegraphSeries.js +3 -1
  83. package/es-modules/Series/Variwide/VariwideSeries.js +8 -1
  84. package/es-modules/Series/Waterfall/WaterfallSeries.js +6 -8
  85. package/es-modules/Series/Wordcloud/WordcloudSeries.js +87 -10
  86. package/es-modules/Shared/BaseForm.js +6 -3
  87. package/es-modules/Shared/TimeBase.js +5 -1
  88. package/es-modules/Stock/Navigator/NavigatorComposition.js +2 -2
  89. package/es-modules/Stock/Scrollbar/Scrollbar.js +5 -7
  90. package/es-modules/Stock/StockTools/StockToolbar.js +1 -1
  91. package/es-modules/Stock/StockTools/StockToolsBindings.js +34 -113
  92. package/es-modules/masters/highcharts-3d.src.js +3 -1
  93. package/es-modules/masters/highcharts-gantt.src.js +1 -1
  94. package/es-modules/masters/highcharts-more.src.js +1 -1
  95. package/es-modules/masters/highcharts.src.js +1 -1
  96. package/es-modules/masters/highmaps.src.js +1 -1
  97. package/es-modules/masters/highstock.src.js +1 -1
  98. package/es-modules/masters/i18n/fr-FR.src.d.ts +1 -1
  99. package/es-modules/masters/i18n/fr-FR.src.js +1 -1
  100. package/es-modules/masters/i18n/nb-NO.src.d.ts +1 -1
  101. package/es-modules/masters/i18n/nb-NO.src.js +1 -1
  102. package/es-modules/masters/i18n/zh-CN.src.d.ts +1 -1
  103. package/es-modules/masters/i18n/zh-CN.src.js +1 -1
  104. package/es-modules/masters/indicators/acceleration-bands.src.js +1 -1
  105. package/es-modules/masters/indicators/accumulation-distribution.src.js +1 -1
  106. package/es-modules/masters/indicators/ao.src.js +1 -1
  107. package/es-modules/masters/indicators/apo.src.js +1 -1
  108. package/es-modules/masters/indicators/aroon-oscillator.src.js +1 -1
  109. package/es-modules/masters/indicators/aroon.src.js +1 -1
  110. package/es-modules/masters/indicators/atr.src.js +1 -1
  111. package/es-modules/masters/indicators/bollinger-bands.src.js +1 -1
  112. package/es-modules/masters/indicators/cci.src.js +1 -1
  113. package/es-modules/masters/indicators/chaikin.src.js +1 -1
  114. package/es-modules/masters/indicators/cmf.src.js +1 -1
  115. package/es-modules/masters/indicators/cmo.src.js +1 -1
  116. package/es-modules/masters/indicators/dema.src.js +1 -1
  117. package/es-modules/masters/indicators/disparity-index.src.js +1 -1
  118. package/es-modules/masters/indicators/dmi.src.js +1 -1
  119. package/es-modules/masters/indicators/dpo.src.js +1 -1
  120. package/es-modules/masters/indicators/ichimoku-kinko-hyo.src.js +1 -1
  121. package/es-modules/masters/indicators/indicators-all.src.js +1 -1
  122. package/es-modules/masters/indicators/indicators.src.js +1 -1
  123. package/es-modules/masters/indicators/keltner-channels.src.js +1 -1
  124. package/es-modules/masters/indicators/klinger.src.js +1 -1
  125. package/es-modules/masters/indicators/macd.src.js +1 -1
  126. package/es-modules/masters/indicators/mfi.src.js +1 -1
  127. package/es-modules/masters/indicators/momentum.src.js +1 -1
  128. package/es-modules/masters/indicators/natr.src.js +1 -1
  129. package/es-modules/masters/indicators/obv.src.js +1 -1
  130. package/es-modules/masters/indicators/pivot-points.src.js +1 -1
  131. package/es-modules/masters/indicators/ppo.src.js +1 -1
  132. package/es-modules/masters/indicators/price-channel.src.js +1 -1
  133. package/es-modules/masters/indicators/price-envelopes.src.js +1 -1
  134. package/es-modules/masters/indicators/psar.src.js +1 -1
  135. package/es-modules/masters/indicators/regressions.src.js +1 -1
  136. package/es-modules/masters/indicators/roc.src.js +1 -1
  137. package/es-modules/masters/indicators/rsi.src.js +1 -1
  138. package/es-modules/masters/indicators/slow-stochastic.src.js +1 -1
  139. package/es-modules/masters/indicators/stochastic.src.js +1 -1
  140. package/es-modules/masters/indicators/supertrend.src.js +1 -1
  141. package/es-modules/masters/indicators/tema.src.js +1 -1
  142. package/es-modules/masters/indicators/trendline.src.js +1 -1
  143. package/es-modules/masters/indicators/trix.src.js +1 -1
  144. package/es-modules/masters/indicators/volume-by-price.src.js +1 -1
  145. package/es-modules/masters/indicators/vwap.src.js +1 -1
  146. package/es-modules/masters/indicators/williams-r.src.js +1 -1
  147. package/es-modules/masters/indicators/wma.src.js +1 -1
  148. package/es-modules/masters/indicators/zigzag.src.js +1 -1
  149. package/es-modules/masters/modules/accessibility.src.js +1 -1
  150. package/es-modules/masters/modules/annotations-advanced.src.js +1 -1
  151. package/es-modules/masters/modules/annotations.src.js +1 -1
  152. package/es-modules/masters/modules/arc-diagram.src.js +1 -1
  153. package/es-modules/masters/modules/arrow-symbols.src.js +1 -1
  154. package/es-modules/masters/modules/boost-canvas.src.js +1 -1
  155. package/es-modules/masters/modules/boost.src.js +1 -1
  156. package/es-modules/masters/modules/broken-axis.src.js +1 -1
  157. package/es-modules/masters/modules/bullet.src.js +1 -1
  158. package/es-modules/masters/modules/coloraxis.src.js +1 -1
  159. package/es-modules/masters/modules/current-date-indicator.src.js +1 -1
  160. package/es-modules/masters/modules/cylinder.src.js +1 -1
  161. package/es-modules/masters/modules/data-tools.src.js +1 -1
  162. package/es-modules/masters/modules/data.src.js +1 -1
  163. package/es-modules/masters/modules/datagrouping.src.js +1 -1
  164. package/es-modules/masters/modules/debugger.src.js +1 -1
  165. package/es-modules/masters/modules/dependency-wheel.src.js +1 -1
  166. package/es-modules/masters/modules/dotplot.src.js +1 -1
  167. package/es-modules/masters/modules/drag-panes.src.js +1 -1
  168. package/es-modules/masters/modules/draggable-points.src.js +1 -1
  169. package/es-modules/masters/modules/drilldown.src.js +3 -1
  170. package/es-modules/masters/modules/dumbbell.src.js +1 -1
  171. package/es-modules/masters/modules/export-data.src.js +3 -3
  172. package/es-modules/masters/modules/exporting.src.js +5 -1
  173. package/es-modules/masters/modules/flowmap.src.js +1 -1
  174. package/es-modules/masters/modules/full-screen.src.js +1 -1
  175. package/es-modules/masters/modules/funnel.src.js +1 -1
  176. package/es-modules/masters/modules/funnel3d.src.js +1 -1
  177. package/es-modules/masters/modules/gantt.src.js +1 -1
  178. package/es-modules/masters/modules/geoheatmap.src.js +1 -1
  179. package/es-modules/masters/modules/grid-axis.src.js +1 -1
  180. package/es-modules/masters/modules/heatmap.src.js +1 -1
  181. package/es-modules/masters/modules/heikinashi.src.js +1 -1
  182. package/es-modules/masters/modules/histogram-bellcurve.src.js +1 -1
  183. package/es-modules/masters/modules/hollowcandlestick.src.js +1 -1
  184. package/es-modules/masters/modules/item-series.src.js +1 -1
  185. package/es-modules/masters/modules/lollipop.src.js +1 -1
  186. package/es-modules/masters/modules/map.src.js +1 -1
  187. package/es-modules/masters/modules/marker-clusters.src.js +1 -1
  188. package/es-modules/masters/modules/mouse-wheel-zoom.src.js +1 -1
  189. package/es-modules/masters/modules/navigator.src.js +1 -1
  190. package/es-modules/masters/modules/networkgraph.src.js +1 -1
  191. package/es-modules/masters/modules/no-data-to-display.src.js +1 -1
  192. package/es-modules/masters/modules/non-cartesian-zoom.src.d.ts +2 -0
  193. package/es-modules/masters/modules/non-cartesian-zoom.src.js +18 -0
  194. package/es-modules/masters/modules/offline-exporting.src.js +2 -2
  195. package/es-modules/masters/modules/organization.src.js +1 -1
  196. package/es-modules/masters/modules/parallel-coordinates.src.js +1 -1
  197. package/es-modules/masters/modules/pareto.src.js +1 -1
  198. package/es-modules/masters/modules/pathfinder.src.js +1 -1
  199. package/es-modules/masters/modules/pattern-fill.src.js +1 -1
  200. package/es-modules/masters/modules/pictorial.src.js +1 -1
  201. package/es-modules/masters/modules/pointandfigure.src.js +1 -1
  202. package/es-modules/masters/modules/price-indicator.src.js +1 -1
  203. package/es-modules/masters/modules/pyramid3d.src.js +1 -1
  204. package/es-modules/masters/modules/renko.src.js +1 -1
  205. package/es-modules/masters/modules/sankey.src.js +1 -1
  206. package/es-modules/masters/modules/series-label.src.js +1 -1
  207. package/es-modules/masters/modules/series-on-point.src.js +1 -1
  208. package/es-modules/masters/modules/solid-gauge.src.js +1 -1
  209. package/es-modules/masters/modules/sonification.src.js +1 -1
  210. package/es-modules/masters/modules/static-scale.src.js +1 -1
  211. package/es-modules/masters/modules/stock-tools.src.js +1 -1
  212. package/es-modules/masters/modules/stock.src.js +1 -1
  213. package/es-modules/masters/modules/streamgraph.src.js +1 -1
  214. package/es-modules/masters/modules/sunburst.src.js +1 -1
  215. package/es-modules/masters/modules/textpath.src.js +1 -1
  216. package/es-modules/masters/modules/tiledwebmap.src.js +1 -1
  217. package/es-modules/masters/modules/tilemap.src.js +1 -1
  218. package/es-modules/masters/modules/timeline.src.js +1 -1
  219. package/es-modules/masters/modules/treegraph.src.js +1 -1
  220. package/es-modules/masters/modules/treegrid.src.js +1 -1
  221. package/es-modules/masters/modules/treemap.src.js +1 -1
  222. package/es-modules/masters/modules/variable-pie.src.js +1 -1
  223. package/es-modules/masters/modules/variwide.src.js +1 -1
  224. package/es-modules/masters/modules/vector.src.js +1 -1
  225. package/es-modules/masters/modules/venn.src.js +1 -1
  226. package/es-modules/masters/modules/windbarb.src.js +1 -1
  227. package/es-modules/masters/modules/wordcloud.src.js +1 -1
  228. package/es-modules/masters/modules/xrange.src.js +1 -1
  229. package/es-modules/masters/themes/adaptive.src.d.ts +2 -0
  230. package/es-modules/masters/themes/adaptive.src.js +15 -0
  231. package/es-modules/masters/themes/avocado.src.js +1 -1
  232. package/es-modules/masters/themes/brand-dark.src.js +1 -1
  233. package/es-modules/masters/themes/brand-light.src.js +1 -1
  234. package/es-modules/masters/themes/dark-blue.src.js +1 -1
  235. package/es-modules/masters/themes/dark-green.src.js +1 -1
  236. package/es-modules/masters/themes/dark-unica.src.js +1 -1
  237. package/es-modules/masters/themes/gray.src.js +1 -1
  238. package/es-modules/masters/themes/grid-light.src.js +1 -1
  239. package/es-modules/masters/themes/grid.src.js +1 -1
  240. package/es-modules/masters/themes/high-contrast-dark.src.js +1 -1
  241. package/es-modules/masters/themes/high-contrast-light.src.js +1 -1
  242. package/es-modules/masters/themes/sand-signika.src.js +1 -1
  243. package/es-modules/masters/themes/skies.src.js +1 -1
  244. package/es-modules/masters/themes/sunset.src.js +1 -1
  245. package/es-modules/tsconfig.tsbuildinfo +1 -1
  246. package/esm/highcharts-3d.js +11 -1
  247. package/esm/highcharts-3d.src.js +3 -1
  248. package/esm/highcharts-gantt.js +8 -1
  249. package/esm/highcharts-gantt.src.js +1 -1
  250. package/esm/highcharts-more.js +9 -1
  251. package/esm/highcharts-more.src.js +44 -29
  252. package/esm/highcharts.js +9 -2
  253. package/esm/highcharts.src.js +138 -80
  254. package/esm/highmaps.js +8 -1
  255. package/esm/highmaps.src.js +1 -1
  256. package/esm/highstock.js +8 -1
  257. package/esm/highstock.src.js +1 -1
  258. package/esm/i18n/fr-FR.js +13 -1
  259. package/esm/i18n/fr-FR.src.js +1 -1
  260. package/esm/i18n/nb-NO.js +13 -1
  261. package/esm/i18n/nb-NO.src.js +1 -1
  262. package/esm/i18n/zh-CN.js +13 -1
  263. package/esm/i18n/zh-CN.src.js +1 -1
  264. package/esm/indicators/acceleration-bands.js +12 -1
  265. package/esm/indicators/acceleration-bands.src.js +1 -1
  266. package/esm/indicators/accumulation-distribution.js +12 -1
  267. package/esm/indicators/accumulation-distribution.src.js +1 -1
  268. package/esm/indicators/ao.js +12 -1
  269. package/esm/indicators/ao.src.js +1 -1
  270. package/esm/indicators/apo.js +12 -1
  271. package/esm/indicators/apo.src.js +1 -1
  272. package/esm/indicators/aroon-oscillator.js +12 -1
  273. package/esm/indicators/aroon-oscillator.src.js +1 -1
  274. package/esm/indicators/aroon.js +12 -1
  275. package/esm/indicators/aroon.src.js +1 -1
  276. package/esm/indicators/atr.js +12 -1
  277. package/esm/indicators/atr.src.js +1 -1
  278. package/esm/indicators/bollinger-bands.js +12 -1
  279. package/esm/indicators/bollinger-bands.src.js +1 -1
  280. package/esm/indicators/cci.js +12 -1
  281. package/esm/indicators/cci.src.js +1 -1
  282. package/esm/indicators/chaikin.js +12 -1
  283. package/esm/indicators/chaikin.src.js +1 -1
  284. package/esm/indicators/cmf.js +11 -1
  285. package/esm/indicators/cmf.src.js +1 -1
  286. package/esm/indicators/cmo.js +12 -1
  287. package/esm/indicators/cmo.src.js +1 -1
  288. package/esm/indicators/dema.js +12 -1
  289. package/esm/indicators/dema.src.js +1 -1
  290. package/esm/indicators/disparity-index.js +12 -1
  291. package/esm/indicators/disparity-index.src.js +1 -1
  292. package/esm/indicators/dmi.js +12 -1
  293. package/esm/indicators/dmi.src.js +1 -1
  294. package/esm/indicators/dpo.js +12 -1
  295. package/esm/indicators/dpo.src.js +1 -1
  296. package/esm/indicators/ichimoku-kinko-hyo.js +12 -1
  297. package/esm/indicators/ichimoku-kinko-hyo.src.js +1 -1
  298. package/esm/indicators/indicators-all.js +12 -1
  299. package/esm/indicators/indicators-all.src.js +1 -1
  300. package/esm/indicators/indicators.js +12 -1
  301. package/esm/indicators/indicators.src.js +1 -1
  302. package/esm/indicators/keltner-channels.js +12 -1
  303. package/esm/indicators/keltner-channels.src.js +1 -1
  304. package/esm/indicators/klinger.js +12 -1
  305. package/esm/indicators/klinger.src.js +1 -1
  306. package/esm/indicators/macd.js +12 -1
  307. package/esm/indicators/macd.src.js +1 -1
  308. package/esm/indicators/mfi.js +12 -1
  309. package/esm/indicators/mfi.src.js +1 -1
  310. package/esm/indicators/momentum.js +12 -1
  311. package/esm/indicators/momentum.src.js +1 -1
  312. package/esm/indicators/natr.js +12 -1
  313. package/esm/indicators/natr.src.js +1 -1
  314. package/esm/indicators/obv.js +12 -1
  315. package/esm/indicators/obv.src.js +1 -1
  316. package/esm/indicators/pivot-points.js +12 -1
  317. package/esm/indicators/pivot-points.src.js +1 -1
  318. package/esm/indicators/ppo.js +12 -1
  319. package/esm/indicators/ppo.src.js +1 -1
  320. package/esm/indicators/price-channel.js +12 -1
  321. package/esm/indicators/price-channel.src.js +1 -1
  322. package/esm/indicators/price-envelopes.js +12 -1
  323. package/esm/indicators/price-envelopes.src.js +1 -1
  324. package/esm/indicators/psar.js +12 -1
  325. package/esm/indicators/psar.src.js +1 -1
  326. package/esm/indicators/regressions.js +12 -1
  327. package/esm/indicators/regressions.src.js +1 -1
  328. package/esm/indicators/roc.js +12 -1
  329. package/esm/indicators/roc.src.js +1 -1
  330. package/esm/indicators/rsi.js +12 -1
  331. package/esm/indicators/rsi.src.js +1 -1
  332. package/esm/indicators/slow-stochastic.js +12 -1
  333. package/esm/indicators/slow-stochastic.src.js +1 -1
  334. package/esm/indicators/stochastic.js +12 -1
  335. package/esm/indicators/stochastic.src.js +1 -1
  336. package/esm/indicators/supertrend.js +12 -1
  337. package/esm/indicators/supertrend.src.js +1 -1
  338. package/esm/indicators/tema.js +12 -1
  339. package/esm/indicators/tema.src.js +1 -1
  340. package/esm/indicators/trendline.js +12 -1
  341. package/esm/indicators/trendline.src.js +1 -1
  342. package/esm/indicators/trix.js +12 -1
  343. package/esm/indicators/trix.src.js +1 -1
  344. package/esm/indicators/volume-by-price.js +12 -1
  345. package/esm/indicators/volume-by-price.src.js +1 -1
  346. package/esm/indicators/vwap.js +12 -1
  347. package/esm/indicators/vwap.src.js +1 -1
  348. package/esm/indicators/williams-r.js +12 -1
  349. package/esm/indicators/williams-r.src.js +1 -1
  350. package/esm/indicators/wma.js +12 -1
  351. package/esm/indicators/wma.src.js +1 -1
  352. package/esm/indicators/zigzag.js +12 -1
  353. package/esm/indicators/zigzag.src.js +1 -1
  354. package/esm/modules/accessibility.js +12 -1
  355. package/esm/modules/accessibility.src.js +46 -43
  356. package/esm/modules/annotations-advanced.js +11 -1
  357. package/esm/modules/annotations-advanced.src.js +866 -775
  358. package/esm/modules/annotations.js +11 -1
  359. package/esm/modules/annotations.src.js +89 -40
  360. package/esm/modules/arc-diagram.js +11 -1
  361. package/esm/modules/arc-diagram.src.js +1 -1
  362. package/esm/modules/arrow-symbols.js +11 -1
  363. package/esm/modules/arrow-symbols.src.js +1 -1
  364. package/esm/modules/boost-canvas.js +12 -1
  365. package/esm/modules/boost-canvas.src.js +23 -4
  366. package/esm/modules/boost.js +13 -1
  367. package/esm/modules/boost.src.js +23 -4
  368. package/esm/modules/broken-axis.js +9 -1
  369. package/esm/modules/broken-axis.src.js +1 -1
  370. package/esm/modules/bullet.js +11 -1
  371. package/esm/modules/bullet.src.js +1 -1
  372. package/esm/modules/coloraxis.js +11 -1
  373. package/esm/modules/coloraxis.src.js +1 -1
  374. package/esm/modules/current-date-indicator.js +11 -1
  375. package/esm/modules/current-date-indicator.src.js +1 -1
  376. package/esm/modules/cylinder.js +12 -1
  377. package/esm/modules/cylinder.src.js +1 -1
  378. package/esm/modules/data-tools.js +11 -1
  379. package/esm/modules/data-tools.src.js +225 -69
  380. package/esm/modules/data.js +11 -1
  381. package/esm/modules/data.src.js +46 -39
  382. package/esm/modules/datagrouping.js +11 -1
  383. package/esm/modules/datagrouping.src.js +1 -1
  384. package/esm/modules/debugger.js +11 -1
  385. package/esm/modules/debugger.src.js +1 -1
  386. package/esm/modules/dependency-wheel.js +12 -1
  387. package/esm/modules/dependency-wheel.src.js +1 -1
  388. package/esm/modules/dotplot.js +11 -1
  389. package/esm/modules/dotplot.src.js +1 -1
  390. package/esm/modules/drag-panes.js +13 -1
  391. package/esm/modules/drag-panes.src.js +1 -1
  392. package/esm/modules/draggable-points.js +9 -1
  393. package/esm/modules/draggable-points.src.js +1 -1
  394. package/esm/modules/drilldown.js +13 -1
  395. package/esm/modules/drilldown.src.js +3 -1
  396. package/esm/modules/dumbbell.js +9 -1
  397. package/esm/modules/dumbbell.src.js +1 -1
  398. package/esm/modules/export-data.js +12 -1
  399. package/esm/modules/export-data.src.js +984 -798
  400. package/esm/modules/exporting.js +11 -1
  401. package/esm/modules/exporting.src.js +1373 -642
  402. package/esm/modules/flowmap.js +9 -1
  403. package/esm/modules/flowmap.src.js +1 -1
  404. package/esm/modules/full-screen.js +12 -1
  405. package/esm/modules/full-screen.src.js +3 -3
  406. package/esm/modules/funnel.js +11 -1
  407. package/esm/modules/funnel.src.js +1 -1
  408. package/esm/modules/funnel3d.js +13 -1
  409. package/esm/modules/funnel3d.src.js +1 -1
  410. package/esm/modules/gantt.js +11 -1
  411. package/esm/modules/gantt.src.js +33 -25
  412. package/esm/modules/geoheatmap.js +9 -1
  413. package/esm/modules/geoheatmap.src.js +1 -1
  414. package/esm/modules/grid-axis.js +11 -1
  415. package/esm/modules/grid-axis.src.js +1 -1
  416. package/esm/modules/heatmap.js +9 -1
  417. package/esm/modules/heatmap.src.js +2 -3
  418. package/esm/modules/heikinashi.js +12 -1
  419. package/esm/modules/heikinashi.src.js +1 -1
  420. package/esm/modules/histogram-bellcurve.js +10 -1
  421. package/esm/modules/histogram-bellcurve.src.js +1 -1
  422. package/esm/modules/hollowcandlestick.js +12 -1
  423. package/esm/modules/hollowcandlestick.src.js +1 -1
  424. package/esm/modules/item-series.js +11 -1
  425. package/esm/modules/item-series.src.js +3 -5
  426. package/esm/modules/lollipop.js +9 -1
  427. package/esm/modules/lollipop.src.js +1 -1
  428. package/esm/modules/map.js +11 -1
  429. package/esm/modules/map.src.js +5 -6
  430. package/esm/modules/marker-clusters.js +11 -1
  431. package/esm/modules/marker-clusters.src.js +1 -1
  432. package/esm/modules/mouse-wheel-zoom.js +11 -1
  433. package/esm/modules/mouse-wheel-zoom.src.js +1 -1
  434. package/esm/modules/navigator.js +11 -1
  435. package/esm/modules/navigator.src.js +10 -12
  436. package/esm/modules/networkgraph.js +11 -1
  437. package/esm/modules/networkgraph.src.js +7 -2
  438. package/esm/modules/no-data-to-display.js +12 -1
  439. package/esm/modules/no-data-to-display.src.js +1 -1
  440. package/esm/modules/non-cartesian-zoom.d.ts +2 -0
  441. package/esm/modules/non-cartesian-zoom.js +11 -0
  442. package/esm/modules/non-cartesian-zoom.src.d.ts +2 -0
  443. package/esm/modules/non-cartesian-zoom.src.js +374 -0
  444. package/esm/modules/offline-exporting.js +12 -1
  445. package/esm/modules/offline-exporting.src.js +334 -3360
  446. package/esm/modules/organization.js +11 -1
  447. package/esm/modules/organization.src.js +1 -1
  448. package/esm/modules/parallel-coordinates.js +11 -1
  449. package/esm/modules/parallel-coordinates.src.js +1 -1
  450. package/esm/modules/pareto.js +11 -1
  451. package/esm/modules/pareto.src.js +1 -1
  452. package/esm/modules/pathfinder.js +11 -1
  453. package/esm/modules/pathfinder.src.js +1 -1
  454. package/esm/modules/pattern-fill.js +12 -1
  455. package/esm/modules/pattern-fill.src.js +1 -1
  456. package/esm/modules/pictorial.js +11 -1
  457. package/esm/modules/pictorial.src.js +1 -1
  458. package/esm/modules/pointandfigure.js +12 -1
  459. package/esm/modules/pointandfigure.src.js +1 -1
  460. package/esm/modules/price-indicator.js +13 -1
  461. package/esm/modules/price-indicator.src.js +1 -1
  462. package/esm/modules/pyramid3d.js +14 -1
  463. package/esm/modules/pyramid3d.src.js +1 -1
  464. package/esm/modules/renko.js +12 -1
  465. package/esm/modules/renko.src.js +1 -1
  466. package/esm/modules/sankey.js +11 -1
  467. package/esm/modules/sankey.src.js +1 -1
  468. package/esm/modules/series-label.js +9 -1
  469. package/esm/modules/series-label.src.js +1 -1
  470. package/esm/modules/series-on-point.js +12 -1
  471. package/esm/modules/series-on-point.src.js +1 -1
  472. package/esm/modules/solid-gauge.js +12 -1
  473. package/esm/modules/solid-gauge.src.js +8 -3
  474. package/esm/modules/sonification.js +12 -1
  475. package/esm/modules/sonification.src.js +42 -9
  476. package/esm/modules/static-scale.js +11 -1
  477. package/esm/modules/static-scale.src.js +1 -1
  478. package/esm/modules/stock-tools.js +13 -1
  479. package/esm/modules/stock-tools.src.js +37 -116
  480. package/esm/modules/stock.js +11 -1
  481. package/esm/modules/stock.src.js +32 -24
  482. package/esm/modules/streamgraph.js +11 -1
  483. package/esm/modules/streamgraph.src.js +1 -1
  484. package/esm/modules/sunburst.js +10 -1
  485. package/esm/modules/sunburst.src.js +1 -1
  486. package/esm/modules/textpath.js +9 -1
  487. package/esm/modules/textpath.src.js +1 -1
  488. package/esm/modules/tiledwebmap.js +10 -2
  489. package/esm/modules/tiledwebmap.src.js +1 -1
  490. package/esm/modules/tilemap.js +12 -1
  491. package/esm/modules/tilemap.src.js +1 -1
  492. package/esm/modules/timeline.js +12 -1
  493. package/esm/modules/timeline.src.js +1 -1
  494. package/esm/modules/treegraph.js +11 -1
  495. package/esm/modules/treegraph.src.js +4 -2
  496. package/esm/modules/treegrid.js +11 -1
  497. package/esm/modules/treegrid.src.js +1 -1
  498. package/esm/modules/treemap.js +10 -1
  499. package/esm/modules/treemap.src.js +1 -1
  500. package/esm/modules/variable-pie.js +11 -1
  501. package/esm/modules/variable-pie.src.js +1 -1
  502. package/esm/modules/variwide.js +11 -1
  503. package/esm/modules/variwide.src.js +9 -2
  504. package/esm/modules/vector.js +11 -1
  505. package/esm/modules/vector.src.js +1 -1
  506. package/esm/modules/venn.js +10 -1
  507. package/esm/modules/venn.src.js +1 -1
  508. package/esm/modules/windbarb.js +11 -1
  509. package/esm/modules/windbarb.src.js +1 -1
  510. package/esm/modules/wordcloud.js +10 -1
  511. package/esm/modules/wordcloud.src.js +88 -11
  512. package/esm/modules/xrange.js +11 -1
  513. package/esm/modules/xrange.src.js +1 -1
  514. package/esm/standalone-navigator.js +9 -2
  515. package/esm/standalone-navigator.src.js +146 -90
  516. package/esm/themes/adaptive.d.ts +2 -0
  517. package/esm/themes/adaptive.js +130 -0
  518. package/esm/themes/adaptive.src.d.ts +2 -0
  519. package/esm/themes/adaptive.src.js +1069 -0
  520. package/esm/themes/avocado.js +9 -1
  521. package/esm/themes/avocado.src.js +1 -1
  522. package/esm/themes/brand-dark.js +9 -1
  523. package/esm/themes/brand-dark.src.js +1 -1
  524. package/esm/themes/brand-light.js +9 -1
  525. package/esm/themes/brand-light.src.js +1 -1
  526. package/esm/themes/dark-blue.js +9 -1
  527. package/esm/themes/dark-blue.src.js +1 -1
  528. package/esm/themes/dark-green.js +9 -1
  529. package/esm/themes/dark-green.src.js +1 -1
  530. package/esm/themes/dark-unica.js +9 -1
  531. package/esm/themes/dark-unica.src.js +1 -1
  532. package/esm/themes/gray.js +9 -1
  533. package/esm/themes/gray.src.js +1 -1
  534. package/esm/themes/grid-light.js +9 -1
  535. package/esm/themes/grid-light.src.js +1 -1
  536. package/esm/themes/grid.js +9 -1
  537. package/esm/themes/grid.src.js +1 -1
  538. package/esm/themes/high-contrast-dark.js +9 -1
  539. package/esm/themes/high-contrast-dark.src.js +1 -1
  540. package/esm/themes/high-contrast-light.js +9 -1
  541. package/esm/themes/high-contrast-light.src.js +1 -1
  542. package/esm/themes/sand-signika.js +9 -1
  543. package/esm/themes/sand-signika.src.js +1 -1
  544. package/esm/themes/skies.js +9 -1
  545. package/esm/themes/skies.src.js +1 -1
  546. package/esm/themes/sunset.js +9 -1
  547. package/esm/themes/sunset.src.js +1 -1
  548. package/highcharts-3d.d.ts +1 -9
  549. package/highcharts-3d.js +11 -1
  550. package/highcharts-3d.src.d.ts +1 -9
  551. package/highcharts-3d.src.js +3 -1
  552. package/highcharts-gantt.js +16 -2
  553. package/highcharts-gantt.src.js +173 -107
  554. package/highcharts-more.d.ts +1 -9
  555. package/highcharts-more.js +9 -1
  556. package/highcharts-more.src.d.ts +1 -9
  557. package/highcharts-more.src.js +44 -29
  558. package/highcharts.d.ts +4499 -1477
  559. package/highcharts.js +9 -2
  560. package/highcharts.src.d.ts +4499 -1477
  561. package/highcharts.src.js +138 -80
  562. package/highmaps.js +16 -2
  563. package/highmaps.src.js +145 -88
  564. package/highstock.js +16 -2
  565. package/highstock.src.js +172 -106
  566. package/i18n/fr-FR.js +13 -1
  567. package/i18n/fr-FR.src.js +8 -8
  568. package/i18n/nb-NO.js +13 -1
  569. package/i18n/nb-NO.src.js +8 -8
  570. package/i18n/zh-CN.js +13 -1
  571. package/i18n/zh-CN.src.js +8 -8
  572. package/indicators/acceleration-bands.d.ts +1 -9
  573. package/indicators/acceleration-bands.js +12 -1
  574. package/indicators/acceleration-bands.src.d.ts +1 -9
  575. package/indicators/acceleration-bands.src.js +1 -1
  576. package/indicators/accumulation-distribution.d.ts +1 -9
  577. package/indicators/accumulation-distribution.js +12 -1
  578. package/indicators/accumulation-distribution.src.d.ts +1 -9
  579. package/indicators/accumulation-distribution.src.js +1 -1
  580. package/indicators/ao.d.ts +1 -9
  581. package/indicators/ao.js +12 -1
  582. package/indicators/ao.src.d.ts +1 -9
  583. package/indicators/ao.src.js +1 -1
  584. package/indicators/apo.d.ts +1 -9
  585. package/indicators/apo.js +12 -1
  586. package/indicators/apo.src.d.ts +1 -9
  587. package/indicators/apo.src.js +1 -1
  588. package/indicators/aroon-oscillator.d.ts +1 -9
  589. package/indicators/aroon-oscillator.js +12 -1
  590. package/indicators/aroon-oscillator.src.d.ts +1 -9
  591. package/indicators/aroon-oscillator.src.js +1 -1
  592. package/indicators/aroon.d.ts +1 -9
  593. package/indicators/aroon.js +12 -1
  594. package/indicators/aroon.src.d.ts +1 -9
  595. package/indicators/aroon.src.js +1 -1
  596. package/indicators/atr.d.ts +1 -9
  597. package/indicators/atr.js +12 -1
  598. package/indicators/atr.src.d.ts +1 -9
  599. package/indicators/atr.src.js +1 -1
  600. package/indicators/bollinger-bands.d.ts +1 -9
  601. package/indicators/bollinger-bands.js +12 -1
  602. package/indicators/bollinger-bands.src.d.ts +1 -9
  603. package/indicators/bollinger-bands.src.js +1 -1
  604. package/indicators/cci.d.ts +1 -9
  605. package/indicators/cci.js +12 -1
  606. package/indicators/cci.src.d.ts +1 -9
  607. package/indicators/cci.src.js +1 -1
  608. package/indicators/chaikin.d.ts +1 -9
  609. package/indicators/chaikin.js +12 -1
  610. package/indicators/chaikin.src.d.ts +1 -9
  611. package/indicators/chaikin.src.js +1 -1
  612. package/indicators/cmf.d.ts +1 -9
  613. package/indicators/cmf.js +11 -1
  614. package/indicators/cmf.src.d.ts +1 -9
  615. package/indicators/cmf.src.js +1 -1
  616. package/indicators/cmo.d.ts +1 -9
  617. package/indicators/cmo.js +12 -1
  618. package/indicators/cmo.src.d.ts +1 -9
  619. package/indicators/cmo.src.js +1 -1
  620. package/indicators/dema.d.ts +1 -9
  621. package/indicators/dema.js +12 -1
  622. package/indicators/dema.src.d.ts +1 -9
  623. package/indicators/dema.src.js +1 -1
  624. package/indicators/disparity-index.d.ts +1 -9
  625. package/indicators/disparity-index.js +12 -1
  626. package/indicators/disparity-index.src.d.ts +1 -9
  627. package/indicators/disparity-index.src.js +1 -1
  628. package/indicators/dmi.d.ts +1 -9
  629. package/indicators/dmi.js +12 -1
  630. package/indicators/dmi.src.d.ts +1 -9
  631. package/indicators/dmi.src.js +1 -1
  632. package/indicators/dpo.d.ts +1 -9
  633. package/indicators/dpo.js +12 -1
  634. package/indicators/dpo.src.d.ts +1 -9
  635. package/indicators/dpo.src.js +1 -1
  636. package/indicators/ema.d.ts +1 -9
  637. package/indicators/ema.src.d.ts +1 -9
  638. package/indicators/ema.src.js +3 -3
  639. package/indicators/ichimoku-kinko-hyo.d.ts +1 -9
  640. package/indicators/ichimoku-kinko-hyo.js +12 -1
  641. package/indicators/ichimoku-kinko-hyo.src.d.ts +1 -9
  642. package/indicators/ichimoku-kinko-hyo.src.js +1 -1
  643. package/indicators/indicators-all.d.ts +1 -9
  644. package/indicators/indicators-all.js +12 -1
  645. package/indicators/indicators-all.src.d.ts +1 -9
  646. package/indicators/indicators-all.src.js +1 -1
  647. package/indicators/indicators.d.ts +1 -9
  648. package/indicators/indicators.js +12 -1
  649. package/indicators/indicators.src.d.ts +1 -9
  650. package/indicators/indicators.src.js +1 -1
  651. package/indicators/keltner-channels.d.ts +1 -9
  652. package/indicators/keltner-channels.js +12 -1
  653. package/indicators/keltner-channels.src.d.ts +1 -9
  654. package/indicators/keltner-channels.src.js +1 -1
  655. package/indicators/klinger.d.ts +1 -9
  656. package/indicators/klinger.js +12 -1
  657. package/indicators/klinger.src.d.ts +1 -9
  658. package/indicators/klinger.src.js +1 -1
  659. package/indicators/macd.d.ts +1 -9
  660. package/indicators/macd.js +12 -1
  661. package/indicators/macd.src.d.ts +1 -9
  662. package/indicators/macd.src.js +1 -1
  663. package/indicators/mfi.d.ts +1 -9
  664. package/indicators/mfi.js +12 -1
  665. package/indicators/mfi.src.d.ts +1 -9
  666. package/indicators/mfi.src.js +1 -1
  667. package/indicators/momentum.d.ts +1 -9
  668. package/indicators/momentum.js +12 -1
  669. package/indicators/momentum.src.d.ts +1 -9
  670. package/indicators/momentum.src.js +1 -1
  671. package/indicators/natr.d.ts +1 -9
  672. package/indicators/natr.js +12 -1
  673. package/indicators/natr.src.d.ts +1 -9
  674. package/indicators/natr.src.js +1 -1
  675. package/indicators/obv.d.ts +1 -9
  676. package/indicators/obv.js +12 -1
  677. package/indicators/obv.src.d.ts +1 -9
  678. package/indicators/obv.src.js +1 -1
  679. package/indicators/pivot-points.d.ts +1 -9
  680. package/indicators/pivot-points.js +12 -1
  681. package/indicators/pivot-points.src.d.ts +1 -9
  682. package/indicators/pivot-points.src.js +1 -1
  683. package/indicators/ppo.d.ts +1 -9
  684. package/indicators/ppo.js +12 -1
  685. package/indicators/ppo.src.d.ts +1 -9
  686. package/indicators/ppo.src.js +1 -1
  687. package/indicators/price-channel.d.ts +1 -9
  688. package/indicators/price-channel.js +12 -1
  689. package/indicators/price-channel.src.d.ts +1 -9
  690. package/indicators/price-channel.src.js +1 -1
  691. package/indicators/price-envelopes.d.ts +1 -9
  692. package/indicators/price-envelopes.js +12 -1
  693. package/indicators/price-envelopes.src.d.ts +1 -9
  694. package/indicators/price-envelopes.src.js +1 -1
  695. package/indicators/psar.d.ts +1 -9
  696. package/indicators/psar.js +12 -1
  697. package/indicators/psar.src.d.ts +1 -9
  698. package/indicators/psar.src.js +1 -1
  699. package/indicators/regressions.d.ts +1 -9
  700. package/indicators/regressions.js +12 -1
  701. package/indicators/regressions.src.d.ts +1 -9
  702. package/indicators/regressions.src.js +1 -1
  703. package/indicators/roc.d.ts +1 -9
  704. package/indicators/roc.js +12 -1
  705. package/indicators/roc.src.d.ts +1 -9
  706. package/indicators/roc.src.js +1 -1
  707. package/indicators/rsi.d.ts +1 -9
  708. package/indicators/rsi.js +12 -1
  709. package/indicators/rsi.src.d.ts +1 -9
  710. package/indicators/rsi.src.js +1 -1
  711. package/indicators/slow-stochastic.d.ts +1 -9
  712. package/indicators/slow-stochastic.js +12 -1
  713. package/indicators/slow-stochastic.src.d.ts +1 -9
  714. package/indicators/slow-stochastic.src.js +1 -1
  715. package/indicators/stochastic.d.ts +1 -9
  716. package/indicators/stochastic.js +12 -1
  717. package/indicators/stochastic.src.d.ts +1 -9
  718. package/indicators/stochastic.src.js +1 -1
  719. package/indicators/supertrend.d.ts +1 -9
  720. package/indicators/supertrend.js +12 -1
  721. package/indicators/supertrend.src.d.ts +1 -9
  722. package/indicators/supertrend.src.js +1 -1
  723. package/indicators/tema.d.ts +1 -9
  724. package/indicators/tema.js +12 -1
  725. package/indicators/tema.src.d.ts +1 -9
  726. package/indicators/tema.src.js +1 -1
  727. package/indicators/trendline.d.ts +1 -9
  728. package/indicators/trendline.js +12 -1
  729. package/indicators/trendline.src.d.ts +1 -9
  730. package/indicators/trendline.src.js +1 -1
  731. package/indicators/trix.d.ts +1 -9
  732. package/indicators/trix.js +12 -1
  733. package/indicators/trix.src.d.ts +1 -9
  734. package/indicators/trix.src.js +1 -1
  735. package/indicators/volume-by-price.d.ts +1 -9
  736. package/indicators/volume-by-price.js +12 -1
  737. package/indicators/volume-by-price.src.d.ts +1 -9
  738. package/indicators/volume-by-price.src.js +1 -1
  739. package/indicators/vwap.d.ts +1 -9
  740. package/indicators/vwap.js +12 -1
  741. package/indicators/vwap.src.d.ts +1 -9
  742. package/indicators/vwap.src.js +1 -1
  743. package/indicators/williams-r.d.ts +1 -9
  744. package/indicators/williams-r.js +12 -1
  745. package/indicators/williams-r.src.d.ts +1 -9
  746. package/indicators/williams-r.src.js +1 -1
  747. package/indicators/wma.d.ts +1 -9
  748. package/indicators/wma.js +12 -1
  749. package/indicators/wma.src.d.ts +1 -9
  750. package/indicators/wma.src.js +1 -1
  751. package/indicators/zigzag.d.ts +1 -9
  752. package/indicators/zigzag.js +12 -1
  753. package/indicators/zigzag.src.d.ts +1 -9
  754. package/indicators/zigzag.src.js +1 -1
  755. package/modules/accessibility.d.ts +1 -9
  756. package/modules/accessibility.js +12 -1
  757. package/modules/accessibility.src.d.ts +1 -9
  758. package/modules/accessibility.src.js +46 -43
  759. package/modules/annotations-advanced.d.ts +1 -9
  760. package/modules/annotations-advanced.js +21 -1
  761. package/modules/annotations-advanced.src.d.ts +1 -9
  762. package/modules/annotations-advanced.src.js +879 -788
  763. package/modules/annotations.d.ts +1 -9
  764. package/modules/annotations.js +11 -1
  765. package/modules/annotations.src.d.ts +1 -9
  766. package/modules/annotations.src.js +89 -40
  767. package/modules/arc-diagram.d.ts +1 -9
  768. package/modules/arc-diagram.js +11 -1
  769. package/modules/arc-diagram.src.d.ts +1 -9
  770. package/modules/arc-diagram.src.js +1 -1
  771. package/modules/arrow-symbols.d.ts +1 -9
  772. package/modules/arrow-symbols.js +11 -1
  773. package/modules/arrow-symbols.src.d.ts +1 -9
  774. package/modules/arrow-symbols.src.js +1 -1
  775. package/modules/boost-canvas.d.ts +1 -9
  776. package/modules/boost-canvas.js +12 -1
  777. package/modules/boost-canvas.src.d.ts +1 -9
  778. package/modules/boost-canvas.src.js +23 -4
  779. package/modules/boost.d.ts +1 -9
  780. package/modules/boost.js +13 -1
  781. package/modules/boost.src.d.ts +1 -9
  782. package/modules/boost.src.js +23 -4
  783. package/modules/broken-axis.d.ts +1 -9
  784. package/modules/broken-axis.js +9 -1
  785. package/modules/broken-axis.src.d.ts +1 -9
  786. package/modules/broken-axis.src.js +1 -1
  787. package/modules/bullet.d.ts +1 -9
  788. package/modules/bullet.js +11 -1
  789. package/modules/bullet.src.d.ts +1 -9
  790. package/modules/bullet.src.js +1 -1
  791. package/modules/coloraxis.d.ts +1 -9
  792. package/modules/coloraxis.js +11 -1
  793. package/modules/coloraxis.src.d.ts +1 -9
  794. package/modules/coloraxis.src.js +1 -1
  795. package/modules/current-date-indicator.d.ts +1 -9
  796. package/modules/current-date-indicator.js +11 -1
  797. package/modules/current-date-indicator.src.d.ts +1 -9
  798. package/modules/current-date-indicator.src.js +1 -1
  799. package/modules/cylinder.d.ts +1 -9
  800. package/modules/cylinder.js +12 -1
  801. package/modules/cylinder.src.d.ts +1 -9
  802. package/modules/cylinder.src.js +1 -1
  803. package/modules/data-tools.js +11 -1
  804. package/modules/data-tools.src.js +225 -69
  805. package/modules/data.d.ts +1 -9
  806. package/modules/data.js +11 -1
  807. package/modules/data.src.d.ts +1 -9
  808. package/modules/data.src.js +46 -39
  809. package/modules/datagrouping.d.ts +1 -9
  810. package/modules/datagrouping.js +11 -1
  811. package/modules/datagrouping.src.d.ts +1 -9
  812. package/modules/datagrouping.src.js +1 -1
  813. package/modules/debugger.d.ts +1 -9
  814. package/modules/debugger.js +11 -1
  815. package/modules/debugger.src.d.ts +1 -9
  816. package/modules/debugger.src.js +1 -1
  817. package/modules/dependency-wheel.d.ts +1 -9
  818. package/modules/dependency-wheel.js +12 -1
  819. package/modules/dependency-wheel.src.d.ts +1 -9
  820. package/modules/dependency-wheel.src.js +1 -1
  821. package/modules/dotplot.d.ts +1 -9
  822. package/modules/dotplot.js +11 -1
  823. package/modules/dotplot.src.d.ts +1 -9
  824. package/modules/dotplot.src.js +1 -1
  825. package/modules/drag-panes.d.ts +1 -9
  826. package/modules/drag-panes.js +13 -1
  827. package/modules/drag-panes.src.d.ts +1 -9
  828. package/modules/drag-panes.src.js +1 -1
  829. package/modules/draggable-points.d.ts +1 -9
  830. package/modules/draggable-points.js +9 -1
  831. package/modules/draggable-points.src.d.ts +1 -9
  832. package/modules/draggable-points.src.js +1 -1
  833. package/modules/drilldown.d.ts +1 -9
  834. package/modules/drilldown.js +13 -1
  835. package/modules/drilldown.src.d.ts +1 -9
  836. package/modules/drilldown.src.js +3 -1
  837. package/modules/dumbbell.d.ts +1 -9
  838. package/modules/dumbbell.js +9 -1
  839. package/modules/dumbbell.src.d.ts +1 -9
  840. package/modules/dumbbell.src.js +1 -1
  841. package/modules/export-data.d.ts +2 -79
  842. package/modules/export-data.js +12 -1
  843. package/modules/export-data.src.d.ts +2 -79
  844. package/modules/export-data.src.js +996 -803
  845. package/modules/exporting.d.ts +35 -21
  846. package/modules/exporting.js +11 -1
  847. package/modules/exporting.src.d.ts +35 -21
  848. package/modules/exporting.src.js +1372 -636
  849. package/modules/flowmap.d.ts +1 -9
  850. package/modules/flowmap.js +9 -1
  851. package/modules/flowmap.src.d.ts +1 -9
  852. package/modules/flowmap.src.js +1 -1
  853. package/modules/full-screen.d.ts +1 -9
  854. package/modules/full-screen.js +12 -1
  855. package/modules/full-screen.src.d.ts +1 -9
  856. package/modules/full-screen.src.js +3 -3
  857. package/modules/funnel.d.ts +1 -9
  858. package/modules/funnel.js +11 -1
  859. package/modules/funnel.src.d.ts +1 -9
  860. package/modules/funnel.src.js +1 -1
  861. package/modules/funnel3d.d.ts +1 -9
  862. package/modules/funnel3d.js +13 -1
  863. package/modules/funnel3d.src.d.ts +1 -9
  864. package/modules/funnel3d.src.js +1 -1
  865. package/modules/gantt.d.ts +1 -9
  866. package/modules/gantt.js +31 -1
  867. package/modules/gantt.src.d.ts +1 -9
  868. package/modules/gantt.src.js +36 -28
  869. package/modules/geoheatmap.d.ts +1 -9
  870. package/modules/geoheatmap.js +9 -1
  871. package/modules/geoheatmap.src.d.ts +1 -9
  872. package/modules/geoheatmap.src.js +1 -1
  873. package/modules/grid-axis.d.ts +1 -9
  874. package/modules/grid-axis.js +11 -1
  875. package/modules/grid-axis.src.d.ts +1 -9
  876. package/modules/grid-axis.src.js +1 -1
  877. package/modules/heatmap.d.ts +1 -9
  878. package/modules/heatmap.js +19 -1
  879. package/modules/heatmap.src.d.ts +1 -9
  880. package/modules/heatmap.src.js +3 -4
  881. package/modules/heikinashi.d.ts +1 -9
  882. package/modules/heikinashi.js +12 -1
  883. package/modules/heikinashi.src.d.ts +1 -9
  884. package/modules/heikinashi.src.js +1 -1
  885. package/modules/histogram-bellcurve.d.ts +1 -9
  886. package/modules/histogram-bellcurve.js +10 -1
  887. package/modules/histogram-bellcurve.src.d.ts +1 -9
  888. package/modules/histogram-bellcurve.src.js +1 -1
  889. package/modules/hollowcandlestick.d.ts +1 -9
  890. package/modules/hollowcandlestick.js +12 -1
  891. package/modules/hollowcandlestick.src.d.ts +1 -9
  892. package/modules/hollowcandlestick.src.js +1 -1
  893. package/modules/item-series.d.ts +1 -9
  894. package/modules/item-series.js +11 -1
  895. package/modules/item-series.src.d.ts +1 -9
  896. package/modules/item-series.src.js +3 -5
  897. package/modules/lollipop.d.ts +1 -9
  898. package/modules/lollipop.js +9 -1
  899. package/modules/lollipop.src.d.ts +1 -9
  900. package/modules/lollipop.src.js +1 -1
  901. package/modules/map.d.ts +1 -9
  902. package/modules/map.js +21 -1
  903. package/modules/map.src.d.ts +1 -9
  904. package/modules/map.src.js +6 -7
  905. package/modules/marker-clusters.d.ts +1 -9
  906. package/modules/marker-clusters.js +11 -1
  907. package/modules/marker-clusters.src.d.ts +1 -9
  908. package/modules/marker-clusters.src.js +1 -1
  909. package/modules/mouse-wheel-zoom.d.ts +1 -9
  910. package/modules/mouse-wheel-zoom.js +11 -1
  911. package/modules/mouse-wheel-zoom.src.d.ts +1 -9
  912. package/modules/mouse-wheel-zoom.src.js +1 -1
  913. package/modules/navigator.d.ts +1 -9
  914. package/modules/navigator.js +11 -1
  915. package/modules/navigator.src.d.ts +1 -9
  916. package/modules/navigator.src.js +10 -12
  917. package/modules/networkgraph.d.ts +1 -9
  918. package/modules/networkgraph.js +11 -1
  919. package/modules/networkgraph.src.d.ts +1 -9
  920. package/modules/networkgraph.src.js +7 -2
  921. package/modules/no-data-to-display.d.ts +1 -9
  922. package/modules/no-data-to-display.js +12 -1
  923. package/modules/no-data-to-display.src.d.ts +1 -9
  924. package/modules/no-data-to-display.src.js +1 -1
  925. package/modules/non-cartesian-zoom.d.ts +9 -0
  926. package/modules/non-cartesian-zoom.js +11 -0
  927. package/modules/non-cartesian-zoom.src.d.ts +9 -0
  928. package/modules/non-cartesian-zoom.src.js +427 -0
  929. package/modules/offline-exporting.d.ts +2 -90
  930. package/modules/offline-exporting.js +12 -1
  931. package/modules/offline-exporting.src.d.ts +2 -90
  932. package/modules/offline-exporting.src.js +353 -3380
  933. package/modules/organization.d.ts +1 -9
  934. package/modules/organization.js +11 -1
  935. package/modules/organization.src.d.ts +1 -9
  936. package/modules/organization.src.js +1 -1
  937. package/modules/parallel-coordinates.d.ts +1 -9
  938. package/modules/parallel-coordinates.js +11 -1
  939. package/modules/parallel-coordinates.src.d.ts +1 -9
  940. package/modules/parallel-coordinates.src.js +1 -1
  941. package/modules/pareto.d.ts +1 -9
  942. package/modules/pareto.js +11 -1
  943. package/modules/pareto.src.d.ts +1 -9
  944. package/modules/pareto.src.js +1 -1
  945. package/modules/pathfinder.d.ts +1 -9
  946. package/modules/pathfinder.js +11 -1
  947. package/modules/pathfinder.src.d.ts +1 -9
  948. package/modules/pathfinder.src.js +1 -1
  949. package/modules/pattern-fill.d.ts +1 -9
  950. package/modules/pattern-fill.js +12 -1
  951. package/modules/pattern-fill.src.d.ts +1 -9
  952. package/modules/pattern-fill.src.js +1 -1
  953. package/modules/pictorial.d.ts +1 -9
  954. package/modules/pictorial.js +11 -1
  955. package/modules/pictorial.src.d.ts +1 -9
  956. package/modules/pictorial.src.js +1 -1
  957. package/modules/pointandfigure.d.ts +1 -9
  958. package/modules/pointandfigure.js +12 -1
  959. package/modules/pointandfigure.src.d.ts +1 -9
  960. package/modules/pointandfigure.src.js +1 -1
  961. package/modules/price-indicator.d.ts +1 -9
  962. package/modules/price-indicator.js +13 -1
  963. package/modules/price-indicator.src.d.ts +1 -9
  964. package/modules/price-indicator.src.js +1 -1
  965. package/modules/pyramid3d.d.ts +1 -9
  966. package/modules/pyramid3d.js +14 -1
  967. package/modules/pyramid3d.src.d.ts +1 -9
  968. package/modules/pyramid3d.src.js +1 -1
  969. package/modules/renko.d.ts +1 -9
  970. package/modules/renko.js +12 -1
  971. package/modules/renko.src.d.ts +1 -9
  972. package/modules/renko.src.js +1 -1
  973. package/modules/sankey.d.ts +1 -9
  974. package/modules/sankey.js +11 -1
  975. package/modules/sankey.src.d.ts +1 -9
  976. package/modules/sankey.src.js +1 -1
  977. package/modules/series-label.d.ts +1 -9
  978. package/modules/series-label.js +9 -1
  979. package/modules/series-label.src.d.ts +1 -9
  980. package/modules/series-label.src.js +1 -1
  981. package/modules/series-on-point.d.ts +1 -9
  982. package/modules/series-on-point.js +12 -1
  983. package/modules/series-on-point.src.d.ts +1 -9
  984. package/modules/series-on-point.src.js +1 -1
  985. package/modules/solid-gauge.d.ts +1 -9
  986. package/modules/solid-gauge.js +12 -1
  987. package/modules/solid-gauge.src.d.ts +1 -9
  988. package/modules/solid-gauge.src.js +8 -3
  989. package/modules/sonification.d.ts +1 -9
  990. package/modules/sonification.js +12 -1
  991. package/modules/sonification.src.d.ts +1 -9
  992. package/modules/sonification.src.js +42 -9
  993. package/modules/static-scale.d.ts +1 -9
  994. package/modules/static-scale.js +11 -1
  995. package/modules/static-scale.src.d.ts +1 -9
  996. package/modules/static-scale.src.js +1 -1
  997. package/modules/stock-tools.d.ts +1 -9
  998. package/modules/stock-tools.js +13 -1
  999. package/modules/stock-tools.src.d.ts +1 -9
  1000. package/modules/stock-tools.src.js +37 -116
  1001. package/modules/stock.d.ts +1 -9
  1002. package/modules/stock.js +29 -1
  1003. package/modules/stock.src.d.ts +1 -9
  1004. package/modules/stock.src.js +35 -27
  1005. package/modules/streamgraph.d.ts +1 -9
  1006. package/modules/streamgraph.js +11 -1
  1007. package/modules/streamgraph.src.d.ts +1 -9
  1008. package/modules/streamgraph.src.js +1 -1
  1009. package/modules/sunburst.d.ts +1 -9
  1010. package/modules/sunburst.js +10 -1
  1011. package/modules/sunburst.src.d.ts +1 -9
  1012. package/modules/sunburst.src.js +1 -1
  1013. package/modules/textpath.d.ts +1 -9
  1014. package/modules/textpath.js +9 -1
  1015. package/modules/textpath.src.d.ts +1 -9
  1016. package/modules/textpath.src.js +1 -1
  1017. package/modules/tiledwebmap.d.ts +1 -9
  1018. package/modules/tiledwebmap.js +10 -2
  1019. package/modules/tiledwebmap.src.d.ts +1 -9
  1020. package/modules/tiledwebmap.src.js +1 -1
  1021. package/modules/tilemap.d.ts +1 -9
  1022. package/modules/tilemap.js +12 -1
  1023. package/modules/tilemap.src.d.ts +1 -9
  1024. package/modules/tilemap.src.js +1 -1
  1025. package/modules/timeline.d.ts +1 -9
  1026. package/modules/timeline.js +12 -1
  1027. package/modules/timeline.src.d.ts +1 -9
  1028. package/modules/timeline.src.js +1 -1
  1029. package/modules/treegraph.d.ts +1 -9
  1030. package/modules/treegraph.js +11 -1
  1031. package/modules/treegraph.src.d.ts +1 -9
  1032. package/modules/treegraph.src.js +4 -2
  1033. package/modules/treegrid.d.ts +1 -9
  1034. package/modules/treegrid.js +11 -1
  1035. package/modules/treegrid.src.d.ts +1 -9
  1036. package/modules/treegrid.src.js +1 -1
  1037. package/modules/treemap.d.ts +1 -9
  1038. package/modules/treemap.js +10 -1
  1039. package/modules/treemap.src.d.ts +1 -9
  1040. package/modules/treemap.src.js +1 -1
  1041. package/modules/variable-pie.d.ts +1 -9
  1042. package/modules/variable-pie.js +11 -1
  1043. package/modules/variable-pie.src.d.ts +1 -9
  1044. package/modules/variable-pie.src.js +1 -1
  1045. package/modules/variwide.d.ts +1 -9
  1046. package/modules/variwide.js +11 -1
  1047. package/modules/variwide.src.d.ts +1 -9
  1048. package/modules/variwide.src.js +9 -2
  1049. package/modules/vector.d.ts +1 -9
  1050. package/modules/vector.js +11 -1
  1051. package/modules/vector.src.d.ts +1 -9
  1052. package/modules/vector.src.js +1 -1
  1053. package/modules/venn.d.ts +1 -9
  1054. package/modules/venn.js +10 -1
  1055. package/modules/venn.src.d.ts +1 -9
  1056. package/modules/venn.src.js +1 -1
  1057. package/modules/windbarb.d.ts +1 -9
  1058. package/modules/windbarb.js +11 -1
  1059. package/modules/windbarb.src.d.ts +1 -9
  1060. package/modules/windbarb.src.js +1 -1
  1061. package/modules/wordcloud.d.ts +1 -9
  1062. package/modules/wordcloud.js +10 -1
  1063. package/modules/wordcloud.src.d.ts +1 -9
  1064. package/modules/wordcloud.src.js +88 -11
  1065. package/modules/xrange.d.ts +1 -9
  1066. package/modules/xrange.js +11 -1
  1067. package/modules/xrange.src.d.ts +1 -9
  1068. package/modules/xrange.src.js +1 -1
  1069. package/options/abands.d.ts +8 -0
  1070. package/options/abands.src.d.ts +8 -0
  1071. package/options/ao.d.ts +8 -0
  1072. package/options/ao.src.d.ts +8 -0
  1073. package/options/arcdiagram.d.ts +8 -0
  1074. package/options/arcdiagram.src.d.ts +8 -0
  1075. package/options/area.d.ts +9 -0
  1076. package/options/area.src.d.ts +9 -0
  1077. package/options/arearange.d.ts +9 -0
  1078. package/options/arearange.src.d.ts +9 -0
  1079. package/options/areaspline.d.ts +9 -0
  1080. package/options/areaspline.src.d.ts +9 -0
  1081. package/options/areasplinerange.d.ts +9 -0
  1082. package/options/areasplinerange.src.d.ts +9 -0
  1083. package/options/aroon.d.ts +8 -0
  1084. package/options/aroon.src.d.ts +8 -0
  1085. package/options/atr.d.ts +8 -0
  1086. package/options/atr.src.d.ts +8 -0
  1087. package/options/bellcurve.d.ts +8 -0
  1088. package/options/bellcurve.src.d.ts +8 -0
  1089. package/options/boxplot.d.ts +8 -0
  1090. package/options/boxplot.src.d.ts +8 -0
  1091. package/options/bullet.d.ts +8 -0
  1092. package/options/bullet.src.d.ts +8 -0
  1093. package/options/chaikin.d.ts +8 -0
  1094. package/options/chaikin.src.d.ts +8 -0
  1095. package/options/cmo.d.ts +8 -0
  1096. package/options/cmo.src.d.ts +8 -0
  1097. package/options/columnpyramid.d.ts +9 -0
  1098. package/options/columnpyramid.src.d.ts +9 -0
  1099. package/options/columnrange.d.ts +9 -0
  1100. package/options/columnrange.src.d.ts +9 -0
  1101. package/options/dmi.d.ts +8 -0
  1102. package/options/dmi.src.d.ts +8 -0
  1103. package/options/errorbar.d.ts +8 -0
  1104. package/options/errorbar.src.d.ts +8 -0
  1105. package/options/flags.d.ts +8 -0
  1106. package/options/flags.src.d.ts +8 -0
  1107. package/options/funnel.d.ts +8 -0
  1108. package/options/funnel.src.d.ts +8 -0
  1109. package/options/gauge.d.ts +8 -0
  1110. package/options/gauge.src.d.ts +8 -0
  1111. package/options/item.d.ts +8 -0
  1112. package/options/item.src.d.ts +8 -0
  1113. package/options/keltnerchannels.d.ts +8 -0
  1114. package/options/keltnerchannels.src.d.ts +8 -0
  1115. package/options/line.d.ts +9 -0
  1116. package/options/line.src.d.ts +9 -0
  1117. package/options/linearregressionangle.d.ts +8 -0
  1118. package/options/linearregressionangle.src.d.ts +8 -0
  1119. package/options/linearregressionintercept.d.ts +8 -0
  1120. package/options/linearregressionintercept.src.d.ts +8 -0
  1121. package/options/map.d.ts +8 -0
  1122. package/options/map.src.d.ts +8 -0
  1123. package/options/mfi.d.ts +8 -0
  1124. package/options/mfi.src.d.ts +8 -0
  1125. package/options/natr.d.ts +8 -0
  1126. package/options/natr.src.d.ts +8 -0
  1127. package/options/ohlc.d.ts +8 -0
  1128. package/options/ohlc.src.d.ts +8 -0
  1129. package/options/packedbubble.d.ts +8 -0
  1130. package/options/packedbubble.src.d.ts +8 -0
  1131. package/options/pictorial.d.ts +8 -0
  1132. package/options/pictorial.src.d.ts +8 -0
  1133. package/options/pointandfigure.d.ts +8 -0
  1134. package/options/pointandfigure.src.d.ts +8 -0
  1135. package/options/polygon.d.ts +9 -0
  1136. package/options/polygon.src.d.ts +9 -0
  1137. package/options/ppo.d.ts +8 -0
  1138. package/options/ppo.src.d.ts +8 -0
  1139. package/options/psar.d.ts +8 -0
  1140. package/options/psar.src.d.ts +8 -0
  1141. package/options/pyramid.d.ts +8 -0
  1142. package/options/pyramid.src.d.ts +8 -0
  1143. package/options/renko.d.ts +8 -0
  1144. package/options/renko.src.d.ts +8 -0
  1145. package/options/roc.d.ts +8 -0
  1146. package/options/roc.src.d.ts +8 -0
  1147. package/options/sankey.d.ts +8 -0
  1148. package/options/sankey.src.d.ts +8 -0
  1149. package/options/scatter.d.ts +9 -0
  1150. package/options/scatter.src.d.ts +9 -0
  1151. package/options/series.d.ts +9 -0
  1152. package/options/series.src.d.ts +9 -0
  1153. package/options/sma.d.ts +8 -0
  1154. package/options/sma.src.d.ts +8 -0
  1155. package/options/solidgauge.d.ts +8 -0
  1156. package/options/solidgauge.src.d.ts +8 -0
  1157. package/options/spline.d.ts +9 -0
  1158. package/options/spline.src.d.ts +9 -0
  1159. package/options/stochastic.d.ts +8 -0
  1160. package/options/stochastic.src.d.ts +8 -0
  1161. package/options/tema.d.ts +8 -0
  1162. package/options/tema.src.d.ts +8 -0
  1163. package/options/tiledwebmap.d.ts +8 -0
  1164. package/options/tiledwebmap.src.d.ts +8 -0
  1165. package/options/timeline.d.ts +8 -0
  1166. package/options/timeline.src.d.ts +8 -0
  1167. package/options/treegraph.d.ts +8 -0
  1168. package/options/treegraph.src.d.ts +8 -0
  1169. package/options/trix.d.ts +8 -0
  1170. package/options/trix.src.d.ts +8 -0
  1171. package/options/variablepie.d.ts +8 -0
  1172. package/options/variablepie.src.d.ts +8 -0
  1173. package/options/variwide.d.ts +8 -0
  1174. package/options/variwide.src.d.ts +8 -0
  1175. package/options/vbp.d.ts +8 -0
  1176. package/options/vbp.src.d.ts +8 -0
  1177. package/options/vector.d.ts +9 -0
  1178. package/options/vector.src.d.ts +9 -0
  1179. package/options/venn.d.ts +8 -0
  1180. package/options/venn.src.d.ts +8 -0
  1181. package/options/vwap.d.ts +8 -0
  1182. package/options/vwap.src.d.ts +8 -0
  1183. package/options/windbarb.d.ts +9 -0
  1184. package/options/windbarb.src.d.ts +9 -0
  1185. package/options/wma.d.ts +8 -0
  1186. package/options/wma.src.d.ts +8 -0
  1187. package/options/wordcloud.d.ts +8 -0
  1188. package/options/wordcloud.src.d.ts +8 -0
  1189. package/options/zigzag.d.ts +8 -0
  1190. package/options/zigzag.src.d.ts +8 -0
  1191. package/package.json +1 -1
  1192. package/standalone-navigator.js +9 -2
  1193. package/standalone-navigator.src.js +146 -90
  1194. package/themes/adaptive.d.ts +18 -0
  1195. package/themes/adaptive.js +130 -0
  1196. package/themes/adaptive.src.d.ts +18 -0
  1197. package/themes/adaptive.src.js +1122 -0
  1198. package/themes/avocado.d.ts +1 -9
  1199. package/themes/avocado.js +9 -1
  1200. package/themes/avocado.src.d.ts +1 -9
  1201. package/themes/avocado.src.js +1 -1
  1202. package/themes/brand-dark.d.ts +1 -9
  1203. package/themes/brand-dark.js +9 -1
  1204. package/themes/brand-dark.src.d.ts +1 -9
  1205. package/themes/brand-dark.src.js +1 -1
  1206. package/themes/brand-light.d.ts +1 -9
  1207. package/themes/brand-light.js +9 -1
  1208. package/themes/brand-light.src.d.ts +1 -9
  1209. package/themes/brand-light.src.js +1 -1
  1210. package/themes/dark-blue.d.ts +1 -9
  1211. package/themes/dark-blue.js +9 -1
  1212. package/themes/dark-blue.src.d.ts +1 -9
  1213. package/themes/dark-blue.src.js +1 -1
  1214. package/themes/dark-green.d.ts +1 -9
  1215. package/themes/dark-green.js +9 -1
  1216. package/themes/dark-green.src.d.ts +1 -9
  1217. package/themes/dark-green.src.js +1 -1
  1218. package/themes/dark-unica.d.ts +1 -9
  1219. package/themes/dark-unica.js +9 -1
  1220. package/themes/dark-unica.src.d.ts +1 -9
  1221. package/themes/dark-unica.src.js +1 -1
  1222. package/themes/gray.d.ts +1 -9
  1223. package/themes/gray.js +9 -1
  1224. package/themes/gray.src.d.ts +1 -9
  1225. package/themes/gray.src.js +1 -1
  1226. package/themes/grid-light.d.ts +1 -9
  1227. package/themes/grid-light.js +9 -1
  1228. package/themes/grid-light.src.d.ts +1 -9
  1229. package/themes/grid-light.src.js +1 -1
  1230. package/themes/grid.d.ts +1 -9
  1231. package/themes/grid.js +9 -1
  1232. package/themes/grid.src.d.ts +1 -9
  1233. package/themes/grid.src.js +1 -1
  1234. package/themes/high-contrast-dark.d.ts +1 -9
  1235. package/themes/high-contrast-dark.js +9 -1
  1236. package/themes/high-contrast-dark.src.d.ts +1 -9
  1237. package/themes/high-contrast-dark.src.js +1 -1
  1238. package/themes/high-contrast-light.d.ts +1 -9
  1239. package/themes/high-contrast-light.js +9 -1
  1240. package/themes/high-contrast-light.src.d.ts +1 -9
  1241. package/themes/high-contrast-light.src.js +1 -1
  1242. package/themes/sand-signika.d.ts +1 -9
  1243. package/themes/sand-signika.js +9 -1
  1244. package/themes/sand-signika.src.d.ts +1 -9
  1245. package/themes/sand-signika.src.js +1 -1
  1246. package/themes/skies.d.ts +1 -9
  1247. package/themes/skies.js +9 -1
  1248. package/themes/skies.src.d.ts +1 -9
  1249. package/themes/skies.src.js +1 -1
  1250. package/themes/sunset.d.ts +1 -9
  1251. package/themes/sunset.js +9 -1
  1252. package/themes/sunset.src.d.ts +1 -9
  1253. package/themes/sunset.src.js +1 -1
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Highcharts JS v12.2.0 (2025-04-07)
2
+ * @license Highcharts JS v12.3.0 (2025-06-21)
3
3
  * @module highcharts/modules/data-tools
4
4
  * @requires highcharts
5
5
  *
@@ -1915,10 +1915,38 @@ class DataConnector {
1915
1915
  *
1916
1916
  * @param {DataConnector.UserOptions} [options]
1917
1917
  * Options to use in the connector.
1918
+ *
1919
+ * @param {Array<DataTableOptions>} [dataTables]
1920
+ * Multiple connector data tables options.
1918
1921
  */
1919
- constructor(options = {}) {
1920
- this.table = new Data_DataTable(options.dataTable);
1922
+ constructor(options = {}, dataTables = []) {
1923
+ /**
1924
+ * Tables managed by this DataConnector instance.
1925
+ */
1926
+ this.dataTables = {};
1927
+ /**
1928
+ * Helper flag for detecting whether the data connector is loaded.
1929
+ * @internal
1930
+ */
1931
+ this.loaded = false;
1921
1932
  this.metadata = options.metadata || { columns: {} };
1933
+ // Create a data table for each defined in the dataTables user options.
1934
+ let dataTableIndex = 0;
1935
+ if (dataTables?.length > 0) {
1936
+ for (let i = 0, iEnd = dataTables.length; i < iEnd; ++i) {
1937
+ const dataTable = dataTables[i];
1938
+ const key = dataTable?.key;
1939
+ this.dataTables[key ?? dataTableIndex] =
1940
+ new Data_DataTable(dataTable);
1941
+ if (!key) {
1942
+ dataTableIndex++;
1943
+ }
1944
+ }
1945
+ // If user options dataTables is not defined, generate a default table.
1946
+ }
1947
+ else {
1948
+ this.dataTables[0] = new Data_DataTable(options.dataTable);
1949
+ }
1922
1950
  }
1923
1951
  /**
1924
1952
  * Poll timer ID, if active.
@@ -1926,6 +1954,15 @@ class DataConnector {
1926
1954
  get polling() {
1927
1955
  return !!this._polling;
1928
1956
  }
1957
+ /**
1958
+ * Gets the first data table.
1959
+ *
1960
+ * @return {DataTable}
1961
+ * The data table instance.
1962
+ */
1963
+ get table() {
1964
+ return this.getTable();
1965
+ }
1929
1966
  /* *
1930
1967
  *
1931
1968
  * Functions
@@ -1984,6 +2021,22 @@ class DataConnector {
1984
2021
  return names.sort((a, b) => (pick(columns[a].index, 0) - pick(columns[b].index, 0)));
1985
2022
  }
1986
2023
  }
2024
+ /**
2025
+ * Returns a single data table instance based on the provided key.
2026
+ * Otherwise, returns the first data table.
2027
+ *
2028
+ * @param {string} [key]
2029
+ * The data table key.
2030
+ *
2031
+ * @return {DataTable}
2032
+ * The data table instance.
2033
+ */
2034
+ getTable(key) {
2035
+ if (key) {
2036
+ return this.dataTables[key];
2037
+ }
2038
+ return Object.values(this.dataTables)[0];
2039
+ }
1987
2040
  /**
1988
2041
  * Retrieves the columns of the dataTable,
1989
2042
  * applies column order from meta.
@@ -2049,14 +2102,17 @@ class DataConnector {
2049
2102
  connector.describeColumn(columnNames[i], { index: i });
2050
2103
  }
2051
2104
  }
2052
- setModifierOptions(modifierOptions) {
2053
- const ModifierClass = (modifierOptions &&
2054
- Modifiers_DataModifier.types[modifierOptions.type]);
2055
- return this.table
2056
- .setModifier(ModifierClass ?
2057
- new ModifierClass(modifierOptions) :
2058
- void 0)
2059
- .then(() => this);
2105
+ async setModifierOptions(modifierOptions, tablesOptions) {
2106
+ for (const [key, table] of Object.entries(this.dataTables)) {
2107
+ const tableOptions = tablesOptions?.find((dataTable) => dataTable.key === key);
2108
+ const mergedModifierOptions = DataConnector_merge(tableOptions?.dataModifier, modifierOptions);
2109
+ const ModifierClass = (mergedModifierOptions &&
2110
+ Modifiers_DataModifier.types[mergedModifierOptions.type]);
2111
+ await table.setModifier(ModifierClass ?
2112
+ new ModifierClass(mergedModifierOptions) :
2113
+ void 0);
2114
+ }
2115
+ return this;
2060
2116
  }
2061
2117
  /**
2062
2118
  * Starts polling new data after the specific time span in milliseconds.
@@ -2066,12 +2122,16 @@ class DataConnector {
2066
2122
  */
2067
2123
  startPolling(refreshTime = 1000) {
2068
2124
  const connector = this;
2125
+ const tables = connector.dataTables;
2126
+ // Assign a new abort controller.
2127
+ this.pollingController = new AbortController();
2128
+ // Clear the polling timeout.
2069
2129
  window.clearTimeout(connector._polling);
2070
2130
  connector._polling = window.setTimeout(() => connector
2071
2131
  .load()['catch']((error) => connector.emit({
2072
2132
  type: 'loadError',
2073
2133
  error,
2074
- table: connector.table
2134
+ tables
2075
2135
  }))
2076
2136
  .then(() => {
2077
2137
  if (connector._polling) {
@@ -2080,10 +2140,16 @@ class DataConnector {
2080
2140
  }), refreshTime);
2081
2141
  }
2082
2142
  /**
2083
- * Stops polling data.
2143
+ * Stops polling data. Shouldn't be performed if polling is already stopped.
2084
2144
  */
2085
2145
  stopPolling() {
2086
2146
  const connector = this;
2147
+ if (!connector.polling) {
2148
+ return;
2149
+ }
2150
+ // Abort the existing request.
2151
+ connector?.pollingController?.abort();
2152
+ // Clear the polling timeout.
2087
2153
  window.clearTimeout(connector._polling);
2088
2154
  delete connector._polling;
2089
2155
  }
@@ -2099,6 +2165,35 @@ class DataConnector {
2099
2165
  whatIs(name) {
2100
2166
  return this.metadata.columns[name];
2101
2167
  }
2168
+ /**
2169
+ * Iterates over the dataTables and initiates the corresponding converters.
2170
+ * Updates the dataTables and assigns the first converter.
2171
+ *
2172
+ * @param {T}[data]
2173
+ * Data specific to the corresponding converter.
2174
+ *
2175
+ * @param {DataConnector.CreateConverterFunction}[createConverter]
2176
+ * Creates a specific converter combining the dataTable options.
2177
+ *
2178
+ * @param {DataConnector.ParseDataFunction<T>}[parseData]
2179
+ * Runs the converter parse method with the specific data type.
2180
+ */
2181
+ initConverters(data, createConverter, parseData) {
2182
+ let index = 0;
2183
+ for (const [key, table] of Object.entries(this.dataTables)) {
2184
+ // Create a proper converter and parse its data.
2185
+ const converter = createConverter(key, table);
2186
+ parseData(converter, data);
2187
+ // Update the dataTable.
2188
+ table.deleteColumns();
2189
+ table.setColumns(converter.getTable().getColumns());
2190
+ // Assign the first converter.
2191
+ if (index === 0) {
2192
+ this.converter = converter;
2193
+ }
2194
+ index++;
2195
+ }
2196
+ }
2102
2197
  }
2103
2198
  /* *
2104
2199
  *
@@ -3272,7 +3367,7 @@ class DataPool {
3272
3367
  getConnector(connectorId) {
3273
3368
  const connector = this.connectors[connectorId];
3274
3369
  // Already loaded
3275
- if (connector) {
3370
+ if (connector?.loaded) {
3276
3371
  return Promise.resolve(connector);
3277
3372
  }
3278
3373
  let waitingList = this.waiting[connectorId];
@@ -3387,12 +3482,14 @@ class DataPool {
3387
3482
  if (!ConnectorClass) {
3388
3483
  throw new Error(`Connector type not found. (${options.type})`);
3389
3484
  }
3390
- const connector = new ConnectorClass(options.options);
3485
+ const connector = this.connectors[options.id] = new ConnectorClass(options.options, options.dataTables);
3391
3486
  // eslint-disable-next-line @typescript-eslint/no-floating-promises
3392
3487
  connector
3393
3488
  .load()
3394
- .then((connector) => {
3395
- this.connectors[options.id] = connector;
3489
+ .then(({ converter, dataTables }) => {
3490
+ connector.dataTables = dataTables;
3491
+ connector.converter = converter;
3492
+ connector.loaded = true;
3396
3493
  this.emit({
3397
3494
  type: 'afterLoad',
3398
3495
  options
@@ -3401,6 +3498,15 @@ class DataPool {
3401
3498
  })['catch'](reject);
3402
3499
  });
3403
3500
  }
3501
+ /**
3502
+ * Cancels all data connectors pending requests.
3503
+ */
3504
+ cancelPendingRequests() {
3505
+ const { connectors } = this;
3506
+ for (const connectorKey of Object.keys(connectors)) {
3507
+ connectors[connectorKey].stopPolling();
3508
+ }
3509
+ }
3404
3510
  /**
3405
3511
  * Registers a callback for a specific event.
3406
3512
  *
@@ -6389,7 +6495,7 @@ Converters_DataConverter.registerType('CSV', CSVConverter);
6389
6495
 
6390
6496
 
6391
6497
 
6392
- const { merge: CSVConnector_merge } = (external_highcharts_src_js_default_default());
6498
+ const { merge: CSVConnector_merge, defined: CSVConnector_defined } = (external_highcharts_src_js_default_default());
6393
6499
  /* *
6394
6500
  *
6395
6501
  * Class
@@ -6411,12 +6517,16 @@ class CSVConnector extends Connectors_DataConnector {
6411
6517
  *
6412
6518
  * @param {CSVConnector.UserOptions} [options]
6413
6519
  * Options for the connector and converter.
6520
+ *
6521
+ * @param {Array<DataTableOptions>} [dataTables]
6522
+ * Multiple connector data tables options.
6523
+ *
6414
6524
  */
6415
- constructor(options) {
6525
+ constructor(options, dataTables) {
6416
6526
  const mergedOptions = CSVConnector_merge(CSVConnector.defaultOptions, options);
6417
- super(mergedOptions);
6418
- this.converter = new Converters_CSVConverter(mergedOptions);
6419
- this.options = mergedOptions;
6527
+ super(mergedOptions, dataTables);
6528
+ this.options = CSVConnector_defined(dataTables) ?
6529
+ CSVConnector_merge(mergedOptions, { dataTables }) : mergedOptions;
6420
6530
  if (mergedOptions.enablePolling) {
6421
6531
  this.startPolling(Math.max(mergedOptions.dataRefreshRate || 0, 1) * 1000);
6422
6532
  }
@@ -6436,26 +6546,39 @@ class CSVConnector extends Connectors_DataConnector {
6436
6546
  * @emits CSVConnector#afterLoad
6437
6547
  */
6438
6548
  load(eventDetail) {
6439
- const connector = this, converter = connector.converter, table = connector.table, { csv, csvURL, dataModifier } = connector.options;
6549
+ const connector = this, tables = connector.dataTables, { csv, csvURL, dataModifier, dataTables } = connector.options;
6440
6550
  connector.emit({
6441
6551
  type: 'load',
6442
6552
  csv,
6443
6553
  detail: eventDetail,
6444
- table
6554
+ tables
6445
6555
  });
6446
6556
  return Promise
6447
6557
  .resolve(csvURL ?
6448
- fetch(csvURL).then((response) => response.text()) :
6558
+ fetch(csvURL, {
6559
+ signal: connector?.pollingController?.signal
6560
+ }).then((response) => response.text()) :
6449
6561
  csv || '')
6450
6562
  .then((csv) => {
6451
6563
  if (csv) {
6452
- // If already loaded, clear the current rows
6453
- table.deleteColumns();
6454
- converter.parse({ csv });
6455
- table.setColumns(converter.getTable().getColumns());
6564
+ this.initConverters(csv, (key) => {
6565
+ const options = this.options;
6566
+ const tableOptions = dataTables?.find((dataTable) => dataTable.key === key);
6567
+ // Takes over the connector default options.
6568
+ const mergedTableOptions = {
6569
+ dataTableKey: key,
6570
+ firstRowAsNames: tableOptions?.firstRowAsNames ??
6571
+ options.firstRowAsNames,
6572
+ beforeParse: tableOptions?.beforeParse ??
6573
+ options.beforeParse
6574
+ };
6575
+ return new Converters_CSVConverter(CSVConnector_merge(this.options, mergedTableOptions));
6576
+ }, (converter, data) => {
6577
+ converter.parse({ csv: data });
6578
+ });
6456
6579
  }
6457
6580
  return connector
6458
- .setModifierOptions(dataModifier)
6581
+ .setModifierOptions(dataModifier, dataTables)
6459
6582
  .then(() => csv);
6460
6583
  })
6461
6584
  .then((csv) => {
@@ -6463,7 +6586,7 @@ class CSVConnector extends Connectors_DataConnector {
6463
6586
  type: 'afterLoad',
6464
6587
  csv,
6465
6588
  detail: eventDetail,
6466
- table
6589
+ tables
6467
6590
  });
6468
6591
  return connector;
6469
6592
  })['catch']((error) => {
@@ -6471,7 +6594,7 @@ class CSVConnector extends Connectors_DataConnector {
6471
6594
  type: 'loadError',
6472
6595
  detail: eventDetail,
6473
6596
  error,
6474
- table
6597
+ tables
6475
6598
  });
6476
6599
  throw error;
6477
6600
  });
@@ -6698,7 +6821,7 @@ Converters_DataConverter.registerType('JSON', JSONConverter);
6698
6821
 
6699
6822
 
6700
6823
 
6701
- const { merge: JSONConnector_merge } = (external_highcharts_src_js_default_default());
6824
+ const { merge: JSONConnector_merge, defined: JSONConnector_defined } = (external_highcharts_src_js_default_default());
6702
6825
  /* *
6703
6826
  *
6704
6827
  * Class
@@ -6720,12 +6843,15 @@ class JSONConnector extends Connectors_DataConnector {
6720
6843
  *
6721
6844
  * @param {JSONConnector.UserOptions} [options]
6722
6845
  * Options for the connector and converter.
6846
+ *
6847
+ * @param {Array<DataTableOptions>} [dataTables]
6848
+ * Multiple connector data tables options.
6723
6849
  */
6724
- constructor(options) {
6850
+ constructor(options, dataTables) {
6725
6851
  const mergedOptions = JSONConnector_merge(JSONConnector.defaultOptions, options);
6726
- super(mergedOptions);
6727
- this.converter = new Converters_JSONConverter(mergedOptions);
6728
- this.options = mergedOptions;
6852
+ super(mergedOptions, dataTables);
6853
+ this.options = JSONConnector_defined(dataTables) ?
6854
+ JSONConnector_merge(mergedOptions, { dataTables }) : mergedOptions;
6729
6855
  if (mergedOptions.enablePolling) {
6730
6856
  this.startPolling(Math.max(mergedOptions.dataRefreshRate || 0, 1) * 1000);
6731
6857
  }
@@ -6745,40 +6871,58 @@ class JSONConnector extends Connectors_DataConnector {
6745
6871
  * @emits JSONConnector#afterLoad
6746
6872
  */
6747
6873
  load(eventDetail) {
6748
- const connector = this, converter = connector.converter, table = connector.table, { data, dataUrl, dataModifier } = connector.options;
6874
+ const connector = this, tables = connector.dataTables, { data, dataUrl, dataModifier, dataTables } = connector.options;
6749
6875
  connector.emit({
6750
6876
  type: 'load',
6751
6877
  data,
6752
6878
  detail: eventDetail,
6753
- table
6879
+ tables
6754
6880
  });
6755
6881
  return Promise
6756
6882
  .resolve(dataUrl ?
6757
- fetch(dataUrl).then((response) => response.json())['catch']((error) => {
6883
+ fetch(dataUrl, {
6884
+ signal: connector?.pollingController?.signal
6885
+ }).then((response) => response.json())['catch']((error) => {
6758
6886
  connector.emit({
6759
6887
  type: 'loadError',
6760
6888
  detail: eventDetail,
6761
6889
  error,
6762
- table
6890
+ tables
6763
6891
  });
6764
6892
  console.warn(`Unable to fetch data from ${dataUrl}.`); // eslint-disable-line no-console
6765
6893
  }) :
6766
6894
  data || [])
6767
6895
  .then((data) => {
6768
6896
  if (data) {
6769
- // If already loaded, clear the current rows
6770
- table.deleteColumns();
6771
- converter.parse({ data });
6772
- table.setColumns(converter.getTable().getColumns());
6897
+ this.initConverters(data, (key) => {
6898
+ const options = this.options;
6899
+ const tableOptions = dataTables?.find((dataTable) => dataTable.key === key);
6900
+ // Takes over the connector default options.
6901
+ const mergedTableOptions = {
6902
+ dataTableKey: key,
6903
+ columnNames: tableOptions?.columnNames ??
6904
+ options.columnNames,
6905
+ firstRowAsNames: tableOptions?.firstRowAsNames ??
6906
+ options.firstRowAsNames,
6907
+ orientation: tableOptions?.orientation ??
6908
+ options.orientation,
6909
+ beforeParse: tableOptions?.beforeParse ??
6910
+ options.beforeParse
6911
+ };
6912
+ return new Converters_JSONConverter(JSONConnector_merge(this.options, mergedTableOptions));
6913
+ }, (converter, data) => {
6914
+ converter.parse({ data });
6915
+ });
6773
6916
  }
6774
- return connector.setModifierOptions(dataModifier).then(() => data);
6917
+ return connector.setModifierOptions(dataModifier, dataTables)
6918
+ .then(() => data);
6775
6919
  })
6776
6920
  .then((data) => {
6777
6921
  connector.emit({
6778
6922
  type: 'afterLoad',
6779
6923
  data,
6780
6924
  detail: eventDetail,
6781
- table
6925
+ tables
6782
6926
  });
6783
6927
  return connector;
6784
6928
  })['catch']((error) => {
@@ -6786,7 +6930,7 @@ class JSONConnector extends Connectors_DataConnector {
6786
6930
  type: 'loadError',
6787
6931
  detail: eventDetail,
6788
6932
  error,
6789
- table
6933
+ tables
6790
6934
  });
6791
6935
  throw error;
6792
6936
  });
@@ -6971,7 +7115,7 @@ Converters_DataConverter.registerType('GoogleSheets', GoogleSheetsConverter);
6971
7115
 
6972
7116
 
6973
7117
 
6974
- const { merge: GoogleSheetsConnector_merge, pick: GoogleSheetsConnector_pick } = (external_highcharts_src_js_default_default());
7118
+ const { merge: GoogleSheetsConnector_merge, pick: GoogleSheetsConnector_pick, defined: GoogleSheetsConnector_defined } = (external_highcharts_src_js_default_default());
6975
7119
  /* *
6976
7120
  *
6977
7121
  * Functions
@@ -7008,12 +7152,16 @@ class GoogleSheetsConnector extends Connectors_DataConnector {
7008
7152
  *
7009
7153
  * @param {GoogleSheetsConnector.UserOptions} [options]
7010
7154
  * Options for the connector and converter.
7155
+ *
7156
+ * @param {Array<DataTableOptions>} [dataTables]
7157
+ * Multiple connector data tables options.
7158
+ *
7011
7159
  */
7012
- constructor(options) {
7160
+ constructor(options, dataTables) {
7013
7161
  const mergedOptions = GoogleSheetsConnector_merge(GoogleSheetsConnector.defaultOptions, options);
7014
- super(mergedOptions);
7015
- this.converter = new Converters_GoogleSheetsConverter(mergedOptions);
7016
- this.options = mergedOptions;
7162
+ super(mergedOptions, dataTables);
7163
+ this.options = GoogleSheetsConnector_defined(dataTables) ?
7164
+ GoogleSheetsConnector_merge(mergedOptions, { dataTables }) : mergedOptions;
7017
7165
  }
7018
7166
  /* *
7019
7167
  *
@@ -7030,36 +7178,44 @@ class GoogleSheetsConnector extends Connectors_DataConnector {
7030
7178
  * Same connector instance with modified table.
7031
7179
  */
7032
7180
  load(eventDetail) {
7033
- const connector = this, converter = connector.converter, table = connector.table, { dataModifier, dataRefreshRate, enablePolling, firstRowAsNames, googleAPIKey, googleSpreadsheetKey } = connector.options, url = GoogleSheetsConnector.buildFetchURL(googleAPIKey, googleSpreadsheetKey, connector.options);
7181
+ const connector = this, tables = connector.dataTables, { dataModifier, dataRefreshRate, enablePolling, googleAPIKey, googleSpreadsheetKey, dataTables } = connector.options, url = GoogleSheetsConnector.buildFetchURL(googleAPIKey, googleSpreadsheetKey, connector.options);
7034
7182
  connector.emit({
7035
7183
  type: 'load',
7036
7184
  detail: eventDetail,
7037
- table,
7185
+ tables,
7038
7186
  url
7039
7187
  });
7040
7188
  if (!URL.canParse(url)) {
7041
7189
  throw new Error('Invalid URL: ' + url);
7042
7190
  }
7043
- return fetch(url)
7191
+ return fetch(url, { signal: connector?.pollingController?.signal })
7044
7192
  .then((response) => (response.json()))
7045
7193
  .then((json) => {
7046
7194
  if (isGoogleError(json)) {
7047
7195
  throw new Error(json.error.message);
7048
7196
  }
7049
- converter.parse({
7050
- firstRowAsNames,
7051
- json
7197
+ this.initConverters(json, (key) => {
7198
+ const options = this.options;
7199
+ const tableOptions = dataTables?.find((dataTable) => dataTable.key === key);
7200
+ // Takes over the connector default options.
7201
+ const mergedTableOptions = {
7202
+ dataTableKey: key,
7203
+ firstRowAsNames: tableOptions?.firstRowAsNames ??
7204
+ options.firstRowAsNames,
7205
+ beforeParse: tableOptions?.beforeParse ??
7206
+ options.beforeParse
7207
+ };
7208
+ return new Converters_GoogleSheetsConverter(GoogleSheetsConnector_merge(this.options, mergedTableOptions));
7209
+ }, (converter, data) => {
7210
+ converter.parse({ json: data });
7052
7211
  });
7053
- // If already loaded, clear the current table
7054
- table.deleteColumns();
7055
- table.setColumns(converter.getTable().getColumns());
7056
- return connector.setModifierOptions(dataModifier);
7212
+ return connector.setModifierOptions(dataModifier, dataTables);
7057
7213
  })
7058
7214
  .then(() => {
7059
7215
  connector.emit({
7060
7216
  type: 'afterLoad',
7061
7217
  detail: eventDetail,
7062
- table,
7218
+ tables,
7063
7219
  url
7064
7220
  });
7065
7221
  // Polling
@@ -7072,7 +7228,7 @@ class GoogleSheetsConnector extends Connectors_DataConnector {
7072
7228
  type: 'loadError',
7073
7229
  detail: eventDetail,
7074
7230
  error,
7075
- table
7231
+ tables
7076
7232
  });
7077
7233
  throw error;
7078
7234
  });
@@ -7345,7 +7501,7 @@ class HTMLTableConverter extends Converters_DataConverter {
7345
7501
  getTableHeaderHTML(topheaders = [], subheaders = [], options = this.options) {
7346
7502
  const { useMultiLevelHeaders, useRowspanHeaders } = options;
7347
7503
  let html = '<thead>', i = 0, len = subheaders && subheaders.length, next, cur, curColspan = 0, rowspan;
7348
- // Clean up multiple table headers. Chart.getDataRows() returns two
7504
+ // Clean up multiple table headers. Exporting.getDataRows() returns two
7349
7505
  // levels of headers when using multilevel, not merged. We need to
7350
7506
  // merge identical headers, remove redundant headers, and keep it
7351
7507
  // all marked up nicely.
@@ -7593,7 +7749,7 @@ class HTMLTableConnector extends Connectors_DataConnector {
7593
7749
  connector.emit({
7594
7750
  type: 'load',
7595
7751
  detail: eventDetail,
7596
- table,
7752
+ tables: { table },
7597
7753
  tableElement: connector.tableElement
7598
7754
  });
7599
7755
  let tableElement;
@@ -7612,7 +7768,7 @@ class HTMLTableConnector extends Connectors_DataConnector {
7612
7768
  type: 'loadError',
7613
7769
  detail: eventDetail,
7614
7770
  error,
7615
- table
7771
+ tables: { table }
7616
7772
  });
7617
7773
  return Promise.reject(new Error(error));
7618
7774
  }
@@ -7626,7 +7782,7 @@ class HTMLTableConnector extends Connectors_DataConnector {
7626
7782
  connector.emit({
7627
7783
  type: 'afterLoad',
7628
7784
  detail: eventDetail,
7629
- table,
7785
+ tables: { table },
7630
7786
  tableElement: connector.tableElement
7631
7787
  });
7632
7788
  return connector;
@@ -1 +1,11 @@
1
- import*as e from"../highcharts.js";var t={};t.n=e=>{var 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:a}=i(),{discardElement:r,objectEach:n}=i(),o={ajax:function(e){let t={json:"application/json",xml:"application/xml",text:"text/plain",octet:"application/octet-stream"},s=new XMLHttpRequest;function i(t,s){e.error&&e.error(t,s)}if(!e.url)return!1;s.open((e.type||"get").toUpperCase(),e.url,!0),e.headers?.["Content-Type"]||s.setRequestHeader("Content-Type",t[e.dataType||"json"]||t.text),n(e.headers,function(e,t){s.setRequestHeader(t,e)}),e.responseType&&(s.responseType=e.responseType),s.onreadystatechange=function(){let t;if(4===s.readyState){if(200===s.status){if("blob"!==e.responseType&&(t=s.responseText,"json"===e.dataType))try{t=JSON.parse(t)}catch(e){if(e instanceof Error)return i(s,e)}return e.success?.(t,s)}i(s,s.responseText)}},e.data&&"string"!=typeof e.data&&(e.data=JSON.stringify(e.data)),s.send(e.data)},getJSON:function(e,t){o.ajax({url:e,success:t,dataType:"json",headers:{"Content-Type":"text/plain"}})},post:function(e,t,s){let i=new a.FormData;n(t,function(e,t){i.append(t,e)}),i.append("b64","true");let{filename:o,type:l}=t;return a.fetch(e,{method:"POST",body:i,...s}).then(e=>{e.ok&&e.text().then(e=>{let t=document.createElement("a");t.href=`data:${l};base64,${e}`,t.download=o,t.click(),r(t)})})}},l=e.default.Axis;var u=t.n(l);let d=e.default.Chart;var h=t.n(d);let p=e.default.Point;var m=t.n(p);let c=e.default.SeriesRegistry;var f=t.n(c);let{getOptions:g}=i(),{doc:x}=i(),{ajax:y}=o,{seriesTypes:v}=f(),{addEvent:T,defined:C,extend:N,fireEvent:R,isNumber:A,merge:Y,objectEach:D,pick:w,splat:U}=i();function F(e){return!!(e&&(e.rowsURL||e.csvURL||e.columnsURL))}class O{static data(e,t={},s){return new O(e,t,s)}static rowsToColumns(e){let t,s,i,a,r;if(e)for(t=0,r=[],s=e.length;t<s;t++)for(i=0,a=e[t].length;i<a;i++)r[i]||(r[i]=[]),r[i][t]=e[t][i];return r}constructor(e,t={},s){this.rowsToColumns=O.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,s){let i=e.decimalPoint,a;t&&(this.chartOptions=t),s&&(this.chart=s),"."!==i&&","!==i&&(i=void 0),this.options=e,this.columns=e.columns||this.rowsToColumns(e.rows)||[],this.firstRowAsNames=w(e.firstRowAsNames,this.firstRowAsNames,!0),this.decimalRegex=i&&RegExp("^(-?[0-9]+)"+i+"([0-9]+)$"),void 0!==this.liveDataTimeout&&clearTimeout(this.liveDataTimeout),this.rawColumns=[],this.columns.length&&(this.dataFound(),a=!F(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,s=[],i=function(e="line"){return(v[e].prototype.pointArrayMap||[0]).length},a=function(e="line"){return v[e].prototype.pointArrayMap},r=e?.chart?.type,n=[],o=[],l=t?.seriesMapping||e?.series?.map(function(){return{x:0}})||[],u=0;(e?.series||[]).forEach(e=>{n.push(i(e.type||r))}),l.forEach(e=>{s.push(e.x||0)}),0===s.length&&s.push(0),l.forEach(t=>{let s=new b,l=n[u]||i(r),d=(e?.series??[])[u]??{},h=a(d.type||r),p=h??["y"];(C(t.x)||d.isCartesian||!h)&&s.addColumnReader(t.x,"x"),D(t,function(e,t){"x"!==t&&s.addColumnReader(e,t)});for(let e=0;e<l;e++)s.hasReader(p[e])||s.addColumnReader(void 0,p[e]);o.push(s),u++});let d=a(r);void 0===d&&(d=["y"]),this.valueCount={global:i(r),xColumns:s,individual:n,seriesBuilders:o,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,s=this.columns=[],i=e||this.options,a=i.startColumn||0,r=i.endColumn||Number.MAX_VALUE,n=[],o={",":0,";":0," ":0},l=i.csv,u=i.startRow||0,d=i.endRow||Number.MAX_VALUE,h,p,m=0;if(l&&i.beforeParse&&(l=i.beforeParse.call(this,l)),l){if(p=l.replace(/\r\n/g,"\n").replace(/\r/g,"\n").split(i.lineDelimiter||"\n"),(!u||u<0)&&(u=0),(!d||d>=p.length)&&(d=p.length-1),i.itemDelimiter)h=i.itemDelimiter;else{let e,s,a;e=0,s=0,a=!1,p.some(function(t,i){let a=!1,r,n,l,u="";if(i>13)return!0;for(let i=0;i<t.length;i++){if(r=t[i],n=t[i+1],l=t[i-1],"#"===r)return;if('"'===r){if(a){if('"'!==l&&'"'!==n){for(;" "===n&&i<t.length;)n=t[++i];void 0!==o[n]&&o[n]++,a=!1}}else a=!0}else void 0!==o[r]?(isNaN(Date.parse(u=u.trim()))?(isNaN(u)||!isFinite(u))&&o[r]++:o[r]++,u=""):u+=r;","===r&&s++,"."===r&&e++}}),o[";"]>o[","]?a=";":(o[","],o[";"],a=","),i.decimalPoint||(e>s?i.decimalPoint=".":i.decimalPoint=",",t.decimalRegex=RegExp("^(-?[0-9]+)"+i.decimalPoint+"([0-9]+)$")),h=a}let e=0;for(m=u;m<=d;m++)"#"===p[m][0]?e++:function(e,t,o,l){let u=0,d="",p="",m="",c="",f=0,g=0;function x(t){d=e[t],p=e[t-1],m=e[t+1]}function y(e){n.length<g+1&&n.push([e]),n[g][n[g].length-1]!==e&&n[g].push(e)}function v(){if(a>f||f>r){++f,c="";return}i.columnTypes||(!isNaN(parseFloat(c))&&isFinite(c)?(c=parseFloat(c),y("number")):isNaN(Date.parse(c))?y("string"):(c=c.replace(/\//g,"-"),y("date"))),s.length<g+1&&s.push([]),s[g][t]=c,c="",++g,++f}if(e.trim().length&&"#"!==e.trim()[0]){for(;u<e.length;u++)if(x(u),'"'===d)for(x(++u);u<e.length&&('"'!==d||'"'===p||'"'===m);)('"'!==d||'"'===d&&'"'!==p)&&(c+=d),x(++u);else d===h?v():c+=d;v()}}(p[m],m-u-e);(!i.columnTypes||0===i.columnTypes.length)&&n.length&&n[0].length&&"date"===n[0][1]&&!i.dateFormat&&(i.dateFormat=function(e,s){let a="YYYY/mm/dd",r=[],n=[],o,l=[],u,d=0,h=!1,p;for((!s||s>e.length)&&(s=e.length);d<s;d++)if(void 0!==e[d]&&e[d]?.length)for(p=0,o=e[d].trim().replace(/\//g," ").replace(/\-/g," ").replace(/\./g," ").split(" "),l=["","",""];p<o.length;p++)p<l.length&&(o[p]=parseInt(o[p],10),o[p]&&(n[p]=!n[p]||n[p]<o[p]?o[p]:n[p],void 0!==r[p]?r[p]!==o[p]&&(r[p]=!1):r[p]=o[p],o[p]>31?o[p]<100?l[p]="YY":l[p]="YYYY":o[p]>12&&o[p]<=31?(l[p]="dd",h=!0):l[p].length||(l[p]="mm")));if(h){for(p=0;p<r.length;p++)!1!==r[p]?n[p]>12&&"YY"!==l[p]&&"YYYY"!==l[p]&&(l[p]="YY"):n[p]>12&&"mm"===l[p]&&(l[p]="dd");return(3===l.length&&"dd"===l[1]&&"dd"===l[2]&&(l[2]="YY"),u=l.join("/"),(i.dateFormats||t.dateFormats)[u])?u:(R(t,"deduceDateFailed"),a)}return a}(s[0])),this.dataFound()}return s}parseTable(){let e=this.options,t=this.columns||[],s=e.startRow||0,i=e.endRow||Number.MAX_VALUE,a=e.startColumn||0,r=e.endColumn||Number.MAX_VALUE;if(e.table){let n=e.table;"string"==typeof n&&(n=x.getElementById(n)),[].forEach.call(n.getElementsByTagName("tr"),(e,n)=>{n>=s&&n<=i&&[].forEach.call(e.children,(e,i)=>{let o=t[i-a],l=1;if(("TD"===e.tagName||"TH"===e.tagName)&&i>=a&&i<=r)for(t[i-a]||(t[i-a]=[]),t[i-a][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,s=this.options,i=s.enablePolling,a=Y(s),r=0,n=1e3*(s.dataRefreshRate||2);return!!F(s)&&(n<1e3&&(n=1e3),delete s.csvURL,delete s.rowsURL,delete s.columnsURL,!function o(l){function u(a,u,d){if(!a||!/^(http|\/|\.\/|\.\.\/)/.test(a))return a&&s.error&&s.error("Invalid URL"),!1;function h(){i&&t.liveDataURL===a&&(e.liveDataTimeout=setTimeout(o,n))}return l&&(clearTimeout(e.liveDataTimeout),t.liveDataURL=a),y({url:a,dataType:d||"json",success:function(e){t?.series&&u(e),h()},error:function(e,t){return++r<3&&h(),s.error?.(t,e)}}),!0}u(a.csvURL,function(e){t.update({data:{csv:e}})},"text")||u(a.rowsURL,function(e){t.update({data:{rows:e}})})||u(a.columnsURL,function(e){t.update({data:{columns:e}})})}(!0),F(s))}parseGoogleSpreadsheet(){let e=this,t=this.options,s=t.googleSpreadsheetKey,i=this.chart,a=Math.max(1e3*(t.dataRefreshRate||2),4e3),r=()=>{if(t.googleSpreadsheetRange)return t.googleSpreadsheetRange;let e="ABCDEFGHIJKLMNOPQRSTUVWXYZ",s=(e.charAt(t.startColumn||0)||"A")+((t.startRow||0)+1),i=e.charAt(w(t.endColumn,-1))||"ZZ";return C(t.endRow)&&(i+=t.endRow+1),`${s}:${i}`};return s&&(delete t.googleSpreadsheetKey,function i(n){y({url:["https://sheets.googleapis.com/v4/spreadsheets",s,"values",r(),"?alt=json&majorDimension=COLUMNS&valueRenderOption=UNFORMATTED_VALUE&dateTimeRenderOption=FORMATTED_STRING&key="+t.googleAPIKey].join("/"),dataType:"json",success:function(s){n(s),t.enablePolling&&(e.liveDataTimeout=setTimeout(function(){i(n)},a))},error:function(e,s){return t.error?.(s,e)}})}(function(t){let s=t.values;if(!s||0===s.length)return!1;let a=s.reduce((e,t)=>Math.max(e,t.length),0);s.forEach(e=>{for(let t=0;t<a;t++)void 0===e[t]&&(e[t]=null)}),i?.series?i.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 s=this.rawColumns,i=this.columns=this.columns||[],a=this.firstRowAsNames,r=this.valueCount?.xColumns.indexOf(t)!==-1,n=[],o=this.chartOptions,l=(this.options.columnTypes||[])[t],u=r&&o?.xAxis&&"category"===U(o.xAxis)[0].type||"string"===l,d=C(e.name),h=e.length,p,m,c,f,g,x,y;for(s[t]||(s[t]=[]);h--;)p=n[h]||e[h],c=this.trim(p),m=parseFloat(f=this.trim(p,!0)),void 0===s[t][h]&&(s[t][h]=c),u||0===h&&a&&!d?e[h]=""+c:+f===m?(e[h]=m,m>31536e6&&"float"!==l?e.isDatetime=!0:e.isNumeric=!0,void 0!==e[h+1]&&(y=m>e[h+1])):(c?.length&&(g=this.parseDate(p)),r&&A(g)&&"float"!==l?(n[h]=p,e[h]=g,e.isDatetime=!0,void 0!==e[h+1]&&((x=g>e[h+1])!==y&&void 0!==y&&(this.alternativeFormat?(this.dateFormat=this.alternativeFormat,h=e.length,this.alternativeFormat=this.dateFormats[this.dateFormat].alternative):e.unsorted=!0),y=x)):(e[h]=""===c?null:c,0!==h&&(e.isDatetime||e.isNumeric)&&(e.mixed=!0)));if(r&&e.mixed&&(i[t]=s[t]),r&&y&&this.options.sort){for(t=0;t<i.length;t++)if(i[t].reverse(),a){let e=i[t].pop();e&&i[t].unshift(e)}}}parseDate(e){let t=this.options.parseDate,s,i,a,r=this.options.dateFormat||this.dateFormat,n;if(t)s=t(e);else if("string"==typeof e){if(r)(a=this.dateFormats[r])||(a=this.dateFormats["YYYY/mm/dd"]),(n=e.match(a.regex))&&(s=a.parser(n));else for(i in this.dateFormats)if(a=this.dateFormats[i],n=e.match(a.regex)){this.dateFormat=r=i,this.alternativeFormat=a.alternative,s=a.parser(n);break}!n&&(e.match(/:.+(GMT|UTC|[Z+\-])/)&&(e=e.replace(/\s*(?:GMT|UTC)?([+\-])(\d\d)(\d\d)$/,"$1$2:$3").replace(/(?:\s+|GMT|UTC)([+\-])/,"$1").replace(/(\d)\s*(?:GMT|UTC|Z)$/,"$1+00:00")),"object"==typeof(n=Date.parse(e))&&null!==n&&n.getTime?s=n.getTime()-6e4*n.getTimezoneOffset():A(n)&&(s=n-6e4*new Date(n).getTimezoneOffset()))}return s}getData(){if(this.columns)return this.rowsToColumns(this.columns)?.slice(1)}parsed(){if(this.options.parsed)return this.options.parsed.call(this,this.columns)}complete(){let e=this.columns=this.columns||[],t=this.options,s=[],i="linear",a,r,n,o,l,u,d,h,p,m,c;if([].length=e.length,t.complete||t.afterComplete){if(this.firstRowAsNames)for(n=0;n<e.length;n++){let t=e[n];C(t.name)||(t.name=w(t.shift(),"").toString())}for(u=0,a=[],p=function(e,t){let s,i,a,r=[],n=[];for(i=0;i<e;i+=1)r.push(!0);for(s=0;s<t.length;s+=1)for(i=0,a=t[s].getReferencedColumnIndexes();i<a.length;i+=1)r[a[i]]=!1;for(i=0;i<r.length;i+=1)r[i]&&n.push(i);return n}(e?.length||0,this.valueCount.seriesBuilders);u<this.valueCount.seriesBuilders.length;u++)(h=this.valueCount.seriesBuilders[u]).populateColumns(p)&&s.push(h);for(;p.length>0;){for((h=new b).addColumnReader(0,"x"),-1!==(c=p.indexOf(0))&&p.splice(c,1),n=0;n<this.valueCount.global;n++)h.addColumnReader(void 0,this.valueCount.globalPointArrayMap[n]);h.populateColumns(p)&&s.push(h)}if(s.length>0&&s[0].readers.length>0&&void 0!==(m=e?.[s[0].readers[0].columnIndex??-1])&&(m.isDatetime?i="datetime":m.isNumeric||(i="category")),"category"===i)for(u=0;u<s.length;u++)for(l=0,h=s[u];l<h.readers.length;l++)"x"===h.readers[l].configName&&(h.readers[l].configName="name");for(u=0;u<s.length;u++){for(o=0,h=s[u],r=[];o<e[0].length;o++)r[o]=h.read(e,o);a[u]={data:r,pointStart:r[0]&&(h.pointIsArray?r[0]?.[0]:r[0]?.x)||void 0},h.name&&(a[u].name=h.name),"category"===i&&(a[u].turboThreshold=0,a[u].pointStart=0)}d={series:a},"linear"!==i||this.xAxisOptions&&this.xAxisOptions.type!==i?(this.xAxisOptions={type:i},"category"===i&&(this.xAxisOptions.uniqueNames=!1)):i=this.xAxisOptions=void 0,this.chart||Y(!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 s=this.chart,i=s.options;e&&(e.afterComplete=function(e,i){if(!i)return;let a=s.xAxis[0],r=e.xAxisOptions;r&&a&&(a.type!==r.type&&!a.options.type||a.uniqueNames&&!1===r.uniqueNames&&void 0===a.options.uniqueNames)?a.update({},!1):(i?.series||[]).forEach(function(e){delete e.pointStart}),s.update(i,t,!0)},Y(!0,i.data,e),i.data?.googleSpreadsheetKey&&!e.columns&&delete i.data.columns,this.init(i.data||{},i))}}T(u(),"afterSetOptions",function(){this.isXAxis&&(!this.chart.xAxis.length||this.chart.xAxis[0]===this)&&this.chart.data?.xAxisUpdateHandler(this)}),T(h(),"init",function(e){let t=this,s=e.args[1],i=g().data,a=e.args[0]||{};(i||a&&a.data)&&!t.hasDataDef&&(t.hasDataDef=!0,t.data=new O(N(Y(i,a.data),{afterComplete:function(e,i){let r,n;if(Object.hasOwnProperty.call(a,"series")){if("object"==typeof a.series)for(r=Math.max(a.series.length,i?.series?.length??0);r--;)n=a.series[r]||{},a.series[r]=Y(n,i?.series?.[r]??{});else delete a.series}a=Y(i,a),t.data=e,t.init(a,s)}}),a,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(a=>{let r=e[a.columnIndex][t];s?i.push(r):a.configName.indexOf(".")>0?m().prototype.setNestedProperty(i,r,a.configName):i[a.configName]=r}),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[w(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 E=i();E.Data=E.Data||O,E.HttpUtilities=E.HttpUtilities||o,E.ajax=E.HttpUtilities.ajax,E.data=E.Data.data,E.getJSON=E.HttpUtilities.getJSON,E.post=E.HttpUtilities.post;let S=i();export{S as default};
1
+ /**
2
+ * Highcharts JS v12.3.0 (2025-06-21)
3
+ * @module highcharts/modules/data
4
+ * @requires highcharts
5
+ *
6
+ * Data module
7
+ *
8
+ * (c) 2012-2025 Torstein Honsi
9
+ *
10
+ * License: www.highcharts.com/license
11
+ */import*as e from"../highcharts.js";var t={};t.n=e=>{var s=e&&e.__esModule?()=>e.default:()=>e;return t.d(s,{a:s}),s},t.d=(e,s)=>{for(var a in s)t.o(s,a)&&!t.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:s[a]})},t.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);let s=e.default;var a=t.n(s);let{win:i}=a(),{discardElement:r,objectEach:n}=a(),o={ajax:function(e){let t={json:"application/json",xml:"application/xml",text:"text/plain",octet:"application/octet-stream"},s=new XMLHttpRequest;function a(t,s){e.error&&e.error(t,s)}if(!e.url)return!1;s.open((e.type||"get").toUpperCase(),e.url,!0),e.headers?.["Content-Type"]||s.setRequestHeader("Content-Type",t[e.dataType||"json"]||t.text),n(e.headers,function(e,t){s.setRequestHeader(t,e)}),e.responseType&&(s.responseType=e.responseType),s.onreadystatechange=function(){let t;if(4===s.readyState){if(200===s.status){if("blob"!==e.responseType&&(t=s.responseText,"json"===e.dataType))try{t=JSON.parse(t)}catch(e){if(e instanceof Error)return a(s,e)}return e.success?.(t,s)}a(s,s.responseText)}},e.data&&"string"!=typeof e.data&&(e.data=JSON.stringify(e.data)),s.send(e.data)},getJSON:function(e,t){o.ajax({url:e,success:t,dataType:"json",headers:{"Content-Type":"text/plain"}})},post:async function(e,t,s){let a=new i.FormData;n(t,function(e,t){a.append(t,e)}),a.append("b64","true");let o=await i.fetch(e,{method:"POST",body:a,...s});if(o.ok){let e=await o.text(),s=document.createElement("a");s.href=`data:${t.type};base64,${e}`,s.download=t.filename,s.click(),r(s)}}},l=e.default.Axis;var u=t.n(l);let d=e.default.Chart;var h=t.n(d);let p=e.default.Point;var m=t.n(p);let c=e.default.SeriesRegistry;var f=t.n(c);let{getOptions:g}=a(),{doc:x}=a(),{ajax:y}=o,{seriesTypes:v}=f(),{addEvent:T,defined:C,extend:N,fireEvent:R,isNumber:A,merge:Y,objectEach:D,pick:w,splat:U}=a();function F(e){return!!(e&&(e.rowsURL||e.csvURL||e.columnsURL))}class O{static data(e,t={},s){return new O(e,t,s)}static rowsToColumns(e){let t,s,a,i,r;if(e)for(t=0,r=[],s=e.length;t<s;t++)for(a=0,i=e[t].length;a<i;a++)r[a]||(r[a]=[]),r[a][t]=e[t][a];return r}constructor(e,t={},s){this.rowsToColumns=O.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,s){let a=e.decimalPoint,i;t&&(this.chartOptions=t),s&&(this.chart=s),"."!==a&&","!==a&&(a=void 0),this.options=e,this.columns=e.columns||this.rowsToColumns(e.rows)||[],this.firstRowAsNames=w(e.firstRowAsNames,this.firstRowAsNames,!0),this.decimalRegex=a&&RegExp("^(-?[0-9]+)"+a+"([0-9]+)$"),void 0!==this.liveDataTimeout&&clearTimeout(this.liveDataTimeout),this.rawColumns=[],this.columns.length&&(this.dataFound(),i=!F(e)),i||(i=this.fetchLiveData()),i||(i=!!this.parseCSV().length),i||(i=!!this.parseTable().length),i||(i=this.parseGoogleSpreadsheet()),!i&&e.afterComplete&&e.afterComplete(this)}getColumnDistribution(){let e=this.chartOptions,t=this.options,s=[],a=function(e="line"){return(v[e].prototype.pointArrayMap||[0]).length},i=function(e="line"){return v[e].prototype.pointArrayMap},r=e?.chart?.type,n=[],o=[],l=t?.seriesMapping||e?.series?.map(function(){return{x:0}})||[],u=0;(e?.series||[]).forEach(e=>{n.push(a(e.type||r))}),l.forEach(e=>{s.push(e.x||0)}),0===s.length&&s.push(0),l.forEach(t=>{let s=new b,l=n[u]||a(r),d=(e?.series??[])[u]??{},h=i(d.type||r),p=h??["y"];(C(t.x)||d.isCartesian||!h)&&s.addColumnReader(t.x,"x"),D(t,function(e,t){"x"!==t&&s.addColumnReader(e,t)});for(let e=0;e<l;e++)s.hasReader(p[e])||s.addColumnReader(void 0,p[e]);o.push(s),u++});let d=i(r);void 0===d&&(d=["y"]),this.valueCount={global:a(r),xColumns:s,individual:n,seriesBuilders:o,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,s=this.columns=[],a=e||this.options,i=a.startColumn||0,r=a.endColumn||Number.MAX_VALUE,n=[],o={",":0,";":0," ":0},l=a.csv,u=a.startRow||0,d=a.endRow||Number.MAX_VALUE,h,p,m=0;if(l&&a.beforeParse&&(l=a.beforeParse.call(this,l)),l){if(p=l.replace(/\r\n/g,"\n").replace(/\r/g,"\n").split(a.lineDelimiter||"\n"),(!u||u<0)&&(u=0),(!d||d>=p.length)&&(d=p.length-1),a.itemDelimiter)h=a.itemDelimiter;else{let e,s,i;e=0,s=0,i=!1,p.some(function(t,a){let i=!1,r,n,l,u="";if(a>13)return!0;for(let a=0;a<t.length;a++){if(r=t[a],n=t[a+1],l=t[a-1],"#"===r)return;if('"'===r)if(i){if('"'!==l&&'"'!==n){for(;" "===n&&a<t.length;)n=t[++a];void 0!==o[n]&&o[n]++,i=!1}}else i=!0;else void 0!==o[r]?(isNaN(Date.parse(u=u.trim()))?(isNaN(u)||!isFinite(u))&&o[r]++:o[r]++,u=""):u+=r;","===r&&s++,"."===r&&e++}}),o[";"]>o[","]?i=";":(o[","],o[";"],i=","),a.decimalPoint||(e>s?a.decimalPoint=".":a.decimalPoint=",",t.decimalRegex=RegExp("^(-?[0-9]+)"+a.decimalPoint+"([0-9]+)$")),h=i}let e=0;for(m=u;m<=d;m++)"#"===p[m][0]?e++:function(e,t,o,l){let u=0,d="",p="",m="",c="",f=0,g=0;function x(t){d=e[t],p=e[t-1],m=e[t+1]}function y(e){n.length<g+1&&n.push([e]),n[g][n[g].length-1]!==e&&n[g].push(e)}function v(){if(i>f||f>r){++f,c="";return}a.columnTypes||(!isNaN(parseFloat(c))&&isFinite(c)?(c=parseFloat(c),y("number")):isNaN(Date.parse(c))?y("string"):(c=c.replace(/\//g,"-"),y("date"))),s.length<g+1&&s.push([]),s[g][t]=c,c="",++g,++f}if(e.trim().length&&"#"!==e.trim()[0]){for(;u<e.length;u++)if(x(u),'"'===d)for(x(++u);u<e.length&&('"'!==d||'"'===p||'"'===m);)('"'!==d||'"'===d&&'"'!==p)&&(c+=d),x(++u);else d===h?v():c+=d;v()}}(p[m],m-u-e);(!a.columnTypes||0===a.columnTypes.length)&&n.length&&n[0].length&&"date"===n[0][1]&&!a.dateFormat&&(a.dateFormat=function(e,s){let i="YYYY/mm/dd",r=[],n=[],o,l=[],u,d=0,h=!1,p;for((!s||s>e.length)&&(s=e.length);d<s;d++)if(void 0!==e[d]&&e[d]?.length)for(p=0,o=e[d].trim().replace(/\//g," ").replace(/\-/g," ").replace(/\./g," ").split(" "),l=["","",""];p<o.length;p++)p<l.length&&(o[p]=parseInt(o[p],10),o[p]&&(n[p]=!n[p]||n[p]<o[p]?o[p]:n[p],void 0!==r[p]?r[p]!==o[p]&&(r[p]=!1):r[p]=o[p],o[p]>31?o[p]<100?l[p]="YY":l[p]="YYYY":o[p]>12&&o[p]<=31?(l[p]="dd",h=!0):l[p].length||(l[p]="mm")));if(h){for(p=0;p<r.length;p++)!1!==r[p]?n[p]>12&&"YY"!==l[p]&&"YYYY"!==l[p]&&(l[p]="YY"):n[p]>12&&"mm"===l[p]&&(l[p]="dd");return(3===l.length&&"dd"===l[1]&&"dd"===l[2]&&(l[2]="YY"),u=l.join("/"),(a.dateFormats||t.dateFormats)[u])?u:(R(t,"deduceDateFailed"),i)}return i}(s[0])),this.dataFound()}return s}parseTable(){let e=this.options,t=this.columns||[],s=e.startRow||0,a=e.endRow||Number.MAX_VALUE,i=e.startColumn||0,r=e.endColumn||Number.MAX_VALUE;if(e.table){let n=e.table;"string"==typeof n&&(n=x.getElementById(n)),[].forEach.call(n.getElementsByTagName("tr"),(e,n)=>{n>=s&&n<=a&&[].forEach.call(e.children,(e,a)=>{let o=t[a-i],l=1;if(("TD"===e.tagName||"TH"===e.tagName)&&a>=i&&a<=r)for(t[a-i]||(t[a-i]=[]),t[a-i][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,s=this.options,a=s.enablePolling,i=Y(s),r=0,n=1e3*(s.dataRefreshRate||2);return!!F(s)&&(n<1e3&&(n=1e3),delete s.csvURL,delete s.rowsURL,delete s.columnsURL,!function o(l){function u(i,u,d){if(!i||!/^(http|\/|\.\/|\.\.\/)/.test(i))return i&&s.error&&s.error("Invalid URL"),!1;function h(){a&&t.liveDataURL===i&&(e.liveDataTimeout=setTimeout(o,n))}return l&&(clearTimeout(e.liveDataTimeout),t.liveDataURL=i),y({url:i,dataType:d||"json",success:function(e){t?.series&&u(e),h()},error:function(e,t){return++r<3&&h(),s.error?.(t,e)}}),!0}u(i.csvURL,function(e){t.update({data:{csv:e}})},"text")||u(i.rowsURL,function(e){t.update({data:{rows:e}})})||u(i.columnsURL,function(e){t.update({data:{columns:e}})})}(!0),F(s))}parseGoogleSpreadsheet(){let e=this,t=this.options,s=t.googleSpreadsheetKey,a=this.chart,i=Math.max(1e3*(t.dataRefreshRate||2),4e3),r=()=>{if(t.googleSpreadsheetRange)return t.googleSpreadsheetRange;let e="ABCDEFGHIJKLMNOPQRSTUVWXYZ",s=(e.charAt(t.startColumn||0)||"A")+((t.startRow||0)+1),a=e.charAt(w(t.endColumn,-1))||"ZZ";return C(t.endRow)&&(a+=t.endRow+1),`${s}:${a}`};return s&&(delete t.googleSpreadsheetKey,!function a(n){y({url:["https://sheets.googleapis.com/v4/spreadsheets",s,"values",r(),"?alt=json&majorDimension=COLUMNS&valueRenderOption=UNFORMATTED_VALUE&dateTimeRenderOption=FORMATTED_STRING&key="+t.googleAPIKey].join("/"),dataType:"json",success:function(s){n(s),t.enablePolling&&(e.liveDataTimeout=setTimeout(function(){a(n)},i))},error:function(e,s){return t.error?.(s,e)}})}(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)}),a?.series?a.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 s=this.rawColumns,a=this.columns=this.columns||[],i=this.firstRowAsNames,r=this.valueCount?.xColumns.indexOf(t)!==-1,n=[],o=this.chartOptions,l=(this.options.columnTypes||[])[t],u=r&&o?.xAxis&&"category"===U(o.xAxis)[0].type||"string"===l,d=C(e.name),h=e.length,p,m,c,f,g,x,y;for(s[t]||(s[t]=[]);h--;)p=n[h]||e[h],c=this.trim(p),m=parseFloat(f=this.trim(p,!0)),void 0===s[t][h]&&(s[t][h]=c),u||0===h&&i&&!d?e[h]=""+c:+f===m?(e[h]=m,m>31536e6&&"float"!==l?e.isDatetime=!0:e.isNumeric=!0,void 0!==e[h+1]&&(y=m>e[h+1])):(c?.length&&(g=this.parseDate(p)),r&&A(g)&&"float"!==l?(n[h]=p,e[h]=g,e.isDatetime=!0,void 0!==e[h+1]&&((x=g>e[h+1])!==y&&void 0!==y&&(this.alternativeFormat?(this.dateFormat=this.alternativeFormat,h=e.length,this.alternativeFormat=this.dateFormats[this.dateFormat].alternative):e.unsorted=!0),y=x)):(e[h]=""===c?null:c,0!==h&&(e.isDatetime||e.isNumeric)&&(e.mixed=!0)));if(r&&e.mixed&&(a[t]=s[t]),r&&y&&this.options.sort){for(t=0;t<a.length;t++)if(a[t].reverse(),i){let e=a[t].pop();e&&a[t].unshift(e)}}}parseDate(e){let t=this.options.parseDate,s,a,i,r=this.options.dateFormat||this.dateFormat,n;if(t)s=t(e);else if("string"==typeof e){if(r)(i=this.dateFormats[r])||(i=this.dateFormats["YYYY/mm/dd"]),(n=e.match(i.regex))&&(s=i.parser(n));else for(a in this.dateFormats)if(i=this.dateFormats[a],n=e.match(i.regex)){this.dateFormat=r=a,this.alternativeFormat=i.alternative,s=i.parser(n);break}!n&&(e.match(/:.+(GMT|UTC|[Z+\-])/)&&(e=e.replace(/\s*(?:GMT|UTC)?([+\-])(\d\d)(\d\d)$/,"$1$2:$3").replace(/(?:\s+|GMT|UTC)([+\-])/,"$1").replace(/(\d)\s*(?:GMT|UTC|Z)$/,"$1+00:00")),"object"==typeof(n=Date.parse(e))&&null!==n&&n.getTime?s=n.getTime()-6e4*n.getTimezoneOffset():A(n)&&(s=n-6e4*new Date(n).getTimezoneOffset()))}return s}getData(){if(this.columns)return this.rowsToColumns(this.columns)?.slice(1)}parsed(){if(this.options.parsed)return this.options.parsed.call(this,this.columns)}complete(){let e=this.columns=this.columns||[],t=this.options,s=[],a="linear",i,r,n,o,l,u,d,h,p,m,c;if([].length=e.length,t.complete||t.afterComplete){if(this.firstRowAsNames)for(n=0;n<e.length;n++){let t=e[n];C(t.name)||(t.name=w(t.shift(),"").toString())}for(u=0,i=[],p=function(e,t){let s,a,i,r=[],n=[];for(a=0;a<e;a+=1)r.push(!0);for(s=0;s<t.length;s+=1)for(a=0,i=t[s].getReferencedColumnIndexes();a<i.length;a+=1)r[i[a]]=!1;for(a=0;a<r.length;a+=1)r[a]&&n.push(a);return n}(e?.length||0,this.valueCount.seriesBuilders);u<this.valueCount.seriesBuilders.length;u++)(h=this.valueCount.seriesBuilders[u]).populateColumns(p)&&s.push(h);for(;p.length>0;){for((h=new b).addColumnReader(0,"x"),-1!==(c=p.indexOf(0))&&p.splice(c,1),n=0;n<this.valueCount.global;n++)h.addColumnReader(void 0,this.valueCount.globalPointArrayMap[n]);h.populateColumns(p)&&s.push(h)}if(s.length>0&&s[0].readers.length>0&&void 0!==(m=e?.[s[0].readers[0].columnIndex??-1])&&(m.isDatetime?a="datetime":m.isNumeric||(a="category")),"category"===a)for(u=0;u<s.length;u++)for(l=0,h=s[u];l<h.readers.length;l++)"x"===h.readers[l].configName&&(h.readers[l].configName="name");for(u=0;u<s.length;u++){for(o=0,h=s[u],r=[];o<e[0].length;o++)r[o]=h.read(e,o);i[u]={data:r,pointStart:r[0]&&(h.pointIsArray?r[0]?.[0]:r[0]?.x)||void 0},h.name&&(i[u].name=h.name),"category"===a&&(i[u].turboThreshold=0,i[u].pointStart=0)}d={series:i},"linear"!==a||this.xAxisOptions&&this.xAxisOptions.type!==a?(this.xAxisOptions={type:a},"category"===a&&(this.xAxisOptions.uniqueNames=!1)):a=this.xAxisOptions=void 0,this.chart||Y(!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 s=this.chart,a=s.options;e&&(e.afterComplete=function(e,a){if(!a)return;let i=s.xAxis[0],r=e.xAxisOptions;r&&i&&(i.type!==r.type&&!i.options.type||i.uniqueNames&&!1===r.uniqueNames&&void 0===i.options.uniqueNames)?i.update({},!1):(a?.series||[]).forEach(function(e){delete e.pointStart}),s.update(a,t,!0)},Y(!0,a.data,e),a.data?.googleSpreadsheetKey&&!e.columns&&delete a.data.columns,this.init(a.data||{},a))}}T(u(),"afterSetOptions",function(){this.isXAxis&&(!this.chart.xAxis.length||this.chart.xAxis[0]===this)&&this.chart.data?.xAxisUpdateHandler(this)}),T(h(),"init",function(e){let t=this,s=e.args[1],a=g().data,i=e.args[0]||{};(a||i&&i.data)&&!t.hasDataDef&&(t.hasDataDef=!0,t.data=new O(N(Y(a,i.data),{afterComplete:function(e,a){let r,n;if(Object.hasOwnProperty.call(i,"series"))if("object"==typeof i.series)for(r=Math.max(i.series.length,a?.series?.length??0);r--;)n=i.series[r]||{},i.series[r]=Y(n,a?.series?.[r]??{});else delete i.series;i=Y(a,i),t.data=e,t.init(i,s)}}),i,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,a=s?[]:{};if(this.readers.forEach(i=>{let r=e[i.columnIndex][t];s?a.push(r):i.configName.indexOf(".")>0?m().prototype.setNestedProperty(a,r,i.configName):a[i.configName]=r}),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[w(t.shift(),0)].name}return a}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 E=a();E.Data=E.Data||O,E.HttpUtilities=E.HttpUtilities||o,E.ajax=E.HttpUtilities.ajax,E.data=E.Data.data,E.getJSON=E.HttpUtilities.getJSON,E.post=E.HttpUtilities.post;let S=a();export{S as default};