highcharts 12.0.0 → 12.0.2

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 (1083) hide show
  1. package/bower.json +1 -1
  2. package/es-modules/Core/Axis/Axis.js +1 -1
  3. package/es-modules/Core/Renderer/SVG/SVGElement.js +8 -2
  4. package/es-modules/Core/Renderer/SVG/TextBuilder.js +1 -1
  5. package/es-modules/Core/Tooltip.js +2 -1
  6. package/es-modules/Core/Utilities.js +53 -53
  7. package/es-modules/Extensions/Boost/WGLRenderer.js +12 -4
  8. package/es-modules/Extensions/Drilldown/Drilldown.js +3 -3
  9. package/es-modules/Series/Line/LineSeries.js +2 -4
  10. package/es-modules/Stock/RangeSelector/RangeSelector.js +1 -1
  11. package/es-modules/masters/highcharts-3d.src.d.ts +1 -3
  12. package/es-modules/masters/highcharts-gantt.src.d.ts +1 -2
  13. package/es-modules/masters/highcharts-more.src.d.ts +1 -10
  14. package/es-modules/masters/highcharts.src.d.ts +2 -10
  15. package/es-modules/masters/highmaps.src.d.ts +1 -2
  16. package/es-modules/masters/highstock.src.d.ts +1 -2
  17. package/es-modules/masters/indicators/acceleration-bands.src.d.ts +1 -3
  18. package/es-modules/masters/indicators/accumulation-distribution.src.d.ts +1 -3
  19. package/es-modules/masters/indicators/ao.src.d.ts +1 -3
  20. package/es-modules/masters/indicators/apo.src.d.ts +1 -3
  21. package/es-modules/masters/indicators/aroon-oscillator.src.d.ts +1 -3
  22. package/es-modules/masters/indicators/aroon.src.d.ts +1 -3
  23. package/es-modules/masters/indicators/atr.src.d.ts +1 -3
  24. package/es-modules/masters/indicators/bollinger-bands.src.d.ts +1 -3
  25. package/es-modules/masters/indicators/cci.src.d.ts +1 -3
  26. package/es-modules/masters/indicators/chaikin.src.d.ts +1 -3
  27. package/es-modules/masters/indicators/cmf.src.d.ts +1 -3
  28. package/es-modules/masters/indicators/cmo.src.d.ts +1 -3
  29. package/es-modules/masters/indicators/dema.src.d.ts +1 -3
  30. package/es-modules/masters/indicators/disparity-index.src.d.ts +1 -3
  31. package/es-modules/masters/indicators/dmi.src.d.ts +1 -3
  32. package/es-modules/masters/indicators/dpo.src.d.ts +1 -3
  33. package/es-modules/masters/indicators/ema.src.d.ts +1 -2
  34. package/es-modules/masters/indicators/ichimoku-kinko-hyo.src.d.ts +1 -3
  35. package/es-modules/masters/indicators/indicators-all.src.d.ts +1 -62
  36. package/es-modules/masters/indicators/indicators.src.d.ts +1 -4
  37. package/es-modules/masters/indicators/keltner-channels.src.d.ts +1 -3
  38. package/es-modules/masters/indicators/klinger.src.d.ts +1 -3
  39. package/es-modules/masters/indicators/macd.src.d.ts +1 -3
  40. package/es-modules/masters/indicators/mfi.src.d.ts +1 -3
  41. package/es-modules/masters/indicators/momentum.src.d.ts +1 -3
  42. package/es-modules/masters/indicators/natr.src.d.ts +1 -3
  43. package/es-modules/masters/indicators/obv.src.d.ts +1 -3
  44. package/es-modules/masters/indicators/pivot-points.src.d.ts +1 -3
  45. package/es-modules/masters/indicators/ppo.src.d.ts +1 -3
  46. package/es-modules/masters/indicators/price-channel.src.d.ts +1 -3
  47. package/es-modules/masters/indicators/price-envelopes.src.d.ts +1 -3
  48. package/es-modules/masters/indicators/psar.src.d.ts +1 -3
  49. package/es-modules/masters/indicators/regressions.src.d.ts +1 -6
  50. package/es-modules/masters/indicators/roc.src.d.ts +1 -3
  51. package/es-modules/masters/indicators/rsi.src.d.ts +1 -3
  52. package/es-modules/masters/indicators/slow-stochastic.src.d.ts +1 -3
  53. package/es-modules/masters/indicators/stochastic.src.d.ts +1 -3
  54. package/es-modules/masters/indicators/supertrend.src.d.ts +1 -3
  55. package/es-modules/masters/indicators/tema.src.d.ts +1 -3
  56. package/es-modules/masters/indicators/trendline.src.d.ts +1 -3
  57. package/es-modules/masters/indicators/trix.src.d.ts +1 -3
  58. package/es-modules/masters/indicators/volume-by-price.src.d.ts +1 -3
  59. package/es-modules/masters/indicators/vwap.src.d.ts +1 -3
  60. package/es-modules/masters/indicators/williams-r.src.d.ts +1 -3
  61. package/es-modules/masters/indicators/wma.src.d.ts +1 -3
  62. package/es-modules/masters/indicators/zigzag.src.d.ts +1 -3
  63. package/es-modules/masters/modules/accessibility.src.d.ts +1 -14
  64. package/es-modules/masters/modules/annotations-advanced.src.d.ts +1 -14
  65. package/es-modules/masters/modules/annotations.src.d.ts +1 -2
  66. package/es-modules/masters/modules/arc-diagram.src.d.ts +1 -3
  67. package/es-modules/masters/modules/arrow-symbols.src.d.ts +1 -2
  68. package/es-modules/masters/modules/boost-canvas.src.d.ts +1 -2
  69. package/es-modules/masters/modules/boost.src.d.ts +1 -15
  70. package/es-modules/masters/modules/broken-axis.src.d.ts +1 -2
  71. package/es-modules/masters/modules/bullet.src.d.ts +1 -3
  72. package/es-modules/masters/modules/coloraxis.src.d.ts +1 -2
  73. package/es-modules/masters/modules/current-date-indicator.src.d.ts +1 -2
  74. package/es-modules/masters/modules/cylinder.src.d.ts +1 -2
  75. package/es-modules/masters/modules/data.src.d.ts +1 -2
  76. package/es-modules/masters/modules/datagrouping.src.d.ts +1 -2
  77. package/es-modules/masters/modules/debugger.src.d.ts +1 -13
  78. package/es-modules/masters/modules/dependency-wheel.src.d.ts +1 -3
  79. package/es-modules/masters/modules/dotplot.src.d.ts +1 -3
  80. package/es-modules/masters/modules/drag-panes.src.d.ts +1 -2
  81. package/es-modules/masters/modules/draggable-points.src.d.ts +1 -2
  82. package/es-modules/masters/modules/drilldown.src.d.ts +1 -2
  83. package/es-modules/masters/modules/dumbbell.src.d.ts +1 -3
  84. package/es-modules/masters/modules/export-data.src.d.ts +1 -2
  85. package/es-modules/masters/modules/exporting.src.d.ts +1 -2
  86. package/es-modules/masters/modules/flowmap.src.d.ts +1 -3
  87. package/es-modules/masters/modules/full-screen.src.d.ts +1 -2
  88. package/es-modules/masters/modules/funnel.src.d.ts +1 -3
  89. package/es-modules/masters/modules/funnel3d.src.d.ts +1 -2
  90. package/es-modules/masters/modules/gantt.src.d.ts +1 -5
  91. package/es-modules/masters/modules/geoheatmap.src.d.ts +1 -3
  92. package/es-modules/masters/modules/grid-axis.src.d.ts +1 -2
  93. package/es-modules/masters/modules/heatmap.src.d.ts +1 -4
  94. package/es-modules/masters/modules/heikinashi.src.d.ts +1 -2
  95. package/es-modules/masters/modules/histogram-bellcurve.src.d.ts +1 -4
  96. package/es-modules/masters/modules/hollowcandlestick.src.d.ts +1 -3
  97. package/es-modules/masters/modules/item-series.src.d.ts +1 -3
  98. package/es-modules/masters/modules/lollipop.src.d.ts +1 -3
  99. package/es-modules/masters/modules/map.src.d.ts +1 -7
  100. package/es-modules/masters/modules/marker-clusters.src.d.ts +1 -2
  101. package/es-modules/masters/modules/mouse-wheel-zoom.src.d.ts +1 -13
  102. package/es-modules/masters/modules/navigator.src.d.ts +1 -2
  103. package/es-modules/masters/modules/networkgraph.src.d.ts +1 -2
  104. package/es-modules/masters/modules/no-data-to-display.src.d.ts +1 -2
  105. package/es-modules/masters/modules/offline-exporting.src.d.ts +1 -2
  106. package/es-modules/masters/modules/organization.src.d.ts +1 -3
  107. package/es-modules/masters/modules/overlapping-datalabels.src.d.ts +1 -2
  108. package/es-modules/masters/modules/parallel-coordinates.src.d.ts +1 -2
  109. package/es-modules/masters/modules/pareto.src.d.ts +1 -3
  110. package/es-modules/masters/modules/pathfinder.src.d.ts +1 -2
  111. package/es-modules/masters/modules/pattern-fill.src.d.ts +1 -2
  112. package/es-modules/masters/modules/pictorial.src.d.ts +1 -3
  113. package/es-modules/masters/modules/pointandfigure.src.d.ts +1 -2
  114. package/es-modules/masters/modules/price-indicator.src.d.ts +1 -2
  115. package/es-modules/masters/modules/pyramid3d.src.d.ts +1 -3
  116. package/es-modules/masters/modules/renko.src.d.ts +1 -3
  117. package/es-modules/masters/modules/sankey.src.d.ts +1 -3
  118. package/es-modules/masters/modules/series-label.src.d.ts +1 -2
  119. package/es-modules/masters/modules/series-on-point.src.d.ts +1 -14
  120. package/es-modules/masters/modules/solid-gauge.src.d.ts +1 -3
  121. package/es-modules/masters/modules/sonification.src.d.ts +1 -14
  122. package/es-modules/masters/modules/static-scale.src.d.ts +1 -2
  123. package/es-modules/masters/modules/stock-tools.src.d.ts +1 -2
  124. package/es-modules/masters/modules/stock.src.d.ts +1 -7
  125. package/es-modules/masters/modules/streamgraph.src.d.ts +1 -3
  126. package/es-modules/masters/modules/sunburst.src.d.ts +1 -4
  127. package/es-modules/masters/modules/textpath.src.d.ts +1 -2
  128. package/es-modules/masters/modules/tiledwebmap.src.d.ts +1 -2
  129. package/es-modules/masters/modules/tilemap.src.d.ts +1 -2
  130. package/es-modules/masters/modules/timeline.src.d.ts +1 -3
  131. package/es-modules/masters/modules/treegraph.src.d.ts +1 -3
  132. package/es-modules/masters/modules/treegrid.src.d.ts +1 -2
  133. package/es-modules/masters/modules/treemap.src.d.ts +1 -2
  134. package/es-modules/masters/modules/variable-pie.src.d.ts +1 -3
  135. package/es-modules/masters/modules/variwide.src.d.ts +1 -2
  136. package/es-modules/masters/modules/vector.src.d.ts +1 -3
  137. package/es-modules/masters/modules/venn.src.d.ts +1 -3
  138. package/es-modules/masters/modules/windbarb.src.d.ts +1 -3
  139. package/es-modules/masters/modules/wordcloud.src.d.ts +1 -3
  140. package/es-modules/masters/modules/xrange.src.d.ts +1 -2
  141. package/es-modules/masters/options/abands.src.d.ts +1 -0
  142. package/es-modules/masters/options/ad.src.d.ts +1 -0
  143. package/es-modules/masters/options/ao.src.d.ts +1 -0
  144. package/es-modules/masters/options/apo.src.d.ts +1 -0
  145. package/es-modules/masters/options/arcdiagram.src.d.ts +1 -0
  146. package/es-modules/masters/options/area.src.d.ts +1 -0
  147. package/es-modules/masters/options/arearange.src.d.ts +1 -0
  148. package/es-modules/masters/options/areaspline.src.d.ts +1 -0
  149. package/es-modules/masters/options/areasplinerange.src.d.ts +1 -0
  150. package/es-modules/masters/options/aroon.src.d.ts +1 -0
  151. package/es-modules/masters/options/aroonoscillator.src.d.ts +1 -0
  152. package/es-modules/masters/options/atr.src.d.ts +1 -0
  153. package/es-modules/masters/options/bar.src.d.ts +1 -0
  154. package/es-modules/masters/options/bb.src.d.ts +1 -0
  155. package/es-modules/masters/options/bellcurve.src.d.ts +1 -0
  156. package/es-modules/masters/options/boxplot.src.d.ts +1 -0
  157. package/es-modules/masters/options/bubble.src.d.ts +1 -0
  158. package/es-modules/masters/options/bullet.src.d.ts +1 -0
  159. package/es-modules/masters/options/candlestick.src.d.ts +1 -0
  160. package/es-modules/masters/options/cci.src.d.ts +1 -0
  161. package/es-modules/masters/options/chaikin.src.d.ts +1 -0
  162. package/es-modules/masters/options/cmf.src.d.ts +1 -0
  163. package/es-modules/masters/options/cmo.src.d.ts +1 -0
  164. package/es-modules/masters/options/column.src.d.ts +1 -0
  165. package/es-modules/masters/options/columnpyramid.src.d.ts +1 -0
  166. package/es-modules/masters/options/columnrange.src.d.ts +1 -0
  167. package/es-modules/masters/options/cylinder.src.d.ts +1 -0
  168. package/es-modules/masters/options/dema.src.d.ts +1 -0
  169. package/es-modules/masters/options/dependencywheel.src.d.ts +1 -0
  170. package/es-modules/masters/options/disparityindex.src.d.ts +1 -0
  171. package/es-modules/masters/options/dmi.src.d.ts +1 -0
  172. package/es-modules/masters/options/dpo.src.d.ts +1 -0
  173. package/es-modules/masters/options/dumbbell.src.d.ts +1 -0
  174. package/es-modules/masters/options/ema.src.d.ts +1 -0
  175. package/es-modules/masters/options/errorbar.src.d.ts +1 -0
  176. package/es-modules/masters/options/flags.src.d.ts +1 -0
  177. package/es-modules/masters/options/flowmap.src.d.ts +1 -0
  178. package/es-modules/masters/options/funnel.src.d.ts +1 -0
  179. package/es-modules/masters/options/gantt.src.d.ts +1 -0
  180. package/es-modules/masters/options/gauge.src.d.ts +1 -0
  181. package/es-modules/masters/options/geoheatmap.src.d.ts +1 -0
  182. package/es-modules/masters/options/heatmap.src.d.ts +1 -0
  183. package/es-modules/masters/options/heikinashi.src.d.ts +1 -0
  184. package/es-modules/masters/options/histogram.src.d.ts +1 -0
  185. package/es-modules/masters/options/hlc.src.d.ts +1 -0
  186. package/es-modules/masters/options/hollowcandlestick.src.d.ts +1 -0
  187. package/es-modules/masters/options/ikh.src.d.ts +1 -0
  188. package/es-modules/masters/options/item.src.d.ts +1 -0
  189. package/es-modules/masters/options/keltnerchannels.src.d.ts +1 -0
  190. package/es-modules/masters/options/klinger.src.d.ts +1 -0
  191. package/es-modules/masters/options/line.src.d.ts +1 -0
  192. package/es-modules/masters/options/linearregression.src.d.ts +1 -0
  193. package/es-modules/masters/options/linearregressionangle.src.d.ts +1 -0
  194. package/es-modules/masters/options/linearregressionintercept.src.d.ts +1 -0
  195. package/es-modules/masters/options/linearregressionslope.src.d.ts +1 -0
  196. package/es-modules/masters/options/lollipop.src.d.ts +1 -0
  197. package/es-modules/masters/options/macd.src.d.ts +1 -0
  198. package/es-modules/masters/options/map.src.d.ts +1 -0
  199. package/es-modules/masters/options/mapbubble.src.d.ts +1 -0
  200. package/es-modules/masters/options/mapline.src.d.ts +1 -0
  201. package/es-modules/masters/options/mappoint.src.d.ts +1 -0
  202. package/es-modules/masters/options/mfi.src.d.ts +1 -0
  203. package/es-modules/masters/options/momentum.src.d.ts +1 -0
  204. package/es-modules/masters/options/natr.src.d.ts +1 -0
  205. package/es-modules/masters/options/networkgraph.src.d.ts +1 -0
  206. package/es-modules/masters/options/obv.src.d.ts +1 -0
  207. package/es-modules/masters/options/ohlc.src.d.ts +1 -0
  208. package/es-modules/masters/options/organization.src.d.ts +1 -0
  209. package/es-modules/masters/options/packedbubble.src.d.ts +1 -0
  210. package/es-modules/masters/options/pareto.src.d.ts +1 -0
  211. package/es-modules/masters/options/pc.src.d.ts +1 -0
  212. package/es-modules/masters/options/pictorial.src.d.ts +1 -0
  213. package/es-modules/masters/options/pie.src.d.ts +1 -0
  214. package/es-modules/masters/options/pivotpoints.src.d.ts +1 -0
  215. package/es-modules/masters/options/pointandfigure.src.d.ts +1 -0
  216. package/es-modules/masters/options/polygon.src.d.ts +1 -0
  217. package/es-modules/masters/options/ppo.src.d.ts +1 -0
  218. package/es-modules/masters/options/priceenvelopes.src.d.ts +1 -0
  219. package/es-modules/masters/options/psar.src.d.ts +1 -0
  220. package/es-modules/masters/options/pyramid.src.d.ts +1 -0
  221. package/es-modules/masters/options/renko.src.d.ts +1 -0
  222. package/es-modules/masters/options/roc.src.d.ts +1 -0
  223. package/es-modules/masters/options/rsi.src.d.ts +1 -0
  224. package/es-modules/masters/options/sankey.src.d.ts +1 -0
  225. package/es-modules/masters/options/scatter.src.d.ts +1 -0
  226. package/es-modules/masters/options/series.src.d.ts +1 -0
  227. package/es-modules/masters/options/slowstochastic.src.d.ts +1 -0
  228. package/es-modules/masters/options/sma.src.d.ts +1 -0
  229. package/es-modules/masters/options/solidgauge.src.d.ts +1 -0
  230. package/es-modules/masters/options/spline.src.d.ts +1 -0
  231. package/es-modules/masters/options/stochastic.src.d.ts +1 -0
  232. package/es-modules/masters/options/streamgraph.src.d.ts +1 -0
  233. package/es-modules/masters/options/sunburst.src.d.ts +1 -0
  234. package/es-modules/masters/options/supertrend.src.d.ts +1 -0
  235. package/es-modules/masters/options/tema.src.d.ts +1 -0
  236. package/es-modules/masters/options/tiledwebmap.src.d.ts +1 -0
  237. package/es-modules/masters/options/tilemap.src.d.ts +1 -0
  238. package/es-modules/masters/options/timeline.src.d.ts +1 -0
  239. package/es-modules/masters/options/treegraph.src.d.ts +1 -0
  240. package/es-modules/masters/options/treemap.src.d.ts +1 -0
  241. package/es-modules/masters/options/trendline.src.d.ts +1 -0
  242. package/es-modules/masters/options/trix.src.d.ts +1 -0
  243. package/es-modules/masters/options/variablepie.src.d.ts +1 -0
  244. package/es-modules/masters/options/variwide.src.d.ts +1 -0
  245. package/es-modules/masters/options/vbp.src.d.ts +1 -0
  246. package/es-modules/masters/options/vector.src.d.ts +1 -0
  247. package/es-modules/masters/options/venn.src.d.ts +1 -0
  248. package/es-modules/masters/options/vwap.src.d.ts +1 -0
  249. package/es-modules/masters/options/waterfall.src.d.ts +1 -0
  250. package/es-modules/masters/options/williamsr.src.d.ts +1 -0
  251. package/es-modules/masters/options/windbarb.src.d.ts +1 -0
  252. package/es-modules/masters/options/wma.src.d.ts +1 -0
  253. package/es-modules/masters/options/wordcloud.src.d.ts +1 -0
  254. package/es-modules/masters/options/xrange.src.d.ts +1 -0
  255. package/es-modules/masters/options/zigzag.src.d.ts +1 -0
  256. package/es-modules/masters/themes/avocado.src.d.ts +1 -2
  257. package/es-modules/masters/themes/brand-dark.src.d.ts +1 -2
  258. package/es-modules/masters/themes/brand-light.src.d.ts +1 -2
  259. package/es-modules/masters/themes/dark-blue.src.d.ts +1 -2
  260. package/es-modules/masters/themes/dark-green.src.d.ts +1 -2
  261. package/es-modules/masters/themes/dark-unica.src.d.ts +1 -2
  262. package/es-modules/masters/themes/gray.src.d.ts +1 -2
  263. package/es-modules/masters/themes/grid-light.src.d.ts +1 -2
  264. package/es-modules/masters/themes/grid.src.d.ts +1 -2
  265. package/es-modules/masters/themes/high-contrast-dark.src.d.ts +1 -2
  266. package/es-modules/masters/themes/high-contrast-light.src.d.ts +1 -2
  267. package/es-modules/masters/themes/sand-signika.src.d.ts +1 -2
  268. package/es-modules/masters/themes/skies.src.d.ts +1 -2
  269. package/es-modules/masters/themes/sunset.src.d.ts +1 -2
  270. package/es-modules/tsconfig.tsbuildinfo +1 -1
  271. package/globals.d.ts +10 -0
  272. package/globals.src.d.ts +10 -0
  273. package/highcharts-3d.d.ts +19 -0
  274. package/highcharts-3d.js +9 -0
  275. package/highcharts-3d.src.d.ts +19 -0
  276. package/highcharts-3d.src.js +5 -5
  277. package/highcharts-gantt.d.ts +8 -0
  278. package/highcharts-gantt.js +16 -0
  279. package/highcharts-gantt.src.d.ts +8 -0
  280. package/highcharts-gantt.src.js +30 -25
  281. package/highcharts-more.d.ts +149 -0
  282. package/highcharts-more.js +9 -0
  283. package/highcharts-more.src.d.ts +149 -0
  284. package/highcharts-more.src.js +5 -5
  285. package/highcharts.d.ts +99695 -0
  286. package/highcharts.js +9 -0
  287. package/highcharts.src.d.ts +99695 -0
  288. package/highcharts.src.js +24 -19
  289. package/highmaps.d.ts +8 -0
  290. package/highmaps.js +16 -0
  291. package/highmaps.src.d.ts +8 -0
  292. package/highmaps.src.js +27 -22
  293. package/highstock.d.ts +8 -0
  294. package/highstock.js +16 -0
  295. package/highstock.src.d.ts +8 -0
  296. package/highstock.src.js +30 -25
  297. package/indicators/acceleration-bands.d.ts +17 -0
  298. package/indicators/acceleration-bands.js +12 -0
  299. package/indicators/acceleration-bands.src.d.ts +17 -0
  300. package/indicators/acceleration-bands.src.js +5 -5
  301. package/indicators/accumulation-distribution.d.ts +17 -0
  302. package/indicators/accumulation-distribution.js +12 -0
  303. package/indicators/accumulation-distribution.src.d.ts +17 -0
  304. package/indicators/accumulation-distribution.src.js +5 -5
  305. package/indicators/ao.d.ts +17 -0
  306. package/indicators/ao.js +12 -0
  307. package/indicators/ao.src.d.ts +17 -0
  308. package/indicators/ao.src.js +5 -5
  309. package/indicators/apo.d.ts +17 -0
  310. package/indicators/apo.js +12 -0
  311. package/indicators/apo.src.d.ts +17 -0
  312. package/indicators/apo.src.js +5 -5
  313. package/indicators/aroon-oscillator.d.ts +17 -0
  314. package/indicators/aroon-oscillator.js +12 -0
  315. package/indicators/aroon-oscillator.src.d.ts +17 -0
  316. package/indicators/aroon-oscillator.src.js +5 -5
  317. package/indicators/aroon.d.ts +17 -0
  318. package/indicators/aroon.js +12 -0
  319. package/indicators/aroon.src.d.ts +17 -0
  320. package/indicators/aroon.src.js +5 -5
  321. package/indicators/atr.d.ts +17 -0
  322. package/indicators/atr.js +12 -0
  323. package/indicators/atr.src.d.ts +17 -0
  324. package/indicators/atr.src.js +5 -5
  325. package/indicators/bollinger-bands.d.ts +17 -0
  326. package/indicators/bollinger-bands.js +12 -0
  327. package/indicators/bollinger-bands.src.d.ts +17 -0
  328. package/indicators/bollinger-bands.src.js +5 -5
  329. package/indicators/cci.d.ts +17 -0
  330. package/indicators/cci.js +12 -0
  331. package/indicators/cci.src.d.ts +17 -0
  332. package/indicators/cci.src.js +5 -5
  333. package/indicators/chaikin.d.ts +17 -0
  334. package/indicators/chaikin.js +12 -0
  335. package/indicators/chaikin.src.d.ts +17 -0
  336. package/indicators/chaikin.src.js +5 -5
  337. package/indicators/cmf.d.ts +17 -0
  338. package/indicators/cmf.js +11 -0
  339. package/indicators/cmf.src.d.ts +17 -0
  340. package/indicators/cmf.src.js +5 -5
  341. package/indicators/cmo.d.ts +17 -0
  342. package/indicators/cmo.js +12 -0
  343. package/indicators/cmo.src.d.ts +17 -0
  344. package/indicators/cmo.src.js +5 -5
  345. package/indicators/dema.d.ts +17 -0
  346. package/indicators/dema.js +12 -0
  347. package/indicators/dema.src.d.ts +17 -0
  348. package/indicators/dema.src.js +5 -5
  349. package/indicators/disparity-index.d.ts +17 -0
  350. package/indicators/disparity-index.js +12 -0
  351. package/indicators/disparity-index.src.d.ts +17 -0
  352. package/indicators/disparity-index.src.js +5 -5
  353. package/indicators/dmi.d.ts +17 -0
  354. package/indicators/dmi.js +12 -0
  355. package/indicators/dmi.src.d.ts +17 -0
  356. package/indicators/dmi.src.js +5 -5
  357. package/indicators/dpo.d.ts +17 -0
  358. package/indicators/dpo.js +12 -0
  359. package/indicators/dpo.src.d.ts +17 -0
  360. package/indicators/dpo.src.js +5 -5
  361. package/indicators/ema.d.ts +17 -0
  362. package/indicators/ema.js +1 -0
  363. package/indicators/ema.src.d.ts +17 -0
  364. package/indicators/ema.src.js +4 -4
  365. package/indicators/ichimoku-kinko-hyo.d.ts +17 -0
  366. package/indicators/ichimoku-kinko-hyo.js +12 -0
  367. package/indicators/ichimoku-kinko-hyo.src.d.ts +17 -0
  368. package/indicators/ichimoku-kinko-hyo.src.js +5 -5
  369. package/indicators/indicators-all.d.ts +31 -0
  370. package/indicators/indicators-all.js +12 -0
  371. package/indicators/indicators-all.src.d.ts +31 -0
  372. package/indicators/indicators-all.src.js +5 -5
  373. package/indicators/indicators.d.ts +17 -0
  374. package/indicators/indicators.js +12 -0
  375. package/indicators/indicators.src.d.ts +17 -0
  376. package/indicators/indicators.src.js +5 -5
  377. package/indicators/keltner-channels.d.ts +17 -0
  378. package/indicators/keltner-channels.js +12 -0
  379. package/indicators/keltner-channels.src.d.ts +17 -0
  380. package/indicators/keltner-channels.src.js +5 -5
  381. package/indicators/klinger.d.ts +17 -0
  382. package/indicators/klinger.js +12 -0
  383. package/indicators/klinger.src.d.ts +17 -0
  384. package/indicators/klinger.src.js +5 -5
  385. package/indicators/macd.d.ts +17 -0
  386. package/indicators/macd.js +12 -0
  387. package/indicators/macd.src.d.ts +17 -0
  388. package/indicators/macd.src.js +5 -5
  389. package/indicators/mfi.d.ts +21 -0
  390. package/indicators/mfi.js +12 -0
  391. package/indicators/mfi.src.d.ts +21 -0
  392. package/indicators/mfi.src.js +5 -5
  393. package/indicators/momentum.d.ts +17 -0
  394. package/indicators/momentum.js +12 -0
  395. package/indicators/momentum.src.d.ts +17 -0
  396. package/indicators/momentum.src.js +5 -5
  397. package/indicators/natr.d.ts +17 -0
  398. package/indicators/natr.js +12 -0
  399. package/indicators/natr.src.d.ts +17 -0
  400. package/indicators/natr.src.js +5 -5
  401. package/indicators/obv.d.ts +17 -0
  402. package/indicators/obv.js +12 -0
  403. package/indicators/obv.src.d.ts +17 -0
  404. package/indicators/obv.src.js +5 -5
  405. package/indicators/pivot-points.d.ts +17 -0
  406. package/indicators/pivot-points.js +12 -0
  407. package/indicators/pivot-points.src.d.ts +17 -0
  408. package/indicators/pivot-points.src.js +5 -5
  409. package/indicators/ppo.d.ts +17 -0
  410. package/indicators/ppo.js +12 -0
  411. package/indicators/ppo.src.d.ts +17 -0
  412. package/indicators/ppo.src.js +5 -5
  413. package/indicators/price-channel.d.ts +17 -0
  414. package/indicators/price-channel.js +12 -0
  415. package/indicators/price-channel.src.d.ts +17 -0
  416. package/indicators/price-channel.src.js +5 -5
  417. package/indicators/price-envelopes.d.ts +17 -0
  418. package/indicators/price-envelopes.js +12 -0
  419. package/indicators/price-envelopes.src.d.ts +17 -0
  420. package/indicators/price-envelopes.src.js +5 -5
  421. package/indicators/psar.d.ts +25 -0
  422. package/indicators/psar.js +12 -0
  423. package/indicators/psar.src.d.ts +25 -0
  424. package/indicators/psar.src.js +5 -5
  425. package/indicators/regressions.d.ts +17 -0
  426. package/indicators/regressions.js +12 -0
  427. package/indicators/regressions.src.d.ts +17 -0
  428. package/indicators/regressions.src.js +5 -5
  429. package/indicators/roc.d.ts +17 -0
  430. package/indicators/roc.js +12 -0
  431. package/indicators/roc.src.d.ts +17 -0
  432. package/indicators/roc.src.js +5 -5
  433. package/indicators/rsi.d.ts +19 -0
  434. package/indicators/rsi.js +12 -0
  435. package/indicators/rsi.src.d.ts +19 -0
  436. package/indicators/rsi.src.js +5 -5
  437. package/indicators/slow-stochastic.d.ts +17 -0
  438. package/indicators/slow-stochastic.js +12 -0
  439. package/indicators/slow-stochastic.src.d.ts +17 -0
  440. package/indicators/slow-stochastic.src.js +5 -5
  441. package/indicators/stochastic.d.ts +17 -0
  442. package/indicators/stochastic.js +12 -0
  443. package/indicators/stochastic.src.d.ts +17 -0
  444. package/indicators/stochastic.src.js +5 -5
  445. package/indicators/supertrend.d.ts +17 -0
  446. package/indicators/supertrend.js +12 -0
  447. package/indicators/supertrend.src.d.ts +17 -0
  448. package/indicators/supertrend.src.js +5 -5
  449. package/indicators/tema.d.ts +17 -0
  450. package/indicators/tema.js +12 -0
  451. package/indicators/tema.src.d.ts +17 -0
  452. package/indicators/tema.src.js +5 -5
  453. package/indicators/trendline.d.ts +17 -0
  454. package/indicators/trendline.js +12 -0
  455. package/indicators/trendline.src.d.ts +17 -0
  456. package/indicators/trendline.src.js +5 -5
  457. package/indicators/trix.d.ts +17 -0
  458. package/indicators/trix.js +12 -0
  459. package/indicators/trix.src.d.ts +17 -0
  460. package/indicators/trix.src.js +5 -5
  461. package/indicators/volume-by-price.d.ts +17 -0
  462. package/indicators/volume-by-price.js +12 -0
  463. package/indicators/volume-by-price.src.d.ts +17 -0
  464. package/indicators/volume-by-price.src.js +5 -5
  465. package/indicators/vwap.d.ts +17 -0
  466. package/indicators/vwap.js +12 -0
  467. package/indicators/vwap.src.d.ts +17 -0
  468. package/indicators/vwap.src.js +5 -5
  469. package/indicators/williams-r.d.ts +17 -0
  470. package/indicators/williams-r.js +12 -0
  471. package/indicators/williams-r.src.d.ts +17 -0
  472. package/indicators/williams-r.src.js +5 -5
  473. package/indicators/wma.d.ts +17 -0
  474. package/indicators/wma.js +12 -0
  475. package/indicators/wma.src.d.ts +17 -0
  476. package/indicators/wma.src.js +5 -5
  477. package/indicators/zigzag.d.ts +17 -0
  478. package/indicators/zigzag.js +12 -0
  479. package/indicators/zigzag.src.d.ts +17 -0
  480. package/indicators/zigzag.src.js +5 -5
  481. package/modules/accessibility.d.ts +228 -0
  482. package/modules/accessibility.js +12 -0
  483. package/modules/accessibility.src.d.ts +228 -0
  484. package/modules/accessibility.src.js +5 -5
  485. package/modules/annotations-advanced.d.ts +72 -0
  486. package/modules/annotations-advanced.js +21 -0
  487. package/modules/annotations-advanced.src.d.ts +72 -0
  488. package/modules/annotations-advanced.src.js +8 -8
  489. package/modules/annotations.d.ts +39 -0
  490. package/modules/annotations.js +11 -0
  491. package/modules/annotations.src.d.ts +39 -0
  492. package/modules/annotations.src.js +7 -7
  493. package/modules/arc-diagram.d.ts +58 -0
  494. package/modules/arc-diagram.js +11 -0
  495. package/modules/arc-diagram.src.d.ts +58 -0
  496. package/modules/arc-diagram.src.js +5 -5
  497. package/modules/arrow-symbols.d.ts +17 -0
  498. package/modules/arrow-symbols.js +11 -0
  499. package/modules/arrow-symbols.src.d.ts +17 -0
  500. package/modules/arrow-symbols.src.js +5 -5
  501. package/modules/boost-canvas.d.ts +30 -0
  502. package/modules/boost-canvas.js +12 -0
  503. package/modules/boost-canvas.src.d.ts +30 -0
  504. package/modules/boost-canvas.src.js +21 -10
  505. package/modules/boost.d.ts +32 -0
  506. package/modules/boost.js +13 -0
  507. package/modules/boost.src.d.ts +32 -0
  508. package/modules/boost.src.js +21 -10
  509. package/modules/broken-axis.d.ts +17 -0
  510. package/modules/broken-axis.js +9 -0
  511. package/modules/broken-axis.src.d.ts +17 -0
  512. package/modules/broken-axis.src.js +5 -5
  513. package/modules/bullet.d.ts +17 -0
  514. package/modules/bullet.js +11 -0
  515. package/modules/bullet.src.d.ts +17 -0
  516. package/modules/bullet.src.js +5 -5
  517. package/modules/coloraxis.d.ts +85 -0
  518. package/modules/coloraxis.js +11 -0
  519. package/modules/coloraxis.src.d.ts +85 -0
  520. package/modules/coloraxis.src.js +5 -5
  521. package/modules/current-date-indicator.d.ts +17 -0
  522. package/modules/current-date-indicator.js +11 -0
  523. package/modules/current-date-indicator.src.d.ts +17 -0
  524. package/modules/current-date-indicator.src.js +5 -5
  525. package/modules/cylinder.d.ts +17 -0
  526. package/modules/cylinder.js +12 -0
  527. package/modules/cylinder.src.d.ts +17 -0
  528. package/modules/cylinder.src.js +5 -5
  529. package/modules/data-tools.js +11 -0
  530. package/modules/data-tools.src.js +5 -5
  531. package/modules/data.d.ts +203 -0
  532. package/modules/data.js +11 -0
  533. package/modules/data.src.d.ts +203 -0
  534. package/modules/data.src.js +5 -5
  535. package/modules/datagrouping.d.ts +91 -0
  536. package/modules/datagrouping.js +11 -0
  537. package/modules/datagrouping.src.d.ts +91 -0
  538. package/modules/datagrouping.src.js +5 -5
  539. package/modules/debugger.d.ts +17 -0
  540. package/modules/debugger.js +11 -0
  541. package/modules/debugger.src.d.ts +17 -0
  542. package/modules/debugger.src.js +5 -5
  543. package/modules/dependency-wheel.d.ts +58 -0
  544. package/modules/dependency-wheel.js +12 -0
  545. package/modules/dependency-wheel.src.d.ts +58 -0
  546. package/modules/dependency-wheel.src.js +5 -5
  547. package/modules/dotplot.d.ts +17 -0
  548. package/modules/dotplot.js +11 -0
  549. package/modules/dotplot.src.d.ts +17 -0
  550. package/modules/dotplot.src.js +5 -5
  551. package/modules/drag-panes.d.ts +17 -0
  552. package/modules/drag-panes.js +13 -0
  553. package/modules/drag-panes.src.d.ts +17 -0
  554. package/modules/drag-panes.src.js +5 -5
  555. package/modules/draggable-points.d.ts +30 -0
  556. package/modules/draggable-points.js +9 -0
  557. package/modules/draggable-points.src.d.ts +30 -0
  558. package/modules/draggable-points.src.js +5 -5
  559. package/modules/drilldown.d.ts +84 -0
  560. package/modules/drilldown.js +11 -0
  561. package/modules/drilldown.src.d.ts +84 -0
  562. package/modules/drilldown.src.js +8 -8
  563. package/modules/dumbbell.d.ts +22 -0
  564. package/modules/dumbbell.js +9 -0
  565. package/modules/dumbbell.src.d.ts +22 -0
  566. package/modules/dumbbell.src.js +5 -5
  567. package/modules/export-data.d.ts +86 -0
  568. package/modules/export-data.js +12 -0
  569. package/modules/export-data.src.d.ts +86 -0
  570. package/modules/export-data.src.js +5 -5
  571. package/modules/exporting.d.ts +137 -0
  572. package/modules/exporting.js +11 -0
  573. package/modules/exporting.src.d.ts +137 -0
  574. package/modules/exporting.src.js +5 -5
  575. package/modules/flowmap.d.ts +17 -0
  576. package/modules/flowmap.js +9 -0
  577. package/modules/flowmap.src.d.ts +17 -0
  578. package/modules/flowmap.src.js +5 -5
  579. package/modules/full-screen.d.ts +21 -0
  580. package/modules/full-screen.js +12 -0
  581. package/modules/full-screen.src.d.ts +21 -0
  582. package/modules/full-screen.src.js +5 -5
  583. package/modules/funnel.d.ts +23 -0
  584. package/modules/funnel.js +11 -0
  585. package/modules/funnel.src.d.ts +23 -0
  586. package/modules/funnel.src.js +5 -5
  587. package/modules/funnel3d.d.ts +17 -0
  588. package/modules/funnel3d.js +13 -0
  589. package/modules/funnel3d.src.d.ts +17 -0
  590. package/modules/funnel3d.src.js +5 -5
  591. package/modules/gantt.d.ts +96 -0
  592. package/modules/gantt.js +31 -0
  593. package/modules/gantt.src.d.ts +96 -0
  594. package/modules/gantt.src.js +9 -9
  595. package/modules/geoheatmap.d.ts +30 -0
  596. package/modules/geoheatmap.js +9 -0
  597. package/modules/geoheatmap.src.d.ts +30 -0
  598. package/modules/geoheatmap.src.js +5 -5
  599. package/modules/grid-axis.d.ts +17 -0
  600. package/modules/grid-axis.js +11 -0
  601. package/modules/grid-axis.src.d.ts +17 -0
  602. package/modules/grid-axis.src.js +5 -5
  603. package/modules/heatmap.d.ts +52 -0
  604. package/modules/heatmap.js +19 -0
  605. package/modules/heatmap.src.d.ts +52 -0
  606. package/modules/heatmap.src.js +6 -6
  607. package/modules/heikinashi.d.ts +17 -0
  608. package/modules/heikinashi.js +12 -0
  609. package/modules/heikinashi.src.d.ts +17 -0
  610. package/modules/heikinashi.src.js +5 -5
  611. package/modules/histogram-bellcurve.d.ts +23 -0
  612. package/modules/histogram-bellcurve.js +10 -0
  613. package/modules/histogram-bellcurve.src.d.ts +23 -0
  614. package/modules/histogram-bellcurve.src.js +5 -5
  615. package/modules/hollowcandlestick.d.ts +17 -0
  616. package/modules/hollowcandlestick.js +12 -0
  617. package/modules/hollowcandlestick.src.d.ts +17 -0
  618. package/modules/hollowcandlestick.src.js +5 -5
  619. package/modules/item-series.d.ts +17 -0
  620. package/modules/item-series.js +11 -0
  621. package/modules/item-series.src.d.ts +17 -0
  622. package/modules/item-series.src.js +5 -5
  623. package/modules/lollipop.d.ts +17 -0
  624. package/modules/lollipop.js +9 -0
  625. package/modules/lollipop.src.d.ts +17 -0
  626. package/modules/lollipop.src.js +5 -5
  627. package/modules/map.d.ts +425 -0
  628. package/modules/map.js +21 -0
  629. package/modules/map.src.d.ts +425 -0
  630. package/modules/map.src.js +6 -6
  631. package/modules/marker-clusters.d.ts +22 -0
  632. package/modules/marker-clusters.js +11 -0
  633. package/modules/marker-clusters.src.d.ts +22 -0
  634. package/modules/marker-clusters.src.js +5 -5
  635. package/modules/mouse-wheel-zoom.d.ts +17 -0
  636. package/modules/mouse-wheel-zoom.js +11 -0
  637. package/modules/mouse-wheel-zoom.src.d.ts +17 -0
  638. package/modules/mouse-wheel-zoom.src.js +5 -5
  639. package/modules/navigator.d.ts +157 -0
  640. package/modules/navigator.js +11 -0
  641. package/modules/navigator.src.d.ts +157 -0
  642. package/modules/navigator.src.js +5 -5
  643. package/modules/networkgraph.d.ts +69 -0
  644. package/modules/networkgraph.js +11 -0
  645. package/modules/networkgraph.src.d.ts +69 -0
  646. package/modules/networkgraph.src.js +5 -5
  647. package/modules/no-data-to-display.d.ts +17 -0
  648. package/modules/no-data-to-display.js +12 -0
  649. package/modules/no-data-to-display.src.d.ts +17 -0
  650. package/modules/no-data-to-display.src.js +5 -5
  651. package/modules/offline-exporting.d.ts +117 -0
  652. package/modules/offline-exporting.js +12 -0
  653. package/modules/offline-exporting.src.d.ts +117 -0
  654. package/modules/offline-exporting.src.js +6 -6
  655. package/modules/organization.d.ts +61 -0
  656. package/modules/organization.js +11 -0
  657. package/modules/organization.src.d.ts +61 -0
  658. package/modules/organization.src.js +5 -5
  659. package/modules/overlapping-datalabels.d.ts +17 -0
  660. package/modules/overlapping-datalabels.js +9 -0
  661. package/modules/overlapping-datalabels.src.d.ts +17 -0
  662. package/modules/overlapping-datalabels.src.js +5 -5
  663. package/modules/parallel-coordinates.d.ts +25 -0
  664. package/modules/parallel-coordinates.js +11 -0
  665. package/modules/parallel-coordinates.src.d.ts +25 -0
  666. package/modules/parallel-coordinates.src.js +5 -5
  667. package/modules/pareto.d.ts +17 -0
  668. package/modules/pareto.js +11 -0
  669. package/modules/pareto.src.d.ts +17 -0
  670. package/modules/pareto.src.js +5 -5
  671. package/modules/pathfinder.d.ts +21 -0
  672. package/modules/pathfinder.js +11 -0
  673. package/modules/pathfinder.src.d.ts +21 -0
  674. package/modules/pathfinder.src.js +5 -5
  675. package/modules/pattern-fill.d.ts +17 -0
  676. package/modules/pattern-fill.js +12 -0
  677. package/modules/pattern-fill.src.d.ts +17 -0
  678. package/modules/pattern-fill.src.js +5 -5
  679. package/modules/pictorial.d.ts +36 -0
  680. package/modules/pictorial.js +11 -0
  681. package/modules/pictorial.src.d.ts +36 -0
  682. package/modules/pictorial.src.js +5 -5
  683. package/modules/pointandfigure.d.ts +19 -0
  684. package/modules/pointandfigure.js +12 -0
  685. package/modules/pointandfigure.src.d.ts +19 -0
  686. package/modules/pointandfigure.src.js +5 -5
  687. package/modules/price-indicator.d.ts +17 -0
  688. package/modules/price-indicator.js +13 -0
  689. package/modules/price-indicator.src.d.ts +17 -0
  690. package/modules/price-indicator.src.js +5 -5
  691. package/modules/pyramid3d.d.ts +17 -0
  692. package/modules/pyramid3d.js +14 -0
  693. package/modules/pyramid3d.src.d.ts +17 -0
  694. package/modules/pyramid3d.src.js +5 -5
  695. package/modules/renko.d.ts +17 -0
  696. package/modules/renko.js +12 -0
  697. package/modules/renko.src.d.ts +17 -0
  698. package/modules/renko.src.js +5 -5
  699. package/modules/sankey.d.ts +58 -0
  700. package/modules/sankey.js +11 -0
  701. package/modules/sankey.src.d.ts +58 -0
  702. package/modules/sankey.src.js +5 -5
  703. package/modules/series-label.d.ts +17 -0
  704. package/modules/series-label.js +9 -0
  705. package/modules/series-label.src.d.ts +17 -0
  706. package/modules/series-label.src.js +5 -5
  707. package/modules/series-on-point.d.ts +22 -0
  708. package/modules/series-on-point.js +12 -0
  709. package/modules/series-on-point.src.d.ts +22 -0
  710. package/modules/series-on-point.src.js +5 -5
  711. package/modules/solid-gauge.d.ts +23 -0
  712. package/modules/solid-gauge.js +12 -0
  713. package/modules/solid-gauge.src.d.ts +23 -0
  714. package/modules/solid-gauge.src.js +5 -5
  715. package/modules/sonification.d.ts +663 -0
  716. package/modules/sonification.js +12 -0
  717. package/modules/sonification.src.d.ts +663 -0
  718. package/modules/sonification.src.js +5 -5
  719. package/modules/static-scale.d.ts +17 -0
  720. package/modules/static-scale.js +11 -0
  721. package/modules/static-scale.src.d.ts +17 -0
  722. package/modules/static-scale.src.js +5 -5
  723. package/modules/stock-tools.d.ts +31 -0
  724. package/modules/stock-tools.js +13 -0
  725. package/modules/stock-tools.src.d.ts +31 -0
  726. package/modules/stock-tools.src.js +7 -7
  727. package/modules/stock.d.ts +206 -0
  728. package/modules/stock.js +29 -0
  729. package/modules/stock.src.d.ts +206 -0
  730. package/modules/stock.src.js +9 -9
  731. package/modules/streamgraph.d.ts +17 -0
  732. package/modules/streamgraph.js +11 -0
  733. package/modules/streamgraph.src.d.ts +17 -0
  734. package/modules/streamgraph.src.js +5 -5
  735. package/modules/sunburst.d.ts +62 -0
  736. package/modules/sunburst.js +10 -0
  737. package/modules/sunburst.src.d.ts +62 -0
  738. package/modules/sunburst.src.js +5 -5
  739. package/modules/textpath.d.ts +58 -0
  740. package/modules/textpath.js +9 -0
  741. package/modules/textpath.src.d.ts +58 -0
  742. package/modules/textpath.src.js +5 -5
  743. package/modules/tiledwebmap.d.ts +17 -0
  744. package/modules/tiledwebmap.js +12 -0
  745. package/modules/tiledwebmap.src.d.ts +17 -0
  746. package/modules/tiledwebmap.src.js +5 -5
  747. package/modules/tilemap.d.ts +17 -0
  748. package/modules/tilemap.js +12 -0
  749. package/modules/tilemap.src.d.ts +17 -0
  750. package/modules/tilemap.src.js +5 -5
  751. package/modules/timeline.d.ts +17 -0
  752. package/modules/timeline.js +12 -0
  753. package/modules/timeline.src.d.ts +17 -0
  754. package/modules/timeline.src.js +5 -5
  755. package/modules/treegraph.d.ts +61 -0
  756. package/modules/treegraph.js +11 -0
  757. package/modules/treegraph.src.d.ts +61 -0
  758. package/modules/treegraph.src.js +5 -5
  759. package/modules/treegrid.d.ts +17 -0
  760. package/modules/treegrid.js +11 -0
  761. package/modules/treegrid.src.d.ts +17 -0
  762. package/modules/treegrid.src.js +5 -5
  763. package/modules/treemap.d.ts +22 -0
  764. package/modules/treemap.js +10 -0
  765. package/modules/treemap.src.d.ts +22 -0
  766. package/modules/treemap.src.js +5 -5
  767. package/modules/variable-pie.d.ts +17 -0
  768. package/modules/variable-pie.js +11 -0
  769. package/modules/variable-pie.src.d.ts +17 -0
  770. package/modules/variable-pie.src.js +5 -5
  771. package/modules/variwide.d.ts +17 -0
  772. package/modules/variwide.js +11 -0
  773. package/modules/variwide.src.d.ts +17 -0
  774. package/modules/variwide.src.js +5 -5
  775. package/modules/vector.d.ts +17 -0
  776. package/modules/vector.js +11 -0
  777. package/modules/vector.src.d.ts +17 -0
  778. package/modules/vector.src.js +5 -5
  779. package/modules/venn.d.ts +47 -0
  780. package/modules/venn.js +10 -0
  781. package/modules/venn.src.d.ts +47 -0
  782. package/modules/venn.src.js +5 -5
  783. package/modules/windbarb.d.ts +17 -0
  784. package/modules/windbarb.js +11 -0
  785. package/modules/windbarb.src.d.ts +17 -0
  786. package/modules/windbarb.src.js +5 -5
  787. package/modules/wordcloud.d.ts +17 -0
  788. package/modules/wordcloud.js +10 -0
  789. package/modules/wordcloud.src.d.ts +17 -0
  790. package/modules/wordcloud.src.js +5 -5
  791. package/modules/xrange.d.ts +24 -0
  792. package/modules/xrange.js +11 -0
  793. package/modules/xrange.src.d.ts +24 -0
  794. package/modules/xrange.src.js +5 -5
  795. package/options/abands.d.ts +1009 -0
  796. package/options/abands.src.d.ts +1009 -0
  797. package/options/ad.d.ts +1006 -0
  798. package/options/ad.src.d.ts +1006 -0
  799. package/options/ao.d.ts +973 -0
  800. package/options/ao.src.d.ts +973 -0
  801. package/options/apo.d.ts +1007 -0
  802. package/options/apo.src.d.ts +1007 -0
  803. package/options/arcdiagram.d.ts +598 -0
  804. package/options/arcdiagram.src.d.ts +598 -0
  805. package/options/area.d.ts +118 -0
  806. package/options/area.src.d.ts +118 -0
  807. package/options/arearange.d.ts +245 -0
  808. package/options/arearange.src.d.ts +245 -0
  809. package/options/areaspline.d.ts +1193 -0
  810. package/options/areaspline.src.d.ts +1193 -0
  811. package/options/areasplinerange.d.ts +863 -0
  812. package/options/areasplinerange.src.d.ts +863 -0
  813. package/options/aroon.d.ts +118 -0
  814. package/options/aroon.src.d.ts +118 -0
  815. package/options/aroonoscillator.d.ts +998 -0
  816. package/options/aroonoscillator.src.d.ts +998 -0
  817. package/options/atr.d.ts +109 -0
  818. package/options/atr.src.d.ts +109 -0
  819. package/options/bar.d.ts +116 -0
  820. package/options/bar.src.d.ts +116 -0
  821. package/options/bb.d.ts +1042 -0
  822. package/options/bb.src.d.ts +1042 -0
  823. package/options/bellcurve.d.ts +947 -0
  824. package/options/bellcurve.src.d.ts +947 -0
  825. package/options/boxplot.d.ts +116 -0
  826. package/options/boxplot.src.d.ts +116 -0
  827. package/options/bubble.d.ts +440 -0
  828. package/options/bubble.src.d.ts +440 -0
  829. package/options/bullet.d.ts +515 -0
  830. package/options/bullet.src.d.ts +515 -0
  831. package/options/candlestick.d.ts +161 -0
  832. package/options/candlestick.src.d.ts +161 -0
  833. package/options/cci.d.ts +962 -0
  834. package/options/cci.src.d.ts +962 -0
  835. package/options/chaikin.d.ts +1007 -0
  836. package/options/chaikin.src.d.ts +1007 -0
  837. package/options/cmf.d.ts +951 -0
  838. package/options/cmf.src.d.ts +951 -0
  839. package/options/cmo.d.ts +1007 -0
  840. package/options/cmo.src.d.ts +1007 -0
  841. package/options/column.d.ts +1202 -0
  842. package/options/column.src.d.ts +1202 -0
  843. package/options/columnpyramid.d.ts +167 -0
  844. package/options/columnpyramid.src.d.ts +167 -0
  845. package/options/columnrange.d.ts +927 -0
  846. package/options/columnrange.src.d.ts +927 -0
  847. package/options/cylinder.d.ts +116 -0
  848. package/options/cylinder.src.d.ts +116 -0
  849. package/options/dema.d.ts +993 -0
  850. package/options/dema.src.d.ts +993 -0
  851. package/options/dependencywheel.d.ts +219 -0
  852. package/options/dependencywheel.src.d.ts +219 -0
  853. package/options/disparityindex.d.ts +964 -0
  854. package/options/disparityindex.src.d.ts +964 -0
  855. package/options/dmi.d.ts +1037 -0
  856. package/options/dmi.src.d.ts +1037 -0
  857. package/options/dpo.d.ts +949 -0
  858. package/options/dpo.src.d.ts +949 -0
  859. package/options/dumbbell.d.ts +176 -0
  860. package/options/dumbbell.src.d.ts +176 -0
  861. package/options/ema.d.ts +1006 -0
  862. package/options/ema.src.d.ts +1006 -0
  863. package/options/errorbar.d.ts +1064 -0
  864. package/options/errorbar.src.d.ts +1064 -0
  865. package/options/flags.d.ts +167 -0
  866. package/options/flags.src.d.ts +167 -0
  867. package/options/flowmap.d.ts +152 -0
  868. package/options/flowmap.src.d.ts +152 -0
  869. package/options/funnel.d.ts +555 -0
  870. package/options/funnel.src.d.ts +555 -0
  871. package/options/gantt.d.ts +831 -0
  872. package/options/gantt.src.d.ts +831 -0
  873. package/options/gauge.d.ts +787 -0
  874. package/options/gauge.src.d.ts +787 -0
  875. package/options/geoheatmap.d.ts +771 -0
  876. package/options/geoheatmap.src.d.ts +771 -0
  877. package/options/heatmap.d.ts +118 -0
  878. package/options/heatmap.src.d.ts +118 -0
  879. package/options/heikinashi.d.ts +1120 -0
  880. package/options/heikinashi.src.d.ts +1120 -0
  881. package/options/histogram.d.ts +151 -0
  882. package/options/histogram.src.d.ts +151 -0
  883. package/options/hlc.d.ts +1134 -0
  884. package/options/hlc.src.d.ts +1134 -0
  885. package/options/hollowcandlestick.d.ts +162 -0
  886. package/options/hollowcandlestick.src.d.ts +162 -0
  887. package/options/ikh.d.ts +1027 -0
  888. package/options/ikh.src.d.ts +1027 -0
  889. package/options/item.d.ts +468 -0
  890. package/options/item.src.d.ts +468 -0
  891. package/options/keltnerchannels.d.ts +182 -0
  892. package/options/keltnerchannels.src.d.ts +182 -0
  893. package/options/klinger.d.ts +133 -0
  894. package/options/klinger.src.d.ts +133 -0
  895. package/options/line.d.ts +189 -0
  896. package/options/line.src.d.ts +189 -0
  897. package/options/linearregression.d.ts +1008 -0
  898. package/options/linearregression.src.d.ts +1008 -0
  899. package/options/linearregressionangle.d.ts +183 -0
  900. package/options/linearregressionangle.src.d.ts +183 -0
  901. package/options/linearregressionintercept.d.ts +963 -0
  902. package/options/linearregressionintercept.src.d.ts +963 -0
  903. package/options/linearregressionslope.d.ts +963 -0
  904. package/options/linearregressionslope.src.d.ts +963 -0
  905. package/options/lollipop.d.ts +216 -0
  906. package/options/lollipop.src.d.ts +216 -0
  907. package/options/macd.d.ts +1001 -0
  908. package/options/macd.src.d.ts +1001 -0
  909. package/options/map.d.ts +666 -0
  910. package/options/map.src.d.ts +666 -0
  911. package/options/mapbubble.d.ts +158 -0
  912. package/options/mapbubble.src.d.ts +158 -0
  913. package/options/mapline.d.ts +850 -0
  914. package/options/mapline.src.d.ts +850 -0
  915. package/options/mappoint.d.ts +232 -0
  916. package/options/mappoint.src.d.ts +232 -0
  917. package/options/mfi.d.ts +1007 -0
  918. package/options/mfi.src.d.ts +1007 -0
  919. package/options/momentum.d.ts +961 -0
  920. package/options/momentum.src.d.ts +961 -0
  921. package/options/natr.d.ts +1007 -0
  922. package/options/natr.src.d.ts +1007 -0
  923. package/options/networkgraph.d.ts +558 -0
  924. package/options/networkgraph.src.d.ts +558 -0
  925. package/options/obv.d.ts +153 -0
  926. package/options/obv.src.d.ts +153 -0
  927. package/options/ohlc.d.ts +160 -0
  928. package/options/ohlc.src.d.ts +160 -0
  929. package/options/organization.d.ts +229 -0
  930. package/options/organization.src.d.ts +229 -0
  931. package/options/packedbubble.d.ts +358 -0
  932. package/options/packedbubble.src.d.ts +358 -0
  933. package/options/pareto.d.ts +151 -0
  934. package/options/pareto.src.d.ts +151 -0
  935. package/options/pc.d.ts +970 -0
  936. package/options/pc.src.d.ts +970 -0
  937. package/options/pictorial.d.ts +963 -0
  938. package/options/pictorial.src.d.ts +963 -0
  939. package/options/pie.d.ts +585 -0
  940. package/options/pie.src.d.ts +585 -0
  941. package/options/pivotpoints.d.ts +115 -0
  942. package/options/pivotpoints.src.d.ts +115 -0
  943. package/options/pointandfigure.d.ts +364 -0
  944. package/options/pointandfigure.src.d.ts +364 -0
  945. package/options/polygon.d.ts +1025 -0
  946. package/options/polygon.src.d.ts +1025 -0
  947. package/options/ppo.d.ts +162 -0
  948. package/options/ppo.src.d.ts +162 -0
  949. package/options/priceenvelopes.d.ts +141 -0
  950. package/options/priceenvelopes.src.d.ts +141 -0
  951. package/options/psar.d.ts +175 -0
  952. package/options/psar.src.d.ts +175 -0
  953. package/options/pyramid.d.ts +1285 -0
  954. package/options/pyramid.src.d.ts +1285 -0
  955. package/options/renko.d.ts +896 -0
  956. package/options/renko.src.d.ts +896 -0
  957. package/options/roc.d.ts +114 -0
  958. package/options/roc.src.d.ts +114 -0
  959. package/options/rsi.d.ts +159 -0
  960. package/options/rsi.src.d.ts +159 -0
  961. package/options/sankey.d.ts +218 -0
  962. package/options/sankey.src.d.ts +218 -0
  963. package/options/scatter.d.ts +989 -0
  964. package/options/scatter.src.d.ts +989 -0
  965. package/options/series.d.ts +1164 -0
  966. package/options/series.src.d.ts +1164 -0
  967. package/options/slowstochastic.d.ts +1015 -0
  968. package/options/slowstochastic.src.d.ts +1015 -0
  969. package/options/sma.d.ts +962 -0
  970. package/options/sma.src.d.ts +962 -0
  971. package/options/solidgauge.d.ts +389 -0
  972. package/options/solidgauge.src.d.ts +389 -0
  973. package/options/spline.d.ts +1091 -0
  974. package/options/spline.src.d.ts +1091 -0
  975. package/options/stochastic.d.ts +167 -0
  976. package/options/stochastic.src.d.ts +167 -0
  977. package/options/streamgraph.d.ts +167 -0
  978. package/options/streamgraph.src.d.ts +167 -0
  979. package/options/sunburst.d.ts +735 -0
  980. package/options/sunburst.src.d.ts +735 -0
  981. package/options/supertrend.d.ts +121 -0
  982. package/options/supertrend.src.d.ts +121 -0
  983. package/options/tema.d.ts +162 -0
  984. package/options/tema.src.d.ts +162 -0
  985. package/options/tiledwebmap.d.ts +119 -0
  986. package/options/tiledwebmap.src.d.ts +119 -0
  987. package/options/tilemap.d.ts +419 -0
  988. package/options/tilemap.src.d.ts +419 -0
  989. package/options/timeline.d.ts +95 -0
  990. package/options/timeline.src.d.ts +95 -0
  991. package/options/treegraph.d.ts +338 -0
  992. package/options/treegraph.src.d.ts +338 -0
  993. package/options/treemap.d.ts +964 -0
  994. package/options/treemap.src.d.ts +964 -0
  995. package/options/trendline.d.ts +109 -0
  996. package/options/trendline.src.d.ts +109 -0
  997. package/options/trix.d.ts +162 -0
  998. package/options/trix.src.d.ts +162 -0
  999. package/options/variablepie.d.ts +568 -0
  1000. package/options/variablepie.src.d.ts +568 -0
  1001. package/options/variwide.d.ts +152 -0
  1002. package/options/variwide.src.d.ts +152 -0
  1003. package/options/vbp.d.ts +997 -0
  1004. package/options/vbp.src.d.ts +997 -0
  1005. package/options/vector.d.ts +193 -0
  1006. package/options/vector.src.d.ts +193 -0
  1007. package/options/venn.d.ts +853 -0
  1008. package/options/venn.src.d.ts +853 -0
  1009. package/options/vwap.d.ts +159 -0
  1010. package/options/vwap.src.d.ts +159 -0
  1011. package/options/waterfall.d.ts +164 -0
  1012. package/options/waterfall.src.d.ts +164 -0
  1013. package/options/williamsr.d.ts +963 -0
  1014. package/options/williamsr.src.d.ts +963 -0
  1015. package/options/windbarb.d.ts +1102 -0
  1016. package/options/windbarb.src.d.ts +1102 -0
  1017. package/options/wma.d.ts +158 -0
  1018. package/options/wma.src.d.ts +158 -0
  1019. package/options/wordcloud.d.ts +487 -0
  1020. package/options/wordcloud.src.d.ts +487 -0
  1021. package/options/xrange.d.ts +1006 -0
  1022. package/options/xrange.src.d.ts +1006 -0
  1023. package/options/zigzag.d.ts +963 -0
  1024. package/options/zigzag.src.d.ts +963 -0
  1025. package/package.json +1 -1
  1026. package/standalone-navigator.js +9 -0
  1027. package/standalone-navigator.src.js +25 -20
  1028. package/themes/avocado.d.ts +22 -0
  1029. package/themes/avocado.js +9 -0
  1030. package/themes/avocado.src.d.ts +22 -0
  1031. package/themes/avocado.src.js +5 -5
  1032. package/themes/brand-dark.d.ts +22 -0
  1033. package/themes/brand-dark.js +9 -0
  1034. package/themes/brand-dark.src.d.ts +22 -0
  1035. package/themes/brand-dark.src.js +5 -5
  1036. package/themes/brand-light.d.ts +22 -0
  1037. package/themes/brand-light.js +9 -0
  1038. package/themes/brand-light.src.d.ts +22 -0
  1039. package/themes/brand-light.src.js +5 -5
  1040. package/themes/dark-blue.d.ts +22 -0
  1041. package/themes/dark-blue.js +9 -0
  1042. package/themes/dark-blue.src.d.ts +22 -0
  1043. package/themes/dark-blue.src.js +5 -5
  1044. package/themes/dark-green.d.ts +22 -0
  1045. package/themes/dark-green.js +9 -0
  1046. package/themes/dark-green.src.d.ts +22 -0
  1047. package/themes/dark-green.src.js +5 -5
  1048. package/themes/dark-unica.d.ts +22 -0
  1049. package/themes/dark-unica.js +9 -0
  1050. package/themes/dark-unica.src.d.ts +22 -0
  1051. package/themes/dark-unica.src.js +5 -5
  1052. package/themes/gray.d.ts +22 -0
  1053. package/themes/gray.js +9 -0
  1054. package/themes/gray.src.d.ts +22 -0
  1055. package/themes/gray.src.js +5 -5
  1056. package/themes/grid-light.d.ts +22 -0
  1057. package/themes/grid-light.js +9 -0
  1058. package/themes/grid-light.src.d.ts +22 -0
  1059. package/themes/grid-light.src.js +5 -5
  1060. package/themes/grid.d.ts +22 -0
  1061. package/themes/grid.js +9 -0
  1062. package/themes/grid.src.d.ts +22 -0
  1063. package/themes/grid.src.js +5 -5
  1064. package/themes/high-contrast-dark.d.ts +22 -0
  1065. package/themes/high-contrast-dark.js +9 -0
  1066. package/themes/high-contrast-dark.src.d.ts +22 -0
  1067. package/themes/high-contrast-dark.src.js +5 -5
  1068. package/themes/high-contrast-light.d.ts +22 -0
  1069. package/themes/high-contrast-light.js +9 -0
  1070. package/themes/high-contrast-light.src.d.ts +22 -0
  1071. package/themes/high-contrast-light.src.js +5 -5
  1072. package/themes/sand-signika.d.ts +22 -0
  1073. package/themes/sand-signika.js +9 -0
  1074. package/themes/sand-signika.src.d.ts +22 -0
  1075. package/themes/sand-signika.src.js +5 -5
  1076. package/themes/skies.d.ts +22 -0
  1077. package/themes/skies.js +9 -0
  1078. package/themes/skies.src.d.ts +22 -0
  1079. package/themes/skies.src.js +5 -5
  1080. package/themes/sunset.d.ts +22 -0
  1081. package/themes/sunset.js +9 -0
  1082. package/themes/sunset.src.d.ts +22 -0
  1083. package/themes/sunset.src.js +5 -5
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Highcharts JS v12.0.0 (2024-11-27)
2
+ * @license Highcharts JS v12.0.2 (2024-12-04)
3
3
  * @module highcharts/modules/data-tools
4
4
  * @requires highcharts
5
5
  *
@@ -11,14 +11,14 @@
11
11
  */
12
12
  (function webpackUniversalModuleDefinition(root, factory) {
13
13
  if(typeof exports === 'object' && typeof module === 'object')
14
- module.exports = factory(require("highcharts"));
14
+ module.exports = factory(root["_Highcharts"]);
15
15
  else if(typeof define === 'function' && define.amd)
16
- define("highcharts/data-tools", [["highcharts/highcharts"]], factory);
16
+ define("highcharts/modules/data-tools", ["highcharts/highcharts"], function (amd1) {return factory(amd1);});
17
17
  else if(typeof exports === 'object')
18
- exports["highcharts/data-tools"] = factory(require("highcharts"));
18
+ exports["highcharts/modules/data-tools"] = factory(root["_Highcharts"]);
19
19
  else
20
20
  root["Highcharts"] = factory(root["Highcharts"]);
21
- })(this, (__WEBPACK_EXTERNAL_MODULE__944__) => {
21
+ })(typeof window === 'undefined' ? this : window, (__WEBPACK_EXTERNAL_MODULE__944__) => {
22
22
  return /******/ (() => { // webpackBootstrap
23
23
  /******/ "use strict";
24
24
  /******/ var __webpack_modules__ = ({
@@ -0,0 +1,203 @@
1
+ /*!*
2
+ *
3
+ * Copyright (c) Highsoft AS. All rights reserved.
4
+ *
5
+ *!*/
6
+ import * as globals from "../globals";
7
+ import * as _Highcharts from "../highcharts";
8
+ /**
9
+ * Adds the module to the imported Highcharts namespace.
10
+ *
11
+ * @param highcharts
12
+ * The imported Highcharts namespace to extend.
13
+ */
14
+ export function factory(highcharts: typeof Highcharts): void;
15
+ declare module "../highcharts" {
16
+ /**
17
+ * Callback function that returns the corresponding Date object to a match.
18
+ */
19
+ type DataDateFormatCallbackFunction = (match: Array<number>) => number;
20
+ interface AjaxSettingsObject {
21
+ /**
22
+ * The payload to send.
23
+ */
24
+ data?: (string|Dictionary<any>);
25
+ /**
26
+ * The data type expected.
27
+ */
28
+ dataType?: ("json"|"octet"|"text"|"xml");
29
+ /**
30
+ * Function to call on error.
31
+ */
32
+ error?: Function;
33
+ /**
34
+ * The headers; keyed on header name.
35
+ */
36
+ headers?: Dictionary<string>;
37
+ /**
38
+ * Function to call on success.
39
+ */
40
+ success?: Function;
41
+ /**
42
+ * The HTTP method to use. For example GET or POST.
43
+ */
44
+ type?: string;
45
+ /**
46
+ * The URL to call.
47
+ */
48
+ url: string;
49
+ }
50
+ interface Chart {
51
+ /**
52
+ * The data parser for this chart.
53
+ */
54
+ data?: Data;
55
+ }
56
+ /**
57
+ * Structure for alternative date formats to parse.
58
+ */
59
+ interface DataDateFormatObject {
60
+ alternative?: string;
61
+ parser: DataDateFormatCallbackFunction;
62
+ regex: RegExp;
63
+ }
64
+ /**
65
+ * The Data class
66
+ */
67
+ class Data {
68
+ /**
69
+ * Reorganize rows into columns.
70
+ */
71
+ static rowsToColumns(): void;
72
+ /**
73
+ * The Data class
74
+ */
75
+ constructor(dataOptions: DataOptions, chartOptions?: Options, chart?: Chart);
76
+ /**
77
+ * A collection of available date formats, extendable from the outside
78
+ * to support custom date formats.
79
+ */
80
+ dateFormats: Dictionary<DataDateFormatObject>;
81
+ /**
82
+ * If a complete callback function is provided in the options, interpret
83
+ * the columns into a Highcharts options object.
84
+ *
85
+ * The function requires that the context has the `valueCount` property
86
+ * set.
87
+ */
88
+ complete(): void;
89
+ /**
90
+ * Fetch or refetch live data
91
+ *
92
+ * @return The URLs that were tried can be found in the options
93
+ */
94
+ fetchLiveData(): boolean;
95
+ /**
96
+ * Get the column distribution. For example, a line series takes a
97
+ * single column for Y values. A range series takes two columns for low
98
+ * and high values respectively, and an OHLC series takes four columns.
99
+ */
100
+ getColumnDistribution(): void;
101
+ /**
102
+ * Get the parsed data in a form that we can apply directly to the
103
+ * `series.data` config. Array positions can be mapped using the
104
+ * `series.keys` option.
105
+ *
106
+ * @return Data rows
107
+ */
108
+ getData(): (Array<Array<DataValueType>>|undefined);
109
+ /**
110
+ * Parse a single column. Set properties like .isDatetime and
111
+ * .isNumeric.
112
+ *
113
+ * @param column
114
+ * Column to parse
115
+ *
116
+ * @param col
117
+ * Column index
118
+ */
119
+ parseColumn(column: Array<DataValueType>, col: number): void;
120
+ /**
121
+ * Parse a CSV input string
122
+ */
123
+ parseCSV(): void;
124
+ /**
125
+ * A hook for working directly on the parsed columns
126
+ */
127
+ parsed(): void;
128
+ /**
129
+ * Parse a date and return it as a number. Overridable through
130
+ * `options.parseDate`.
131
+ */
132
+ parseDate(): void;
133
+ /**
134
+ * Parse a Google spreadsheet.
135
+ *
136
+ * @return Always returns false, because it is an intermediate fetch.
137
+ */
138
+ parseGoogleSpreadsheet(): boolean;
139
+ /**
140
+ * Parse a HTML table
141
+ */
142
+ parseTable(): void;
143
+ /**
144
+ * Parse numeric cells in to number types and date types in to true
145
+ * dates.
146
+ */
147
+ parseTypes(): void;
148
+ /**
149
+ * Trim a string from whitespaces.
150
+ *
151
+ * @param str
152
+ * String to trim
153
+ *
154
+ * @param inside
155
+ * Remove all spaces between numbers.
156
+ *
157
+ * @return Trimed string
158
+ */
159
+ trim(str: string, inside?: boolean): string;
160
+ /**
161
+ * Updates the chart with new data options.
162
+ *
163
+ * @param options
164
+ * The new data options.
165
+ *
166
+ * @param redraw
167
+ * Whether to redraw the chart after the new options are set.
168
+ */
169
+ update(options: DataOptions, redraw?: boolean): void;
170
+ }
171
+ /**
172
+ * Perform an Ajax call.
173
+ *
174
+ * @param settings
175
+ * The Ajax settings to use.
176
+ *
177
+ * @return Returns false, if error occurred.
178
+ */
179
+ function ajax(settings: AjaxSettingsObject): (false|undefined);
180
+ /**
181
+ * Creates a data object to parse data for a chart.
182
+ */
183
+ function data(): void;
184
+ /**
185
+ * Get a JSON resource over XHR, also supporting CORS without preflight.
186
+ *
187
+ * @param url
188
+ * The URL to load.
189
+ *
190
+ * @param success
191
+ * The success callback. For error handling, use the
192
+ * `Highcharts.ajax` function instead.
193
+ */
194
+ function getJSON(url: string, success: Function): void;
195
+ /**
196
+ * Form the `values` field after range settings, unless the
197
+ * googleSpreadsheetRange option is set.
198
+ */
199
+ function getRange(): void;
200
+ function hasURLOption(): void;
201
+ }
202
+ export default factory;
203
+ export let Highcharts: typeof _Highcharts;
@@ -0,0 +1,11 @@
1
+ !/**
2
+ * Highcharts JS v12.0.2 (2024-12-04)
3
+ * @module highcharts/modules/data
4
+ * @requires highcharts
5
+ *
6
+ * Data module
7
+ *
8
+ * (c) 2012-2024 Torstein Honsi
9
+ *
10
+ * License: www.highcharts.com/license
11
+ */function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(e._Highcharts,e._Highcharts.Axis,e._Highcharts.Chart,e._Highcharts.Point,e._Highcharts.SeriesRegistry):"function"==typeof define&&define.amd?define("highcharts/modules/data",["highcharts/highcharts"],function(e){return t(e,e.Axis,e.Chart,e.Point,e.SeriesRegistry)}):"object"==typeof exports?exports["highcharts/modules/data"]=t(e._Highcharts,e._Highcharts.Axis,e._Highcharts.Chart,e._Highcharts.Point,e._Highcharts.SeriesRegistry):e.Highcharts=t(e.Highcharts,e.Highcharts.Axis,e.Highcharts.Chart,e.Highcharts.Point,e.Highcharts.SeriesRegistry)}("undefined"==typeof window?this:window,(e,t,s,i,r)=>(()=>{"use strict";var a={532:e=>{e.exports=t},960:e=>{e.exports=s},260:e=>{e.exports=i},512:e=>{e.exports=r},944:t=>{t.exports=e}},n={};function o(e){var t=n[e];if(void 0!==t)return t.exports;var s=n[e]={exports:{}};return a[e](s,s.exports,o),s.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var s in t)o.o(t,s)&&!o.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var l={};o.d(l,{default:()=>$});var h=o(944),u=/*#__PURE__*/o.n(h);let{win:d}=u(),{discardElement:p,objectEach:c}=u(),m={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&&e.headers["Content-Type"]||s.setRequestHeader("Content-Type",t[e.dataType||"json"]||t.text),c(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&&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){m.ajax({url:e,success:t,dataType:"json",headers:{"Content-Type":"text/plain"}})},post:function(e,t,s){let i=new d.FormData;c(t,function(e,t){i.append(t,e)}),i.append("b64","true");let{filename:r,type:a}=t;return d.fetch(e,{method:"POST",body:i,...s}).then(e=>{e.ok&&e.text().then(e=>{let t=document.createElement("a");t.href=`data:${a};base64,${e}`,t.download=r,t.click(),p(t)})})}};var f=o(532),g=/*#__PURE__*/o.n(f),x=o(960),y=/*#__PURE__*/o.n(x),v=o(260),C=/*#__PURE__*/o.n(v),T=o(512),N=/*#__PURE__*/o.n(T);let{getOptions:R}=u(),{doc:A}=u(),{ajax:Y}=m,{seriesTypes:D}=N(),{addEvent:w,defined:U,extend:b,fireEvent:F,isNumber:O,merge:H,objectEach:S,pick:E,splat:j}=u();function L(e){return!!(e&&(e.rowsURL||e.csvURL||e.columnsURL))}class M{static data(e,t={},s){return new M(e,t,s)}static rowsToColumns(e){let t,s,i,r,a;if(e)for(t=0,a=[],s=e.length;t<s;t++)for(i=0,r=e[t].length;i<r;i++)a[i]||(a[i]=[]),a[i][t]=e[t][i];return a}constructor(e,t={},s){this.rowsToColumns=M.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,r;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=E(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(),r=!L(e)),r||(r=this.fetchLiveData()),r||(r=!!this.parseCSV().length),r||(r=!!this.parseTable().length),r||(r=this.parseGoogleSpreadsheet()),!r&&e.afterComplete&&e.afterComplete(this)}getColumnDistribution(){let e=this.chartOptions,t=this.options,s=[],i=function(e="line"){return(D[e].prototype.pointArrayMap||[0]).length},r=function(e="line"){return D[e].prototype.pointArrayMap},a=e?.chart?.type,n=[],o=[],l=t?.seriesMapping||e?.series?.map(function(){return{x:0}})||[],h=0;(e?.series||[]).forEach(e=>{n.push(i(e.type||a))}),l.forEach(e=>{s.push(e.x||0)}),0===s.length&&s.push(0),l.forEach(t=>{let s=new I,l=n[h]||i(a),u=(e?.series??[])[h]??{},d=r(u.type||a),p=d??["y"];(U(t.x)||u.isCartesian||!d)&&s.addColumnReader(t.x,"x"),S(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),h++});let u=r(a);void 0===u&&(u=["y"]),this.valueCount={global:i(a),xColumns:s,individual:n,seriesBuilders:o,globalPointArrayMap:u}}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,r=i.startColumn||0,a=i.endColumn||Number.MAX_VALUE,n=[],o={",":0,";":0," ":0},l=i.csv,h=i.startRow||0,u=i.endRow||Number.MAX_VALUE,d,p,c=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"),(!h||h<0)&&(h=0),(!u||u>=p.length)&&(u=p.length-1),i.itemDelimiter)d=i.itemDelimiter;else{let e,s,r;e=0,s=0,r=!1,p.some(function(t,i){let r=!1,a,n,l,h="";if(i>13)return!0;for(let i=0;i<t.length;i++){if(a=t[i],n=t[i+1],l=t[i-1],"#"===a)return;if('"'===a){if(r){if('"'!==l&&'"'!==n){for(;" "===n&&i<t.length;)n=t[++i];void 0!==o[n]&&o[n]++,r=!1}}else r=!0}else void 0!==o[a]?(isNaN(Date.parse(h=h.trim()))?(isNaN(h)||!isFinite(h))&&o[a]++:o[a]++,h=""):h+=a;","===a&&s++,"."===a&&e++}}),o[";"]>o[","]?r=";":(o[","],o[";"],r=","),i.decimalPoint||(e>s?i.decimalPoint=".":i.decimalPoint=",",t.decimalRegex=RegExp("^(-?[0-9]+)"+i.decimalPoint+"([0-9]+)$")),d=r}let e=0;for(c=h;c<=u;c++)"#"===p[c][0]?e++:function(e,t,o,l){let h=0,u="",p="",c="",m="",f=0,g=0;function x(t){u=e[t],p=e[t-1],c=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(r>f||f>a){++f,m="";return}i.columnTypes||(!isNaN(parseFloat(m))&&isFinite(m)?(m=parseFloat(m),y("number")):isNaN(Date.parse(m))?y("string"):(m=m.replace(/\//g,"-"),y("date"))),s.length<g+1&&s.push([]),s[g][t]=m,m="",++g,++f}if(e.trim().length&&"#"!==e.trim()[0]){for(;h<e.length;h++)if(x(h),'"'===u)for(x(++h);h<e.length&&('"'!==u||'"'===p||'"'===c);)('"'!==u||'"'===u&&'"'!==p)&&(m+=u),x(++h);else u===d?v():m+=u;v()}}(p[c],c-h-e);(!i.columnTypes||0===i.columnTypes.length)&&n.length&&n[0].length&&"date"===n[0][1]&&!i.dateFormat&&(i.dateFormat=function(e,s){let r="YYYY/mm/dd",a=[],n=[],o,l=[],h,u=0,d=!1,p;for((!s||s>e.length)&&(s=e.length);u<s;u++)if(void 0!==e[u]&&e[u]?.length)for(p=0,o=e[u].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!==a[p]?a[p]!==o[p]&&(a[p]=!1):a[p]=o[p],o[p]>31?o[p]<100?l[p]="YY":l[p]="YYYY":o[p]>12&&o[p]<=31?(l[p]="dd",d=!0):l[p].length||(l[p]="mm")));if(d){for(p=0;p<a.length;p++)!1!==a[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"),h=l.join("/"),(i.dateFormats||t.dateFormats)[h])?h:(F(t,"deduceDateFailed"),r)}return r}(s[0])),this.dataFound()}return s}parseTable(){let e=this.options,t=this.columns||[],s=e.startRow||0,i=e.endRow||Number.MAX_VALUE,r=e.startColumn||0,a=e.endColumn||Number.MAX_VALUE;if(e.table){let n=e.table;"string"==typeof n&&(n=A.getElementById(n)),[].forEach.call(n.getElementsByTagName("tr"),(e,n)=>{n>=s&&n<=i&&[].forEach.call(e.children,(e,i)=>{let o=t[i-r],l=1;if(("TD"===e.tagName||"TH"===e.tagName)&&i>=r&&i<=a)for(t[i-r]||(t[i-r]=[]),t[i-r][n-s]=e.innerHTML;n-s>=l&&void 0===o[n-s-l];)o[n-s-l]=null,l++})}),this.dataFound()}return t}fetchLiveData(){let e=this,t=this.chart,s=this.options,i=s.enablePolling,r=H(s),a=0,n=1e3*(s.dataRefreshRate||2);return!!L(s)&&(n<1e3&&(n=1e3),delete s.csvURL,delete s.rowsURL,delete s.columnsURL,!function o(l){function h(r,h,u){if(!r||!/^(http|\/|\.\/|\.\.\/)/.test(r))return r&&s.error&&s.error("Invalid URL"),!1;function d(){i&&t.liveDataURL===r&&(e.liveDataTimeout=setTimeout(o,n))}return l&&(clearTimeout(e.liveDataTimeout),t.liveDataURL=r),Y({url:r,dataType:u||"json",success:function(e){t?.series&&h(e),d()},error:function(e,t){return++a<3&&d(),s.error?.(t,e)}}),!0}h(r.csvURL,function(e){t.update({data:{csv:e}})},"text")||h(r.rowsURL,function(e){t.update({data:{rows:e}})})||h(r.columnsURL,function(e){t.update({data:{columns:e}})})}(!0),L(s))}parseGoogleSpreadsheet(){let e=this,t=this.options,s=t.googleSpreadsheetKey,i=this.chart,r=Math.max(1e3*(t.dataRefreshRate||2),4e3),a=()=>{if(t.googleSpreadsheetRange)return t.googleSpreadsheetRange;let e="ABCDEFGHIJKLMNOPQRSTUVWXYZ",s=(e.charAt(t.startColumn||0)||"A")+((t.startRow||0)+1),i=e.charAt(E(t.endColumn,-1))||"ZZ";return U(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",a(),"?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)},r))},error:function(e,s){return t.error?.(s,e)}})}(function(t){let s=t.values;if(!s||0===s.length)return!1;let r=s.reduce((e,t)=>Math.max(e,t.length),0);s.forEach(e=>{for(let t=0;t<r;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||[],r=this.firstRowAsNames,a=this.valueCount?.xColumns.indexOf(t)!==-1,n=[],o=this.chartOptions,l=(this.options.columnTypes||[])[t],h=a&&o?.xAxis&&"category"===j(o.xAxis)[0].type||"string"===l,u=U(e.name),d=e.length,p,c,m,f,g,x,y;for(s[t]||(s[t]=[]);d--;)p=n[d]||e[d],m=this.trim(p),c=parseFloat(f=this.trim(p,!0)),void 0===s[t][d]&&(s[t][d]=m),h||0===d&&r&&!u?e[d]=""+m:+f===c?(e[d]=c,c>31536e6&&"float"!==l?e.isDatetime=!0:e.isNumeric=!0,void 0!==e[d+1]&&(y=c>e[d+1])):(m?.length&&(g=this.parseDate(p)),a&&O(g)&&"float"!==l?(n[d]=p,e[d]=g,e.isDatetime=!0,void 0!==e[d+1]&&((x=g>e[d+1])!==y&&void 0!==y&&(this.alternativeFormat?(this.dateFormat=this.alternativeFormat,d=e.length,this.alternativeFormat=this.dateFormats[this.dateFormat].alternative):e.unsorted=!0),y=x)):(e[d]=""===m?null:m,0!==d&&(e.isDatetime||e.isNumeric)&&(e.mixed=!0)));if(a&&e.mixed&&(i[t]=s[t]),a&&y&&this.options.sort){for(t=0;t<i.length;t++)if(i[t].reverse(),r){let e=i[t].pop();e&&i[t].unshift(e)}}}parseDate(e){let t=this.options.parseDate,s,i,r,a=this.options.dateFormat||this.dateFormat,n;if(t)s=t(e);else if("string"==typeof e){if(a)(r=this.dateFormats[a])||(r=this.dateFormats["YYYY/mm/dd"]),(n=e.match(r.regex))&&(s=r.parser(n));else for(i in this.dateFormats)if(r=this.dateFormats[i],n=e.match(r.regex)){this.dateFormat=a=i,this.alternativeFormat=r.alternative,s=r.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():O(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",r,a,n,o,l,h,u,d,p,c,m;if([].length=e.length,t.complete||t.afterComplete){if(this.firstRowAsNames)for(n=0;n<e.length;n++){let t=e[n];U(t.name)||(t.name=E(t.shift(),"").toString())}for(h=0,r=[],p=function(e,t){let s,i,r;let a=[],n=[];for(i=0;i<e;i+=1)a.push(!0);for(s=0;s<t.length;s+=1)for(i=0,r=t[s].getReferencedColumnIndexes();i<r.length;i+=1)a[r[i]]=!1;for(i=0;i<a.length;i+=1)a[i]&&n.push(i);return n}(e?.length||0,this.valueCount.seriesBuilders);h<this.valueCount.seriesBuilders.length;h++)(d=this.valueCount.seriesBuilders[h]).populateColumns(p)&&s.push(d);for(;p.length>0;){for((d=new I).addColumnReader(0,"x"),-1!==(m=p.indexOf(0))&&p.splice(m,1),n=0;n<this.valueCount.global;n++)d.addColumnReader(void 0,this.valueCount.globalPointArrayMap[n]);d.populateColumns(p)&&s.push(d)}if(s.length>0&&s[0].readers.length>0&&void 0!==(c=e?.[s[0].readers[0].columnIndex??-1])&&(c.isDatetime?i="datetime":c.isNumeric||(i="category")),"category"===i)for(h=0;h<s.length;h++)for(l=0,d=s[h];l<d.readers.length;l++)"x"===d.readers[l].configName&&(d.readers[l].configName="name");for(h=0;h<s.length;h++){for(o=0,d=s[h],a=[];o<e[0].length;o++)a[o]=d.read(e,o);r[h]={data:a,pointStart:a[0]&&(d.pointIsArray?a[0]?.[0]:a[0]?.x)||void 0},d.name&&(r[h].name=d.name),"category"===i&&(r[h].turboThreshold=0,r[h].pointStart=0)}u={series:r},"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||H(!0,u,{xAxis:this.xAxisOptions||{}}),t.complete?.(u),t.afterComplete?.(this,u)}}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 r=s.xAxis[0],a=e.xAxisOptions;a&&r&&(r.type!==a.type&&!r.options.type||r.uniqueNames&&!1===a.uniqueNames&&void 0===r.options.uniqueNames)?r.update({},!1):(i?.series||[]).forEach(function(e){delete e.pointStart}),s.update(i,t,!0)},H(!0,i.data,e),i.data?.googleSpreadsheetKey&&!e.columns&&delete i.data.columns,this.init(i.data||{},i))}}w(g(),"afterSetOptions",function(){this.isXAxis&&(!this.chart.xAxis.length||this.chart.xAxis[0]===this)&&this.chart.data?.xAxisUpdateHandler(this)}),w(y(),"init",function(e){let t=this,s=e.args[1],i=R().data,r=e.args[0]||{};if((i||r&&r.data)&&!t.hasDataDef){t.hasDataDef=!0;let a=H(i,r.data);t.data=new M(b(a,{afterComplete:function(e,i){let a,n;if(Object.hasOwnProperty.call(r,"series")){if("object"==typeof r.series)for(a=Math.max(r.series.length,i?.series?.length??0);a--;)n=r.series[a]||{},r.series[a]=H(n,i?.series?.[a]??{});else delete r.series}r=H(i,r),t.data=e,t.init(r,s)}}),r,t),e.preventDefault()}});class I{constructor(){this.readers=[],this.pointIsArray=!0}populateColumns(e){let t=!0;return this.readers.forEach(t=>{void 0===t.columnIndex&&(t.columnIndex=e.shift())}),this.readers.forEach(e=>{void 0===e.columnIndex&&(t=!1)}),t}read(e,t){let s=this.pointIsArray,i=s?[]:{};if(this.readers.forEach(r=>{let a=e[r.columnIndex][t];s?i.push(a):r.configName.indexOf(".")>0?C().prototype.setNestedProperty(i,a,r.configName):i[r.configName]=a}),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[E(t.shift(),0)].name}return i}addColumnReader(e,t){this.readers.push({columnIndex:e,configName:t}),"x"===t||"y"===t||void 0===t||(this.pointIsArray=!1)}getReferencedColumnIndexes(){let e,t;let 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 P=u();P.Data=P.Data||M,P.HttpUtilities=P.HttpUtilities||m,P.ajax=P.HttpUtilities.ajax,P.data=P.Data.data,P.getJSON=P.HttpUtilities.getJSON,P.post=P.HttpUtilities.post;let $=u();return l.default})());
@@ -0,0 +1,203 @@
1
+ /*!*
2
+ *
3
+ * Copyright (c) Highsoft AS. All rights reserved.
4
+ *
5
+ *!*/
6
+ import * as globals from "../globals.src";
7
+ import * as _Highcharts from "../highcharts.src";
8
+ /**
9
+ * Adds the module to the imported Highcharts namespace.
10
+ *
11
+ * @param highcharts
12
+ * The imported Highcharts namespace to extend.
13
+ */
14
+ export function factory(highcharts: typeof Highcharts): void;
15
+ declare module "../highcharts.src" {
16
+ /**
17
+ * Callback function that returns the corresponding Date object to a match.
18
+ */
19
+ type DataDateFormatCallbackFunction = (match: Array<number>) => number;
20
+ interface AjaxSettingsObject {
21
+ /**
22
+ * The payload to send.
23
+ */
24
+ data?: (string|Dictionary<any>);
25
+ /**
26
+ * The data type expected.
27
+ */
28
+ dataType?: ("json"|"octet"|"text"|"xml");
29
+ /**
30
+ * Function to call on error.
31
+ */
32
+ error?: Function;
33
+ /**
34
+ * The headers; keyed on header name.
35
+ */
36
+ headers?: Dictionary<string>;
37
+ /**
38
+ * Function to call on success.
39
+ */
40
+ success?: Function;
41
+ /**
42
+ * The HTTP method to use. For example GET or POST.
43
+ */
44
+ type?: string;
45
+ /**
46
+ * The URL to call.
47
+ */
48
+ url: string;
49
+ }
50
+ interface Chart {
51
+ /**
52
+ * The data parser for this chart.
53
+ */
54
+ data?: Data;
55
+ }
56
+ /**
57
+ * Structure for alternative date formats to parse.
58
+ */
59
+ interface DataDateFormatObject {
60
+ alternative?: string;
61
+ parser: DataDateFormatCallbackFunction;
62
+ regex: RegExp;
63
+ }
64
+ /**
65
+ * The Data class
66
+ */
67
+ class Data {
68
+ /**
69
+ * Reorganize rows into columns.
70
+ */
71
+ static rowsToColumns(): void;
72
+ /**
73
+ * The Data class
74
+ */
75
+ constructor(dataOptions: DataOptions, chartOptions?: Options, chart?: Chart);
76
+ /**
77
+ * A collection of available date formats, extendable from the outside
78
+ * to support custom date formats.
79
+ */
80
+ dateFormats: Dictionary<DataDateFormatObject>;
81
+ /**
82
+ * If a complete callback function is provided in the options, interpret
83
+ * the columns into a Highcharts options object.
84
+ *
85
+ * The function requires that the context has the `valueCount` property
86
+ * set.
87
+ */
88
+ complete(): void;
89
+ /**
90
+ * Fetch or refetch live data
91
+ *
92
+ * @return The URLs that were tried can be found in the options
93
+ */
94
+ fetchLiveData(): boolean;
95
+ /**
96
+ * Get the column distribution. For example, a line series takes a
97
+ * single column for Y values. A range series takes two columns for low
98
+ * and high values respectively, and an OHLC series takes four columns.
99
+ */
100
+ getColumnDistribution(): void;
101
+ /**
102
+ * Get the parsed data in a form that we can apply directly to the
103
+ * `series.data` config. Array positions can be mapped using the
104
+ * `series.keys` option.
105
+ *
106
+ * @return Data rows
107
+ */
108
+ getData(): (Array<Array<DataValueType>>|undefined);
109
+ /**
110
+ * Parse a single column. Set properties like .isDatetime and
111
+ * .isNumeric.
112
+ *
113
+ * @param column
114
+ * Column to parse
115
+ *
116
+ * @param col
117
+ * Column index
118
+ */
119
+ parseColumn(column: Array<DataValueType>, col: number): void;
120
+ /**
121
+ * Parse a CSV input string
122
+ */
123
+ parseCSV(): void;
124
+ /**
125
+ * A hook for working directly on the parsed columns
126
+ */
127
+ parsed(): void;
128
+ /**
129
+ * Parse a date and return it as a number. Overridable through
130
+ * `options.parseDate`.
131
+ */
132
+ parseDate(): void;
133
+ /**
134
+ * Parse a Google spreadsheet.
135
+ *
136
+ * @return Always returns false, because it is an intermediate fetch.
137
+ */
138
+ parseGoogleSpreadsheet(): boolean;
139
+ /**
140
+ * Parse a HTML table
141
+ */
142
+ parseTable(): void;
143
+ /**
144
+ * Parse numeric cells in to number types and date types in to true
145
+ * dates.
146
+ */
147
+ parseTypes(): void;
148
+ /**
149
+ * Trim a string from whitespaces.
150
+ *
151
+ * @param str
152
+ * String to trim
153
+ *
154
+ * @param inside
155
+ * Remove all spaces between numbers.
156
+ *
157
+ * @return Trimed string
158
+ */
159
+ trim(str: string, inside?: boolean): string;
160
+ /**
161
+ * Updates the chart with new data options.
162
+ *
163
+ * @param options
164
+ * The new data options.
165
+ *
166
+ * @param redraw
167
+ * Whether to redraw the chart after the new options are set.
168
+ */
169
+ update(options: DataOptions, redraw?: boolean): void;
170
+ }
171
+ /**
172
+ * Perform an Ajax call.
173
+ *
174
+ * @param settings
175
+ * The Ajax settings to use.
176
+ *
177
+ * @return Returns false, if error occurred.
178
+ */
179
+ function ajax(settings: AjaxSettingsObject): (false|undefined);
180
+ /**
181
+ * Creates a data object to parse data for a chart.
182
+ */
183
+ function data(): void;
184
+ /**
185
+ * Get a JSON resource over XHR, also supporting CORS without preflight.
186
+ *
187
+ * @param url
188
+ * The URL to load.
189
+ *
190
+ * @param success
191
+ * The success callback. For error handling, use the
192
+ * `Highcharts.ajax` function instead.
193
+ */
194
+ function getJSON(url: string, success: Function): void;
195
+ /**
196
+ * Form the `values` field after range settings, unless the
197
+ * googleSpreadsheetRange option is set.
198
+ */
199
+ function getRange(): void;
200
+ function hasURLOption(): void;
201
+ }
202
+ export default factory;
203
+ export let Highcharts: typeof _Highcharts;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Highcharts JS v12.0.0 (2024-11-27)
2
+ * @license Highcharts JS v12.0.2 (2024-12-04)
3
3
  * @module highcharts/modules/data
4
4
  * @requires highcharts
5
5
  *
@@ -11,14 +11,14 @@
11
11
  */
12
12
  (function webpackUniversalModuleDefinition(root, factory) {
13
13
  if(typeof exports === 'object' && typeof module === 'object')
14
- module.exports = factory(require("highcharts"), require("highcharts")["Axis"], require("highcharts")["Chart"], require("highcharts")["Point"], require("highcharts")["SeriesRegistry"]);
14
+ module.exports = factory(root["_Highcharts"], root["_Highcharts"]["Axis"], root["_Highcharts"]["Chart"], root["_Highcharts"]["Point"], root["_Highcharts"]["SeriesRegistry"]);
15
15
  else if(typeof define === 'function' && define.amd)
16
- define("highcharts/data", [["highcharts/highcharts"], ["highcharts/highcharts","Axis"], ["highcharts/highcharts","Chart"], ["highcharts/highcharts","Point"], ["highcharts/highcharts","SeriesRegistry"]], factory);
16
+ define("highcharts/modules/data", ["highcharts/highcharts"], function (amd1) {return factory(amd1,amd1["Axis"],amd1["Chart"],amd1["Point"],amd1["SeriesRegistry"]);});
17
17
  else if(typeof exports === 'object')
18
- exports["highcharts/data"] = factory(require("highcharts"), require("highcharts")["Axis"], require("highcharts")["Chart"], require("highcharts")["Point"], require("highcharts")["SeriesRegistry"]);
18
+ exports["highcharts/modules/data"] = factory(root["_Highcharts"], root["_Highcharts"]["Axis"], root["_Highcharts"]["Chart"], root["_Highcharts"]["Point"], root["_Highcharts"]["SeriesRegistry"]);
19
19
  else
20
20
  root["Highcharts"] = factory(root["Highcharts"], root["Highcharts"]["Axis"], root["Highcharts"]["Chart"], root["Highcharts"]["Point"], root["Highcharts"]["SeriesRegistry"]);
21
- })(this, (__WEBPACK_EXTERNAL_MODULE__944__, __WEBPACK_EXTERNAL_MODULE__532__, __WEBPACK_EXTERNAL_MODULE__960__, __WEBPACK_EXTERNAL_MODULE__260__, __WEBPACK_EXTERNAL_MODULE__512__) => {
21
+ })(typeof window === 'undefined' ? this : window, (__WEBPACK_EXTERNAL_MODULE__944__, __WEBPACK_EXTERNAL_MODULE__532__, __WEBPACK_EXTERNAL_MODULE__960__, __WEBPACK_EXTERNAL_MODULE__260__, __WEBPACK_EXTERNAL_MODULE__512__) => {
22
22
  return /******/ (() => { // webpackBootstrap
23
23
  /******/ "use strict";
24
24
  /******/ var __webpack_modules__ = ({
@@ -0,0 +1,91 @@
1
+ /*!*
2
+ *
3
+ * Copyright (c) Highsoft AS. All rights reserved.
4
+ *
5
+ *!*/
6
+ import * as globals from "../globals";
7
+ import * as _Highcharts from "../highcharts";
8
+ /**
9
+ * Adds the module to the imported Highcharts namespace.
10
+ *
11
+ * @param highcharts
12
+ * The imported Highcharts namespace to extend.
13
+ */
14
+ export function factory(highcharts: typeof Highcharts): void;
15
+ declare module "../highcharts" {
16
+ interface Axis {
17
+ /**
18
+ * (Highstock) Check the groupPixelWidth and apply the grouping if
19
+ * needed. Fired only after processing the data.
20
+ */
21
+ applyGrouping(): void;
22
+ /**
23
+ * (Highstock) Highcharts Stock only. Force data grouping on all the
24
+ * axis' series.
25
+ *
26
+ * @param dataGrouping
27
+ * A `dataGrouping` configuration. Use `false` to disable data
28
+ * grouping dynamically.
29
+ *
30
+ * @param redraw
31
+ * Whether to redraw the chart or wait for a later call to
32
+ * Chart#redraw.
33
+ */
34
+ setDataGrouping(dataGrouping?: (boolean|DataGroupingOptionsObject), redraw?: boolean): void;
35
+ }
36
+ /**
37
+ * (Highstock) Highcharts Stock only.
38
+ */
39
+ interface DataGroupingInfoObject {
40
+ length: number;
41
+ options?: SeriesOptionsType;
42
+ start: number;
43
+ }
44
+ /**
45
+ * (Highstock) Highcharts Stock only.
46
+ */
47
+ interface DataGroupingResultObject {
48
+ groupedXData: Array<number>;
49
+ groupedYData: (Array<(number|null|undefined)>|Array<Array<(number|null|undefined)>>);
50
+ groupMap: Array<DataGroupingInfoObject>;
51
+ }
52
+ interface DataTableOptions {
53
+ columns?: DataTableColumnCollection;
54
+ id?: string;
55
+ }
56
+ interface Point {
57
+ /**
58
+ * (Highstock) Highcharts Stock only. If a point object is created by
59
+ * data grouping, it doesn't reflect actual points in the raw data. In
60
+ * this case, the `dataGroup` property holds information that points
61
+ * back to the raw data.
62
+ *
63
+ * - `dataGroup.start` is the index of the first raw data point in the
64
+ * group.
65
+ *
66
+ * - `dataGroup.length` is the amount of points in the group.
67
+ */
68
+ dataGroup?: DataGroupingInfoObject;
69
+ }
70
+ interface Series {
71
+ /**
72
+ * (Highstock) Highcharts Stock only. Takes parallel arrays of x and y
73
+ * data and groups the data into intervals defined by groupPositions, a
74
+ * collection of starting x values for each group.
75
+ *
76
+ * @param table
77
+ * The series data table.
78
+ *
79
+ * @param groupPositions
80
+ * Group positions.
81
+ *
82
+ * @param approximation
83
+ * Approximation to use.
84
+ *
85
+ * @return Mapped groups.
86
+ */
87
+ groupData(table: DataTable, groupPositions: Array<number>, approximation?: (string|Function)): DataGroupingResultObject;
88
+ }
89
+ }
90
+ export default factory;
91
+ export let Highcharts: typeof _Highcharts;
@@ -0,0 +1,11 @@
1
+ !/**
2
+ * Highstock JS v12.0.2 (2024-12-04)
3
+ * @module highcharts/modules/datagrouping
4
+ * @requires highcharts
5
+ *
6
+ * Data grouping module
7
+ *
8
+ * (c) 2010-2024 Torstein Hønsi
9
+ *
10
+ * License: www.highcharts.com/license
11
+ */function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(t._Highcharts,t._Highcharts.SeriesRegistry,t._Highcharts.Templating):"function"==typeof define&&define.amd?define("highcharts/modules/datagrouping",["highcharts/highcharts"],function(t){return e(t,t.SeriesRegistry,t.Templating)}):"object"==typeof exports?exports["highcharts/modules/datagrouping"]=e(t._Highcharts,t._Highcharts.SeriesRegistry,t._Highcharts.Templating):t.Highcharts=e(t.Highcharts,t.Highcharts.SeriesRegistry,t.Highcharts.Templating)}("undefined"==typeof window?this:window,(t,e,i)=>(()=>{"use strict";let o;var a,n={512:t=>{t.exports=e},984:t=>{t.exports=i},944:e=>{e.exports=t}},r={};function s(t){var e=r[t];if(void 0!==e)return e.exports;var i=r[t]={exports:{}};return n[t](i,i.exports,s),i.exports}s.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return s.d(e,{a:e}),e},s.d=(t,e)=>{for(var i in e)s.o(e,i)&&!s.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},s.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var l={};s.d(l,{default:()=>tm});var u=s(944),h=/*#__PURE__*/s.n(u);let p={},{arrayMax:d,arrayMin:c,correctFloat:g,extend:m,isNumber:f}=h();function x(t){let e=t.length,i=y(t);return f(i)&&e&&(i=g(i/e)),i}function y(t){let e=t.length,i;if(!e&&t.hasNulls)i=null;else if(e)for(i=0;e--;)i+=t[e];return i}let G={average:x,averages:function(){let t=[];return[].forEach.call(arguments,function(e){t.push(x(e))}),void 0===t[0]?void 0:t},close:function(t){return t.length?t[t.length-1]:t.hasNulls?null:void 0},high:function(t){return t.length?d(t):t.hasNulls?null:void 0},hlc:function(t,e,i){if(t=p.high(t),e=p.low(e),i=p.close(i),f(t)||f(e)||f(i))return[t,e,i]},low:function(t){return t.length?c(t):t.hasNulls?null:void 0},ohlc:function(t,e,i,o){if(t=p.open(t),e=p.high(e),i=p.low(i),o=p.close(o),f(t)||f(e)||f(i)||f(o))return[t,e,i,o]},open:function(t){return t.length?t[0]:t.hasNulls?null:void 0},range:function(t,e){return(t=p.low(t),e=p.high(e),f(t)||f(e))?[t,e]:null===t&&null===e?null:void 0},sum:y};m(p,G);let M={common:{groupPixelWidth:2,dateTimeLabelFormats:{millisecond:["%[AebHMSL]","%[AebHMSL]","-%[HMSL]"],second:["%[AebHMS]","%[AebHMS]","-%[HMS]"],minute:["%[AebHM]","%[AebHM]","-%[HM]"],hour:["%[AebHM]","%[AebHM]","-%[HM]"],day:["%[AebY]","%[Aeb]","-%[AebY]"],week:["week from %[AebY]","%[Aeb]","-%[AebY]"],month:["%[BY]","%[B]","-%[BY]"],year:["%Y","%Y","-%Y"]}},seriesSpecific:{line:{},spline:{},area:{},areaspline:{},arearange:{},column:{groupPixelWidth:10},columnrange:{groupPixelWidth:10},candlestick:{groupPixelWidth:10},ohlc:{groupPixelWidth:5},hlc:{groupPixelWidth:5},heikinashi:{groupPixelWidth:10}},units:[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1]],["week",[1]],["month",[1,3,6]],["year",null]]},{addEvent:v,extend:b,merge:T,pick:D}=h();function S(t){let e=this,i=e.series;i.forEach(function(t){t.groupPixelWidth=void 0}),i.forEach(function(i){i.groupPixelWidth=e.getGroupPixelWidth&&e.getGroupPixelWidth(),i.groupPixelWidth&&(i.hasProcessed=!0),i.applyGrouping(!!t.hasExtremesChanged)})}function C(){let t=this.series,e=t.length,i=0,o=!1,a,n;for(;e--;)(n=t[e].options.dataGrouping)&&(i=Math.max(i,D(n.groupPixelWidth,M.common.groupPixelWidth)),a=(t[e].dataTable.modified||t[e].dataTable).rowCount,(t[e].groupPixelWidth||a>this.chart.plotSizeX/i||a&&n.forced)&&(o=!0));return o?i:0}function w(){this.series.forEach(function(t){t.hasProcessed=!1})}function A(t,e){let i;if(e=D(e,!0),t||(t={forced:!1,units:null}),this instanceof o)for(i=this.series.length;i--;)this.series[i].update({dataGrouping:t},!1);else this.chart.options.series.forEach(function(e){e.dataGrouping="boolean"==typeof t?t:T(t,e.dataGrouping)});this.ordinal&&(this.ordinal.slope=void 0),e&&this.chart.redraw()}let P={compose:function(t){o=t;let e=t.prototype;e.applyGrouping||(v(t,"afterSetScale",w),v(t,"postProcessData",S),b(e,{applyGrouping:S,getGroupPixelWidth:C,setDataGrouping:A}))}},{fireEvent:k,isArray:H,objectEach:R,uniqueKey:F}=h(),W=class{constructor(t={}){this.autoId=!t.id,this.columns={},this.id=t.id||F(),this.modified=this,this.rowCount=0,this.versionTag=F();let e=0;R(t.columns||{},(t,i)=>{this.columns[i]=t.slice(),e=Math.max(e,t.length)}),this.applyRowCount(e)}applyRowCount(t){this.rowCount=t,R(this.columns,e=>{H(e)&&(e.length=t)})}getColumn(t,e){return this.columns[t]}getColumns(t,e){return(t||Object.keys(this.columns)).reduce((t,e)=>(t[e]=this.columns[e],t),{})}getRow(t,e){return(e||Object.keys(this.columns)).map(e=>this.columns[e]?.[t])}setColumn(t,e=[],i=0,o){this.setColumns({[t]:e},i,o)}setColumns(t,e,i){let o=this.rowCount;R(t,(t,e)=>{this.columns[e]=t.slice(),o=t.length}),this.applyRowCount(o),i?.silent||(k(this,"afterSetColumns"),this.versionTag=F())}setRow(t,e=this.rowCount,i,o){let{columns:a}=this,n=i?this.rowCount+1:e+1;R(t,(t,r)=>{let s=a[r]||o?.addColumns!==!1&&Array(n);s&&(i?s.splice(e,0,t):s[e]=t,a[r]=s)}),n>this.rowCount&&this.applyRowCount(n),o?.silent||(k(this,"afterSetRows"),this.versionTag=F())}},{addEvent:O,getMagnitude:E,normalizeTickInterval:N,timeUnits:I}=h();!function(t){function e(){return this.chart.time.getTimeTicks.apply(this.chart.time,arguments)}function i(){if("datetime"!==this.type){this.dateTime=void 0;return}this.dateTime||(this.dateTime=new o(this))}t.compose=function(t){return t.keepProps.includes("dateTime")||(t.keepProps.push("dateTime"),t.prototype.getTimeTicks=e,O(t,"afterSetType",i)),t};class o{constructor(t){this.axis=t}normalizeTimeTickInterval(t,e){let i=e||[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1,2]],["week",[1,2]],["month",[1,2,3,4,6]],["year",null]],o=i[i.length-1],a=I[o[0]],n=o[1],r;for(r=0;r<i.length&&(a=I[(o=i[r])[0]],n=o[1],!i[r+1]||!(t<=(a*n[n.length-1]+I[i[r+1][0]])/2));r++);a===I.year&&t<5*a&&(n=[1,2,5]);let s=N(t/a,n,"year"===o[0]?Math.max(E(t/a),1):1);return{unitRange:a,count:s,unitName:o[0]}}getXDateFormat(t,e){let{axis:i}=this,o=i.chart.time;return i.closestPointRange?o.getDateFormat(i.closestPointRange,t,i.options.startOfWeek,e)||o.resolveDTLFormat(e.year).main:o.resolveDTLFormat(e.day).main}}t.Additions=o}(a||(a={}));let L=a;var Y=s(512);let{series:{prototype:j}}=/*#__PURE__*/s.n(Y)(),{addEvent:_,defined:z,error:X,extend:q,isNumber:B,merge:J,pick:K,splat:Q}=h(),U=j.generatePoints;function V(t){var e;let i,o;let a=this.chart,n=this.options.dataGrouping,r=!1!==this.allowDG&&n&&K(n.enabled,a.options.isStock),s=this.reserveSpace(),l=this.currentDataGrouping,u,h,p=!1;r&&!this.requireSorting&&(this.requireSorting=p=!0);let d=!1==!(this.isCartesian&&!this.isDirty&&!this.xAxis.isDirty&&!this.yAxis.isDirty&&!t)||!r;if(p&&(this.requireSorting=!1),d)return;this.destroyGroupedData();let c=n.groupAll?this.dataTable:this.dataTable.modified||this.dataTable,g=this.getColumn("x",!n.groupAll),m=a.plotSizeX,f=this.xAxis,x=f.getExtremes(),y=f.options.ordinal,G=this.groupPixelWidth;if(G&&g&&c.rowCount&&m&&B(x.min)){o=!0,this.isDirty=!0,this.points=null;let t=x.min,r=x.max,l=y&&f.ordinal&&f.ordinal.getGroupIntervalFactor(t,r,this)||1,p=G*(r-t)/m*l,d=f.getTimeTicks(L.Additions.prototype.normalizeTimeTickInterval(p,n.units||M.units),Math.min(t,g[0]),Math.max(r,g[g.length-1]),f.options.startOfWeek,g,this.closestPointRange),v=j.groupData.apply(this,[c,d,n.approximation]),b=v.modified,T=b.getColumn("x",!0),D=0;for(n?.smoothed&&b.rowCount&&(n.firstAnchor="firstPoint",n.anchor="middle",n.lastAnchor="lastPoint",X(32,!1,a,{"dataGrouping.smoothed":"use dataGrouping.anchor"})),i=1;i<d.length;i++)d.info.segmentStarts&&-1!==d.info.segmentStarts.indexOf(i)||(D=Math.max(d[i]-d[i-1],D));(u=d.info).gapSize=D,this.closestPointRange=d.info.totalRange,this.groupMap=v.groupMap,this.currentDataGrouping=u,!function(t,e,i){let o=t.options.dataGrouping,a=t.currentDataGrouping&&t.currentDataGrouping.gapSize,n=t.getColumn("x");if(!(o&&n.length&&a&&t.groupMap))return;let r=e.length-1,s=o.anchor,l=o.firstAnchor,u=o.lastAnchor,h=e.length-1,p=0;if(l&&n[0]>=e[0]){let i;p++;let o=t.groupMap[0].start,r=t.groupMap[0].length;B(o)&&B(r)&&(i=o+(r-1)),e[0]=({start:e[0],middle:e[0]+.5*a,end:e[0]+a,firstPoint:n[0],lastPoint:i&&n[i]})[l]}if(r>0&&u&&a&&e[r]>=i-a){h--;let i=t.groupMap[t.groupMap.length-1].start;e[r]=({start:e[r],middle:e[r]+.5*a,end:e[r]+a,firstPoint:i&&n[i],lastPoint:n[n.length-1]})[u]}if(s&&"start"!==s){let t=a*({middle:.5,end:1})[s];for(;h>=p;)e[h]+=t,h--}}(this,T||[],r),s&&T&&(z((e=T)[0])&&B(f.min)&&B(f.dataMin)&&e[0]<f.min&&((!z(f.options.min)&&f.min<=f.dataMin||f.min===f.dataMin)&&(f.min=Math.min(e[0],f.min)),f.dataMin=Math.min(e[0],f.dataMin)),z(e[e.length-1])&&B(f.max)&&B(f.dataMax)&&e[e.length-1]>f.max&&((!z(f.options.max)&&B(f.dataMax)&&f.max>=f.dataMax||f.max===f.dataMax)&&(f.max=Math.max(e[e.length-1],f.max)),f.dataMax=Math.max(e[e.length-1],f.dataMax))),n.groupAll&&(this.allGroupedTable=b,T=(b=(h=this.cropData(b,f.min||0,f.max||0)).modified).getColumn("x"),this.cropStart=h.start),this.dataTable.modified=b}else this.groupMap=void 0,this.currentDataGrouping=void 0;this.hasGroupedData=o,this.preventGraphAnimation=(l&&l.totalRange)!==(u&&u.totalRange)}function Z(){this.groupedData&&(this.groupedData.forEach(function(t,e){t&&(this.groupedData[e]=t.destroy?t.destroy():null)},this),this.groupedData.length=0,delete this.allGroupedTable)}function $(){U.apply(this),this.destroyGroupedData(),this.groupedData=this.hasGroupedData?this.points:null}function tt(){return this.is("arearange")?"range":this.is("ohlc")?"ohlc":this.is("hlc")?"hlc":this.is("column")||this.options.cumulative?"sum":"average"}function te(t,e,i){let o=t.getColumn("x",!0)||[],a=t.getColumn("y",!0),n=this,r=n.data,s=n.options&&n.options.data,l=[],u=new W,h=[],d=t.rowCount,c=!!a,g=[],m=n.pointArrayMap,f=m&&m.length,x=["x"].concat(m||["y"]),y=(m||["y"]).map(()=>[]),G=this.options.dataGrouping&&this.options.dataGrouping.groupAll,M,v,b,T=0,D=0,S="function"==typeof i?i:i&&p[i]?p[i]:p[n.getDGApproximation&&n.getDGApproximation()||"average"];if(f){let t=m.length;for(;t--;)g.push([])}else g.push([]);let C=f||1;for(let t=0;t<=d;t++)if(!(o[t]<e[0])){for(;void 0!==e[T+1]&&o[t]>=e[T+1]||t===d;){if(M=e[T],n.dataGroupInfo={start:G?D:n.cropStart+D,length:g[0].length,groupStart:M},b=S.apply(n,g),n.pointClass&&!z(n.dataGroupInfo.options)&&(n.dataGroupInfo.options=J(n.pointClass.prototype.optionsToObject.call({series:n},n.options.data[n.cropStart+D])),x.forEach(function(t){delete n.dataGroupInfo.options[t]})),void 0!==b){l.push(M);let t=Q(b);for(let e=0;e<t.length;e++)y[e].push(t[e]);h.push(n.dataGroupInfo)}D=t;for(let t=0;t<C;t++)g[t].length=0,g[t].hasNulls=!1;if(T+=1,t===d)break}if(t===d)break;if(m){let e;let i=G?t:n.cropStart+t,o=r&&r[i]||n.pointClass.prototype.applyOptions.apply({series:n},[s[i]]);for(let t=0;t<f;t++)B(e=o[m[t]])?g[t].push(e):null===e&&(g[t].hasNulls=!0)}else B(v=c?a[t]:null)?g[0].push(v):null===v&&(g[0].hasNulls=!0)}let w={x:l};return(m||["y"]).forEach((t,e)=>{w[t]=y[e]}),u.setColumns(w),{groupMap:h,modified:u}}function ti(t){let e=t.options,i=this.type,o=this.chart.options.plotOptions,a=this.useCommonDataGrouping&&M.common,n=M.seriesSpecific,r=h().defaultOptions.plotOptions[i].dataGrouping;if(o&&(n[i]||a)){let t=this.chart.rangeSelector;r||(r=J(M.common,n[i])),e.dataGrouping=J(a,r,o.series&&o.series.dataGrouping,o[i].dataGrouping,this.userOptions.dataGrouping,!e.isInternal&&t&&B(t.selected)&&t.buttonOptions[t.selected].dataGrouping)}}let to={compose:function(t){let e=t.prototype;e.applyGrouping||(_(t.prototype.pointClass,"update",function(){if(this.dataGroup)return X(24,!1,this.series.chart),!1}),_(t,"afterSetOptions",ti),_(t,"destroy",Z),q(e,{applyGrouping:V,destroyGroupedData:Z,generatePoints:$,getDGApproximation:tt,groupData:te}))},groupData:te};var ta=s(984);let{format:tn}=/*#__PURE__*/s.n(ta)(),{composed:tr}=h(),{addEvent:ts,extend:tl,isNumber:tu,pick:th,pushUnique:tp}=h();function td(t){let e=this.chart,i=e.time,o=t.point,a=o.series,n=a.options,r=a.tooltipOptions,s=n.dataGrouping,l=a.xAxis,u=r.xDateFormat||"",h,p,d,c,g,m=r[t.isFooter?"footerFormat":"headerFormat"];if(l&&"datetime"===l.options.type&&s&&tu(o.key)){p=a.currentDataGrouping,d=s.dateTimeLabelFormats||M.common.dateTimeLabelFormats,p?(c=d[p.unitName],1===p.count?u=c[0]:(u=c[1],h=c[2])):!u&&d&&l.dateTime&&(u=l.dateTime.getXDateFormat(o.x,r.dateTimeLabelFormats));let n=th(a.groupMap?.[o.index].groupStart,o.key),f=n+(p?.totalRange||0)-1;g=i.dateFormat(u,n),h&&(g+=i.dateFormat(h,f)),a.chart.styledMode&&(m=this.styledModeFormat(m)),t.text=tn(m,{point:tl(o,{key:g}),series:a},e),t.preventDefault()}}let tc={compose:function(t,e,i){P.compose(t),to.compose(e),i&&tp(tr,"DataGrouping")&&ts(i,"headerFormatter",td)},groupData:to.groupData},tg=h();tg.dataGrouping=tg.dataGrouping||{},tg.dataGrouping.approximationDefaults=tg.dataGrouping.approximationDefaults||G,tg.dataGrouping.approximations=tg.dataGrouping.approximations||p,tc.compose(tg.Axis,tg.Series,tg.Tooltip);let tm=h();return l.default})());