highcharts 9.3.0 → 9.3.1

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 (442) hide show
  1. package/bower.json +1 -1
  2. package/es-modules/Accessibility/Accessibility.js +5 -1
  3. package/es-modules/Accessibility/Components/InfoRegionsComponent.js +130 -84
  4. package/es-modules/Accessibility/Components/MenuComponent.js +195 -120
  5. package/es-modules/Accessibility/Components/RangeSelectorComponent.js +166 -81
  6. package/es-modules/Accessibility/KeyboardNavigation.js +2 -1
  7. package/es-modules/Core/Axis/OrdinalAxis.js +0 -4
  8. package/es-modules/Core/Globals.js +1 -1
  9. package/es-modules/Core/Renderer/SVG/SVGRenderer.js +1 -1
  10. package/es-modules/Extensions/Annotations/NavigationBindings.js +23 -10
  11. package/es-modules/Extensions/Annotations/Popup.js +1 -1
  12. package/es-modules/Extensions/Boost/BoostOptions.js +2 -2
  13. package/es-modules/Extensions/Exporting/Exporting.js +2 -2
  14. package/es-modules/Extensions/OfflineExporting/OfflineExportingDefaults.js +1 -1
  15. package/es-modules/Extensions/Oldie/Oldie.js +1 -1
  16. package/es-modules/Extensions/Polar.js +1 -1
  17. package/es-modules/Maps/MapView.js +5 -5
  18. package/es-modules/Maps/MapViewOptionsDefault.js +4 -2
  19. package/es-modules/Maps/Projection.js +3 -0
  20. package/es-modules/Maps/Projections/EqualEarth.js +7 -7
  21. package/es-modules/Maps/Projections/LambertConformalConic.js +52 -0
  22. package/es-modules/Maps/Projections/Miller.js +5 -6
  23. package/es-modules/Maps/Projections/Orthographic.js +4 -4
  24. package/es-modules/Maps/Projections/ProjectionRegistry.js +2 -0
  25. package/es-modules/Maps/Projections/WebMercator.js +2 -3
  26. package/es-modules/Series/Map/MapSeries.js +3 -0
  27. package/es-modules/Series/MapLine/MapLineSeries.js +2 -0
  28. package/es-modules/Series/MapPoint/MapPointSeries.js +13 -11
  29. package/es-modules/Stock/Indicators/SMA/SMAIndicator.js +23 -17
  30. package/es-modules/Stock/Indicators/VBP/VBPIndicator.js +3 -4
  31. package/es-modules/Stock/StockToolsGui.js +5 -5
  32. package/es-modules/masters/highcharts-3d.src.js +1 -1
  33. package/es-modules/masters/highcharts-gantt.src.js +1 -1
  34. package/es-modules/masters/highcharts-more.src.js +1 -1
  35. package/es-modules/masters/highcharts.src.js +1 -1
  36. package/es-modules/masters/highmaps.src.js +1 -1
  37. package/es-modules/masters/highstock.src.js +1 -1
  38. package/es-modules/masters/indicators/acceleration-bands.src.js +1 -1
  39. package/es-modules/masters/indicators/accumulation-distribution.src.js +1 -1
  40. package/es-modules/masters/indicators/ao.src.js +1 -1
  41. package/es-modules/masters/indicators/apo.src.js +1 -1
  42. package/es-modules/masters/indicators/aroon-oscillator.src.js +1 -1
  43. package/es-modules/masters/indicators/aroon.src.js +1 -1
  44. package/es-modules/masters/indicators/atr.src.js +1 -1
  45. package/es-modules/masters/indicators/bollinger-bands.src.js +1 -1
  46. package/es-modules/masters/indicators/cci.src.js +1 -1
  47. package/es-modules/masters/indicators/chaikin.src.js +1 -1
  48. package/es-modules/masters/indicators/cmf.src.js +1 -1
  49. package/es-modules/masters/indicators/cmo.src.js +1 -1
  50. package/es-modules/masters/indicators/dema.src.js +1 -1
  51. package/es-modules/masters/indicators/disparity-index.src.js +1 -1
  52. package/es-modules/masters/indicators/dmi.src.js +1 -1
  53. package/es-modules/masters/indicators/dpo.src.js +1 -1
  54. package/es-modules/masters/indicators/ichimoku-kinko-hyo.src.js +1 -1
  55. package/es-modules/masters/indicators/indicators-all.src.js +1 -1
  56. package/es-modules/masters/indicators/indicators.src.js +1 -1
  57. package/es-modules/masters/indicators/keltner-channels.src.js +1 -1
  58. package/es-modules/masters/indicators/klinger.src.js +1 -1
  59. package/es-modules/masters/indicators/macd.src.js +1 -1
  60. package/es-modules/masters/indicators/mfi.src.js +1 -1
  61. package/es-modules/masters/indicators/momentum.src.js +1 -1
  62. package/es-modules/masters/indicators/natr.src.js +1 -1
  63. package/es-modules/masters/indicators/obv.src.js +1 -1
  64. package/es-modules/masters/indicators/pivot-points.src.js +1 -1
  65. package/es-modules/masters/indicators/ppo.src.js +1 -1
  66. package/es-modules/masters/indicators/price-channel.src.js +1 -1
  67. package/es-modules/masters/indicators/price-envelopes.src.js +1 -1
  68. package/es-modules/masters/indicators/psar.src.js +1 -1
  69. package/es-modules/masters/indicators/regressions.src.js +1 -1
  70. package/es-modules/masters/indicators/roc.src.js +1 -1
  71. package/es-modules/masters/indicators/rsi.src.js +1 -1
  72. package/es-modules/masters/indicators/slow-stochastic.src.js +1 -1
  73. package/es-modules/masters/indicators/stochastic.src.js +1 -1
  74. package/es-modules/masters/indicators/supertrend.src.js +1 -1
  75. package/es-modules/masters/indicators/tema.src.js +1 -1
  76. package/es-modules/masters/indicators/trendline.src.js +1 -1
  77. package/es-modules/masters/indicators/trix.src.js +1 -1
  78. package/es-modules/masters/indicators/volume-by-price.src.js +1 -1
  79. package/es-modules/masters/indicators/vwap.src.js +1 -1
  80. package/es-modules/masters/indicators/williams-r.src.js +1 -1
  81. package/es-modules/masters/indicators/wma.src.js +1 -1
  82. package/es-modules/masters/indicators/zigzag.src.js +1 -1
  83. package/es-modules/masters/modules/accessibility.src.js +2 -2
  84. package/es-modules/masters/modules/annotations-advanced.src.js +1 -1
  85. package/es-modules/masters/modules/annotations.src.js +1 -1
  86. package/es-modules/masters/modules/arrow-symbols.src.js +1 -1
  87. package/es-modules/masters/modules/boost-canvas.src.js +1 -1
  88. package/es-modules/masters/modules/boost.src.js +1 -1
  89. package/es-modules/masters/modules/broken-axis.src.js +1 -1
  90. package/es-modules/masters/modules/bullet.src.js +1 -1
  91. package/es-modules/masters/modules/coloraxis.src.js +1 -1
  92. package/es-modules/masters/modules/current-date-indicator.src.js +1 -1
  93. package/es-modules/masters/modules/cylinder.src.js +1 -1
  94. package/es-modules/masters/modules/data.src.js +1 -1
  95. package/es-modules/masters/modules/datagrouping.src.js +1 -1
  96. package/es-modules/masters/modules/debugger.src.js +1 -1
  97. package/es-modules/masters/modules/dependency-wheel.src.js +1 -1
  98. package/es-modules/masters/modules/dotplot.src.js +1 -1
  99. package/es-modules/masters/modules/drag-panes.src.js +1 -1
  100. package/es-modules/masters/modules/draggable-points.src.js +1 -1
  101. package/es-modules/masters/modules/drilldown.src.js +1 -1
  102. package/es-modules/masters/modules/dumbbell.src.js +1 -1
  103. package/es-modules/masters/modules/export-data.src.js +1 -1
  104. package/es-modules/masters/modules/exporting.src.js +1 -1
  105. package/es-modules/masters/modules/full-screen.src.js +1 -1
  106. package/es-modules/masters/modules/funnel.src.js +1 -1
  107. package/es-modules/masters/modules/funnel3d.src.js +1 -1
  108. package/es-modules/masters/modules/gantt.src.js +1 -1
  109. package/es-modules/masters/modules/grid-axis.src.js +1 -1
  110. package/es-modules/masters/modules/heatmap.src.js +1 -1
  111. package/es-modules/masters/modules/heikinashi.src.js +1 -1
  112. package/es-modules/masters/modules/histogram-bellcurve.src.js +1 -1
  113. package/es-modules/masters/modules/hollowcandlestick.src.js +1 -1
  114. package/es-modules/masters/modules/item-series.src.js +1 -1
  115. package/es-modules/masters/modules/lollipop.src.js +1 -1
  116. package/es-modules/masters/modules/map.src.js +1 -1
  117. package/es-modules/masters/modules/marker-clusters.src.js +1 -1
  118. package/es-modules/masters/modules/networkgraph.src.js +1 -1
  119. package/es-modules/masters/modules/no-data-to-display.src.js +1 -1
  120. package/es-modules/masters/modules/offline-exporting.src.js +1 -1
  121. package/es-modules/masters/modules/oldie-polyfills.src.js +1 -1
  122. package/es-modules/masters/modules/oldie.src.js +1 -1
  123. package/es-modules/masters/modules/organization.src.js +1 -1
  124. package/es-modules/masters/modules/overlapping-datalabels.src.js +1 -1
  125. package/es-modules/masters/modules/parallel-coordinates.src.js +1 -1
  126. package/es-modules/masters/modules/pareto.src.js +1 -1
  127. package/es-modules/masters/modules/pathfinder.src.js +1 -1
  128. package/es-modules/masters/modules/pattern-fill.src.js +1 -1
  129. package/es-modules/masters/modules/price-indicator.src.js +1 -1
  130. package/es-modules/masters/modules/pyramid3d.src.js +1 -1
  131. package/es-modules/masters/modules/sankey.src.js +1 -1
  132. package/es-modules/masters/modules/series-label.src.js +1 -1
  133. package/es-modules/masters/modules/solid-gauge.src.js +1 -1
  134. package/es-modules/masters/modules/sonification.src.js +1 -1
  135. package/es-modules/masters/modules/static-scale.src.js +1 -1
  136. package/es-modules/masters/modules/stock-tools.src.js +1 -1
  137. package/es-modules/masters/modules/stock.src.js +1 -1
  138. package/es-modules/masters/modules/streamgraph.src.js +1 -1
  139. package/es-modules/masters/modules/sunburst.src.js +1 -1
  140. package/es-modules/masters/modules/tilemap.src.js +1 -1
  141. package/es-modules/masters/modules/timeline.src.js +1 -1
  142. package/es-modules/masters/modules/treegrid.src.js +1 -1
  143. package/es-modules/masters/modules/treemap.src.js +1 -1
  144. package/es-modules/masters/modules/variable-pie.src.js +1 -1
  145. package/es-modules/masters/modules/variwide.src.js +1 -1
  146. package/es-modules/masters/modules/vector.src.js +1 -1
  147. package/es-modules/masters/modules/venn.src.js +1 -1
  148. package/es-modules/masters/modules/windbarb.src.js +1 -1
  149. package/es-modules/masters/modules/wordcloud.src.js +1 -1
  150. package/es-modules/masters/modules/xrange.src.js +1 -1
  151. package/es-modules/masters/themes/avocado.src.js +1 -1
  152. package/es-modules/masters/themes/dark-blue.src.js +1 -1
  153. package/es-modules/masters/themes/dark-green.src.js +1 -1
  154. package/es-modules/masters/themes/dark-unica.src.js +1 -1
  155. package/es-modules/masters/themes/gray.src.js +1 -1
  156. package/es-modules/masters/themes/grid-light.src.js +1 -1
  157. package/es-modules/masters/themes/grid.src.js +1 -1
  158. package/es-modules/masters/themes/high-contrast-dark.src.js +1 -1
  159. package/es-modules/masters/themes/high-contrast-light.src.js +1 -1
  160. package/es-modules/masters/themes/sand-signika.src.js +1 -1
  161. package/es-modules/masters/themes/skies.src.js +1 -1
  162. package/es-modules/masters/themes/sunset.src.js +1 -1
  163. package/highcharts-3d.js +1 -1
  164. package/highcharts-3d.src.js +1 -1
  165. package/highcharts-gantt.js +3 -3
  166. package/highcharts-gantt.src.js +3 -3
  167. package/highcharts-more.js +2 -2
  168. package/highcharts-more.js.map +1 -1
  169. package/highcharts-more.src.js +2 -2
  170. package/highcharts.d.ts +126 -9
  171. package/highcharts.js +3 -3
  172. package/highcharts.src.d.ts +126 -9
  173. package/highcharts.src.js +3 -3
  174. package/highmaps.js +655 -653
  175. package/highmaps.js.map +1 -1
  176. package/highmaps.src.js +131 -43
  177. package/highstock.js +61 -61
  178. package/highstock.js.map +1 -1
  179. package/highstock.src.js +3 -7
  180. package/indicators/acceleration-bands.js +1 -1
  181. package/indicators/acceleration-bands.src.js +1 -1
  182. package/indicators/accumulation-distribution.js +1 -1
  183. package/indicators/accumulation-distribution.src.js +1 -1
  184. package/indicators/ao.js +1 -1
  185. package/indicators/ao.src.js +1 -1
  186. package/indicators/apo.js +1 -1
  187. package/indicators/apo.src.js +1 -1
  188. package/indicators/aroon-oscillator.js +1 -1
  189. package/indicators/aroon-oscillator.src.js +1 -1
  190. package/indicators/aroon.js +1 -1
  191. package/indicators/aroon.src.js +1 -1
  192. package/indicators/atr.js +1 -1
  193. package/indicators/atr.src.js +1 -1
  194. package/indicators/bollinger-bands.js +1 -1
  195. package/indicators/bollinger-bands.src.js +1 -1
  196. package/indicators/cci.js +1 -1
  197. package/indicators/cci.src.js +1 -1
  198. package/indicators/chaikin.js +1 -1
  199. package/indicators/chaikin.src.js +1 -1
  200. package/indicators/cmf.js +1 -1
  201. package/indicators/cmf.src.js +1 -1
  202. package/indicators/cmo.js +1 -1
  203. package/indicators/cmo.src.js +1 -1
  204. package/indicators/dema.js +1 -1
  205. package/indicators/dema.src.js +1 -1
  206. package/indicators/disparity-index.js +1 -1
  207. package/indicators/disparity-index.src.js +1 -1
  208. package/indicators/dmi.js +1 -1
  209. package/indicators/dmi.src.js +1 -1
  210. package/indicators/dpo.js +1 -1
  211. package/indicators/dpo.src.js +1 -1
  212. package/indicators/ichimoku-kinko-hyo.js +1 -1
  213. package/indicators/ichimoku-kinko-hyo.src.js +1 -1
  214. package/indicators/indicators-all.js +72 -72
  215. package/indicators/indicators-all.js.map +1 -1
  216. package/indicators/indicators-all.src.js +29 -24
  217. package/indicators/indicators.js +10 -10
  218. package/indicators/indicators.js.map +1 -1
  219. package/indicators/indicators.src.js +26 -20
  220. package/indicators/keltner-channels.js +1 -1
  221. package/indicators/keltner-channels.src.js +1 -1
  222. package/indicators/klinger.js +1 -1
  223. package/indicators/klinger.src.js +1 -1
  224. package/indicators/macd.js +1 -1
  225. package/indicators/macd.src.js +1 -1
  226. package/indicators/mfi.js +1 -1
  227. package/indicators/mfi.src.js +1 -1
  228. package/indicators/momentum.js +1 -1
  229. package/indicators/momentum.src.js +1 -1
  230. package/indicators/natr.js +1 -1
  231. package/indicators/natr.src.js +1 -1
  232. package/indicators/obv.js +1 -1
  233. package/indicators/obv.src.js +1 -1
  234. package/indicators/pivot-points.js +1 -1
  235. package/indicators/pivot-points.src.js +1 -1
  236. package/indicators/ppo.js +1 -1
  237. package/indicators/ppo.src.js +1 -1
  238. package/indicators/price-channel.js +1 -1
  239. package/indicators/price-channel.src.js +1 -1
  240. package/indicators/price-envelopes.js +1 -1
  241. package/indicators/price-envelopes.src.js +1 -1
  242. package/indicators/psar.js +1 -1
  243. package/indicators/psar.src.js +1 -1
  244. package/indicators/regressions.js +1 -1
  245. package/indicators/regressions.src.js +1 -1
  246. package/indicators/roc.js +1 -1
  247. package/indicators/roc.src.js +1 -1
  248. package/indicators/rsi.js +1 -1
  249. package/indicators/rsi.src.js +1 -1
  250. package/indicators/slow-stochastic.js +1 -1
  251. package/indicators/slow-stochastic.src.js +1 -1
  252. package/indicators/stochastic.js +1 -1
  253. package/indicators/stochastic.src.js +1 -1
  254. package/indicators/supertrend.js +1 -1
  255. package/indicators/supertrend.src.js +1 -1
  256. package/indicators/tema.js +1 -1
  257. package/indicators/tema.src.js +1 -1
  258. package/indicators/trendline.js +1 -1
  259. package/indicators/trendline.src.js +1 -1
  260. package/indicators/trix.js +1 -1
  261. package/indicators/trix.src.js +1 -1
  262. package/indicators/volume-by-price.js +2 -2
  263. package/indicators/volume-by-price.js.map +1 -1
  264. package/indicators/volume-by-price.src.js +4 -5
  265. package/indicators/vwap.js +1 -1
  266. package/indicators/vwap.src.js +1 -1
  267. package/indicators/williams-r.js +1 -1
  268. package/indicators/williams-r.src.js +1 -1
  269. package/indicators/wma.js +1 -1
  270. package/indicators/wma.src.js +1 -1
  271. package/indicators/zigzag.js +1 -1
  272. package/indicators/zigzag.src.js +1 -1
  273. package/modules/accessibility.js +225 -222
  274. package/modules/accessibility.js.map +1 -1
  275. package/modules/accessibility.src.js +1306 -1085
  276. package/modules/annotations-advanced.js +153 -152
  277. package/modules/annotations-advanced.js.map +1 -1
  278. package/modules/annotations-advanced.src.js +26 -12
  279. package/modules/annotations.js +81 -80
  280. package/modules/annotations.js.map +1 -1
  281. package/modules/annotations.src.js +26 -12
  282. package/modules/arrow-symbols.js +1 -1
  283. package/modules/arrow-symbols.src.js +1 -1
  284. package/modules/boost-canvas.js +1 -1
  285. package/modules/boost-canvas.src.js +1 -1
  286. package/modules/boost.js +1 -1
  287. package/modules/boost.src.js +1 -1
  288. package/modules/broken-axis.js +1 -1
  289. package/modules/broken-axis.src.js +1 -1
  290. package/modules/bullet.js +1 -1
  291. package/modules/bullet.src.js +1 -1
  292. package/modules/coloraxis.js +1 -1
  293. package/modules/coloraxis.src.js +1 -1
  294. package/modules/current-date-indicator.js +1 -1
  295. package/modules/current-date-indicator.src.js +1 -1
  296. package/modules/cylinder.js +1 -1
  297. package/modules/cylinder.src.js +1 -1
  298. package/modules/data.js +1 -1
  299. package/modules/data.src.js +1 -1
  300. package/modules/datagrouping.js +1 -1
  301. package/modules/datagrouping.src.js +1 -1
  302. package/modules/debugger.js +1 -1
  303. package/modules/debugger.src.js +1 -1
  304. package/modules/dependency-wheel.js +1 -1
  305. package/modules/dependency-wheel.src.js +1 -1
  306. package/modules/dotplot.js +1 -1
  307. package/modules/dotplot.src.js +1 -1
  308. package/modules/drag-panes.js +1 -1
  309. package/modules/drag-panes.src.js +1 -1
  310. package/modules/draggable-points.js +1 -1
  311. package/modules/draggable-points.src.js +1 -1
  312. package/modules/drilldown.js +1 -1
  313. package/modules/drilldown.src.js +1 -1
  314. package/modules/dumbbell.js +1 -1
  315. package/modules/dumbbell.src.js +1 -1
  316. package/modules/export-data.js +1 -1
  317. package/modules/export-data.src.js +1 -1
  318. package/modules/exporting.js +35 -35
  319. package/modules/exporting.js.map +1 -1
  320. package/modules/exporting.src.js +3 -3
  321. package/modules/full-screen.js +1 -1
  322. package/modules/full-screen.src.js +1 -1
  323. package/modules/funnel.js +1 -1
  324. package/modules/funnel.src.js +1 -1
  325. package/modules/funnel3d.js +1 -1
  326. package/modules/funnel3d.src.js +1 -1
  327. package/modules/gantt.js +1 -1
  328. package/modules/gantt.src.js +1 -1
  329. package/modules/grid-axis.js +1 -1
  330. package/modules/grid-axis.src.js +1 -1
  331. package/modules/heatmap.js +1 -1
  332. package/modules/heatmap.src.js +1 -1
  333. package/modules/heikinashi.js +1 -1
  334. package/modules/heikinashi.src.js +1 -1
  335. package/modules/histogram-bellcurve.js +1 -1
  336. package/modules/histogram-bellcurve.src.js +1 -1
  337. package/modules/hollowcandlestick.js +1 -1
  338. package/modules/hollowcandlestick.src.js +1 -1
  339. package/modules/item-series.js +1 -1
  340. package/modules/item-series.src.js +1 -1
  341. package/modules/lollipop.js +1 -1
  342. package/modules/lollipop.src.js +1 -1
  343. package/modules/map.d.ts +2 -2
  344. package/modules/map.js +143 -141
  345. package/modules/map.js.map +1 -1
  346. package/modules/map.src.d.ts +2 -2
  347. package/modules/map.src.js +129 -41
  348. package/modules/marker-clusters.js +1 -1
  349. package/modules/marker-clusters.src.js +1 -1
  350. package/modules/networkgraph.js +1 -1
  351. package/modules/networkgraph.src.js +1 -1
  352. package/modules/no-data-to-display.js +1 -1
  353. package/modules/no-data-to-display.src.js +1 -1
  354. package/modules/offline-exporting.js +2 -2
  355. package/modules/offline-exporting.src.js +2 -2
  356. package/modules/oldie-polyfills.js +1 -1
  357. package/modules/oldie-polyfills.src.js +1 -1
  358. package/modules/oldie.js +2 -2
  359. package/modules/oldie.src.js +2 -2
  360. package/modules/organization.js +1 -1
  361. package/modules/organization.src.js +1 -1
  362. package/modules/overlapping-datalabels.js +1 -1
  363. package/modules/overlapping-datalabels.src.js +1 -1
  364. package/modules/parallel-coordinates.js +1 -1
  365. package/modules/parallel-coordinates.src.js +1 -1
  366. package/modules/pareto.js +1 -1
  367. package/modules/pareto.src.js +1 -1
  368. package/modules/pathfinder.js +1 -1
  369. package/modules/pathfinder.src.js +1 -1
  370. package/modules/pattern-fill.js +1 -1
  371. package/modules/pattern-fill.src.js +1 -1
  372. package/modules/price-indicator.js +1 -1
  373. package/modules/price-indicator.src.js +1 -1
  374. package/modules/pyramid3d.js +1 -1
  375. package/modules/pyramid3d.src.js +1 -1
  376. package/modules/sankey.js +1 -1
  377. package/modules/sankey.src.js +1 -1
  378. package/modules/series-label.js +1 -1
  379. package/modules/series-label.src.js +1 -1
  380. package/modules/solid-gauge.js +1 -1
  381. package/modules/solid-gauge.src.js +1 -1
  382. package/modules/sonification.js +1 -1
  383. package/modules/sonification.src.js +1 -1
  384. package/modules/static-scale.js +1 -1
  385. package/modules/static-scale.src.js +1 -1
  386. package/modules/stock-tools.js +86 -84
  387. package/modules/stock-tools.js.map +1 -1
  388. package/modules/stock-tools.src.js +30 -16
  389. package/modules/stock.js +90 -90
  390. package/modules/stock.js.map +1 -1
  391. package/modules/stock.src.js +1 -5
  392. package/modules/streamgraph.js +1 -1
  393. package/modules/streamgraph.src.js +1 -1
  394. package/modules/sunburst.js +1 -1
  395. package/modules/sunburst.src.js +1 -1
  396. package/modules/tilemap.js +1 -1
  397. package/modules/tilemap.src.js +1 -1
  398. package/modules/timeline.js +1 -1
  399. package/modules/timeline.src.js +1 -1
  400. package/modules/treegrid.js +1 -1
  401. package/modules/treegrid.src.js +1 -1
  402. package/modules/treemap.js +1 -1
  403. package/modules/treemap.src.js +1 -1
  404. package/modules/variable-pie.js +1 -1
  405. package/modules/variable-pie.src.js +1 -1
  406. package/modules/variwide.js +1 -1
  407. package/modules/variwide.src.js +1 -1
  408. package/modules/vector.js +1 -1
  409. package/modules/vector.src.js +1 -1
  410. package/modules/venn.js +1 -1
  411. package/modules/venn.src.js +1 -1
  412. package/modules/windbarb.js +1 -1
  413. package/modules/windbarb.src.js +1 -1
  414. package/modules/wordcloud.js +1 -1
  415. package/modules/wordcloud.src.js +1 -1
  416. package/modules/xrange.js +1 -1
  417. package/modules/xrange.src.js +1 -1
  418. package/package.json +1 -1
  419. package/themes/avocado.js +1 -1
  420. package/themes/avocado.src.js +1 -1
  421. package/themes/dark-blue.js +1 -1
  422. package/themes/dark-blue.src.js +1 -1
  423. package/themes/dark-green.js +1 -1
  424. package/themes/dark-green.src.js +1 -1
  425. package/themes/dark-unica.js +1 -1
  426. package/themes/dark-unica.src.js +1 -1
  427. package/themes/gray.js +1 -1
  428. package/themes/gray.src.js +1 -1
  429. package/themes/grid-light.js +1 -1
  430. package/themes/grid-light.src.js +1 -1
  431. package/themes/grid.js +1 -1
  432. package/themes/grid.src.js +1 -1
  433. package/themes/high-contrast-dark.js +1 -1
  434. package/themes/high-contrast-dark.src.js +1 -1
  435. package/themes/high-contrast-light.js +1 -1
  436. package/themes/high-contrast-light.src.js +1 -1
  437. package/themes/sand-signika.js +1 -1
  438. package/themes/sand-signika.src.js +1 -1
  439. package/themes/skies.js +1 -1
  440. package/themes/skies.src.js +1 -1
  441. package/themes/sunset.js +1 -1
  442. package/themes/sunset.src.js +1 -1
@@ -10,16 +10,33 @@
10
10
  *
11
11
  * */
12
12
  'use strict';
13
+ var __extends = (this && this.__extends) || (function () {
14
+ var extendStatics = function (d, b) {
15
+ extendStatics = Object.setPrototypeOf ||
16
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
17
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
18
+ return extendStatics(d, b);
19
+ };
20
+ return function (d, b) {
21
+ extendStatics(d, b);
22
+ function __() { this.constructor = d; }
23
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
24
+ };
25
+ })();
13
26
  import RangeSelector from '../../Extensions/RangeSelector.js';
14
27
  import AccessibilityComponent from '../AccessibilityComponent.js';
15
28
  import ChartUtilities from '../Utils/ChartUtilities.js';
16
29
  var unhideChartElementFromAT = ChartUtilities.unhideChartElementFromAT, getAxisRangeDescription = ChartUtilities.getAxisRangeDescription;
17
30
  import Announcer from '../Utils/Announcer.js';
18
- import Chart from '../../Core/Chart/Chart.js';
19
31
  import KeyboardNavigationHandler from '../KeyboardNavigationHandler.js';
20
32
  import U from '../../Core/Utilities.js';
21
- var addEvent = U.addEvent, attr = U.attr, extend = U.extend;
22
- /* eslint-disable no-invalid-this, valid-jsdoc */
33
+ var addEvent = U.addEvent, attr = U.attr;
34
+ /* *
35
+ *
36
+ * Functions
37
+ *
38
+ * */
39
+ /* eslint-disable valid-jsdoc */
23
40
  /**
24
41
  * @private
25
42
  */
@@ -31,49 +48,11 @@ function shouldRunInputNavigation(chart) {
31
48
  chart.rangeSelector.minInput &&
32
49
  chart.rangeSelector.maxInput);
33
50
  }
34
- /**
35
- * Highlight range selector button by index.
36
- *
37
- * @private
38
- * @function Highcharts.Chart#highlightRangeSelectorButton
51
+ /* *
39
52
  *
40
- * @param {number} ix
53
+ * Class
41
54
  *
42
- * @return {boolean}
43
- */
44
- Chart.prototype.highlightRangeSelectorButton = function (ix) {
45
- var buttons = (this.rangeSelector &&
46
- this.rangeSelector.buttons ||
47
- []);
48
- var curHighlightedIx = this.highlightedRangeSelectorItemIx;
49
- var curSelectedIx = (this.rangeSelector &&
50
- this.rangeSelector.selected);
51
- // Deselect old
52
- if (typeof curHighlightedIx !== 'undefined' &&
53
- buttons[curHighlightedIx] &&
54
- curHighlightedIx !== curSelectedIx) {
55
- buttons[curHighlightedIx].setState(this.oldRangeSelectorItemState || 0);
56
- }
57
- // Select new
58
- this.highlightedRangeSelectorItemIx = ix;
59
- if (buttons[ix]) {
60
- this.setFocusToElement(buttons[ix].box, buttons[ix].element);
61
- if (ix !== curSelectedIx) {
62
- this.oldRangeSelectorItemState = buttons[ix].state;
63
- buttons[ix].setState(1);
64
- }
65
- return true;
66
- }
67
- return false;
68
- };
69
- // Range selector does not have destroy-setup for class instance events - so
70
- // we set it on the class and call the component from here.
71
- addEvent(RangeSelector, 'afterBtnClick', function () {
72
- if (this.chart.accessibility &&
73
- this.chart.accessibility.components.rangeSelector) {
74
- return this.chart.accessibility.components.rangeSelector.onAfterBtnClick();
75
- }
76
- });
55
+ * */
77
56
  /**
78
57
  * The RangeSelectorComponent class
79
58
  *
@@ -81,21 +60,36 @@ addEvent(RangeSelector, 'afterBtnClick', function () {
81
60
  * @class
82
61
  * @name Highcharts.RangeSelectorComponent
83
62
  */
84
- var RangeSelectorComponent = function () { };
85
- RangeSelectorComponent.prototype = new AccessibilityComponent();
86
- extend(RangeSelectorComponent.prototype, /** @lends Highcharts.RangeSelectorComponent */ {
63
+ var RangeSelectorComponent = /** @class */ (function (_super) {
64
+ __extends(RangeSelectorComponent, _super);
65
+ function RangeSelectorComponent() {
66
+ /* *
67
+ *
68
+ * Properties
69
+ *
70
+ * */
71
+ var _this = _super !== null && _super.apply(this, arguments) || this;
72
+ _this.announcer = void 0;
73
+ return _this;
74
+ }
75
+ /* *
76
+ *
77
+ * Functions
78
+ *
79
+ * */
80
+ /* eslint-disable valid-jsdoc */
87
81
  /**
88
82
  * Init the component
89
83
  * @private
90
84
  */
91
- init: function () {
85
+ RangeSelectorComponent.prototype.init = function () {
92
86
  var chart = this.chart;
93
87
  this.announcer = new Announcer(chart, 'polite');
94
- },
88
+ };
95
89
  /**
96
90
  * Called on first render/updates to the chart, including options changes.
97
91
  */
98
- onChartUpdate: function () {
92
+ RangeSelectorComponent.prototype.onChartUpdate = function () {
99
93
  var chart = this.chart, component = this, rangeSelector = chart.rangeSelector;
100
94
  if (!rangeSelector) {
101
95
  return;
@@ -119,12 +113,12 @@ extend(RangeSelectorComponent.prototype, /** @lends Highcharts.RangeSelectorComp
119
113
  }
120
114
  });
121
115
  }
122
- },
116
+ };
123
117
  /**
124
118
  * Hide buttons from AT when showing dropdown, and vice versa.
125
119
  * @private
126
120
  */
127
- updateSelectorVisibility: function () {
121
+ RangeSelectorComponent.prototype.updateSelectorVisibility = function () {
128
122
  var chart = this.chart;
129
123
  var rangeSelector = chart.rangeSelector;
130
124
  var dropdown = (rangeSelector &&
@@ -145,12 +139,12 @@ extend(RangeSelectorComponent.prototype, /** @lends Highcharts.RangeSelectorComp
145
139
  }
146
140
  buttons.forEach(function (btn) { return unhideChartElementFromAT(chart, btn.element); });
147
141
  }
148
- },
142
+ };
149
143
  /**
150
144
  * Set accessibility related attributes on dropdown element.
151
145
  * @private
152
146
  */
153
- setDropdownAttrs: function () {
147
+ RangeSelectorComponent.prototype.setDropdownAttrs = function () {
154
148
  var chart = this.chart;
155
149
  var dropdown = (chart.rangeSelector &&
156
150
  chart.rangeSelector.dropdown);
@@ -159,34 +153,34 @@ extend(RangeSelectorComponent.prototype, /** @lends Highcharts.RangeSelectorComp
159
153
  dropdown.setAttribute('aria-label', label);
160
154
  dropdown.setAttribute('tabindex', -1);
161
155
  }
162
- },
156
+ };
163
157
  /**
164
158
  * @private
165
159
  * @param {Highcharts.SVGElement} button
166
160
  */
167
- setRangeButtonAttrs: function (button) {
161
+ RangeSelectorComponent.prototype.setRangeButtonAttrs = function (button) {
168
162
  attr(button.element, {
169
163
  tabindex: -1,
170
164
  role: 'button'
171
165
  });
172
- },
166
+ };
173
167
  /**
174
168
  * @private
175
169
  */
176
- setRangeInputAttrs: function (input, langKey) {
170
+ RangeSelectorComponent.prototype.setRangeInputAttrs = function (input, langKey) {
177
171
  var chart = this.chart;
178
172
  attr(input, {
179
173
  tabindex: -1,
180
174
  'aria-label': chart.langFormat(langKey, { chart: chart })
181
175
  });
182
- },
176
+ };
183
177
  /**
184
178
  * @private
185
179
  * @param {Highcharts.KeyboardNavigationHandler} keyboardNavigationHandler
186
180
  * @param {number} keyCode
187
181
  * @return {number} Response code
188
182
  */
189
- onButtonNavKbdArrowKey: function (keyboardNavigationHandler, keyCode) {
183
+ RangeSelectorComponent.prototype.onButtonNavKbdArrowKey = function (keyboardNavigationHandler, keyCode) {
190
184
  var response = keyboardNavigationHandler.response, keys = this.keyCodes, chart = this.chart, wrapAround = chart.options.accessibility
191
185
  .keyboardNavigation.wrapAround, direction = (keyCode === keys.left || keyCode === keys.up) ? -1 : 1, didHighlight = chart.highlightRangeSelectorButton(chart.highlightedRangeSelectorItemIx + direction);
192
186
  if (!didHighlight) {
@@ -197,34 +191,34 @@ extend(RangeSelectorComponent.prototype, /** @lends Highcharts.RangeSelectorComp
197
191
  return response[direction > 0 ? 'next' : 'prev'];
198
192
  }
199
193
  return response.success;
200
- },
194
+ };
201
195
  /**
202
196
  * @private
203
197
  */
204
- onButtonNavKbdClick: function (keyboardNavigationHandler) {
198
+ RangeSelectorComponent.prototype.onButtonNavKbdClick = function (keyboardNavigationHandler) {
205
199
  var response = keyboardNavigationHandler.response, chart = this.chart, wasDisabled = chart.oldRangeSelectorItemState === 3;
206
200
  if (!wasDisabled) {
207
201
  this.fakeClickEvent(chart.rangeSelector.buttons[chart.highlightedRangeSelectorItemIx].element);
208
202
  }
209
203
  return response.success;
210
- },
204
+ };
211
205
  /**
212
206
  * Called whenever a range selector button has been clicked, either by
213
207
  * mouse, touch, or kbd/voice/other.
214
208
  * @private
215
209
  */
216
- onAfterBtnClick: function () {
210
+ RangeSelectorComponent.prototype.onAfterBtnClick = function () {
217
211
  var chart = this.chart;
218
212
  var axisRangeDescription = getAxisRangeDescription(chart.xAxis[0]);
219
213
  var announcement = chart.langFormat('accessibility.rangeSelector.clickButtonAnnouncement', { chart: chart, axisRangeDescription: axisRangeDescription });
220
214
  if (announcement) {
221
215
  this.announcer.announce(announcement);
222
216
  }
223
- },
217
+ };
224
218
  /**
225
219
  * @private
226
220
  */
227
- onInputKbdMove: function (direction) {
221
+ RangeSelectorComponent.prototype.onInputKbdMove = function (direction) {
228
222
  var chart = this.chart;
229
223
  var rangeSel = chart.rangeSelector;
230
224
  var newIx = chart.highlightedInputRangeIx = (chart.highlightedInputRangeIx || 0) + direction;
@@ -242,12 +236,12 @@ extend(RangeSelectorComponent.prototype, /** @lends Highcharts.RangeSelectorComp
242
236
  chart.setFocusToElement(svgEl, inputEl);
243
237
  }
244
238
  }
245
- },
239
+ };
246
240
  /**
247
241
  * @private
248
242
  * @param {number} direction
249
243
  */
250
- onInputNavInit: function (direction) {
244
+ RangeSelectorComponent.prototype.onInputNavInit = function (direction) {
251
245
  var _this = this;
252
246
  var component = this;
253
247
  var chart = this.chart;
@@ -281,11 +275,11 @@ extend(RangeSelectorComponent.prototype, /** @lends Highcharts.RangeSelectorComp
281
275
  maxRemover_1();
282
276
  };
283
277
  }
284
- },
278
+ };
285
279
  /**
286
280
  * @private
287
281
  */
288
- onInputNavTerminate: function () {
282
+ RangeSelectorComponent.prototype.onInputNavTerminate = function () {
289
283
  var rangeSel = (this.chart.rangeSelector || {});
290
284
  if (rangeSel.maxInput) {
291
285
  rangeSel.hideInput('max');
@@ -297,11 +291,11 @@ extend(RangeSelectorComponent.prototype, /** @lends Highcharts.RangeSelectorComp
297
291
  this.removeInputKeydownHandler();
298
292
  delete this.removeInputKeydownHandler;
299
293
  }
300
- },
294
+ };
301
295
  /**
302
296
  * @private
303
297
  */
304
- initDropdownNav: function () {
298
+ RangeSelectorComponent.prototype.initDropdownNav = function () {
305
299
  var _this = this;
306
300
  var chart = this.chart;
307
301
  var rangeSelector = chart.rangeSelector;
@@ -325,13 +319,13 @@ extend(RangeSelectorComponent.prototype, /** @lends Highcharts.RangeSelectorComp
325
319
  }
326
320
  });
327
321
  }
328
- },
322
+ };
329
323
  /**
330
324
  * Get navigation for the range selector buttons.
331
325
  * @private
332
326
  * @return {Highcharts.KeyboardNavigationHandler} The module object.
333
327
  */
334
- getRangeSelectorButtonNavigation: function () {
328
+ RangeSelectorComponent.prototype.getRangeSelectorButtonNavigation = function () {
335
329
  var chart = this.chart;
336
330
  var keys = this.keyCodes;
337
331
  var component = this;
@@ -372,14 +366,14 @@ extend(RangeSelectorComponent.prototype, /** @lends Highcharts.RangeSelectorComp
372
366
  }
373
367
  }
374
368
  });
375
- },
369
+ };
376
370
  /**
377
371
  * Get navigation for the range selector input boxes.
378
372
  * @private
379
373
  * @return {Highcharts.KeyboardNavigationHandler}
380
374
  * The module object.
381
375
  */
382
- getRangeSelectorInputNavigation: function () {
376
+ RangeSelectorComponent.prototype.getRangeSelectorInputNavigation = function () {
383
377
  var chart = this.chart;
384
378
  var component = this;
385
379
  return new KeyboardNavigationHandler(chart, {
@@ -394,22 +388,22 @@ extend(RangeSelectorComponent.prototype, /** @lends Highcharts.RangeSelectorComp
394
388
  component.onInputNavTerminate();
395
389
  }
396
390
  });
397
- },
391
+ };
398
392
  /**
399
393
  * Get keyboard navigation handlers for this component.
400
394
  * @return {Array<Highcharts.KeyboardNavigationHandler>}
401
395
  * List of module objects.
402
396
  */
403
- getKeyboardNavigation: function () {
397
+ RangeSelectorComponent.prototype.getKeyboardNavigation = function () {
404
398
  return [
405
399
  this.getRangeSelectorButtonNavigation(),
406
400
  this.getRangeSelectorInputNavigation()
407
401
  ];
408
- },
402
+ };
409
403
  /**
410
404
  * Remove component traces
411
405
  */
412
- destroy: function () {
406
+ RangeSelectorComponent.prototype.destroy = function () {
413
407
  if (this.removeDropdownKeydownHandler) {
414
408
  this.removeDropdownKeydownHandler();
415
409
  }
@@ -419,6 +413,97 @@ extend(RangeSelectorComponent.prototype, /** @lends Highcharts.RangeSelectorComp
419
413
  if (this.announcer) {
420
414
  this.announcer.destroy();
421
415
  }
416
+ };
417
+ return RangeSelectorComponent;
418
+ }(AccessibilityComponent));
419
+ /* *
420
+ *
421
+ * Class Namespace
422
+ *
423
+ * */
424
+ (function (RangeSelectorComponent) {
425
+ /* *
426
+ *
427
+ * Declarations
428
+ *
429
+ * */
430
+ /* *
431
+ *
432
+ * Constants
433
+ *
434
+ * */
435
+ var composedClasses = [];
436
+ /* *
437
+ *
438
+ * Functions
439
+ *
440
+ * */
441
+ /* eslint-disable valid-jsdoc */
442
+ /**
443
+ * Highlight range selector button by index.
444
+ *
445
+ * @private
446
+ * @function Highcharts.Chart#highlightRangeSelectorButton
447
+ *
448
+ * @param {number} ix
449
+ *
450
+ * @return {boolean}
451
+ */
452
+ function chartHighlightRangeSelectorButton(ix) {
453
+ var buttons = (this.rangeSelector &&
454
+ this.rangeSelector.buttons ||
455
+ []);
456
+ var curHighlightedIx = this.highlightedRangeSelectorItemIx;
457
+ var curSelectedIx = (this.rangeSelector &&
458
+ this.rangeSelector.selected);
459
+ // Deselect old
460
+ if (typeof curHighlightedIx !== 'undefined' &&
461
+ buttons[curHighlightedIx] &&
462
+ curHighlightedIx !== curSelectedIx) {
463
+ buttons[curHighlightedIx].setState(this.oldRangeSelectorItemState || 0);
464
+ }
465
+ // Select new
466
+ this.highlightedRangeSelectorItemIx = ix;
467
+ if (buttons[ix]) {
468
+ this.setFocusToElement(buttons[ix].box, buttons[ix].element);
469
+ if (ix !== curSelectedIx) {
470
+ this.oldRangeSelectorItemState = buttons[ix].state;
471
+ buttons[ix].setState(1);
472
+ }
473
+ return true;
474
+ }
475
+ return false;
476
+ }
477
+ /**
478
+ * @private
479
+ */
480
+ function compose(ChartClass, RangeSelectorClass) {
481
+ if (composedClasses.indexOf(ChartClass) === -1) {
482
+ composedClasses.push(ChartClass);
483
+ var chartProto = ChartClass.prototype;
484
+ chartProto.highlightRangeSelectorButton = chartHighlightRangeSelectorButton;
485
+ }
486
+ if (composedClasses.indexOf(RangeSelectorClass) === -1) {
487
+ composedClasses.push(RangeSelectorClass);
488
+ addEvent(RangeSelector, 'afterBtnClick', rangeSelectorAfterBtnClick);
489
+ }
490
+ }
491
+ RangeSelectorComponent.compose = compose;
492
+ /**
493
+ * Range selector does not have destroy-setup for class instance events - so
494
+ * we set it on the class and call the component from here.
495
+ * @private
496
+ */
497
+ function rangeSelectorAfterBtnClick() {
498
+ if (this.chart.accessibility &&
499
+ this.chart.accessibility.components.rangeSelector) {
500
+ return this.chart.accessibility.components.rangeSelector.onAfterBtnClick();
501
+ }
422
502
  }
423
- });
503
+ })(RangeSelectorComponent || (RangeSelectorComponent = {}));
504
+ /* *
505
+ *
506
+ * Export Default
507
+ *
508
+ * */
424
509
  export default RangeSelectorComponent;
@@ -10,9 +10,9 @@
10
10
  *
11
11
  * */
12
12
  'use strict';
13
- import Chart from '../Core/Chart/Chart.js';
14
13
  import H from '../Core/Globals.js';
15
14
  var doc = H.doc, win = H.win;
15
+ import MenuComponent from './Components/MenuComponent.js';
16
16
  import U from '../Core/Utilities.js';
17
17
  var addEvent = U.addEvent, fireEvent = U.fireEvent;
18
18
  import EventProvider from './Utils/EventProvider.js';
@@ -397,6 +397,7 @@ var KeyboardNavigation = /** @class */ (function () {
397
397
  * @private
398
398
  */
399
399
  function compose(ChartClass) {
400
+ MenuComponent.compose(ChartClass);
400
401
  if (composedItems.indexOf(ChartClass) === -1) {
401
402
  composedItems.push(ChartClass);
402
403
  var chartProto = ChartClass.prototype;
@@ -827,10 +827,6 @@ var OrdinalAxis;
827
827
  fakeAxis.series.push(fakeSeries);
828
828
  series.processData.apply(fakeSeries);
829
829
  });
830
- // Apply grouping if needed.
831
- axis.applyGrouping.call(fakeAxis, {
832
- hasExtemesChanged: false
833
- });
834
830
  // Force to use the ordinal when points are evenly spaced
835
831
  // (e.g. weeks), #3825.
836
832
  if (fakeSeries.closestPointRange !== fakeSeries.basePointRange &&
@@ -40,7 +40,7 @@ var Globals;
40
40
  * Constants
41
41
  *
42
42
  * */
43
- Globals.SVG_NS = 'http://www.w3.org/2000/svg', Globals.product = 'Highcharts', Globals.version = '9.3.0', Globals.win = w, Globals.doc = Globals.win.document, Globals.svg = (Globals.doc &&
43
+ Globals.SVG_NS = 'http://www.w3.org/2000/svg', Globals.product = 'Highcharts', Globals.version = '9.3.1', Globals.win = w, Globals.doc = Globals.win.document, Globals.svg = (Globals.doc &&
44
44
  Globals.doc.createElementNS &&
45
45
  !!Globals.doc.createElementNS(Globals.SVG_NS, 'svg').createSVGRect), Globals.userAgent = (Globals.win.navigator && Globals.win.navigator.userAgent) || '', Globals.isChrome = Globals.userAgent.indexOf('Chrome') !== -1, Globals.isFirefox = Globals.userAgent.indexOf('Firefox') !== -1, Globals.isMS = /(edge|msie|trident)/i.test(Globals.userAgent) && !Globals.win.opera, Globals.isSafari = !Globals.isChrome && Globals.userAgent.indexOf('Safari') !== -1, Globals.isTouchDevice = /(Mobile|Android|Windows Phone)/.test(Globals.userAgent), Globals.isWebKit = Globals.userAgent.indexOf('AppleWebKit') !== -1, Globals.deg2rad = Math.PI * 2 / 360, Globals.hasBidiBug = (Globals.isFirefox &&
46
46
  parseInt(Globals.userAgent.split('Firefox/')[1], 10) < 4 // issue #38
@@ -193,7 +193,7 @@ var SVGRenderer = /** @class */ (function () {
193
193
  this.url = this.getReferenceURL();
194
194
  // Add description
195
195
  var desc = this.createElement('desc').add();
196
- desc.element.appendChild(doc.createTextNode('Created with Highcharts 9.3.0'));
196
+ desc.element.appendChild(doc.createTextNode('Created with Highcharts 9.3.1'));
197
197
  renderer.defs = this.createElement('defs').add();
198
198
  renderer.allowHTML = allowHTML;
199
199
  renderer.forExport = forExport;
@@ -253,8 +253,12 @@ var NavigationBindings = /** @class */ (function () {
253
253
  * Browser's click event
254
254
  */
255
255
  NavigationBindings.prototype.bindingsButtonClick = function (button, events, clickEvent) {
256
- var navigation = this, chart = navigation.chart;
256
+ var navigation = this, chart = navigation.chart, svgContainer = chart.renderer.boxWrapper;
257
+ var shouldEventBeFired = true;
257
258
  if (navigation.selectedButtonElement) {
259
+ if (navigation.selectedButtonElement.classList === button.classList) {
260
+ shouldEventBeFired = false;
261
+ }
258
262
  fireEvent(navigation, 'deselectButton', { button: navigation.selectedButtonElement });
259
263
  if (navigation.nextEvent) {
260
264
  // Remove in-progress annotations adders:
@@ -265,15 +269,24 @@ var NavigationBindings = /** @class */ (function () {
265
269
  navigation.mouseMoveEvent = navigation.nextEvent = false;
266
270
  }
267
271
  }
268
- navigation.selectedButton = events;
269
- navigation.selectedButtonElement = button;
270
- fireEvent(navigation, 'selectButton', { button: button });
271
- // Call "init" event, for example to open modal window
272
- if (events.init) {
273
- events.init.call(navigation, button, clickEvent);
272
+ if (shouldEventBeFired) {
273
+ navigation.selectedButton = events;
274
+ navigation.selectedButtonElement = button;
275
+ fireEvent(navigation, 'selectButton', { button: button });
276
+ // Call "init" event, for example to open modal window
277
+ if (events.init) {
278
+ events.init.call(navigation, button, clickEvent);
279
+ }
280
+ if (events.start || events.steps) {
281
+ chart.renderer.boxWrapper.addClass(PREFIX + 'draw-mode');
282
+ }
274
283
  }
275
- if (events.start || events.steps) {
276
- chart.renderer.boxWrapper.addClass(PREFIX + 'draw-mode');
284
+ else {
285
+ chart.stockTools && chart.stockTools.toggleButtonAciveClass(button);
286
+ svgContainer.removeClass(PREFIX + 'draw-mode');
287
+ navigation.nextEvent = false;
288
+ navigation.mouseMoveEvent = false;
289
+ navigation.selectedButton = null;
277
290
  }
278
291
  };
279
292
  /**
@@ -1076,7 +1089,7 @@ setOptions({
1076
1089
  * from a different server.
1077
1090
  *
1078
1091
  * @type {string}
1079
- * @default https://code.highcharts.com/9.3.0/gfx/stock-icons/
1092
+ * @default https://code.highcharts.com/9.3.1/gfx/stock-icons/
1080
1093
  * @since 7.1.3
1081
1094
  * @apioption navigation.iconsURL
1082
1095
  */
@@ -1103,7 +1103,7 @@ addEvent(NavigationBindings, 'showPopup', function (config) {
1103
1103
  this.popup = new H.Popup(this.chart.container, (this.chart.options.navigation.iconsURL ||
1104
1104
  (this.chart.options.stockTools &&
1105
1105
  this.chart.options.stockTools.gui.iconsURL) ||
1106
- 'https://code.highcharts.com/9.3.0/gfx/stock-icons/'), this.chart);
1106
+ 'https://code.highcharts.com/9.3.1/gfx/stock-icons/'), this.chart);
1107
1107
  }
1108
1108
  this.popup.showForm(config.formType, this.chart, config.options, config.onSubmit);
1109
1109
  });
@@ -65,8 +65,8 @@ import '../../Core/Globals.js';
65
65
  * a significant speed improvment in charts with a very high
66
66
  * amount of series.
67
67
  *
68
- * @type {number|null}
69
- * @default null
68
+ * @type {number}
69
+ * @default 50
70
70
  * @apioption boost.seriesThreshold
71
71
  */
72
72
  /**
@@ -739,8 +739,8 @@ var Exporting;
739
739
  }));
740
740
  }
741
741
  });
742
- // generate the chart copy
743
- var chartCopy = new Chart(options, chart.callback);
742
+ // Generate the chart copy
743
+ var chartCopy = new chart.constructor(options, chart.callback);
744
744
  // Axis options and series options (#2022, #3900, #5982)
745
745
  if (chartOptions) {
746
746
  ['xAxis', 'yAxis', 'series'].forEach(function (coll) {
@@ -14,7 +14,7 @@
14
14
  *
15
15
  * */
16
16
  var OfflineExportingDefaults = {
17
- libURL: 'https://code.highcharts.com/9.3.0/lib/',
17
+ libURL: 'https://code.highcharts.com/9.3.1/lib/',
18
18
  // When offline-exporting is loaded, redefine the menu item definitions
19
19
  // related to download.
20
20
  menuItemDefinitions: {
@@ -36,7 +36,7 @@ var VMLRenderer, VMLElement;
36
36
  * @apioption global.VMLRadialGradientURL
37
37
  */
38
38
  getOptions().global.VMLRadialGradientURL =
39
- 'http://code.highcharts.com/9.3.0/gfx/vml-radial-gradient.png';
39
+ 'http://code.highcharts.com/9.3.1/gfx/vml-radial-gradient.png';
40
40
  // Utilites
41
41
  if (doc && !doc.defaultView) {
42
42
  H.getStyle = U.getStyle = function getStyle(el, prop) {
@@ -306,7 +306,7 @@ wrap(seriesTypes.line.prototype, 'getGraphPath', function (proceed, points) {
306
306
  return ret;
307
307
  });
308
308
  var polarAnimate = function (proceed, init) {
309
- var series = this, chart = this.chart, animation = this.options.animation, group = this.group, markerGroup = this.markerGroup, center = this.xAxis.center, plotLeft = chart.plotLeft, plotTop = chart.plotTop, attribs, paneInnerR, graphic, shapeArgs, r, innerR;
309
+ var series = this, chart = this.chart, animation = this.options.animation, group = this.group, markerGroup = this.markerGroup, center = this.xAxis && this.xAxis.center, plotLeft = chart.plotLeft, plotTop = chart.plotTop, attribs, paneInnerR, graphic, shapeArgs, r, innerR;
310
310
  // Specific animation for polar charts
311
311
  if (chart.polar) {
312
312
  if (series.isRadialBar) {
@@ -13,10 +13,10 @@ import Projection from './Projection.js';
13
13
  import U from '../Core/Utilities.js';
14
14
  var addEvent = U.addEvent, clamp = U.clamp, fireEvent = U.fireEvent, isNumber = U.isNumber, merge = U.merge, pick = U.pick, relativeLength = U.relativeLength;
15
15
  /**
16
- * The world size equals meters in the Web Mercator projection, to match a
17
- * 256 square tile to zoom level 0
16
+ * The world size in terms of 10k meters in the Web Mercator projection, to
17
+ * match a 256 square tile to zoom level 0
18
18
  */
19
- var worldSize = 40097932.2;
19
+ var worldSize = 400.979322;
20
20
  var tileSize = 256;
21
21
  /**
22
22
  * The map view handles zooming and centering on the map, and various
@@ -94,11 +94,11 @@ var MapView = /** @class */ (function () {
94
94
  if (_this.projection.options.name === 'Orthographic' &&
95
95
  // ... but don't rotate if we're loading only a part of the
96
96
  // world
97
- (_this.minZoom || Infinity) < 25.2) {
97
+ (_this.minZoom || Infinity) < 3) {
98
98
  // Empirical ratio where the globe rotates roughly the same
99
99
  // speed as moving the pointer across the center of the
100
100
  // projection
101
- var ratio = 28000 / (_this.getScale() * Math.min(chart.plotWidth, chart.plotHeight));
101
+ var ratio = 440 / (_this.getScale() * Math.min(chart.plotWidth, chart.plotHeight));
102
102
  if (mouseDownRotation) {
103
103
  var lon = (mouseDownX - chartX) * ratio -
104
104
  mouseDownRotation[0];
@@ -59,8 +59,10 @@ var defaultOptions = {
59
59
  * GeoJSON.
60
60
  *
61
61
  * Sub-options are:
62
- * * `projection.name`, which as of v9.3 can be `EqualEarth`, `Miller`,
63
- * `Orthographic` or `WebMercator`.
62
+ * * `name`, which as of v9.3 can be `EqualEarth`,
63
+ * `LambertConformalConic`, `Miller`, `Orthographic` or `WebMercator`.
64
+ * * `parallels`, the standard parallels for the LambertConformalConic
65
+ * projection.
64
66
  * * `rotation`, a three-axis rotation of the globe prior to projection,
65
67
  * which in practice can be used for example to render a world map with the
66
68
  * Americas centered (`[90, 0]`), or to rotate an orthographic projection.
@@ -52,6 +52,9 @@ var Projection = /** @class */ (function () {
52
52
  this.def = name ? Projection.registry[name] : void 0;
53
53
  var _a = this, def = _a.def, rotator = _a.rotator;
54
54
  if (def) {
55
+ if (def.init) {
56
+ def.init(options);
57
+ }
55
58
  this.maxLatitude = def.maxLatitude || 90;
56
59
  this.hasGeoProjection = true;
57
60
  }