ps-toolkit-ui 0.0.207 → 0.0.211

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 (1350) hide show
  1. package/karma.conf.js +32 -0
  2. package/ng-package.json +16 -0
  3. package/package.json +19 -22
  4. package/src/assets/plugins/highcharts/code/css/annotations/popup.css +276 -0
  5. package/src/assets/plugins/highcharts/code/css/annotations/popup.scss +289 -0
  6. package/src/assets/plugins/highcharts/code/css/highcharts.css +1013 -0
  7. package/src/assets/plugins/highcharts/code/css/highcharts.scss +896 -0
  8. package/src/assets/plugins/highcharts/code/css/stocktools/gui.css +271 -0
  9. package/src/assets/plugins/highcharts/code/css/stocktools/gui.scss +271 -0
  10. package/src/assets/plugins/highcharts/code/css/themes/dark-unica.css +1074 -0
  11. package/src/assets/plugins/highcharts/code/css/themes/dark-unica.scss +122 -0
  12. package/src/assets/plugins/highcharts/code/css/themes/grid-light.css +1027 -0
  13. package/src/assets/plugins/highcharts/code/css/themes/grid-light.scss +33 -0
  14. package/src/assets/plugins/highcharts/code/css/themes/sand-signika.css +1043 -0
  15. package/src/assets/plugins/highcharts/code/css/themes/sand-signika.scss +74 -0
  16. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/A11yI18n.js +299 -0
  17. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Accessibility.js +401 -0
  18. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/AccessibilityComponent.js +153 -0
  19. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Components/AnnotationsA11y.js +160 -0
  20. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Components/ContainerComponent.js +159 -0
  21. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Components/InfoRegionsComponent.js +543 -0
  22. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Components/LegendComponent.js +478 -0
  23. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Components/MenuComponent.js +451 -0
  24. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Components/RangeSelectorComponent.js +506 -0
  25. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Components/SeriesComponent/ForcedMarkers.js +217 -0
  26. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Components/SeriesComponent/NewDataAnnouncer.js +324 -0
  27. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Components/SeriesComponent/SeriesComponent.js +148 -0
  28. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Components/SeriesComponent/SeriesDescriber.js +390 -0
  29. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Components/SeriesComponent/SeriesKeyboardNavigation.js +650 -0
  30. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Components/ZoomComponent.js +375 -0
  31. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/FocusBorder.js +302 -0
  32. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/HighContrastMode.js +96 -0
  33. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/HighContrastTheme.js +221 -0
  34. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/KeyboardNavigation.js +449 -0
  35. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/KeyboardNavigationHandler.js +128 -0
  36. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Options/DeprecatedOptions.js +250 -0
  37. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Options/LangOptions.js +339 -0
  38. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Options/Options.js +831 -0
  39. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/ProxyElement.js +218 -0
  40. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/ProxyProvider.js +302 -0
  41. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Utils/Announcer.js +91 -0
  42. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Utils/ChartUtilities.js +294 -0
  43. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Utils/DOMElementProvider.js +62 -0
  44. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Utils/EventProvider.js +58 -0
  45. package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Utils/HTMLUtilities.js +305 -0
  46. package/src/assets/plugins/highcharts/code/es-modules/Core/Animation/AnimationUtilities.js +200 -0
  47. package/src/assets/plugins/highcharts/code/es-modules/Core/Animation/Fx.js +387 -0
  48. package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/Axis.js +3225 -0
  49. package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/Axis3D.js +612 -0
  50. package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/AxisDefaults.js +2935 -0
  51. package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/BrokenAxis.js +601 -0
  52. package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/Color/ColorAxis.js +668 -0
  53. package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/Color/ColorAxisComposition.js +287 -0
  54. package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/Color/ColorAxisDefaults.js +434 -0
  55. package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/DateTimeAxis.js +196 -0
  56. package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/GridAxis.js +1046 -0
  57. package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/LogarithmicAxis.js +202 -0
  58. package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/NavigatorAxis.js +159 -0
  59. package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/OrdinalAxis.js +992 -0
  60. package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/PlotLineOrBand/PlotLineOrBand.js +873 -0
  61. package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js +287 -0
  62. package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/RadialAxis.js +954 -0
  63. package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/ScrollbarAxis.js +182 -0
  64. package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/SolidGaugeAxis.js +127 -0
  65. package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/StackingAxis.js +216 -0
  66. package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/Tick.js +723 -0
  67. package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/Tick3D.js +68 -0
  68. package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/TreeGridAxis.js +720 -0
  69. package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/TreeGridTick.js +306 -0
  70. package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/WaterfallAxis.js +149 -0
  71. package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/ZAxis.js +156 -0
  72. package/src/assets/plugins/highcharts/code/es-modules/Core/Chart/Chart.js +2909 -0
  73. package/src/assets/plugins/highcharts/code/es-modules/Core/Chart/Chart3D.js +1695 -0
  74. package/src/assets/plugins/highcharts/code/es-modules/Core/Chart/ChartDefaults.js +1053 -0
  75. package/src/assets/plugins/highcharts/code/es-modules/Core/Chart/ChartNavigationComposition.js +92 -0
  76. package/src/assets/plugins/highcharts/code/es-modules/Core/Chart/GanttChart.js +177 -0
  77. package/src/assets/plugins/highcharts/code/es-modules/Core/Chart/MapChart.js +179 -0
  78. package/src/assets/plugins/highcharts/code/es-modules/Core/Chart/StockChart.js +644 -0
  79. package/src/assets/plugins/highcharts/code/es-modules/Core/Color/Color.js +419 -0
  80. package/src/assets/plugins/highcharts/code/es-modules/Core/Color/Palettes.js +22 -0
  81. package/src/assets/plugins/highcharts/code/es-modules/Core/DefaultOptions.js +2743 -0
  82. package/src/assets/plugins/highcharts/code/es-modules/Core/FormatUtilities.js +246 -0
  83. package/src/assets/plugins/highcharts/code/es-modules/Core/Foundation.js +61 -0
  84. package/src/assets/plugins/highcharts/code/es-modules/Core/Geometry/CircleUtilities.js +386 -0
  85. package/src/assets/plugins/highcharts/code/es-modules/Core/Geometry/GeometryUtilities.js +83 -0
  86. package/src/assets/plugins/highcharts/code/es-modules/Core/Globals.js +131 -0
  87. package/src/assets/plugins/highcharts/code/es-modules/Core/HttpUtilities.js +195 -0
  88. package/src/assets/plugins/highcharts/code/es-modules/Core/Legend/Legend.js +1284 -0
  89. package/src/assets/plugins/highcharts/code/es-modules/Core/Legend/LegendSymbol.js +109 -0
  90. package/src/assets/plugins/highcharts/code/es-modules/Core/MSPointer.js +170 -0
  91. package/src/assets/plugins/highcharts/code/es-modules/Core/Navigator.js +1958 -0
  92. package/src/assets/plugins/highcharts/code/es-modules/Core/Pointer.js +1518 -0
  93. package/src/assets/plugins/highcharts/code/es-modules/Core/Renderer/HTML/AST.js +475 -0
  94. package/src/assets/plugins/highcharts/code/es-modules/Core/Renderer/HTML/HTMLElement.js +261 -0
  95. package/src/assets/plugins/highcharts/code/es-modules/Core/Renderer/HTML/HTMLRenderer.js +272 -0
  96. package/src/assets/plugins/highcharts/code/es-modules/Core/Renderer/RendererRegistry.js +77 -0
  97. package/src/assets/plugins/highcharts/code/es-modules/Core/Renderer/RendererUtilities.js +159 -0
  98. package/src/assets/plugins/highcharts/code/es-modules/Core/Renderer/SVG/SVGElement.js +2176 -0
  99. package/src/assets/plugins/highcharts/code/es-modules/Core/Renderer/SVG/SVGElement3D.js +160 -0
  100. package/src/assets/plugins/highcharts/code/es-modules/Core/Renderer/SVG/SVGLabel.js +408 -0
  101. package/src/assets/plugins/highcharts/code/es-modules/Core/Renderer/SVG/SVGRenderer.js +1900 -0
  102. package/src/assets/plugins/highcharts/code/es-modules/Core/Renderer/SVG/SVGRenderer3D.js +842 -0
  103. package/src/assets/plugins/highcharts/code/es-modules/Core/Renderer/SVG/Symbols.js +197 -0
  104. package/src/assets/plugins/highcharts/code/es-modules/Core/Renderer/SVG/TextBuilder.js +452 -0
  105. package/src/assets/plugins/highcharts/code/es-modules/Core/Responsive.js +334 -0
  106. package/src/assets/plugins/highcharts/code/es-modules/Core/Scrollbar.js +658 -0
  107. package/src/assets/plugins/highcharts/code/es-modules/Core/ScrollbarDefaults.js +218 -0
  108. package/src/assets/plugins/highcharts/code/es-modules/Core/Series/DataLabel.js +568 -0
  109. package/src/assets/plugins/highcharts/code/es-modules/Core/Series/Point.js +1307 -0
  110. package/src/assets/plugins/highcharts/code/es-modules/Core/Series/Series.js +3718 -0
  111. package/src/assets/plugins/highcharts/code/es-modules/Core/Series/Series3D.js +126 -0
  112. package/src/assets/plugins/highcharts/code/es-modules/Core/Series/SeriesDefaults.js +2293 -0
  113. package/src/assets/plugins/highcharts/code/es-modules/Core/Series/SeriesRegistry.js +127 -0
  114. package/src/assets/plugins/highcharts/code/es-modules/Core/Time.js +741 -0
  115. package/src/assets/plugins/highcharts/code/es-modules/Core/Tooltip.js +1378 -0
  116. package/src/assets/plugins/highcharts/code/es-modules/Core/Utilities.js +1967 -0
  117. package/src/assets/plugins/highcharts/code/es-modules/Data/DataConverter.js +483 -0
  118. package/src/assets/plugins/highcharts/code/es-modules/Data/DataPromise.js +252 -0
  119. package/src/assets/plugins/highcharts/code/es-modules/Data/DataSeriesConverter.js +207 -0
  120. package/src/assets/plugins/highcharts/code/es-modules/Data/DataTable.js +1205 -0
  121. package/src/assets/plugins/highcharts/code/es-modules/Data/Modifiers/ChainModifier.js +299 -0
  122. package/src/assets/plugins/highcharts/code/es-modules/Data/Modifiers/DataModifier.js +303 -0
  123. package/src/assets/plugins/highcharts/code/es-modules/Data/Modifiers/GroupModifier.js +144 -0
  124. package/src/assets/plugins/highcharts/code/es-modules/Data/Modifiers/InvertModifier.js +254 -0
  125. package/src/assets/plugins/highcharts/code/es-modules/Data/Modifiers/RangeModifier.js +143 -0
  126. package/src/assets/plugins/highcharts/code/es-modules/Data/Modifiers/SeriesPointsModifier.js +110 -0
  127. package/src/assets/plugins/highcharts/code/es-modules/Data/Modifiers/SortModifier.js +249 -0
  128. package/src/assets/plugins/highcharts/code/es-modules/Data/Parsers/CSVParser.js +400 -0
  129. package/src/assets/plugins/highcharts/code/es-modules/Data/Parsers/DataParser.js +101 -0
  130. package/src/assets/plugins/highcharts/code/es-modules/Data/Parsers/GoogleSheetsParser.js +223 -0
  131. package/src/assets/plugins/highcharts/code/es-modules/Data/Parsers/HTMLTableParser.js +213 -0
  132. package/src/assets/plugins/highcharts/code/es-modules/Data/Stores/CSVStore.js +317 -0
  133. package/src/assets/plugins/highcharts/code/es-modules/Data/Stores/DataStore.js +276 -0
  134. package/src/assets/plugins/highcharts/code/es-modules/Data/Stores/GoogleSheetsStore.js +169 -0
  135. package/src/assets/plugins/highcharts/code/es-modules/Data/Stores/HTMLTableStore.js +353 -0
  136. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Annotations.js +1442 -0
  137. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/ControlPoint.js +141 -0
  138. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Controllables/ControllableCircle.js +117 -0
  139. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Controllables/ControllableEllipse.js +199 -0
  140. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Controllables/ControllableImage.js +111 -0
  141. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Controllables/ControllableLabel.js +387 -0
  142. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Controllables/ControllablePath.js +181 -0
  143. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Controllables/ControllableRect.js +121 -0
  144. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Mixins/ControllableMixin.js +378 -0
  145. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Mixins/EventEmitterMixin.js +221 -0
  146. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Mixins/MarkerMixin.js +179 -0
  147. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/MockPoint.js +428 -0
  148. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/NavigationBindings.js +1212 -0
  149. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Popup.js +1123 -0
  150. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Types/BasicAnnotation.js +237 -0
  151. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Types/CrookedLine.js +185 -0
  152. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Types/ElliottWave.js +95 -0
  153. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Types/Fibonacci.js +205 -0
  154. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Types/FibonacciTimeZones.js +219 -0
  155. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Types/InfinityLine.js +161 -0
  156. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Types/Measure.js +791 -0
  157. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Types/Pitchfork.js +194 -0
  158. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Types/TimeCycles.js +211 -0
  159. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Types/Tunnel.js +211 -0
  160. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Types/VerticalLine.js +156 -0
  161. package/src/assets/plugins/highcharts/code/es-modules/Extensions/ArrowSymbols.js +166 -0
  162. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Boost/Boost.js +34 -0
  163. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Boost/BoostAttach.js +150 -0
  164. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Boost/BoostInit.js +318 -0
  165. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Boost/BoostOptions.js +219 -0
  166. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Boost/BoostOverrides.js +386 -0
  167. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Boost/BoostUtils.js +255 -0
  168. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Boost/BoostableMap.js +18 -0
  169. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Boost/Boostables.js +25 -0
  170. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Boost/NamedColors.js +162 -0
  171. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Boost/WGLRenderer.js +1188 -0
  172. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Boost/WGLShader.js +470 -0
  173. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Boost/WGLVBuffer.js +153 -0
  174. package/src/assets/plugins/highcharts/code/es-modules/Extensions/BoostCanvas.js +509 -0
  175. package/src/assets/plugins/highcharts/code/es-modules/Extensions/CurrentDateIndication.js +100 -0
  176. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Data.js +2037 -0
  177. package/src/assets/plugins/highcharts/code/es-modules/Extensions/DataGrouping.js +1134 -0
  178. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Debugger/Debugger.js +101 -0
  179. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Debugger/ErrorMessages.js +106 -0
  180. package/src/assets/plugins/highcharts/code/es-modules/Extensions/DownloadURL.js +106 -0
  181. package/src/assets/plugins/highcharts/code/es-modules/Extensions/DragPanes.js +512 -0
  182. package/src/assets/plugins/highcharts/code/es-modules/Extensions/DraggablePoints.js +2259 -0
  183. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Drilldown.js +1170 -0
  184. package/src/assets/plugins/highcharts/code/es-modules/Extensions/ExportData.js +997 -0
  185. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Exporting/Exporting.js +1260 -0
  186. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Exporting/ExportingDefaults.js +796 -0
  187. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Exporting/ExportingSymbols.js +73 -0
  188. package/src/assets/plugins/highcharts/code/es-modules/Extensions/FullScreen.js +240 -0
  189. package/src/assets/plugins/highcharts/code/es-modules/Extensions/GeoJSON.js +436 -0
  190. package/src/assets/plugins/highcharts/code/es-modules/Extensions/MarkerClusters.js +1436 -0
  191. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Math3D.js +245 -0
  192. package/src/assets/plugins/highcharts/code/es-modules/Extensions/NoDataToDisplay.js +189 -0
  193. package/src/assets/plugins/highcharts/code/es-modules/Extensions/OfflineExporting/OfflineExporting.js +617 -0
  194. package/src/assets/plugins/highcharts/code/es-modules/Extensions/OfflineExporting/OfflineExportingDefaults.js +58 -0
  195. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Oldie/Oldie.js +1182 -0
  196. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Oldie/VMLAxis3D.js +101 -0
  197. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Oldie/VMLRenderer3D.js +47 -0
  198. package/src/assets/plugins/highcharts/code/es-modules/Extensions/OldiePolyfills.js +167 -0
  199. package/src/assets/plugins/highcharts/code/es-modules/Extensions/OverlappingDataLabels.js +226 -0
  200. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Pane.js +404 -0
  201. package/src/assets/plugins/highcharts/code/es-modules/Extensions/ParallelCoordinates.js +464 -0
  202. package/src/assets/plugins/highcharts/code/es-modules/Extensions/PatternFill.js +580 -0
  203. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Polar.js +740 -0
  204. package/src/assets/plugins/highcharts/code/es-modules/Extensions/PriceIndication.js +292 -0
  205. package/src/assets/plugins/highcharts/code/es-modules/Extensions/RangeSelector.js +2175 -0
  206. package/src/assets/plugins/highcharts/code/es-modules/Extensions/ScrollablePlotArea.js +387 -0
  207. package/src/assets/plugins/highcharts/code/es-modules/Extensions/SeriesLabel.js +765 -0
  208. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Sonification/ChartSonify.js +724 -0
  209. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Sonification/Earcon.js +197 -0
  210. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Sonification/Instrument.js +606 -0
  211. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Sonification/MusicalFrequencies.js +122 -0
  212. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Sonification/Options.js +44 -0
  213. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Sonification/PointSonify.js +391 -0
  214. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Sonification/SeriesSonify.js +474 -0
  215. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Sonification/SignalHandler.js +122 -0
  216. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Sonification/Sonification.js +97 -0
  217. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Sonification/SonificationUtilities.js +150 -0
  218. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Sonification/Timeline.js +308 -0
  219. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Sonification/TimelineEvent.js +157 -0
  220. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Sonification/TimelinePath.js +311 -0
  221. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Stacking.js +516 -0
  222. package/src/assets/plugins/highcharts/code/es-modules/Extensions/StaticScale.js +76 -0
  223. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Themes/Avocado.js +67 -0
  224. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Themes/BrandDark.js +293 -0
  225. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Themes/BrandLight.js +259 -0
  226. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Themes/DarkBlue.js +279 -0
  227. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Themes/DarkGreen.js +279 -0
  228. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Themes/DarkUnica.js +249 -0
  229. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Themes/Gray.js +287 -0
  230. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Themes/Grid.js +140 -0
  231. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Themes/GridLight.js +111 -0
  232. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Themes/HighContrastDark.js +239 -0
  233. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Themes/HighContrastLight.js +69 -0
  234. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Themes/SandSignika.js +144 -0
  235. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Themes/Skies.js +131 -0
  236. package/src/assets/plugins/highcharts/code/es-modules/Extensions/Themes/Sunset.js +66 -0
  237. package/src/assets/plugins/highcharts/code/es-modules/Gantt/Connection.js +838 -0
  238. package/src/assets/plugins/highcharts/code/es-modules/Gantt/Pathfinder.js +818 -0
  239. package/src/assets/plugins/highcharts/code/es-modules/Gantt/PathfinderAlgorithms.js +657 -0
  240. package/src/assets/plugins/highcharts/code/es-modules/Gantt/Tree.js +110 -0
  241. package/src/assets/plugins/highcharts/code/es-modules/Maps/MapNavigation.js +278 -0
  242. package/src/assets/plugins/highcharts/code/es-modules/Maps/MapNavigationOptionsDefault.js +264 -0
  243. package/src/assets/plugins/highcharts/code/es-modules/Maps/MapPointer.js +83 -0
  244. package/src/assets/plugins/highcharts/code/es-modules/Maps/MapSymbols.js +80 -0
  245. package/src/assets/plugins/highcharts/code/es-modules/Maps/MapView.js +450 -0
  246. package/src/assets/plugins/highcharts/code/es-modules/Maps/MapViewOptionsDefault.js +97 -0
  247. package/src/assets/plugins/highcharts/code/es-modules/Maps/Projection.js +436 -0
  248. package/src/assets/plugins/highcharts/code/es-modules/Maps/ProjectionDefinition.js +9 -0
  249. package/src/assets/plugins/highcharts/code/es-modules/Maps/Projections/EqualEarth.js +42 -0
  250. package/src/assets/plugins/highcharts/code/es-modules/Maps/Projections/LambertConformalConic.js +52 -0
  251. package/src/assets/plugins/highcharts/code/es-modules/Maps/Projections/Miller.js +16 -0
  252. package/src/assets/plugins/highcharts/code/es-modules/Maps/Projections/Orthographic.js +26 -0
  253. package/src/assets/plugins/highcharts/code/es-modules/Maps/Projections/ProjectionRegistry.js +19 -0
  254. package/src/assets/plugins/highcharts/code/es-modules/Maps/Projections/WebMercator.js +24 -0
  255. package/src/assets/plugins/highcharts/code/es-modules/Series/Area/AreaSeries.js +563 -0
  256. package/src/assets/plugins/highcharts/code/es-modules/Series/Area3DSeries.js +70 -0
  257. package/src/assets/plugins/highcharts/code/es-modules/Series/AreaRange/AreaRangePoint.js +129 -0
  258. package/src/assets/plugins/highcharts/code/es-modules/Series/AreaRange/AreaRangeSeries.js +650 -0
  259. package/src/assets/plugins/highcharts/code/es-modules/Series/AreaSpline/AreaSplineSeries.js +203 -0
  260. package/src/assets/plugins/highcharts/code/es-modules/Series/AreaSplineRange/AreaSplineRangeSeries.js +199 -0
  261. package/src/assets/plugins/highcharts/code/es-modules/Series/Bar/BarSeries.js +171 -0
  262. package/src/assets/plugins/highcharts/code/es-modules/Series/Bellcurve/BellcurveSeries.js +241 -0
  263. package/src/assets/plugins/highcharts/code/es-modules/Series/BoxPlot/BoxPlotSeries.js +681 -0
  264. package/src/assets/plugins/highcharts/code/es-modules/Series/Bubble/BubbleLegendComposition.js +279 -0
  265. package/src/assets/plugins/highcharts/code/es-modules/Series/Bubble/BubbleLegendDefaults.js +266 -0
  266. package/src/assets/plugins/highcharts/code/es-modules/Series/Bubble/BubbleLegendItem.js +462 -0
  267. package/src/assets/plugins/highcharts/code/es-modules/Series/Bubble/BubblePoint.js +77 -0
  268. package/src/assets/plugins/highcharts/code/es-modules/Series/Bubble/BubbleSeries.js +676 -0
  269. package/src/assets/plugins/highcharts/code/es-modules/Series/Bullet/BulletPoint.js +62 -0
  270. package/src/assets/plugins/highcharts/code/es-modules/Series/Bullet/BulletSeries.js +365 -0
  271. package/src/assets/plugins/highcharts/code/es-modules/Series/Candlestick/CandlestickSeries.js +333 -0
  272. package/src/assets/plugins/highcharts/code/es-modules/Series/CenteredUtilities.js +128 -0
  273. package/src/assets/plugins/highcharts/code/es-modules/Series/ColorMapMixin.js +84 -0
  274. package/src/assets/plugins/highcharts/code/es-modules/Series/Column/ColumnDataLabel.js +109 -0
  275. package/src/assets/plugins/highcharts/code/es-modules/Series/Column/ColumnSeries.js +1171 -0
  276. package/src/assets/plugins/highcharts/code/es-modules/Series/Column3D/Column3DComposition.js +508 -0
  277. package/src/assets/plugins/highcharts/code/es-modules/Series/ColumnPyramid/ColumnPyramidSeries.js +308 -0
  278. package/src/assets/plugins/highcharts/code/es-modules/Series/ColumnRange/ColumnRangePoint.js +62 -0
  279. package/src/assets/plugins/highcharts/code/es-modules/Series/ColumnRange/ColumnRangeSeries.js +308 -0
  280. package/src/assets/plugins/highcharts/code/es-modules/Series/Cylinder/CylinderComposition.js +274 -0
  281. package/src/assets/plugins/highcharts/code/es-modules/Series/Cylinder/CylinderPoint.js +60 -0
  282. package/src/assets/plugins/highcharts/code/es-modules/Series/Cylinder/CylinderSeries.js +175 -0
  283. package/src/assets/plugins/highcharts/code/es-modules/Series/DataModifyComposition.js +539 -0
  284. package/src/assets/plugins/highcharts/code/es-modules/Series/DependencyWheel/DependencyWheelPoint.js +100 -0
  285. package/src/assets/plugins/highcharts/code/es-modules/Series/DependencyWheel/DependencyWheelSeries.js +368 -0
  286. package/src/assets/plugins/highcharts/code/es-modules/Series/DerivedComposition.js +137 -0
  287. package/src/assets/plugins/highcharts/code/es-modules/Series/DotPlot/DotPlotSeries.js +158 -0
  288. package/src/assets/plugins/highcharts/code/es-modules/Series/DrawPointComposition.js +111 -0
  289. package/src/assets/plugins/highcharts/code/es-modules/Series/Dumbbell/DumbbellPoint.js +104 -0
  290. package/src/assets/plugins/highcharts/code/es-modules/Series/Dumbbell/DumbbellSeries.js +464 -0
  291. package/src/assets/plugins/highcharts/code/es-modules/Series/ErrorBar/ErrorBarSeries.js +228 -0
  292. package/src/assets/plugins/highcharts/code/es-modules/Series/Flags/FlagsPoint.js +74 -0
  293. package/src/assets/plugins/highcharts/code/es-modules/Series/Flags/FlagsSeries.js +614 -0
  294. package/src/assets/plugins/highcharts/code/es-modules/Series/Flags/FlagsSymbols.js +90 -0
  295. package/src/assets/plugins/highcharts/code/es-modules/Series/Funnel/FunnelSeries.js +517 -0
  296. package/src/assets/plugins/highcharts/code/es-modules/Series/Funnel3D/Funnel3DComposition.js +383 -0
  297. package/src/assets/plugins/highcharts/code/es-modules/Series/Funnel3D/Funnel3DPoint.js +62 -0
  298. package/src/assets/plugins/highcharts/code/es-modules/Series/Funnel3D/Funnel3DSeries.js +447 -0
  299. package/src/assets/plugins/highcharts/code/es-modules/Series/Gantt/GanttPoint.js +109 -0
  300. package/src/assets/plugins/highcharts/code/es-modules/Series/Gantt/GanttSeries.js +352 -0
  301. package/src/assets/plugins/highcharts/code/es-modules/Series/Gauge/GaugePoint.js +66 -0
  302. package/src/assets/plugins/highcharts/code/es-modules/Series/Gauge/GaugeSeries.js +568 -0
  303. package/src/assets/plugins/highcharts/code/es-modules/Series/HLC/HLCPoint.js +55 -0
  304. package/src/assets/plugins/highcharts/code/es-modules/Series/HLC/HLCSeries.js +378 -0
  305. package/src/assets/plugins/highcharts/code/es-modules/Series/Heatmap/HeatmapPoint.js +144 -0
  306. package/src/assets/plugins/highcharts/code/es-modules/Series/Heatmap/HeatmapSeries.js +946 -0
  307. package/src/assets/plugins/highcharts/code/es-modules/Series/HeikinAshi/HeikinAshiPoint.js +60 -0
  308. package/src/assets/plugins/highcharts/code/es-modules/Series/HeikinAshi/HeikinAshiSeries.js +278 -0
  309. package/src/assets/plugins/highcharts/code/es-modules/Series/Histogram/HistogramSeries.js +253 -0
  310. package/src/assets/plugins/highcharts/code/es-modules/Series/HollowCandlestick/HollowCandlestickPoint.js +80 -0
  311. package/src/assets/plugins/highcharts/code/es-modules/Series/HollowCandlestick/HollowCandlestickSeries.js +368 -0
  312. package/src/assets/plugins/highcharts/code/es-modules/Series/Item/ItemPoint.js +59 -0
  313. package/src/assets/plugins/highcharts/code/es-modules/Series/Item/ItemSeries.js +505 -0
  314. package/src/assets/plugins/highcharts/code/es-modules/Series/Line/LineSeries.js +541 -0
  315. package/src/assets/plugins/highcharts/code/es-modules/Series/Lollipop/LollipopPoint.js +60 -0
  316. package/src/assets/plugins/highcharts/code/es-modules/Series/Lollipop/LollipopSeries.js +209 -0
  317. package/src/assets/plugins/highcharts/code/es-modules/Series/Map/MapPoint.js +136 -0
  318. package/src/assets/plugins/highcharts/code/es-modules/Series/Map/MapSeries.js +1100 -0
  319. package/src/assets/plugins/highcharts/code/es-modules/Series/MapBubble/MapBubblePoint.js +73 -0
  320. package/src/assets/plugins/highcharts/code/es-modules/Series/MapBubble/MapBubbleSeries.js +283 -0
  321. package/src/assets/plugins/highcharts/code/es-modules/Series/MapLine/MapLineSeries.js +181 -0
  322. package/src/assets/plugins/highcharts/code/es-modules/Series/MapPoint/MapPointPoint.js +71 -0
  323. package/src/assets/plugins/highcharts/code/es-modules/Series/MapPoint/MapPointSeries.js +309 -0
  324. package/src/assets/plugins/highcharts/code/es-modules/Series/Networkgraph/DraggableNodes.js +132 -0
  325. package/src/assets/plugins/highcharts/code/es-modules/Series/Networkgraph/Integrations.js +348 -0
  326. package/src/assets/plugins/highcharts/code/es-modules/Series/Networkgraph/Layouts.js +555 -0
  327. package/src/assets/plugins/highcharts/code/es-modules/Series/Networkgraph/Networkgraph.js +1178 -0
  328. package/src/assets/plugins/highcharts/code/es-modules/Series/Networkgraph/QuadTree.js +352 -0
  329. package/src/assets/plugins/highcharts/code/es-modules/Series/NodesComposition.js +229 -0
  330. package/src/assets/plugins/highcharts/code/es-modules/Series/OHLC/OHLCPoint.js +116 -0
  331. package/src/assets/plugins/highcharts/code/es-modules/Series/OHLC/OHLCSeries.js +254 -0
  332. package/src/assets/plugins/highcharts/code/es-modules/Series/OnSeriesComposition.js +168 -0
  333. package/src/assets/plugins/highcharts/code/es-modules/Series/Organization/OrganizationPoint.js +71 -0
  334. package/src/assets/plugins/highcharts/code/es-modules/Series/Organization/OrganizationSeries.js +594 -0
  335. package/src/assets/plugins/highcharts/code/es-modules/Series/PackedBubble/PackedBubbleComposition.js +172 -0
  336. package/src/assets/plugins/highcharts/code/es-modules/Series/PackedBubble/PackedBubblePoint.js +98 -0
  337. package/src/assets/plugins/highcharts/code/es-modules/Series/PackedBubble/PackedBubbleSeries.js +1284 -0
  338. package/src/assets/plugins/highcharts/code/es-modules/Series/ParetoSeries/ParetoSeries.js +195 -0
  339. package/src/assets/plugins/highcharts/code/es-modules/Series/Pie/PieDataLabel.js +447 -0
  340. package/src/assets/plugins/highcharts/code/es-modules/Series/Pie/PiePoint.js +270 -0
  341. package/src/assets/plugins/highcharts/code/es-modules/Series/Pie/PieSeries.js +1074 -0
  342. package/src/assets/plugins/highcharts/code/es-modules/Series/Pie3D/Pie3DComposition.js +27 -0
  343. package/src/assets/plugins/highcharts/code/es-modules/Series/Pie3D/Pie3DPoint.js +72 -0
  344. package/src/assets/plugins/highcharts/code/es-modules/Series/Pie3D/Pie3DSeries.js +200 -0
  345. package/src/assets/plugins/highcharts/code/es-modules/Series/Polygon/PolygonSeries.js +195 -0
  346. package/src/assets/plugins/highcharts/code/es-modules/Series/Pyramid/PyramidSeries.js +161 -0
  347. package/src/assets/plugins/highcharts/code/es-modules/Series/Pyramid3D/Pyramid3DSeries.js +172 -0
  348. package/src/assets/plugins/highcharts/code/es-modules/Series/Sankey/SankeyPoint.js +97 -0
  349. package/src/assets/plugins/highcharts/code/es-modules/Series/Sankey/SankeySeries.js +1195 -0
  350. package/src/assets/plugins/highcharts/code/es-modules/Series/Scatter/ScatterSeries.js +306 -0
  351. package/src/assets/plugins/highcharts/code/es-modules/Series/Scatter3D/Scatter3DPoint.js +66 -0
  352. package/src/assets/plugins/highcharts/code/es-modules/Series/Scatter3D/Scatter3DSeries.js +194 -0
  353. package/src/assets/plugins/highcharts/code/es-modules/Series/SolidGauge/SolidGaugeComposition.js +62 -0
  354. package/src/assets/plugins/highcharts/code/es-modules/Series/SolidGauge/SolidGaugeSeries.js +358 -0
  355. package/src/assets/plugins/highcharts/code/es-modules/Series/Spline/SplineSeries.js +279 -0
  356. package/src/assets/plugins/highcharts/code/es-modules/Series/Streamgraph/StreamgraphSeries.js +213 -0
  357. package/src/assets/plugins/highcharts/code/es-modules/Series/Sunburst/SunburstPoint.js +115 -0
  358. package/src/assets/plugins/highcharts/code/es-modules/Series/Sunburst/SunburstSeries.js +907 -0
  359. package/src/assets/plugins/highcharts/code/es-modules/Series/Sunburst/SunburstUtilities.js +138 -0
  360. package/src/assets/plugins/highcharts/code/es-modules/Series/Tilemap/TilemapComposition.js +61 -0
  361. package/src/assets/plugins/highcharts/code/es-modules/Series/Tilemap/TilemapPoint.js +77 -0
  362. package/src/assets/plugins/highcharts/code/es-modules/Series/Tilemap/TilemapSeries.js +368 -0
  363. package/src/assets/plugins/highcharts/code/es-modules/Series/Tilemap/TilemapShapes.js +275 -0
  364. package/src/assets/plugins/highcharts/code/es-modules/Series/Timeline/TimelinePoint.js +168 -0
  365. package/src/assets/plugins/highcharts/code/es-modules/Series/Timeline/TimelineSeries.js +552 -0
  366. package/src/assets/plugins/highcharts/code/es-modules/Series/TreeUtilities.js +192 -0
  367. package/src/assets/plugins/highcharts/code/es-modules/Series/Treemap/TreemapAlgorithmGroup.js +93 -0
  368. package/src/assets/plugins/highcharts/code/es-modules/Series/Treemap/TreemapComposition.js +58 -0
  369. package/src/assets/plugins/highcharts/code/es-modules/Series/Treemap/TreemapPoint.js +107 -0
  370. package/src/assets/plugins/highcharts/code/es-modules/Series/Treemap/TreemapSeries.js +1473 -0
  371. package/src/assets/plugins/highcharts/code/es-modules/Series/Treemap/TreemapUtilities.js +65 -0
  372. package/src/assets/plugins/highcharts/code/es-modules/Series/VariablePie/VariablePieSeries.js +446 -0
  373. package/src/assets/plugins/highcharts/code/es-modules/Series/Variwide/VariwideComposition.js +78 -0
  374. package/src/assets/plugins/highcharts/code/es-modules/Series/Variwide/VariwidePoint.js +63 -0
  375. package/src/assets/plugins/highcharts/code/es-modules/Series/Variwide/VariwideSeries.js +317 -0
  376. package/src/assets/plugins/highcharts/code/es-modules/Series/Vector/VectorSeries.js +362 -0
  377. package/src/assets/plugins/highcharts/code/es-modules/Series/Venn/VennPoint.js +76 -0
  378. package/src/assets/plugins/highcharts/code/es-modules/Series/Venn/VennSeries.js +633 -0
  379. package/src/assets/plugins/highcharts/code/es-modules/Series/Venn/VennUtils.js +607 -0
  380. package/src/assets/plugins/highcharts/code/es-modules/Series/Waterfall/WaterfallPoint.js +68 -0
  381. package/src/assets/plugins/highcharts/code/es-modules/Series/Waterfall/WaterfallSeries.js +743 -0
  382. package/src/assets/plugins/highcharts/code/es-modules/Series/Windbarb/WindbarbPoint.js +64 -0
  383. package/src/assets/plugins/highcharts/code/es-modules/Series/Windbarb/WindbarbSeries.js +462 -0
  384. package/src/assets/plugins/highcharts/code/es-modules/Series/Wordcloud/WordcloudPoint.js +66 -0
  385. package/src/assets/plugins/highcharts/code/es-modules/Series/Wordcloud/WordcloudSeries.js +503 -0
  386. package/src/assets/plugins/highcharts/code/es-modules/Series/Wordcloud/WordcloudUtils.js +718 -0
  387. package/src/assets/plugins/highcharts/code/es-modules/Series/XRange/XRangeComposition.js +49 -0
  388. package/src/assets/plugins/highcharts/code/es-modules/Series/XRange/XRangePoint.js +168 -0
  389. package/src/assets/plugins/highcharts/code/es-modules/Series/XRange/XRangeSeries.js +608 -0
  390. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/ABands/ABandsIndicator.js +243 -0
  391. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/AD/ADIndicator.js +160 -0
  392. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/AO/AOIndicator.js +212 -0
  393. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/APO/APOIndicator.js +167 -0
  394. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/ATR/ATRIndicator.js +162 -0
  395. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/Aroon/AroonIndicator.js +197 -0
  396. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/AroonOscillator/AroonOscillatorIndicator.js +141 -0
  397. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/ArrayUtilities.js +47 -0
  398. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/BB/BBIndicator.js +241 -0
  399. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/CCI/CCIIndicator.js +154 -0
  400. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/CMF/CMFIndicator.js +243 -0
  401. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/CMO/CMOIndicator.js +166 -0
  402. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/Chaikin/ChaikinIndicator.js +187 -0
  403. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/DEMA/DEMAIndicator.js +149 -0
  404. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/DMI/DMIIndicator.js +276 -0
  405. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/DPO/DPOIndicator.js +163 -0
  406. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/DisparityIndex/DisparityIndexIndicator.js +179 -0
  407. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/EMA/EMAIndicator.js +154 -0
  408. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/IKH/IKHIndicator.js +682 -0
  409. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/KeltnerChannels/KeltnerChannelsIndicator.js +217 -0
  410. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/Klinger/KlingerIndicator.js +270 -0
  411. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/LinearRegression/LinearRegression.js +282 -0
  412. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/LinearRegressionAngle/LinearRegressionAngle.js +119 -0
  413. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/LinearRegressionIntercept/LinearRegressionIntercept.js +104 -0
  414. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/LinearRegressionSlopes/LinearRegressionSlopes.js +104 -0
  415. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/MACD/MACDIndicator.js +402 -0
  416. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/MFI/MFIIndicator.js +198 -0
  417. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/Momentum/MomentumIndicator.js +121 -0
  418. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/MultipleLinesComposition.js +294 -0
  419. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/NATR/NATRIndicator.js +111 -0
  420. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/OBV/OBVIndicator.js +170 -0
  421. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/PC/PCIndicator.js +197 -0
  422. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/PPO/PPOIndicator.js +164 -0
  423. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/PSAR/PSARIndicator.js +280 -0
  424. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/PivotPoints/PivotPointsIndicator.js +310 -0
  425. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/PivotPoints/PivotPointsPoint.js +78 -0
  426. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/PriceEnvelopes/PriceEnvelopesIndicator.js +240 -0
  427. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/ROC/ROCIndicator.js +176 -0
  428. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/RSI/RSIIndicator.js +171 -0
  429. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/SMA/SMAComposition.js +12 -0
  430. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/SMA/SMAIndicator.js +367 -0
  431. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/SlowStochastic/SlowStochasticIndicator.js +134 -0
  432. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/Stochastic/StochasticIndicator.js +208 -0
  433. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/Supertrend/SupertrendIndicator.js +485 -0
  434. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/TEMA/TEMAIndicator.js +208 -0
  435. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/TRIX/TRIXIndicator.js +98 -0
  436. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/TrendLine/TrendLineIndicator.js +148 -0
  437. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/VBP/VBPIndicator.js +556 -0
  438. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/VBP/VBPPoint.js +49 -0
  439. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/VWAP/VWAPIndicator.js +193 -0
  440. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/WMA/WMAIndicator.js +153 -0
  441. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/WilliamsR/WilliamsRIndicator.js +135 -0
  442. package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/Zigzag/ZigzagIndicator.js +228 -0
  443. package/src/assets/plugins/highcharts/code/es-modules/Stock/StockToolsBindings.js +2009 -0
  444. package/src/assets/plugins/highcharts/code/es-modules/Stock/StockToolsGui.js +1816 -0
  445. package/src/assets/plugins/highcharts/code/es-modules/masters/highcharts-3d.src.js +28 -0
  446. package/src/assets/plugins/highcharts/code/es-modules/masters/highcharts-more.src.js +28 -0
  447. package/src/assets/plugins/highcharts/code/es-modules/masters/highcharts.src.js +147 -0
  448. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/accessibility.src.js +28 -0
  449. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/annotations-advanced.src.js +26 -0
  450. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/annotations.src.js +15 -0
  451. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/arrow-symbols.src.js +13 -0
  452. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/boost-canvas.src.js +14 -0
  453. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/boost.src.js +15 -0
  454. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/broken-axis.src.js +15 -0
  455. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/bullet.src.js +13 -0
  456. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/coloraxis.src.js +17 -0
  457. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/current-date-indicator.src.js +13 -0
  458. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/cylinder.src.js +14 -0
  459. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/data.src.js +23 -0
  460. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/datagrouping.src.js +14 -0
  461. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/debugger.src.js +16 -0
  462. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/dependency-wheel.src.js +14 -0
  463. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/dotplot.src.js +13 -0
  464. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/drag-panes.src.js +15 -0
  465. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/draggable-points.src.js +11 -0
  466. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/drilldown.src.js +13 -0
  467. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/dumbbell.src.js +11 -0
  468. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/export-data.src.js +14 -0
  469. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/exporting.src.js +22 -0
  470. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/full-screen.src.js +14 -0
  471. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/funnel.src.js +14 -0
  472. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/funnel3d.src.js +18 -0
  473. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/gantt.src.js +26 -0
  474. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/grid-axis.src.js +17 -0
  475. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/heatmap.src.js +16 -0
  476. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/heikinashi.src.js +14 -0
  477. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/histogram-bellcurve.src.js +13 -0
  478. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/hollowcandlestick.src.js +14 -0
  479. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/item-series.src.js +13 -0
  480. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/lollipop.src.js +11 -0
  481. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/marker-clusters.src.js +13 -0
  482. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/networkgraph.src.js +13 -0
  483. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/no-data-to-display.src.js +14 -0
  484. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/offline-exporting.src.js +20 -0
  485. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/oldie-polyfills.src.js +14 -0
  486. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/oldie.src.js +14 -0
  487. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/organization.src.js +13 -0
  488. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/overlapping-datalabels.src.js +11 -0
  489. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/parallel-coordinates.src.js +13 -0
  490. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/pareto.src.js +13 -0
  491. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/pathfinder.src.js +13 -0
  492. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/pattern-fill.src.js +14 -0
  493. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/price-indicator.src.js +15 -0
  494. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/pyramid3d.src.js +16 -0
  495. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/sankey.src.js +13 -0
  496. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/series-label.src.js +11 -0
  497. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/solid-gauge.src.js +14 -0
  498. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/sonification.src.js +44 -0
  499. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/static-scale.src.js +13 -0
  500. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/stock-tools.src.js +16 -0
  501. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/stock.src.js +33 -0
  502. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/streamgraph.src.js +13 -0
  503. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/sunburst.src.js +13 -0
  504. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/tilemap.src.js +14 -0
  505. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/timeline.src.js +14 -0
  506. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/treegrid.src.js +17 -0
  507. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/treemap.src.js +12 -0
  508. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/variable-pie.src.js +13 -0
  509. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/variwide.src.js +13 -0
  510. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/vector.src.js +13 -0
  511. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/venn.src.js +12 -0
  512. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/windbarb.src.js +13 -0
  513. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/wordcloud.src.js +12 -0
  514. package/src/assets/plugins/highcharts/code/es-modules/masters/modules/xrange.src.js +13 -0
  515. package/src/assets/plugins/highcharts/code/es-modules/masters/themes/avocado.src.js +14 -0
  516. package/src/assets/plugins/highcharts/code/es-modules/masters/themes/brand-dark.src.js +14 -0
  517. package/src/assets/plugins/highcharts/code/es-modules/masters/themes/brand-light.src.js +14 -0
  518. package/src/assets/plugins/highcharts/code/es-modules/masters/themes/dark-blue.src.js +14 -0
  519. package/src/assets/plugins/highcharts/code/es-modules/masters/themes/dark-green.src.js +14 -0
  520. package/src/assets/plugins/highcharts/code/es-modules/masters/themes/dark-unica.src.js +14 -0
  521. package/src/assets/plugins/highcharts/code/es-modules/masters/themes/gray.src.js +14 -0
  522. package/src/assets/plugins/highcharts/code/es-modules/masters/themes/grid-light.src.js +14 -0
  523. package/src/assets/plugins/highcharts/code/es-modules/masters/themes/grid.src.js +14 -0
  524. package/src/assets/plugins/highcharts/code/es-modules/masters/themes/high-contrast-dark.src.js +14 -0
  525. package/src/assets/plugins/highcharts/code/es-modules/masters/themes/high-contrast-light.src.js +14 -0
  526. package/src/assets/plugins/highcharts/code/es-modules/masters/themes/sand-signika.src.js +14 -0
  527. package/src/assets/plugins/highcharts/code/es-modules/masters/themes/skies.src.js +14 -0
  528. package/src/assets/plugins/highcharts/code/es-modules/masters/themes/sunset.src.js +14 -0
  529. package/src/assets/plugins/highcharts/code/highcharts-3d.js +105 -0
  530. package/src/assets/plugins/highcharts/code/highcharts-3d.js.map +1 -0
  531. package/src/assets/plugins/highcharts/code/highcharts-3d.src.js +5439 -0
  532. package/src/assets/plugins/highcharts/code/highcharts-more.js +201 -0
  533. package/src/assets/plugins/highcharts/code/highcharts-more.js.map +1 -0
  534. package/src/assets/plugins/highcharts/code/highcharts-more.src.js +12004 -0
  535. package/src/assets/plugins/highcharts/code/highcharts.js +593 -0
  536. package/src/assets/plugins/highcharts/code/highcharts.js.map +1 -0
  537. package/src/assets/plugins/highcharts/code/highcharts.src.js +47519 -0
  538. package/src/assets/plugins/highcharts/code/lib/canvg.js +8 -0
  539. package/src/assets/plugins/highcharts/code/lib/jspdf.js +283 -0
  540. package/src/assets/plugins/highcharts/code/lib/jspdf.src.js +21627 -0
  541. package/src/assets/plugins/highcharts/code/lib/svg2pdf.js +38 -0
  542. package/src/assets/plugins/highcharts/code/lib/svg2pdf.src.js +4390 -0
  543. package/src/assets/plugins/highcharts/code/modules/accessibility.js +256 -0
  544. package/src/assets/plugins/highcharts/code/modules/accessibility.js.map +1 -0
  545. package/src/assets/plugins/highcharts/code/modules/accessibility.src.js +11868 -0
  546. package/src/assets/plugins/highcharts/code/modules/annotations-advanced.js +201 -0
  547. package/src/assets/plugins/highcharts/code/modules/annotations-advanced.js.map +1 -0
  548. package/src/assets/plugins/highcharts/code/modules/annotations-advanced.src.js +9616 -0
  549. package/src/assets/plugins/highcharts/code/modules/annotations.js +135 -0
  550. package/src/assets/plugins/highcharts/code/modules/annotations.js.map +1 -0
  551. package/src/assets/plugins/highcharts/code/modules/annotations.src.js +6712 -0
  552. package/src/assets/plugins/highcharts/code/modules/arrow-symbols.js +12 -0
  553. package/src/assets/plugins/highcharts/code/modules/arrow-symbols.js.map +1 -0
  554. package/src/assets/plugins/highcharts/code/modules/arrow-symbols.src.js +202 -0
  555. package/src/assets/plugins/highcharts/code/modules/boost-canvas.js +25 -0
  556. package/src/assets/plugins/highcharts/code/modules/boost-canvas.js.map +1 -0
  557. package/src/assets/plugins/highcharts/code/modules/boost-canvas.src.js +593 -0
  558. package/src/assets/plugins/highcharts/code/modules/boost.js +90 -0
  559. package/src/assets/plugins/highcharts/code/modules/boost.js.map +1 -0
  560. package/src/assets/plugins/highcharts/code/modules/boost.src.js +3834 -0
  561. package/src/assets/plugins/highcharts/code/modules/broken-axis.js +20 -0
  562. package/src/assets/plugins/highcharts/code/modules/broken-axis.js.map +1 -0
  563. package/src/assets/plugins/highcharts/code/modules/broken-axis.src.js +682 -0
  564. package/src/assets/plugins/highcharts/code/modules/bullet.js +18 -0
  565. package/src/assets/plugins/highcharts/code/modules/bullet.js.map +1 -0
  566. package/src/assets/plugins/highcharts/code/modules/bullet.src.js +489 -0
  567. package/src/assets/plugins/highcharts/code/modules/coloraxis.js +33 -0
  568. package/src/assets/plugins/highcharts/code/modules/coloraxis.js.map +1 -0
  569. package/src/assets/plugins/highcharts/code/modules/coloraxis.src.js +1484 -0
  570. package/src/assets/plugins/highcharts/code/modules/current-date-indicator.js +13 -0
  571. package/src/assets/plugins/highcharts/code/modules/current-date-indicator.js.map +1 -0
  572. package/src/assets/plugins/highcharts/code/modules/current-date-indicator.src.js +138 -0
  573. package/src/assets/plugins/highcharts/code/modules/cylinder.js +20 -0
  574. package/src/assets/plugins/highcharts/code/modules/cylinder.js.map +1 -0
  575. package/src/assets/plugins/highcharts/code/modules/cylinder.src.js +585 -0
  576. package/src/assets/plugins/highcharts/code/modules/data.js +42 -0
  577. package/src/assets/plugins/highcharts/code/modules/data.js.map +1 -0
  578. package/src/assets/plugins/highcharts/code/modules/data.src.js +2383 -0
  579. package/src/assets/plugins/highcharts/code/modules/datagrouping.js +29 -0
  580. package/src/assets/plugins/highcharts/code/modules/datagrouping.js.map +1 -0
  581. package/src/assets/plugins/highcharts/code/modules/datagrouping.src.js +1275 -0
  582. package/src/assets/plugins/highcharts/code/modules/debugger.js +30 -0
  583. package/src/assets/plugins/highcharts/code/modules/debugger.js.map +1 -0
  584. package/src/assets/plugins/highcharts/code/modules/debugger.src.js +250 -0
  585. package/src/assets/plugins/highcharts/code/modules/dependency-wheel.js +20 -0
  586. package/src/assets/plugins/highcharts/code/modules/dependency-wheel.js.map +1 -0
  587. package/src/assets/plugins/highcharts/code/modules/dependency-wheel.src.js +533 -0
  588. package/src/assets/plugins/highcharts/code/modules/dotplot.js +15 -0
  589. package/src/assets/plugins/highcharts/code/modules/dotplot.js.map +1 -0
  590. package/src/assets/plugins/highcharts/code/modules/dotplot.src.js +216 -0
  591. package/src/assets/plugins/highcharts/code/modules/drag-panes.js +20 -0
  592. package/src/assets/plugins/highcharts/code/modules/drag-panes.js.map +1 -0
  593. package/src/assets/plugins/highcharts/code/modules/drag-panes.src.js +586 -0
  594. package/src/assets/plugins/highcharts/code/modules/draggable-points.js +41 -0
  595. package/src/assets/plugins/highcharts/code/modules/draggable-points.js.map +1 -0
  596. package/src/assets/plugins/highcharts/code/modules/draggable-points.src.js +2405 -0
  597. package/src/assets/plugins/highcharts/code/modules/drilldown.js +34 -0
  598. package/src/assets/plugins/highcharts/code/modules/drilldown.js.map +1 -0
  599. package/src/assets/plugins/highcharts/code/modules/drilldown.src.js +1266 -0
  600. package/src/assets/plugins/highcharts/code/modules/dumbbell.js +24 -0
  601. package/src/assets/plugins/highcharts/code/modules/dumbbell.js.map +1 -0
  602. package/src/assets/plugins/highcharts/code/modules/dumbbell.src.js +798 -0
  603. package/src/assets/plugins/highcharts/code/modules/export-data.js +30 -0
  604. package/src/assets/plugins/highcharts/code/modules/export-data.js.map +1 -0
  605. package/src/assets/plugins/highcharts/code/modules/export-data.src.js +1203 -0
  606. package/src/assets/plugins/highcharts/code/modules/exporting.js +48 -0
  607. package/src/assets/plugins/highcharts/code/modules/exporting.js.map +1 -0
  608. package/src/assets/plugins/highcharts/code/modules/exporting.src.js +2789 -0
  609. package/src/assets/plugins/highcharts/code/modules/full-screen.js +17 -0
  610. package/src/assets/plugins/highcharts/code/modules/full-screen.js.map +1 -0
  611. package/src/assets/plugins/highcharts/code/modules/full-screen.src.js +284 -0
  612. package/src/assets/plugins/highcharts/code/modules/funnel.js +21 -0
  613. package/src/assets/plugins/highcharts/code/modules/funnel.js.map +1 -0
  614. package/src/assets/plugins/highcharts/code/modules/funnel.src.js +777 -0
  615. package/src/assets/plugins/highcharts/code/modules/funnel3d.js +30 -0
  616. package/src/assets/plugins/highcharts/code/modules/funnel3d.js.map +1 -0
  617. package/src/assets/plugins/highcharts/code/modules/funnel3d.src.js +1004 -0
  618. package/src/assets/plugins/highcharts/code/modules/gantt.js +226 -0
  619. package/src/assets/plugins/highcharts/code/modules/gantt.js.map +1 -0
  620. package/src/assets/plugins/highcharts/code/modules/gantt.src.js +13485 -0
  621. package/src/assets/plugins/highcharts/code/modules/grid-axis.js +32 -0
  622. package/src/assets/plugins/highcharts/code/modules/grid-axis.js.map +1 -0
  623. package/src/assets/plugins/highcharts/code/modules/grid-axis.src.js +1160 -0
  624. package/src/assets/plugins/highcharts/code/modules/heatmap.js +46 -0
  625. package/src/assets/plugins/highcharts/code/modules/heatmap.js.map +1 -0
  626. package/src/assets/plugins/highcharts/code/modules/heatmap.src.js +2726 -0
  627. package/src/assets/plugins/highcharts/code/modules/heikinashi.js +17 -0
  628. package/src/assets/plugins/highcharts/code/modules/heikinashi.js.map +1 -0
  629. package/src/assets/plugins/highcharts/code/modules/heikinashi.src.js +396 -0
  630. package/src/assets/plugins/highcharts/code/modules/histogram-bellcurve.js +21 -0
  631. package/src/assets/plugins/highcharts/code/modules/histogram-bellcurve.js.map +1 -0
  632. package/src/assets/plugins/highcharts/code/modules/histogram-bellcurve.src.js +699 -0
  633. package/src/assets/plugins/highcharts/code/modules/hollowcandlestick.js +18 -0
  634. package/src/assets/plugins/highcharts/code/modules/hollowcandlestick.js.map +1 -0
  635. package/src/assets/plugins/highcharts/code/modules/hollowcandlestick.src.js +500 -0
  636. package/src/assets/plugins/highcharts/code/modules/item-series.js +21 -0
  637. package/src/assets/plugins/highcharts/code/modules/item-series.js.map +1 -0
  638. package/src/assets/plugins/highcharts/code/modules/item-series.src.js +660 -0
  639. package/src/assets/plugins/highcharts/code/modules/lollipop.js +14 -0
  640. package/src/assets/plugins/highcharts/code/modules/lollipop.js.map +1 -0
  641. package/src/assets/plugins/highcharts/code/modules/lollipop.src.js +318 -0
  642. package/src/assets/plugins/highcharts/code/modules/marker-clusters.js +45 -0
  643. package/src/assets/plugins/highcharts/code/modules/marker-clusters.js.map +1 -0
  644. package/src/assets/plugins/highcharts/code/modules/marker-clusters.src.js +1713 -0
  645. package/src/assets/plugins/highcharts/code/modules/networkgraph.js +58 -0
  646. package/src/assets/plugins/highcharts/code/modules/networkgraph.js.map +1 -0
  647. package/src/assets/plugins/highcharts/code/modules/networkgraph.src.js +2926 -0
  648. package/src/assets/plugins/highcharts/code/modules/no-data-to-display.js +15 -0
  649. package/src/assets/plugins/highcharts/code/modules/no-data-to-display.js.map +1 -0
  650. package/src/assets/plugins/highcharts/code/modules/no-data-to-display.src.js +231 -0
  651. package/src/assets/plugins/highcharts/code/modules/offline-exporting.js +27 -0
  652. package/src/assets/plugins/highcharts/code/modules/offline-exporting.js.map +1 -0
  653. package/src/assets/plugins/highcharts/code/modules/offline-exporting.src.js +847 -0
  654. package/src/assets/plugins/highcharts/code/modules/oldie-polyfills.js +17 -0
  655. package/src/assets/plugins/highcharts/code/modules/oldie-polyfills.js.map +1 -0
  656. package/src/assets/plugins/highcharts/code/modules/oldie-polyfills.src.js +220 -0
  657. package/src/assets/plugins/highcharts/code/modules/oldie.js +40 -0
  658. package/src/assets/plugins/highcharts/code/modules/oldie.js.map +1 -0
  659. package/src/assets/plugins/highcharts/code/modules/oldie.src.js +1443 -0
  660. package/src/assets/plugins/highcharts/code/modules/organization.js +22 -0
  661. package/src/assets/plugins/highcharts/code/modules/organization.js.map +1 -0
  662. package/src/assets/plugins/highcharts/code/modules/organization.src.js +736 -0
  663. package/src/assets/plugins/highcharts/code/modules/overlapping-datalabels.js +9 -0
  664. package/src/assets/plugins/highcharts/code/modules/overlapping-datalabels.js.map +1 -0
  665. package/src/assets/plugins/highcharts/code/modules/overlapping-datalabels.src.js +33 -0
  666. package/src/assets/plugins/highcharts/code/modules/parallel-coordinates.js +20 -0
  667. package/src/assets/plugins/highcharts/code/modules/parallel-coordinates.js.map +1 -0
  668. package/src/assets/plugins/highcharts/code/modules/parallel-coordinates.src.js +555 -0
  669. package/src/assets/plugins/highcharts/code/modules/pareto.js +16 -0
  670. package/src/assets/plugins/highcharts/code/modules/pareto.js.map +1 -0
  671. package/src/assets/plugins/highcharts/code/modules/pareto.src.js +382 -0
  672. package/src/assets/plugins/highcharts/code/modules/pathfinder.js +40 -0
  673. package/src/assets/plugins/highcharts/code/modules/pathfinder.js.map +1 -0
  674. package/src/assets/plugins/highcharts/code/modules/pathfinder.src.js +2693 -0
  675. package/src/assets/plugins/highcharts/code/modules/pattern-fill.js +24 -0
  676. package/src/assets/plugins/highcharts/code/modules/pattern-fill.js.map +1 -0
  677. package/src/assets/plugins/highcharts/code/modules/pattern-fill.src.js +640 -0
  678. package/src/assets/plugins/highcharts/code/modules/price-indicator.js +15 -0
  679. package/src/assets/plugins/highcharts/code/modules/price-indicator.js.map +1 -0
  680. package/src/assets/plugins/highcharts/code/modules/price-indicator.src.js +346 -0
  681. package/src/assets/plugins/highcharts/code/modules/pyramid3d.js +13 -0
  682. package/src/assets/plugins/highcharts/code/modules/pyramid3d.js.map +1 -0
  683. package/src/assets/plugins/highcharts/code/modules/pyramid3d.src.js +211 -0
  684. package/src/assets/plugins/highcharts/code/modules/sankey.js +38 -0
  685. package/src/assets/plugins/highcharts/code/modules/sankey.js.map +1 -0
  686. package/src/assets/plugins/highcharts/code/modules/sankey.src.js +1868 -0
  687. package/src/assets/plugins/highcharts/code/modules/series-label.js +24 -0
  688. package/src/assets/plugins/highcharts/code/modules/series-label.js.map +1 -0
  689. package/src/assets/plugins/highcharts/code/modules/series-label.src.js +852 -0
  690. package/src/assets/plugins/highcharts/code/modules/solid-gauge.js +19 -0
  691. package/src/assets/plugins/highcharts/code/modules/solid-gauge.js.map +1 -0
  692. package/src/assets/plugins/highcharts/code/modules/solid-gauge.src.js +650 -0
  693. package/src/assets/plugins/highcharts/code/modules/sonification.js +68 -0
  694. package/src/assets/plugins/highcharts/code/modules/sonification.js.map +1 -0
  695. package/src/assets/plugins/highcharts/code/modules/sonification.src.js +3869 -0
  696. package/src/assets/plugins/highcharts/code/modules/static-scale.js +13 -0
  697. package/src/assets/plugins/highcharts/code/modules/static-scale.js.map +1 -0
  698. package/src/assets/plugins/highcharts/code/modules/static-scale.src.js +117 -0
  699. package/src/assets/plugins/highcharts/code/modules/stock-tools.js +189 -0
  700. package/src/assets/plugins/highcharts/code/modules/stock-tools.js.map +1 -0
  701. package/src/assets/plugins/highcharts/code/modules/stock-tools.src.js +9592 -0
  702. package/src/assets/plugins/highcharts/code/modules/stock.js +213 -0
  703. package/src/assets/plugins/highcharts/code/modules/stock.js.map +1 -0
  704. package/src/assets/plugins/highcharts/code/modules/stock.src.js +12237 -0
  705. package/src/assets/plugins/highcharts/code/modules/streamgraph.js +13 -0
  706. package/src/assets/plugins/highcharts/code/modules/streamgraph.js.map +1 -0
  707. package/src/assets/plugins/highcharts/code/modules/streamgraph.src.js +253 -0
  708. package/src/assets/plugins/highcharts/code/modules/sunburst.js +68 -0
  709. package/src/assets/plugins/highcharts/code/modules/sunburst.js.map +1 -0
  710. package/src/assets/plugins/highcharts/code/modules/sunburst.src.js +3721 -0
  711. package/src/assets/plugins/highcharts/code/modules/tilemap.js +26 -0
  712. package/src/assets/plugins/highcharts/code/modules/tilemap.js.map +1 -0
  713. package/src/assets/plugins/highcharts/code/modules/tilemap.src.js +878 -0
  714. package/src/assets/plugins/highcharts/code/modules/timeline.js +28 -0
  715. package/src/assets/plugins/highcharts/code/modules/timeline.js.map +1 -0
  716. package/src/assets/plugins/highcharts/code/modules/timeline.src.js +815 -0
  717. package/src/assets/plugins/highcharts/code/modules/treegrid.js +65 -0
  718. package/src/assets/plugins/highcharts/code/modules/treegrid.js.map +1 -0
  719. package/src/assets/plugins/highcharts/code/modules/treegrid.src.js +3294 -0
  720. package/src/assets/plugins/highcharts/code/modules/treemap.js +49 -0
  721. package/src/assets/plugins/highcharts/code/modules/treemap.js.map +1 -0
  722. package/src/assets/plugins/highcharts/code/modules/treemap.src.js +2416 -0
  723. package/src/assets/plugins/highcharts/code/modules/variable-pie.js +18 -0
  724. package/src/assets/plugins/highcharts/code/modules/variable-pie.js.map +1 -0
  725. package/src/assets/plugins/highcharts/code/modules/variable-pie.src.js +533 -0
  726. package/src/assets/plugins/highcharts/code/modules/variwide.js +21 -0
  727. package/src/assets/plugins/highcharts/code/modules/variwide.js.map +1 -0
  728. package/src/assets/plugins/highcharts/code/modules/variwide.src.js +529 -0
  729. package/src/assets/plugins/highcharts/code/modules/vector.js +16 -0
  730. package/src/assets/plugins/highcharts/code/modules/vector.js.map +1 -0
  731. package/src/assets/plugins/highcharts/code/modules/vector.src.js +409 -0
  732. package/src/assets/plugins/highcharts/code/modules/venn.js +39 -0
  733. package/src/assets/plugins/highcharts/code/modules/venn.js.map +1 -0
  734. package/src/assets/plugins/highcharts/code/modules/venn.src.js +2095 -0
  735. package/src/assets/plugins/highcharts/code/modules/windbarb.js +24 -0
  736. package/src/assets/plugins/highcharts/code/modules/windbarb.js.map +1 -0
  737. package/src/assets/plugins/highcharts/code/modules/windbarb.src.js +772 -0
  738. package/src/assets/plugins/highcharts/code/modules/wordcloud.js +31 -0
  739. package/src/assets/plugins/highcharts/code/modules/wordcloud.js.map +1 -0
  740. package/src/assets/plugins/highcharts/code/modules/wordcloud.src.js +1584 -0
  741. package/src/assets/plugins/highcharts/code/modules/xrange.js +26 -0
  742. package/src/assets/plugins/highcharts/code/modules/xrange.js.map +1 -0
  743. package/src/assets/plugins/highcharts/code/modules/xrange.src.js +940 -0
  744. package/src/assets/plugins/highcharts/code/themes/avocado.js +10 -0
  745. package/src/assets/plugins/highcharts/code/themes/avocado.js.map +1 -0
  746. package/src/assets/plugins/highcharts/code/themes/avocado.src.js +103 -0
  747. package/src/assets/plugins/highcharts/code/themes/brand-dark.js +15 -0
  748. package/src/assets/plugins/highcharts/code/themes/brand-dark.js.map +1 -0
  749. package/src/assets/plugins/highcharts/code/themes/brand-dark.src.js +328 -0
  750. package/src/assets/plugins/highcharts/code/themes/brand-light.js +15 -0
  751. package/src/assets/plugins/highcharts/code/themes/brand-light.js.map +1 -0
  752. package/src/assets/plugins/highcharts/code/themes/brand-light.src.js +294 -0
  753. package/src/assets/plugins/highcharts/code/themes/dark-blue.js +15 -0
  754. package/src/assets/plugins/highcharts/code/themes/dark-blue.js.map +1 -0
  755. package/src/assets/plugins/highcharts/code/themes/dark-blue.src.js +315 -0
  756. package/src/assets/plugins/highcharts/code/themes/dark-green.js +15 -0
  757. package/src/assets/plugins/highcharts/code/themes/dark-green.js.map +1 -0
  758. package/src/assets/plugins/highcharts/code/themes/dark-green.src.js +315 -0
  759. package/src/assets/plugins/highcharts/code/themes/dark-unica.js +14 -0
  760. package/src/assets/plugins/highcharts/code/themes/dark-unica.js.map +1 -0
  761. package/src/assets/plugins/highcharts/code/themes/dark-unica.src.js +284 -0
  762. package/src/assets/plugins/highcharts/code/themes/gray.js +15 -0
  763. package/src/assets/plugins/highcharts/code/themes/gray.js.map +1 -0
  764. package/src/assets/plugins/highcharts/code/themes/gray.src.js +323 -0
  765. package/src/assets/plugins/highcharts/code/themes/grid-light.js +11 -0
  766. package/src/assets/plugins/highcharts/code/themes/grid-light.js.map +1 -0
  767. package/src/assets/plugins/highcharts/code/themes/grid-light.src.js +146 -0
  768. package/src/assets/plugins/highcharts/code/themes/grid.js +12 -0
  769. package/src/assets/plugins/highcharts/code/themes/grid.js.map +1 -0
  770. package/src/assets/plugins/highcharts/code/themes/grid.src.js +176 -0
  771. package/src/assets/plugins/highcharts/code/themes/high-contrast-dark.js +14 -0
  772. package/src/assets/plugins/highcharts/code/themes/high-contrast-dark.js.map +1 -0
  773. package/src/assets/plugins/highcharts/code/themes/high-contrast-dark.src.js +275 -0
  774. package/src/assets/plugins/highcharts/code/themes/high-contrast-light.js +10 -0
  775. package/src/assets/plugins/highcharts/code/themes/high-contrast-light.js.map +1 -0
  776. package/src/assets/plugins/highcharts/code/themes/high-contrast-light.src.js +105 -0
  777. package/src/assets/plugins/highcharts/code/themes/sand-signika.js +12 -0
  778. package/src/assets/plugins/highcharts/code/themes/sand-signika.js.map +1 -0
  779. package/src/assets/plugins/highcharts/code/themes/sand-signika.src.js +179 -0
  780. package/src/assets/plugins/highcharts/code/themes/skies.js +12 -0
  781. package/src/assets/plugins/highcharts/code/themes/skies.js.map +1 -0
  782. package/src/assets/plugins/highcharts/code/themes/skies.src.js +167 -0
  783. package/src/assets/plugins/highcharts/code/themes/sunset.js +10 -0
  784. package/src/assets/plugins/highcharts/code/themes/sunset.js.map +1 -0
  785. package/src/assets/plugins/highcharts/code/themes/sunset.src.js +102 -0
  786. package/src/assets/plugins/highcharts/examples/3d-area-multiple/index.html +192 -0
  787. package/src/assets/plugins/highcharts/examples/3d-column-interactive/index.html +111 -0
  788. package/src/assets/plugins/highcharts/examples/3d-column-null-values/index.html +118 -0
  789. package/src/assets/plugins/highcharts/examples/3d-column-stacking-grouping/index.html +144 -0
  790. package/src/assets/plugins/highcharts/examples/3d-pie/index.html +130 -0
  791. package/src/assets/plugins/highcharts/examples/3d-pie-donut/index.html +112 -0
  792. package/src/assets/plugins/highcharts/examples/3d-scatter-draggable/index.html +221 -0
  793. package/src/assets/plugins/highcharts/examples/accessible-line/index.html +198 -0
  794. package/src/assets/plugins/highcharts/examples/accessible-pie/index.html +213 -0
  795. package/src/assets/plugins/highcharts/examples/advanced-accessible/index.html +271 -0
  796. package/src/assets/plugins/highcharts/examples/annotations/index.html +2170 -0
  797. package/src/assets/plugins/highcharts/examples/area-basic/index.html +157 -0
  798. package/src/assets/plugins/highcharts/examples/area-inverted/index.html +135 -0
  799. package/src/assets/plugins/highcharts/examples/area-missing/index.html +125 -0
  800. package/src/assets/plugins/highcharts/examples/area-negative/index.html +101 -0
  801. package/src/assets/plugins/highcharts/examples/area-stacked/index.html +136 -0
  802. package/src/assets/plugins/highcharts/examples/area-stacked-percent/index.html +141 -0
  803. package/src/assets/plugins/highcharts/examples/arearange/index.html +132 -0
  804. package/src/assets/plugins/highcharts/examples/arearange-line/index.html +195 -0
  805. package/src/assets/plugins/highcharts/examples/areaspline/index.html +137 -0
  806. package/src/assets/plugins/highcharts/examples/bar-basic/index.html +143 -0
  807. package/src/assets/plugins/highcharts/examples/bar-negative-stack/index.html +173 -0
  808. package/src/assets/plugins/highcharts/examples/bar-stacked/index.html +112 -0
  809. package/src/assets/plugins/highcharts/examples/bellcurve/index.html +133 -0
  810. package/src/assets/plugins/highcharts/examples/box-plot/index.html +149 -0
  811. package/src/assets/plugins/highcharts/examples/bubble/index.html +209 -0
  812. package/src/assets/plugins/highcharts/examples/bubble-3d/index.html +159 -0
  813. package/src/assets/plugins/highcharts/examples/bullet-graph/index.html +233 -0
  814. package/src/assets/plugins/highcharts/examples/chart-update/index.html +137 -0
  815. package/src/assets/plugins/highcharts/examples/column-basic/index.html +144 -0
  816. package/src/assets/plugins/highcharts/examples/column-comparison/index.html +350 -0
  817. package/src/assets/plugins/highcharts/examples/column-drilldown/index.html +387 -0
  818. package/src/assets/plugins/highcharts/examples/column-negative/index.html +101 -0
  819. package/src/assets/plugins/highcharts/examples/column-parsed/index.html +138 -0
  820. package/src/assets/plugins/highcharts/examples/column-placement/index.html +160 -0
  821. package/src/assets/plugins/highcharts/examples/column-pyramid/index.html +117 -0
  822. package/src/assets/plugins/highcharts/examples/column-rotated-labels/index.html +147 -0
  823. package/src/assets/plugins/highcharts/examples/column-stacked/index.html +138 -0
  824. package/src/assets/plugins/highcharts/examples/column-stacked-and-grouped/index.html +133 -0
  825. package/src/assets/plugins/highcharts/examples/column-stacked-percent/index.html +113 -0
  826. package/src/assets/plugins/highcharts/examples/columnrange/index.html +145 -0
  827. package/src/assets/plugins/highcharts/examples/combo/index.html +146 -0
  828. package/src/assets/plugins/highcharts/examples/combo-dual-axes/index.html +153 -0
  829. package/src/assets/plugins/highcharts/examples/combo-meteogram/index.html +768 -0
  830. package/src/assets/plugins/highcharts/examples/combo-multi-axes/index.html +222 -0
  831. package/src/assets/plugins/highcharts/examples/combo-regression/index.html +110 -0
  832. package/src/assets/plugins/highcharts/examples/combo-timeline/index.html +592 -0
  833. package/src/assets/plugins/highcharts/examples/cylinder/index.html +104 -0
  834. package/src/assets/plugins/highcharts/examples/dependency-wheel/index.html +165 -0
  835. package/src/assets/plugins/highcharts/examples/dumbbell/index.html +230 -0
  836. package/src/assets/plugins/highcharts/examples/dynamic-click-to-add/index.html +147 -0
  837. package/src/assets/plugins/highcharts/examples/dynamic-master-detail/index.html +316 -0
  838. package/src/assets/plugins/highcharts/examples/dynamic-update/index.html +163 -0
  839. package/src/assets/plugins/highcharts/examples/error-bar/index.html +154 -0
  840. package/src/assets/plugins/highcharts/examples/euler-diagram/index.html +119 -0
  841. package/src/assets/plugins/highcharts/examples/flame/index.html +1324 -0
  842. package/src/assets/plugins/highcharts/examples/funnel/index.html +131 -0
  843. package/src/assets/plugins/highcharts/examples/funnel3d/index.html +117 -0
  844. package/src/assets/plugins/highcharts/examples/gauge-activity/index.html +272 -0
  845. package/src/assets/plugins/highcharts/examples/gauge-clock/index.html +261 -0
  846. package/src/assets/plugins/highcharts/examples/gauge-dual/index.html +181 -0
  847. package/src/assets/plugins/highcharts/examples/gauge-solid/index.html +248 -0
  848. package/src/assets/plugins/highcharts/examples/gauge-speedometer/index.html +189 -0
  849. package/src/assets/plugins/highcharts/examples/gauge-vu-meter/index.html +210 -0
  850. package/src/assets/plugins/highcharts/examples/heatmap/index.html +168 -0
  851. package/src/assets/plugins/highcharts/examples/heatmap-canvas/index.html +8928 -0
  852. package/src/assets/plugins/highcharts/examples/histogram/index.html +133 -0
  853. package/src/assets/plugins/highcharts/examples/honeycomb-usa/index.html +518 -0
  854. package/src/assets/plugins/highcharts/examples/line-ajax/index.html +206 -0
  855. package/src/assets/plugins/highcharts/examples/line-basic/index.html +147 -0
  856. package/src/assets/plugins/highcharts/examples/line-boost/index.html +144 -0
  857. package/src/assets/plugins/highcharts/examples/line-labels/index.html +108 -0
  858. package/src/assets/plugins/highcharts/examples/line-log-axis/index.html +106 -0
  859. package/src/assets/plugins/highcharts/examples/line-time-series/index.html +136 -0
  860. package/src/assets/plugins/highcharts/examples/live-data/index.html +155 -0
  861. package/src/assets/plugins/highcharts/examples/lollipop/index.html +161 -0
  862. package/src/assets/plugins/highcharts/examples/network-graph/index.html +277 -0
  863. package/src/assets/plugins/highcharts/examples/organization-chart/index.html +224 -0
  864. package/src/assets/plugins/highcharts/examples/packed-bubble/index.html +588 -0
  865. package/src/assets/plugins/highcharts/examples/packed-bubble-split/index.html +589 -0
  866. package/src/assets/plugins/highcharts/examples/parallel-coordinates/index.html +176 -0
  867. package/src/assets/plugins/highcharts/examples/pareto/index.html +133 -0
  868. package/src/assets/plugins/highcharts/examples/parliament-chart/index.html +138 -0
  869. package/src/assets/plugins/highcharts/examples/pie-basic/index.html +141 -0
  870. package/src/assets/plugins/highcharts/examples/pie-donut/index.html +347 -0
  871. package/src/assets/plugins/highcharts/examples/pie-drilldown/index.html +418 -0
  872. package/src/assets/plugins/highcharts/examples/pie-gradient/index.html +133 -0
  873. package/src/assets/plugins/highcharts/examples/pie-legend/index.html +128 -0
  874. package/src/assets/plugins/highcharts/examples/pie-monochrome/index.html +139 -0
  875. package/src/assets/plugins/highcharts/examples/pie-semi-circle/index.html +133 -0
  876. package/src/assets/plugins/highcharts/examples/polar/index.html +136 -0
  877. package/src/assets/plugins/highcharts/examples/polar-radial-bar/index.html +169 -0
  878. package/src/assets/plugins/highcharts/examples/polar-spider/index.html +148 -0
  879. package/src/assets/plugins/highcharts/examples/polar-wind-rose/index.html +351 -0
  880. package/src/assets/plugins/highcharts/examples/polygon/index.html +190 -0
  881. package/src/assets/plugins/highcharts/examples/pyramid/index.html +126 -0
  882. package/src/assets/plugins/highcharts/examples/pyramid3d/index.html +117 -0
  883. package/src/assets/plugins/highcharts/examples/renderer/index.html +334 -0
  884. package/src/assets/plugins/highcharts/examples/responsive/index.html +176 -0
  885. package/src/assets/plugins/highcharts/examples/sankey-diagram/index.html +145 -0
  886. package/src/assets/plugins/highcharts/examples/scatter/index.html +246 -0
  887. package/src/assets/plugins/highcharts/examples/scatter-boost/index.html +142 -0
  888. package/src/assets/plugins/highcharts/examples/sonification/index.html +331 -0
  889. package/src/assets/plugins/highcharts/examples/sparkline/index.html +676 -0
  890. package/src/assets/plugins/highcharts/examples/spline-inverted/index.html +135 -0
  891. package/src/assets/plugins/highcharts/examples/spline-irregular-time/index.html +255 -0
  892. package/src/assets/plugins/highcharts/examples/spline-plot-bands/index.html +223 -0
  893. package/src/assets/plugins/highcharts/examples/spline-symbols/index.html +139 -0
  894. package/src/assets/plugins/highcharts/examples/streamgraph/index.html +447 -0
  895. package/src/assets/plugins/highcharts/examples/styled-mode-column/index.html +146 -0
  896. package/src/assets/plugins/highcharts/examples/styled-mode-pie/index.html +119 -0
  897. package/src/assets/plugins/highcharts/examples/sunburst/index.html +1520 -0
  898. package/src/assets/plugins/highcharts/examples/synchronized-charts/index.html +238 -0
  899. package/src/assets/plugins/highcharts/examples/timeline/index.html +142 -0
  900. package/src/assets/plugins/highcharts/examples/treemap-coloraxis/index.html +119 -0
  901. package/src/assets/plugins/highcharts/examples/treemap-large-dataset/index.html +172 -0
  902. package/src/assets/plugins/highcharts/examples/treemap-with-levels/index.html +151 -0
  903. package/src/assets/plugins/highcharts/examples/variable-radius-pie/index.html +131 -0
  904. package/src/assets/plugins/highcharts/examples/variwide/index.html +146 -0
  905. package/src/assets/plugins/highcharts/examples/vector-plot/index.html +494 -0
  906. package/src/assets/plugins/highcharts/examples/venn-diagram/index.html +124 -0
  907. package/src/assets/plugins/highcharts/examples/waterfall/index.html +143 -0
  908. package/src/assets/plugins/highcharts/examples/windbarb-series/index.html +189 -0
  909. package/src/assets/plugins/highcharts/examples/wordcloud/index.html +110 -0
  910. package/src/assets/plugins/highcharts/examples/x-range/index.html +142 -0
  911. package/src/assets/plugins/highcharts/gfx/stock-icons/annotations-hidden.svg +19 -0
  912. package/src/assets/plugins/highcharts/gfx/stock-icons/annotations-visible.svg +20 -0
  913. package/src/assets/plugins/highcharts/gfx/stock-icons/arrow-bottom.svg +9 -0
  914. package/src/assets/plugins/highcharts/gfx/stock-icons/arrow-left.svg +9 -0
  915. package/src/assets/plugins/highcharts/gfx/stock-icons/arrow-line.svg +11 -0
  916. package/src/assets/plugins/highcharts/gfx/stock-icons/arrow-ray.svg +10 -0
  917. package/src/assets/plugins/highcharts/gfx/stock-icons/arrow-right.svg +9 -0
  918. package/src/assets/plugins/highcharts/gfx/stock-icons/arrow-segment.svg +11 -0
  919. package/src/assets/plugins/highcharts/gfx/stock-icons/arrow.svg +13 -0
  920. package/src/assets/plugins/highcharts/gfx/stock-icons/circle.svg +13 -0
  921. package/src/assets/plugins/highcharts/gfx/stock-icons/close.svg +8 -0
  922. package/src/assets/plugins/highcharts/gfx/stock-icons/crooked-3.svg +13 -0
  923. package/src/assets/plugins/highcharts/gfx/stock-icons/crooked-5.svg +11 -0
  924. package/src/assets/plugins/highcharts/gfx/stock-icons/current-price-hide.svg +40 -0
  925. package/src/assets/plugins/highcharts/gfx/stock-icons/current-price-show.svg +41 -0
  926. package/src/assets/plugins/highcharts/gfx/stock-icons/destroy.svg +14 -0
  927. package/src/assets/plugins/highcharts/gfx/stock-icons/drawing.svg +18 -0
  928. package/src/assets/plugins/highcharts/gfx/stock-icons/edit.svg +10 -0
  929. package/src/assets/plugins/highcharts/gfx/stock-icons/elliott-3.svg +59 -0
  930. package/src/assets/plugins/highcharts/gfx/stock-icons/elliott-5.svg +41 -0
  931. package/src/assets/plugins/highcharts/gfx/stock-icons/ellipse.svg +11 -0
  932. package/src/assets/plugins/highcharts/gfx/stock-icons/fibonacci-timezone.svg +16 -0
  933. package/src/assets/plugins/highcharts/gfx/stock-icons/fibonacci.svg +25 -0
  934. package/src/assets/plugins/highcharts/gfx/stock-icons/flag-basic.svg +10 -0
  935. package/src/assets/plugins/highcharts/gfx/stock-icons/flag-diamond.svg +12 -0
  936. package/src/assets/plugins/highcharts/gfx/stock-icons/flag-elipse.svg +13 -0
  937. package/src/assets/plugins/highcharts/gfx/stock-icons/flag-trapeze.svg +14 -0
  938. package/src/assets/plugins/highcharts/gfx/stock-icons/fullscreen.svg +15 -0
  939. package/src/assets/plugins/highcharts/gfx/stock-icons/horizontal-line.svg +8 -0
  940. package/src/assets/plugins/highcharts/gfx/stock-icons/indicators.svg +27 -0
  941. package/src/assets/plugins/highcharts/gfx/stock-icons/label.svg +16 -0
  942. package/src/assets/plugins/highcharts/gfx/stock-icons/line.svg +11 -0
  943. package/src/assets/plugins/highcharts/gfx/stock-icons/linear.svg +11 -0
  944. package/src/assets/plugins/highcharts/gfx/stock-icons/logarithmic.svg +1 -0
  945. package/src/assets/plugins/highcharts/gfx/stock-icons/measure-x.svg +23 -0
  946. package/src/assets/plugins/highcharts/gfx/stock-icons/measure-xy.svg +28 -0
  947. package/src/assets/plugins/highcharts/gfx/stock-icons/measure-y.svg +24 -0
  948. package/src/assets/plugins/highcharts/gfx/stock-icons/panning.svg +17 -0
  949. package/src/assets/plugins/highcharts/gfx/stock-icons/parallel-channel.svg +15 -0
  950. package/src/assets/plugins/highcharts/gfx/stock-icons/pitchfork.svg +13 -0
  951. package/src/assets/plugins/highcharts/gfx/stock-icons/ray.svg +10 -0
  952. package/src/assets/plugins/highcharts/gfx/stock-icons/rectangle.svg +8 -0
  953. package/src/assets/plugins/highcharts/gfx/stock-icons/remove-annotations.svg +15 -0
  954. package/src/assets/plugins/highcharts/gfx/stock-icons/save-chart.svg +12 -0
  955. package/src/assets/plugins/highcharts/gfx/stock-icons/segment.svg +10 -0
  956. package/src/assets/plugins/highcharts/gfx/stock-icons/separator.svg +10 -0
  957. package/src/assets/plugins/highcharts/gfx/stock-icons/series-candlestick.svg +12 -0
  958. package/src/assets/plugins/highcharts/gfx/stock-icons/series-heikin-ashi.svg +1 -0
  959. package/src/assets/plugins/highcharts/gfx/stock-icons/series-hlc.svg +1 -0
  960. package/src/assets/plugins/highcharts/gfx/stock-icons/series-hollow-candlestick.svg +1 -0
  961. package/src/assets/plugins/highcharts/gfx/stock-icons/series-line.svg +11 -0
  962. package/src/assets/plugins/highcharts/gfx/stock-icons/series-ohlc.svg +14 -0
  963. package/src/assets/plugins/highcharts/gfx/stock-icons/text.svg +13 -0
  964. package/src/assets/plugins/highcharts/gfx/stock-icons/time-cycles.svg +35 -0
  965. package/src/assets/plugins/highcharts/gfx/stock-icons/vertical-arrow.svg +7 -0
  966. package/src/assets/plugins/highcharts/gfx/stock-icons/vertical-counter.svg +23 -0
  967. package/src/assets/plugins/highcharts/gfx/stock-icons/vertical-double-arrow.svg +10 -0
  968. package/src/assets/plugins/highcharts/gfx/stock-icons/vertical-label.svg +14 -0
  969. package/src/assets/plugins/highcharts/gfx/stock-icons/vertical-line.svg +8 -0
  970. package/src/assets/plugins/highcharts/gfx/stock-icons/zoom-x.svg +17 -0
  971. package/src/assets/plugins/highcharts/gfx/stock-icons/zoom-xy.svg +13 -0
  972. package/src/assets/plugins/highcharts/gfx/stock-icons/zoom-y.svg +17 -0
  973. package/src/assets/plugins/highcharts/gfx/vml-radial-gradient.png +0 -0
  974. package/src/assets/plugins/highcharts/graphics/color-picker.svg +12 -0
  975. package/src/assets/plugins/highcharts/graphics/cursor.svg +11 -0
  976. package/src/assets/plugins/highcharts/graphics/earth.svg +432 -0
  977. package/src/assets/plugins/highcharts/graphics/feature.svg +13 -0
  978. package/src/assets/plugins/highcharts/graphics/flag-circle.svg +17 -0
  979. package/src/assets/plugins/highcharts/graphics/flag-circlepin.svg +15 -0
  980. package/src/assets/plugins/highcharts/graphics/flag-diamondpin.svg +15 -0
  981. package/src/assets/plugins/highcharts/graphics/flag-flag.svg +14 -0
  982. package/src/assets/plugins/highcharts/graphics/flag-rectangle.svg +18 -0
  983. package/src/assets/plugins/highcharts/graphics/flag-squarepin.svg +16 -0
  984. package/src/assets/plugins/highcharts/graphics/flag.svg +15 -0
  985. package/src/assets/plugins/highcharts/graphics/homepage/apple.svg +55 -0
  986. package/src/assets/plugins/highcharts/graphics/homepage/award.png +0 -0
  987. package/src/assets/plugins/highcharts/graphics/homepage/cloud.png +0 -0
  988. package/src/assets/plugins/highcharts/graphics/homepage/earth.png +0 -0
  989. package/src/assets/plugins/highcharts/graphics/homepage/jupiter.png +0 -0
  990. package/src/assets/plugins/highcharts/graphics/homepage/mars.png +0 -0
  991. package/src/assets/plugins/highcharts/graphics/homepage/mercury.png +0 -0
  992. package/src/assets/plugins/highcharts/graphics/homepage/moon.png +0 -0
  993. package/src/assets/plugins/highcharts/graphics/homepage/neptune.png +0 -0
  994. package/src/assets/plugins/highcharts/graphics/homepage/p1.png +0 -0
  995. package/src/assets/plugins/highcharts/graphics/homepage/p1.svg +9 -0
  996. package/src/assets/plugins/highcharts/graphics/homepage/p2.png +0 -0
  997. package/src/assets/plugins/highcharts/graphics/homepage/p2.svg +9 -0
  998. package/src/assets/plugins/highcharts/graphics/homepage/p3.png +0 -0
  999. package/src/assets/plugins/highcharts/graphics/homepage/p3.svg +9 -0
  1000. package/src/assets/plugins/highcharts/graphics/homepage/p4.png +0 -0
  1001. package/src/assets/plugins/highcharts/graphics/homepage/p4.svg +9 -0
  1002. package/src/assets/plugins/highcharts/graphics/homepage/p5.png +0 -0
  1003. package/src/assets/plugins/highcharts/graphics/homepage/p5.svg +9 -0
  1004. package/src/assets/plugins/highcharts/graphics/homepage/p6.png +0 -0
  1005. package/src/assets/plugins/highcharts/graphics/homepage/p6.svg +9 -0
  1006. package/src/assets/plugins/highcharts/graphics/homepage/product.png +0 -0
  1007. package/src/assets/plugins/highcharts/graphics/homepage/saturn.png +0 -0
  1008. package/src/assets/plugins/highcharts/graphics/homepage/sun.png +0 -0
  1009. package/src/assets/plugins/highcharts/graphics/homepage/uranus.png +0 -0
  1010. package/src/assets/plugins/highcharts/graphics/homepage/venus.png +0 -0
  1011. package/src/assets/plugins/highcharts/graphics/homepage/version.png +0 -0
  1012. package/src/assets/plugins/highcharts/graphics/rect.svg +12 -0
  1013. package/src/assets/plugins/highcharts/graphics/reset.svg +16 -0
  1014. package/src/assets/plugins/highcharts/graphics/sand.png +0 -0
  1015. package/src/assets/plugins/highcharts/graphics/save-chart-cloud.svg +14 -0
  1016. package/src/assets/plugins/highcharts/graphics/save.svg +14 -0
  1017. package/src/assets/plugins/highcharts/graphics/search.png +0 -0
  1018. package/src/assets/plugins/highcharts/graphics/skies.jpg +0 -0
  1019. package/src/assets/plugins/highcharts/graphics/snow.png +0 -0
  1020. package/src/assets/plugins/highcharts/graphics/sun.png +0 -0
  1021. package/src/assets/plugins/highcharts/graphics/xmas-card-2020/blue-flake-big.svg +32 -0
  1022. package/src/assets/plugins/highcharts/graphics/xmas-card-2020/blue-star-big.svg +16 -0
  1023. package/src/assets/plugins/highcharts/graphics/xmas-card-2020/car-tree.svg +429 -0
  1024. package/src/assets/plugins/highcharts/graphics/xmas-card-2020/green-flake-big.svg +119 -0
  1025. package/src/assets/plugins/highcharts/graphics/xmas-card-2020/green-star.svg +20 -0
  1026. package/src/assets/plugins/highcharts/graphics/xmas-card-2020/hill.svg +193 -0
  1027. package/src/assets/plugins/highcharts/graphics/xmas-card-2020/hill2.svg +164 -0
  1028. package/src/assets/plugins/highcharts/graphics/xmas-card-2020/horse.svg +1 -0
  1029. package/src/assets/plugins/highcharts/graphics/xmas-card-2020/people.svg +2336 -0
  1030. package/src/assets/plugins/highcharts/graphics/xmas-card-2020/pines.svg +777 -0
  1031. package/src/assets/plugins/highcharts/graphics/xmas-card-2020/pond-skate.svg +1 -0
  1032. package/src/assets/plugins/highcharts/graphics/xmas-card-2020/red-flake.svg +30 -0
  1033. package/src/assets/plugins/highcharts/graphics/xmas-card-2020/red-house.svg +85 -0
  1034. package/src/assets/plugins/highcharts/graphics/xmas-card-2020/red-star-big.svg +36 -0
  1035. package/src/assets/plugins/highcharts/graphics/xmas-card-2020/red-star.svg +20 -0
  1036. package/src/assets/plugins/highcharts/graphics/xmas-card-2020/santa-b.svg +91 -0
  1037. package/src/assets/plugins/highcharts/graphics/xmas-card-2020/santa.svg +91 -0
  1038. package/src/assets/plugins/highcharts/graphics/xmas-card-2020/snow-mound.svg +146 -0
  1039. package/src/assets/plugins/highcharts/graphics/xmas-card-2020/snow.svg +20788 -0
  1040. package/src/assets/plugins/highcharts/graphics/xmas-card-2020/sun-disk.svg +597 -0
  1041. package/src/assets/plugins/highcharts/graphics/xmas-card-2020/tree-cluster.svg +2735 -0
  1042. package/src/assets/plugins/highcharts/graphics/xmas-card-2020/white-flake-big.svg +99 -0
  1043. package/src/assets/plugins/highcharts/graphics/xmas-card-2020/white-flake.big.svg +96 -0
  1044. package/src/assets/plugins/highcharts/graphics/xmas-card-2020/white-star-big.svg +36 -0
  1045. package/src/assets/plugins/highcharts/index.html +133 -0
  1046. package/src/lib/classes/chart.class.ts +140 -0
  1047. package/src/lib/classes/enum.class.ts +193 -0
  1048. package/src/lib/classes/excel.class.ts +46 -0
  1049. package/src/lib/classes/form.class.ts +528 -0
  1050. package/src/lib/classes/helper.class.ts +283 -0
  1051. package/src/lib/classes/lang.class.ts +32 -0
  1052. package/src/lib/classes/login.class.ts +27 -0
  1053. package/src/lib/classes/modal.class.ts +59 -0
  1054. package/src/lib/classes/permission.class.ts +55 -0
  1055. package/src/lib/classes/request.class.ts +255 -0
  1056. package/src/lib/classes/safestyle.class.ts +4 -0
  1057. package/src/lib/classes/sidebar.class.ts +20 -0
  1058. package/src/lib/classes/steps.class.ts +19 -0
  1059. package/src/lib/classes/string.class.ts +219 -0
  1060. package/src/lib/classes/table.class.ts +228 -0
  1061. package/src/lib/components/accordion/accordion.component.css +116 -0
  1062. package/src/lib/components/accordion/accordion.component.html +19 -0
  1063. package/src/lib/components/accordion/accordion.component.ts +41 -0
  1064. package/src/lib/components/alert/alert.component.css +112 -0
  1065. package/src/lib/components/alert/alert.component.html +1 -0
  1066. package/src/lib/components/alert/alert.component.ts +35 -0
  1067. package/src/lib/components/base.component.ts +38 -0
  1068. package/src/lib/components/calendar/calendar.component.css +206 -0
  1069. package/src/lib/components/calendar/calendar.component.html +36 -0
  1070. package/src/lib/components/calendar/calendar.component.ts +99 -0
  1071. package/src/lib/components/chart/chart.component.css +24 -0
  1072. package/src/lib/components/chart/chart.component.html +6 -0
  1073. package/src/lib/components/chart/chart.component.ts +14 -0
  1074. package/src/lib/components/clock/clock.component.css +141 -0
  1075. package/src/lib/components/clock/clock.component.html +10 -0
  1076. package/src/lib/components/clock/clock.component.ts +37 -0
  1077. package/src/lib/components/confirm/confirm.component.css +112 -0
  1078. package/src/lib/components/confirm/confirm.component.html +1 -0
  1079. package/src/lib/components/confirm/confirm.component.ts +47 -0
  1080. package/src/lib/components/footer/footer.component.css +46 -0
  1081. package/src/lib/components/footer/footer.component.html +9 -0
  1082. package/src/lib/components/footer/footer.component.ts +18 -0
  1083. package/src/lib/components/form/bank-card/form.bank-card.component.css +115 -0
  1084. package/src/lib/components/form/bank-card/form.bank-card.component.html +13 -0
  1085. package/src/lib/components/form/bank-card/form.bank-card.component.ts +144 -0
  1086. package/src/lib/components/form/button/form.button.component.css +222 -0
  1087. package/src/lib/components/form/button/form.button.component.html +16 -0
  1088. package/src/lib/components/form/button/form.button.component.ts +65 -0
  1089. package/src/lib/components/form/car/form.car.component.css +287 -0
  1090. package/src/lib/components/form/car/form.car.component.html +11 -0
  1091. package/src/lib/components/form/car/form.car.component.ts +82 -0
  1092. package/src/lib/components/form/car/search/form.car.search.component.css +287 -0
  1093. package/src/lib/components/form/car/search/form.car.search.component.html +15 -0
  1094. package/src/lib/components/form/car/search/form.car.search.component.ts +170 -0
  1095. package/src/lib/components/form/checkbox/form.checkbox.component.css +128 -0
  1096. package/src/lib/components/form/checkbox/form.checkbox.component.html +8 -0
  1097. package/src/lib/components/form/checkbox/form.checkbox.component.ts +64 -0
  1098. package/src/lib/components/form/date/form.date.component.css +310 -0
  1099. package/src/lib/components/form/date/form.date.component.html +46 -0
  1100. package/src/lib/components/form/date/form.date.component.ts +247 -0
  1101. package/src/lib/components/form/datetime/form.datetime.component.css +157 -0
  1102. package/src/lib/components/form/datetime/form.datetime.component.html +11 -0
  1103. package/src/lib/components/form/datetime/form.datetime.component.ts +98 -0
  1104. package/src/lib/components/form/file/form.file.component.css +151 -0
  1105. package/src/lib/components/form/file/form.file.component.html +12 -0
  1106. package/src/lib/components/form/file/form.file.component.ts +130 -0
  1107. package/src/lib/components/form/finger/form.finger.component.css +215 -0
  1108. package/src/lib/components/form/finger/form.finger.component.html +59 -0
  1109. package/src/lib/components/form/finger/form.finger.component.ts +131 -0
  1110. package/src/lib/components/form/hidden/form.hidden.component.css +0 -0
  1111. package/src/lib/components/form/hidden/form.hidden.component.html +0 -0
  1112. package/src/lib/components/form/hidden/form.hidden.component.ts +29 -0
  1113. package/src/lib/components/form/icon/form.icon.component.css +108 -0
  1114. package/src/lib/components/form/icon/form.icon.component.html +14 -0
  1115. package/src/lib/components/form/icon/form.icon.component.ts +73 -0
  1116. package/src/lib/components/form/index/form.component.css +89 -0
  1117. package/src/lib/components/form/index/form.component.html +35 -0
  1118. package/src/lib/components/form/index/form.component.ts +45 -0
  1119. package/src/lib/components/form/label/form.label.component.css +45 -0
  1120. package/src/lib/components/form/label/form.label.component.html +2 -0
  1121. package/src/lib/components/form/label/form.label.component.ts +30 -0
  1122. package/src/lib/components/form/plaque/form.plaque.component.css +76 -0
  1123. package/src/lib/components/form/plaque/form.plaque.component.html +10 -0
  1124. package/src/lib/components/form/plaque/form.plaque.component.ts +178 -0
  1125. package/src/lib/components/form/plaque/select/form.plaque.select.component.css +167 -0
  1126. package/src/lib/components/form/plaque/select/form.plaque.select.component.html +19 -0
  1127. package/src/lib/components/form/plaque/select/form.plaque.select.component.ts +385 -0
  1128. package/src/lib/components/form/radio/form.radio.component.css +158 -0
  1129. package/src/lib/components/form/radio/form.radio.component.html +16 -0
  1130. package/src/lib/components/form/radio/form.radio.component.ts +78 -0
  1131. package/src/lib/components/form/select/form.select.component.css +326 -0
  1132. package/src/lib/components/form/select/form.select.component.html +16 -0
  1133. package/src/lib/components/form/select/form.select.component.ts +358 -0
  1134. package/src/lib/components/form/select/item/form.select.item.component.css +59 -0
  1135. package/src/lib/components/form/select/item/form.select.item.component.html +10 -0
  1136. package/src/lib/components/form/select/item/form.select.item.component.ts +40 -0
  1137. package/src/lib/components/form/table/form.table.component.css +50 -0
  1138. package/src/lib/components/form/table/form.table.component.html +8 -0
  1139. package/src/lib/components/form/table/form.table.component.ts +94 -0
  1140. package/src/lib/components/form/textarea/form.textarea.component.css +109 -0
  1141. package/src/lib/components/form/textarea/form.textarea.component.html +10 -0
  1142. package/src/lib/components/form/textarea/form.textarea.component.ts +76 -0
  1143. package/src/lib/components/form/textbox/form.textbox.component.css +296 -0
  1144. package/src/lib/components/form/textbox/form.textbox.component.html +13 -0
  1145. package/src/lib/components/form/textbox/form.textbox.component.ts +185 -0
  1146. package/src/lib/components/form/time/form.time.component.css +205 -0
  1147. package/src/lib/components/form/time/form.time.component.html +22 -0
  1148. package/src/lib/components/form/time/form.time.component.ts +139 -0
  1149. package/src/lib/components/form/tree/form.tree.component.css +109 -0
  1150. package/src/lib/components/form/tree/form.tree.component.html +11 -0
  1151. package/src/lib/components/form/tree/form.tree.component.ts +98 -0
  1152. package/src/lib/components/form/tree/item/form.tree.item.component.css +142 -0
  1153. package/src/lib/components/form/tree/item/form.tree.item.component.html +9 -0
  1154. package/src/lib/components/form/tree/item/form.tree.item.component.ts +49 -0
  1155. package/src/lib/components/header/header.component.css +57 -0
  1156. package/src/lib/components/header/header.component.html +5 -0
  1157. package/src/lib/components/header/header.component.ts +28 -0
  1158. package/src/lib/components/header/sub/sub.header.component.css +62 -0
  1159. package/src/lib/components/header/sub/sub.header.component.html +8 -0
  1160. package/src/lib/components/header/sub/sub.header.component.ts +11 -0
  1161. package/src/lib/components/layout/layout.component.css +300 -0
  1162. package/src/lib/components/layout/layout.component.html +20 -0
  1163. package/src/lib/components/layout/layout.component.ts +21 -0
  1164. package/src/lib/components/loading/loading.component.css +39 -0
  1165. package/src/lib/components/loading/loading.component.html +8 -0
  1166. package/src/lib/components/loading/loading.component.ts +18 -0
  1167. package/src/lib/components/login/login.component.css +389 -0
  1168. package/src/lib/components/login/login.component.html +27 -0
  1169. package/src/lib/components/login/login.component.ts +145 -0
  1170. package/src/lib/components/modal/modal.component.css +60 -0
  1171. package/src/lib/components/modal/modal.component.html +12 -0
  1172. package/src/lib/components/modal/modal.component.ts +23 -0
  1173. package/src/lib/components/notfound/notfound.component.css +134 -0
  1174. package/src/lib/components/notfound/notfound.component.html +10 -0
  1175. package/src/lib/components/notfound/notfound.component.ts +25 -0
  1176. package/src/lib/components/notification/notification.component.css +45 -0
  1177. package/src/lib/components/notification/notification.component.html +2 -0
  1178. package/src/lib/components/notification/notification.component.ts +11 -0
  1179. package/src/lib/components/sidebar/item/sidebar.item.component.css +236 -0
  1180. package/src/lib/components/sidebar/item/sidebar.item.component.html +16 -0
  1181. package/src/lib/components/sidebar/item/sidebar.item.component.ts +54 -0
  1182. package/src/lib/components/sidebar/sidebar.component.css +42 -0
  1183. package/src/lib/components/sidebar/sidebar.component.html +10 -0
  1184. package/src/lib/components/sidebar/sidebar.component.ts +60 -0
  1185. package/src/lib/components/steps/steps.component.css +320 -0
  1186. package/src/lib/components/steps/steps.component.html +18 -0
  1187. package/src/lib/components/steps/steps.component.ts +44 -0
  1188. package/src/lib/components/table/loading/table.loading.component.css +29 -0
  1189. package/src/lib/components/table/loading/table.loading.component.html +9 -0
  1190. package/src/lib/components/table/loading/table.loading.component.ts +14 -0
  1191. package/src/lib/components/table/pagination/table.pagination.component.css +138 -0
  1192. package/src/lib/components/table/pagination/table.pagination.component.html +9 -0
  1193. package/src/lib/components/table/pagination/table.pagination.component.ts +89 -0
  1194. package/src/lib/components/table/report/table.report.component.css +125 -0
  1195. package/src/lib/components/table/report/table.report.component.html +19 -0
  1196. package/src/lib/components/table/report/table.report.component.ts +238 -0
  1197. package/src/lib/components/table/row/table.row.component.css +170 -0
  1198. package/src/lib/components/table/row/table.row.component.html +21 -0
  1199. package/src/lib/components/table/row/table.row.component.ts +373 -0
  1200. package/src/lib/components/table/table.component.css +116 -0
  1201. package/src/lib/components/table/table.component.html +62 -0
  1202. package/src/lib/components/table/table.component.ts +180 -0
  1203. package/src/lib/components/tooltip/tooltip.component.css +159 -0
  1204. package/src/lib/components/tooltip/tooltip.component.html +1 -0
  1205. package/src/lib/components/tooltip/tooltip.component.ts +15 -0
  1206. package/src/lib/ps-toolkit-ui.module.ts +94 -0
  1207. package/src/lib/services/config.service.ts +8 -0
  1208. package/src/public-api.ts +53 -0
  1209. package/src/test.ts +26 -0
  1210. package/tsconfig.lib.json +25 -0
  1211. package/tsconfig.lib.prod.json +10 -0
  1212. package/tsconfig.spec.json +17 -0
  1213. package/tslint.json +17 -0
  1214. package/bundles/ps-toolkit-ui.umd.js +0 -7628
  1215. package/bundles/ps-toolkit-ui.umd.js.map +0 -1
  1216. package/bundles/ps-toolkit-ui.umd.min.js +0 -2
  1217. package/bundles/ps-toolkit-ui.umd.min.js.map +0 -1
  1218. package/esm2015/lib/classes/enum.class.js +0 -187
  1219. package/esm2015/lib/classes/form.class.js +0 -481
  1220. package/esm2015/lib/classes/helper.class.js +0 -284
  1221. package/esm2015/lib/classes/lang.class.js +0 -32
  1222. package/esm2015/lib/classes/login.class.js +0 -22
  1223. package/esm2015/lib/classes/modal.class.js +0 -52
  1224. package/esm2015/lib/classes/permission.class.js +0 -61
  1225. package/esm2015/lib/classes/request.class.js +0 -256
  1226. package/esm2015/lib/classes/safestyle.class.js +0 -15
  1227. package/esm2015/lib/classes/sidebar.class.js +0 -14
  1228. package/esm2015/lib/classes/steps.class.js +0 -20
  1229. package/esm2015/lib/classes/string.class.js +0 -220
  1230. package/esm2015/lib/classes/table.class.js +0 -215
  1231. package/esm2015/lib/components/accordion/accordion.component.js +0 -45
  1232. package/esm2015/lib/components/alert/alert.component.js +0 -39
  1233. package/esm2015/lib/components/base.component.js +0 -45
  1234. package/esm2015/lib/components/calendar/calendar.component.js +0 -97
  1235. package/esm2015/lib/components/clock/clock.component.js +0 -33
  1236. package/esm2015/lib/components/confirm/confirm.component.js +0 -50
  1237. package/esm2015/lib/components/footer/footer.component.js +0 -23
  1238. package/esm2015/lib/components/form/bank-card/form.bank-card.component.js +0 -148
  1239. package/esm2015/lib/components/form/button/form.button.component.js +0 -68
  1240. package/esm2015/lib/components/form/car/form.car.component.js +0 -84
  1241. package/esm2015/lib/components/form/car/search/form.car.search.component.js +0 -172
  1242. package/esm2015/lib/components/form/checkbox/form.checkbox.component.js +0 -66
  1243. package/esm2015/lib/components/form/date/form.date.component.js +0 -254
  1244. package/esm2015/lib/components/form/datetime/form.datetime.component.js +0 -104
  1245. package/esm2015/lib/components/form/file/form.file.component.js +0 -133
  1246. package/esm2015/lib/components/form/finger/form.finger.component.js +0 -138
  1247. package/esm2015/lib/components/form/hidden/form.hidden.component.js +0 -31
  1248. package/esm2015/lib/components/form/icon/form.icon.component.js +0 -76
  1249. package/esm2015/lib/components/form/index/form.component.js +0 -48
  1250. package/esm2015/lib/components/form/label/form.label.component.js +0 -32
  1251. package/esm2015/lib/components/form/plaque/form.plaque.component.js +0 -176
  1252. package/esm2015/lib/components/form/plaque/select/form.plaque.select.component.js +0 -390
  1253. package/esm2015/lib/components/form/radio/form.radio.component.js +0 -79
  1254. package/esm2015/lib/components/form/select/form.select.component.js +0 -374
  1255. package/esm2015/lib/components/form/select/item/form.select.item.component.js +0 -43
  1256. package/esm2015/lib/components/form/table/form.table.component.js +0 -98
  1257. package/esm2015/lib/components/form/textarea/form.textarea.component.js +0 -78
  1258. package/esm2015/lib/components/form/textbox/form.textbox.component.js +0 -186
  1259. package/esm2015/lib/components/form/time/form.time.component.js +0 -145
  1260. package/esm2015/lib/components/form/tree/form.tree.component.js +0 -99
  1261. package/esm2015/lib/components/form/tree/item/form.tree.item.component.js +0 -48
  1262. package/esm2015/lib/components/header/header.component.js +0 -33
  1263. package/esm2015/lib/components/header/sub/sub.header.component.js +0 -14
  1264. package/esm2015/lib/components/layout/layout.component.js +0 -25
  1265. package/esm2015/lib/components/loading/loading.component.js +0 -22
  1266. package/esm2015/lib/components/login/login.component.js +0 -148
  1267. package/esm2015/lib/components/modal/modal.component.js +0 -25
  1268. package/esm2015/lib/components/notfound/notfound.component.js +0 -29
  1269. package/esm2015/lib/components/notification/notification.component.js +0 -14
  1270. package/esm2015/lib/components/sidebar/item/sidebar.item.component.js +0 -53
  1271. package/esm2015/lib/components/sidebar/sidebar.component.js +0 -67
  1272. package/esm2015/lib/components/steps/steps.component.js +0 -51
  1273. package/esm2015/lib/components/table/loading/table.loading.component.js +0 -17
  1274. package/esm2015/lib/components/table/pagination/table.pagination.component.js +0 -84
  1275. package/esm2015/lib/components/table/report/table.report.component.js +0 -246
  1276. package/esm2015/lib/components/table/row/table.row.component.js +0 -379
  1277. package/esm2015/lib/components/table/table.component.js +0 -179
  1278. package/esm2015/lib/components/tooltip/tooltip.component.js +0 -19
  1279. package/esm2015/lib/ps-toolkit-ui.module.js +0 -94
  1280. package/esm2015/lib/services/config.service.js +0 -14
  1281. package/esm2015/ps-toolkit-ui.js +0 -19
  1282. package/esm2015/public-api.js +0 -52
  1283. package/fesm2015/ps-toolkit-ui.js +0 -6550
  1284. package/fesm2015/ps-toolkit-ui.js.map +0 -1
  1285. package/lib/classes/enum.class.d.ts +0 -158
  1286. package/lib/classes/form.class.d.ts +0 -173
  1287. package/lib/classes/helper.class.d.ts +0 -28
  1288. package/lib/classes/lang.class.d.ts +0 -5
  1289. package/lib/classes/login.class.d.ts +0 -17
  1290. package/lib/classes/modal.class.d.ts +0 -19
  1291. package/lib/classes/permission.class.d.ts +0 -31
  1292. package/lib/classes/request.class.d.ts +0 -12
  1293. package/lib/classes/safestyle.class.d.ts +0 -7
  1294. package/lib/classes/sidebar.class.d.ts +0 -11
  1295. package/lib/classes/steps.class.d.ts +0 -17
  1296. package/lib/classes/string.class.d.ts +0 -218
  1297. package/lib/classes/table.class.d.ts +0 -69
  1298. package/lib/components/accordion/accordion.component.d.ts +0 -7
  1299. package/lib/components/alert/alert.component.d.ts +0 -10
  1300. package/lib/components/base.component.d.ts +0 -14
  1301. package/lib/components/calendar/calendar.component.d.ts +0 -26
  1302. package/lib/components/clock/clock.component.d.ts +0 -11
  1303. package/lib/components/confirm/confirm.component.d.ts +0 -14
  1304. package/lib/components/footer/footer.component.d.ts +0 -6
  1305. package/lib/components/form/bank-card/form.bank-card.component.d.ts +0 -22
  1306. package/lib/components/form/button/form.button.component.d.ts +0 -15
  1307. package/lib/components/form/car/form.car.component.d.ts +0 -16
  1308. package/lib/components/form/car/search/form.car.search.component.d.ts +0 -17
  1309. package/lib/components/form/checkbox/form.checkbox.component.d.ts +0 -14
  1310. package/lib/components/form/date/form.date.component.d.ts +0 -42
  1311. package/lib/components/form/datetime/form.datetime.component.d.ts +0 -13
  1312. package/lib/components/form/file/form.file.component.d.ts +0 -17
  1313. package/lib/components/form/finger/form.finger.component.d.ts +0 -15
  1314. package/lib/components/form/hidden/form.hidden.component.d.ts +0 -7
  1315. package/lib/components/form/icon/form.icon.component.d.ts +0 -15
  1316. package/lib/components/form/index/form.component.d.ts +0 -10
  1317. package/lib/components/form/label/form.label.component.d.ts +0 -8
  1318. package/lib/components/form/plaque/form.plaque.component.d.ts +0 -22
  1319. package/lib/components/form/plaque/select/form.plaque.select.component.d.ts +0 -36
  1320. package/lib/components/form/radio/form.radio.component.d.ts +0 -13
  1321. package/lib/components/form/select/form.select.component.d.ts +0 -39
  1322. package/lib/components/form/select/item/form.select.item.component.d.ts +0 -12
  1323. package/lib/components/form/table/form.table.component.d.ts +0 -9
  1324. package/lib/components/form/textarea/form.textarea.component.d.ts +0 -13
  1325. package/lib/components/form/textbox/form.textbox.component.d.ts +0 -20
  1326. package/lib/components/form/time/form.time.component.d.ts +0 -25
  1327. package/lib/components/form/tree/form.tree.component.d.ts +0 -16
  1328. package/lib/components/form/tree/item/form.tree.item.component.d.ts +0 -17
  1329. package/lib/components/header/header.component.d.ts +0 -9
  1330. package/lib/components/header/sub/sub.header.component.d.ts +0 -3
  1331. package/lib/components/layout/layout.component.d.ts +0 -8
  1332. package/lib/components/loading/loading.component.d.ts +0 -5
  1333. package/lib/components/login/login.component.d.ts +0 -13
  1334. package/lib/components/modal/modal.component.d.ts +0 -9
  1335. package/lib/components/notfound/notfound.component.d.ts +0 -8
  1336. package/lib/components/notification/notification.component.d.ts +0 -3
  1337. package/lib/components/sidebar/item/sidebar.item.component.d.ts +0 -14
  1338. package/lib/components/sidebar/sidebar.component.d.ts +0 -19
  1339. package/lib/components/steps/steps.component.d.ts +0 -10
  1340. package/lib/components/table/loading/table.loading.component.d.ts +0 -5
  1341. package/lib/components/table/pagination/table.pagination.component.d.ts +0 -15
  1342. package/lib/components/table/report/table.report.component.d.ts +0 -34
  1343. package/lib/components/table/row/table.row.component.d.ts +0 -34
  1344. package/lib/components/table/table.component.d.ts +0 -40
  1345. package/lib/components/tooltip/tooltip.component.d.ts +0 -5
  1346. package/lib/ps-toolkit-ui.module.d.ts +0 -4
  1347. package/lib/services/config.service.d.ts +0 -6
  1348. package/ps-toolkit-ui.d.ts +0 -18
  1349. package/ps-toolkit-ui.metadata.json +0 -1
  1350. package/public-api.d.ts +0 -48
@@ -0,0 +1,3721 @@
1
+ /**
2
+ * @license Highcharts JS v9.3.3 (2022-02-01)
3
+ *
4
+ * (c) 2016-2021 Highsoft AS
5
+ * Authors: Jon Arild Nygard
6
+ *
7
+ * License: www.highcharts.com/license
8
+ */
9
+ 'use strict';
10
+ (function (factory) {
11
+ if (typeof module === 'object' && module.exports) {
12
+ factory['default'] = factory;
13
+ module.exports = factory;
14
+ } else if (typeof define === 'function' && define.amd) {
15
+ define('highcharts/modules/sunburst', ['highcharts'], function (Highcharts) {
16
+ factory(Highcharts);
17
+ factory.Highcharts = Highcharts;
18
+ return factory;
19
+ });
20
+ } else {
21
+ factory(typeof Highcharts !== 'undefined' ? Highcharts : undefined);
22
+ }
23
+ }(function (Highcharts) {
24
+ var _modules = Highcharts ? Highcharts._modules : {};
25
+ function _registerModule(obj, path, args, fn) {
26
+ if (!obj.hasOwnProperty(path)) {
27
+ obj[path] = fn.apply(null, args);
28
+ }
29
+ }
30
+ _registerModule(_modules, 'Series/ColorMapMixin.js', [_modules['Core/Globals.js'], _modules['Core/Series/Point.js'], _modules['Core/Utilities.js']], function (H, Point, U) {
31
+ /* *
32
+ *
33
+ * (c) 2010-2021 Torstein Honsi
34
+ *
35
+ * License: www.highcharts.com/license
36
+ *
37
+ * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
38
+ *
39
+ * */
40
+ // @todo cleanup & reduction - consider composition
41
+ var noop = H.noop,
42
+ seriesTypes = H.seriesTypes;
43
+ var defined = U.defined,
44
+ addEvent = U.addEvent;
45
+ // Move points to the top of the z-index order when hovered
46
+ addEvent(Point, 'afterSetState', function (e) {
47
+ var point = this;
48
+ if (point.moveToTopOnHover && point.graphic) {
49
+ point.graphic.attr({
50
+ zIndex: e && e.state === 'hover' ? 1 : 0
51
+ });
52
+ }
53
+ });
54
+ /**
55
+ * Mixin for maps and heatmaps
56
+ *
57
+ * @private
58
+ * @mixin Highcharts.colorMapPointMixin
59
+ */
60
+ var PointMixin = {
61
+ dataLabelOnNull: true,
62
+ moveToTopOnHover: true,
63
+ /* eslint-disable valid-jsdoc */
64
+ /**
65
+ * Color points have a value option that determines whether or not it is
66
+ * a null point
67
+ * @private
68
+ */
69
+ isValid: function () {
70
+ // undefined is allowed
71
+ return (this.value !== null &&
72
+ this.value !== Infinity &&
73
+ this.value !== -Infinity);
74
+ }
75
+ /* eslint-enable valid-jsdoc */
76
+ };
77
+ /**
78
+ * @private
79
+ * @mixin Highcharts.colorMapSeriesMixin
80
+ */
81
+ var SeriesMixin = {
82
+ pointArrayMap: ['value'],
83
+ axisTypes: ['xAxis', 'yAxis', 'colorAxis'],
84
+ trackerGroups: ['group', 'markerGroup', 'dataLabelsGroup'],
85
+ getSymbol: noop,
86
+ parallelArrays: ['x', 'y', 'value'],
87
+ colorKey: 'value',
88
+ pointAttribs: seriesTypes.column.prototype.pointAttribs,
89
+ /* eslint-disable valid-jsdoc */
90
+ /**
91
+ * Get the color attibutes to apply on the graphic
92
+ * @private
93
+ * @function Highcharts.colorMapSeriesMixin.colorAttribs
94
+ * @param {Highcharts.Point} point
95
+ * @return {Highcharts.SVGAttributes}
96
+ * The SVG attributes
97
+ */
98
+ colorAttribs: function (point) {
99
+ var ret = {};
100
+ if (defined(point.color) &&
101
+ (!point.state || point.state === 'normal') // #15746
102
+ ) {
103
+ ret[this.colorProp || 'fill'] = point.color;
104
+ }
105
+ return ret;
106
+ }
107
+ };
108
+ var ColorMapMixin = {
109
+ PointMixin: PointMixin,
110
+ SeriesMixin: SeriesMixin
111
+ };
112
+
113
+ return ColorMapMixin;
114
+ });
115
+ _registerModule(_modules, 'Series/Treemap/TreemapAlgorithmGroup.js', [], function () {
116
+ /* *
117
+ *
118
+ * (c) 2014-2021 Highsoft AS
119
+ *
120
+ * Authors: Jon Arild Nygard / Oystein Moseng
121
+ *
122
+ * License: www.highcharts.com/license
123
+ *
124
+ * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
125
+ *
126
+ * */
127
+ /* *
128
+ *
129
+ * Class
130
+ *
131
+ * */
132
+ var TreemapAlgorithmGroup = /** @class */ (function () {
133
+ /* *
134
+ *
135
+ * Constructor
136
+ *
137
+ * */
138
+ function TreemapAlgorithmGroup(h, w, d, p) {
139
+ this.height = h;
140
+ this.width = w;
141
+ this.plot = p;
142
+ this.direction = d;
143
+ this.startDirection = d;
144
+ this.total = 0;
145
+ this.nW = 0;
146
+ this.lW = 0;
147
+ this.nH = 0;
148
+ this.lH = 0;
149
+ this.elArr = [];
150
+ this.lP = {
151
+ total: 0,
152
+ lH: 0,
153
+ nH: 0,
154
+ lW: 0,
155
+ nW: 0,
156
+ nR: 0,
157
+ lR: 0,
158
+ aspectRatio: function (w, h) {
159
+ return Math.max((w / h), (h / w));
160
+ }
161
+ };
162
+ }
163
+ /* *
164
+ *
165
+ * Functions
166
+ *
167
+ * */
168
+ /* eslint-disable valid-jsdoc */
169
+ TreemapAlgorithmGroup.prototype.addElement = function (el) {
170
+ this.lP.total = this.elArr[this.elArr.length - 1];
171
+ this.total = this.total + el;
172
+ if (this.direction === 0) {
173
+ // Calculate last point old aspect ratio
174
+ this.lW = this.nW;
175
+ this.lP.lH = this.lP.total / this.lW;
176
+ this.lP.lR = this.lP.aspectRatio(this.lW, this.lP.lH);
177
+ // Calculate last point new aspect ratio
178
+ this.nW = this.total / this.height;
179
+ this.lP.nH = this.lP.total / this.nW;
180
+ this.lP.nR = this.lP.aspectRatio(this.nW, this.lP.nH);
181
+ }
182
+ else {
183
+ // Calculate last point old aspect ratio
184
+ this.lH = this.nH;
185
+ this.lP.lW = this.lP.total / this.lH;
186
+ this.lP.lR = this.lP.aspectRatio(this.lP.lW, this.lH);
187
+ // Calculate last point new aspect ratio
188
+ this.nH = this.total / this.width;
189
+ this.lP.nW = this.lP.total / this.nH;
190
+ this.lP.nR = this.lP.aspectRatio(this.lP.nW, this.nH);
191
+ }
192
+ this.elArr.push(el);
193
+ };
194
+ TreemapAlgorithmGroup.prototype.reset = function () {
195
+ this.nW = 0;
196
+ this.lW = 0;
197
+ this.elArr = [];
198
+ this.total = 0;
199
+ };
200
+ return TreemapAlgorithmGroup;
201
+ }());
202
+ /* *
203
+ *
204
+ * Default Export
205
+ *
206
+ * */
207
+
208
+ return TreemapAlgorithmGroup;
209
+ });
210
+ _registerModule(_modules, 'Series/DrawPointComposition.js', [], function () {
211
+ /* *
212
+ *
213
+ * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
214
+ *
215
+ * */
216
+ /* *
217
+ *
218
+ * Composition
219
+ *
220
+ * */
221
+ var DrawPointComposition;
222
+ (function (DrawPointComposition) {
223
+ /* *
224
+ *
225
+ * Declarations
226
+ *
227
+ * */
228
+ /* *
229
+ *
230
+ * Constants
231
+ *
232
+ * */
233
+ var composedClasses = [];
234
+ /* *
235
+ *
236
+ * Functions
237
+ *
238
+ * */
239
+ /* eslint-disable valid-jsdoc */
240
+ /**
241
+ * @private
242
+ */
243
+ function compose(PointClass) {
244
+ if (composedClasses.indexOf(PointClass) === -1) {
245
+ composedClasses.push(PointClass);
246
+ var pointProto = PointClass.prototype;
247
+ pointProto.draw = draw;
248
+ if (!pointProto.shouldDraw) {
249
+ pointProto.shouldDraw = shouldDraw;
250
+ }
251
+ }
252
+ return PointClass;
253
+ }
254
+ DrawPointComposition.compose = compose;
255
+ /**
256
+ * Handles the drawing of a component.
257
+ * Can be used for any type of component that reserves the graphic property,
258
+ * and provides a shouldDraw on its context.
259
+ *
260
+ * @private
261
+ *
262
+ * @todo add type checking.
263
+ * @todo export this function to enable usage
264
+ */
265
+ function draw(params) {
266
+ var _this = this;
267
+ var animatableAttribs = params.animatableAttribs,
268
+ onComplete = params.onComplete,
269
+ css = params.css,
270
+ renderer = params.renderer;
271
+ var animation = (this.series && this.series.chart.hasRendered) ?
272
+ // Chart-level animation on updates
273
+ void 0 :
274
+ // Series-level animation on new points
275
+ (this.series &&
276
+ this.series.options.animation);
277
+ var graphic = this.graphic;
278
+ params.attribs = params.attribs || {};
279
+ // Assigning class in dot notation does go well in IE8
280
+ // eslint-disable-next-line dot-notation
281
+ params.attribs['class'] = this.getClassName();
282
+ if (this.shouldDraw()) {
283
+ if (!graphic) {
284
+ this.graphic = graphic =
285
+ renderer[params.shapeType](params.shapeArgs)
286
+ .add(params.group);
287
+ }
288
+ graphic
289
+ .css(css)
290
+ .attr(params.attribs)
291
+ .animate(animatableAttribs, params.isNew ? false : animation, onComplete);
292
+ }
293
+ else if (graphic) {
294
+ var destroy_1 = function () {
295
+ _this.graphic = graphic = (graphic && graphic.destroy());
296
+ if (typeof onComplete === 'function') {
297
+ onComplete();
298
+ }
299
+ };
300
+ // animate only runs complete callback if something was animated.
301
+ if (Object.keys(animatableAttribs).length) {
302
+ graphic.animate(animatableAttribs, void 0, function () {
303
+ destroy_1();
304
+ });
305
+ }
306
+ else {
307
+ destroy_1();
308
+ }
309
+ }
310
+ }
311
+ /**
312
+ * @private
313
+ */
314
+ function shouldDraw() {
315
+ return !this.isNull;
316
+ }
317
+ })(DrawPointComposition || (DrawPointComposition = {}));
318
+ /* *
319
+ *
320
+ * Default Export
321
+ *
322
+ * */
323
+
324
+ return DrawPointComposition;
325
+ });
326
+ _registerModule(_modules, 'Series/Treemap/TreemapPoint.js', [_modules['Series/DrawPointComposition.js'], _modules['Core/Series/SeriesRegistry.js'], _modules['Core/Utilities.js']], function (DrawPointComposition, SeriesRegistry, U) {
327
+ /* *
328
+ *
329
+ * (c) 2014-2021 Highsoft AS
330
+ *
331
+ * Authors: Jon Arild Nygard / Oystein Moseng
332
+ *
333
+ * License: www.highcharts.com/license
334
+ *
335
+ * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
336
+ *
337
+ * */
338
+ var __extends = (this && this.__extends) || (function () {
339
+ var extendStatics = function (d,
340
+ b) {
341
+ extendStatics = Object.setPrototypeOf ||
342
+ ({ __proto__: [] } instanceof Array && function (d,
343
+ b) { d.__proto__ = b; }) ||
344
+ function (d,
345
+ b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
346
+ return extendStatics(d, b);
347
+ };
348
+ return function (d, b) {
349
+ extendStatics(d, b);
350
+ function __() { this.constructor = d; }
351
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
352
+ };
353
+ })();
354
+ var Point = SeriesRegistry.series.prototype.pointClass,
355
+ _a = SeriesRegistry.seriesTypes,
356
+ PiePoint = _a.pie.prototype.pointClass,
357
+ ScatterPoint = _a.scatter.prototype.pointClass;
358
+ var extend = U.extend,
359
+ isNumber = U.isNumber,
360
+ pick = U.pick;
361
+ /* *
362
+ *
363
+ * Class
364
+ *
365
+ * */
366
+ var TreemapPoint = /** @class */ (function (_super) {
367
+ __extends(TreemapPoint, _super);
368
+ function TreemapPoint() {
369
+ /* *
370
+ *
371
+ * Properties
372
+ *
373
+ * */
374
+ var _this = _super !== null && _super.apply(this,
375
+ arguments) || this;
376
+ _this.name = void 0;
377
+ _this.node = void 0;
378
+ _this.options = void 0;
379
+ _this.series = void 0;
380
+ _this.value = void 0;
381
+ return _this;
382
+ /* eslint-enable valid-jsdoc */
383
+ }
384
+ /* *
385
+ *
386
+ * Functions
387
+ *
388
+ * */
389
+ /* eslint-disable valid-jsdoc */
390
+ TreemapPoint.prototype.getClassName = function () {
391
+ var className = Point.prototype.getClassName.call(this),
392
+ series = this.series,
393
+ options = series.options;
394
+ // Above the current level
395
+ if (this.node.level <= series.nodeMap[series.rootNode].level) {
396
+ className += ' highcharts-above-level';
397
+ }
398
+ else if (!this.node.isLeaf &&
399
+ !pick(options.interactByLeaf, !options.allowTraversingTree)) {
400
+ className += ' highcharts-internal-node-interactive';
401
+ }
402
+ else if (!this.node.isLeaf) {
403
+ className += ' highcharts-internal-node';
404
+ }
405
+ return className;
406
+ };
407
+ /**
408
+ * A tree point is valid if it has han id too, assume it may be a parent
409
+ * item.
410
+ *
411
+ * @private
412
+ * @function Highcharts.Point#isValid
413
+ */
414
+ TreemapPoint.prototype.isValid = function () {
415
+ return Boolean(this.id || isNumber(this.value));
416
+ };
417
+ TreemapPoint.prototype.setState = function (state) {
418
+ Point.prototype.setState.call(this, state);
419
+ // Graphic does not exist when point is not visible.
420
+ if (this.graphic) {
421
+ this.graphic.attr({
422
+ zIndex: state === 'hover' ? 1 : 0
423
+ });
424
+ }
425
+ };
426
+ TreemapPoint.prototype.shouldDraw = function () {
427
+ return isNumber(this.plotY) && this.y !== null;
428
+ };
429
+ return TreemapPoint;
430
+ }(ScatterPoint));
431
+ extend(TreemapPoint.prototype, {
432
+ setVisible: PiePoint.prototype.setVisible
433
+ });
434
+ DrawPointComposition.compose(TreemapPoint);
435
+ /* *
436
+ *
437
+ * Default Export
438
+ *
439
+ * */
440
+
441
+ return TreemapPoint;
442
+ });
443
+ _registerModule(_modules, 'Series/Treemap/TreemapUtilities.js', [_modules['Core/Utilities.js']], function (U) {
444
+ /* *
445
+ *
446
+ * (c) 2014-2021 Highsoft AS
447
+ *
448
+ * Authors: Jon Arild Nygard / Oystein Moseng
449
+ *
450
+ * License: www.highcharts.com/license
451
+ *
452
+ * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
453
+ *
454
+ * */
455
+ /* *
456
+ *
457
+ * Imports
458
+ *
459
+ * */
460
+ var objectEach = U.objectEach;
461
+ /* *
462
+ *
463
+ * Namespace
464
+ *
465
+ * */
466
+ var TreemapUtilities;
467
+ (function (TreemapUtilities) {
468
+ TreemapUtilities.AXIS_MAX = 100;
469
+ /* eslint-disable no-invalid-this, valid-jsdoc */
470
+ /**
471
+ * @todo Similar to eachObject, this function is likely redundant
472
+ */
473
+ function isBoolean(x) {
474
+ return typeof x === 'boolean';
475
+ }
476
+ TreemapUtilities.isBoolean = isBoolean;
477
+ /**
478
+ * @todo Similar to recursive, this function is likely redundant
479
+ */
480
+ function eachObject(list, func, context) {
481
+ context = context || this;
482
+ objectEach(list, function (val, key) {
483
+ func.call(context, val, key, list);
484
+ });
485
+ }
486
+ TreemapUtilities.eachObject = eachObject;
487
+ /**
488
+ * @todo find correct name for this function.
489
+ * @todo Similar to reduce, this function is likely redundant
490
+ */
491
+ function recursive(item, func, context) {
492
+ if (context === void 0) { context = this; }
493
+ var next;
494
+ next = func.call(context, item);
495
+ if (next !== false) {
496
+ recursive(next, func, context);
497
+ }
498
+ }
499
+ TreemapUtilities.recursive = recursive;
500
+ })(TreemapUtilities || (TreemapUtilities = {}));
501
+ /* *
502
+ *
503
+ * Default Export
504
+ *
505
+ * */
506
+
507
+ return TreemapUtilities;
508
+ });
509
+ _registerModule(_modules, 'Series/TreeUtilities.js', [_modules['Core/Color/Color.js'], _modules['Core/Utilities.js']], function (Color, U) {
510
+ /* *
511
+ *
512
+ * (c) 2014-2021 Highsoft AS
513
+ *
514
+ * Authors: Jon Arild Nygard / Oystein Moseng
515
+ *
516
+ * License: www.highcharts.com/license
517
+ *
518
+ * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
519
+ *
520
+ * */
521
+ var extend = U.extend,
522
+ isArray = U.isArray,
523
+ isNumber = U.isNumber,
524
+ isObject = U.isObject,
525
+ merge = U.merge,
526
+ pick = U.pick;
527
+ /* *
528
+ *
529
+ * Functions
530
+ *
531
+ * */
532
+ /* eslint-disable valid-jsdoc */
533
+ /**
534
+ * @private
535
+ */
536
+ function getColor(node, options) {
537
+ var index = options.index,
538
+ mapOptionsToLevel = options.mapOptionsToLevel,
539
+ parentColor = options.parentColor,
540
+ parentColorIndex = options.parentColorIndex,
541
+ series = options.series,
542
+ colors = options.colors,
543
+ siblings = options.siblings,
544
+ points = series.points,
545
+ chartOptionsChart = series.chart.options.chart;
546
+ var getColorByPoint,
547
+ point,
548
+ level,
549
+ colorByPoint,
550
+ colorIndexByPoint,
551
+ color,
552
+ colorIndex;
553
+ /**
554
+ * @private
555
+ */
556
+ var variateColor = function (color) {
557
+ var colorVariation = level && level.colorVariation;
558
+ if (colorVariation &&
559
+ colorVariation.key === 'brightness' &&
560
+ index &&
561
+ siblings) {
562
+ return Color.parse(color).brighten(colorVariation.to * (index / siblings)).get();
563
+ }
564
+ return color;
565
+ };
566
+ if (node) {
567
+ point = points[node.i];
568
+ level = mapOptionsToLevel[node.level] || {};
569
+ getColorByPoint = point && level.colorByPoint;
570
+ if (getColorByPoint) {
571
+ colorIndexByPoint = point.index % (colors ?
572
+ colors.length :
573
+ chartOptionsChart.colorCount);
574
+ colorByPoint = colors && colors[colorIndexByPoint];
575
+ }
576
+ // Select either point color, level color or inherited color.
577
+ if (!series.chart.styledMode) {
578
+ color = pick(point && point.options.color, level && level.color, colorByPoint, parentColor && variateColor(parentColor), series.color);
579
+ }
580
+ colorIndex = pick(point && point.options.colorIndex, level && level.colorIndex, colorIndexByPoint, parentColorIndex, options.colorIndex);
581
+ }
582
+ return {
583
+ color: color,
584
+ colorIndex: colorIndex
585
+ };
586
+ }
587
+ /**
588
+ * Creates a map from level number to its given options.
589
+ *
590
+ * @private
591
+ *
592
+ * @param {Object} params
593
+ * Object containing parameters.
594
+ * - `defaults` Object containing default options. The default options are
595
+ * merged with the userOptions to get the final options for a specific
596
+ * level.
597
+ * - `from` The lowest level number.
598
+ * - `levels` User options from series.levels.
599
+ * - `to` The highest level number.
600
+ *
601
+ * @return {Highcharts.Dictionary<object>|null}
602
+ * Returns a map from level number to its given options.
603
+ */
604
+ function getLevelOptions(params) {
605
+ var result = null,
606
+ defaults,
607
+ converted,
608
+ i,
609
+ from,
610
+ to,
611
+ levels;
612
+ if (isObject(params)) {
613
+ result = {};
614
+ from = isNumber(params.from) ? params.from : 1;
615
+ levels = params.levels;
616
+ converted = {};
617
+ defaults = isObject(params.defaults) ? params.defaults : {};
618
+ if (isArray(levels)) {
619
+ converted = levels.reduce(function (obj, item) {
620
+ var level,
621
+ levelIsConstant,
622
+ options;
623
+ if (isObject(item) && isNumber(item.level)) {
624
+ options = merge({}, item);
625
+ levelIsConstant = pick(options.levelIsConstant, defaults.levelIsConstant);
626
+ // Delete redundant properties.
627
+ delete options.levelIsConstant;
628
+ delete options.level;
629
+ // Calculate which level these options apply to.
630
+ level = item.level + (levelIsConstant ? 0 : from - 1);
631
+ if (isObject(obj[level])) {
632
+ merge(true, obj[level], options); // #16329
633
+ }
634
+ else {
635
+ obj[level] = options;
636
+ }
637
+ }
638
+ return obj;
639
+ }, {});
640
+ }
641
+ to = isNumber(params.to) ? params.to : 1;
642
+ for (i = 0; i <= to; i++) {
643
+ result[i] = merge({}, defaults, isObject(converted[i]) ? converted[i] : {});
644
+ }
645
+ }
646
+ return result;
647
+ }
648
+ /**
649
+ * @private
650
+ * @todo Combine buildTree and buildNode with setTreeValues
651
+ * @todo Remove logic from Treemap and make it utilize this mixin.
652
+ */
653
+ function setTreeValues(tree, options) {
654
+ var before = options.before,
655
+ idRoot = options.idRoot,
656
+ mapIdToNode = options.mapIdToNode,
657
+ nodeRoot = mapIdToNode[idRoot],
658
+ levelIsConstant = (options.levelIsConstant !== false),
659
+ points = options.points,
660
+ point = points[tree.i],
661
+ optionsPoint = point && point.options || {},
662
+ children = [];
663
+ var childrenTotal = 0;
664
+ tree.levelDynamic = tree.level - (levelIsConstant ? 0 : nodeRoot.level);
665
+ tree.name = pick(point && point.name, '');
666
+ tree.visible = (idRoot === tree.id ||
667
+ options.visible === true);
668
+ if (typeof before === 'function') {
669
+ tree = before(tree, options);
670
+ }
671
+ // First give the children some values
672
+ tree.children.forEach(function (child, i) {
673
+ var newOptions = extend({},
674
+ options);
675
+ extend(newOptions, {
676
+ index: i,
677
+ siblings: tree.children.length,
678
+ visible: tree.visible
679
+ });
680
+ child = setTreeValues(child, newOptions);
681
+ children.push(child);
682
+ if (child.visible) {
683
+ childrenTotal += child.val;
684
+ }
685
+ });
686
+ // Set the values
687
+ var value = pick(optionsPoint.value,
688
+ childrenTotal);
689
+ tree.visible = value >= 0 && (childrenTotal > 0 || tree.visible);
690
+ tree.children = children;
691
+ tree.childrenTotal = childrenTotal;
692
+ tree.isLeaf = tree.visible && !childrenTotal;
693
+ tree.val = value;
694
+ return tree;
695
+ }
696
+ /**
697
+ * Update the rootId property on the series. Also makes sure that it is
698
+ * accessible to exporting.
699
+ *
700
+ * @private
701
+ *
702
+ * @param {Object} series
703
+ * The series to operate on.
704
+ *
705
+ * @return {string}
706
+ * Returns the resulting rootId after update.
707
+ */
708
+ function updateRootId(series) {
709
+ var rootId,
710
+ options;
711
+ if (isObject(series)) {
712
+ // Get the series options.
713
+ options = isObject(series.options) ? series.options : {};
714
+ // Calculate the rootId.
715
+ rootId = pick(series.rootNode, options.rootId, '');
716
+ // Set rootId on series.userOptions to pick it up in exporting.
717
+ if (isObject(series.userOptions)) {
718
+ series.userOptions.rootId = rootId;
719
+ }
720
+ // Set rootId on series to pick it up on next update.
721
+ series.rootNode = rootId;
722
+ }
723
+ return rootId;
724
+ }
725
+ /* *
726
+ *
727
+ * Default Export
728
+ *
729
+ * */
730
+ var TreeUtilities = {
731
+ getColor: getColor,
732
+ getLevelOptions: getLevelOptions,
733
+ setTreeValues: setTreeValues,
734
+ updateRootId: updateRootId
735
+ };
736
+
737
+ return TreeUtilities;
738
+ });
739
+ _registerModule(_modules, 'Series/Treemap/TreemapComposition.js', [_modules['Core/Series/SeriesRegistry.js'], _modules['Series/Treemap/TreemapUtilities.js'], _modules['Core/Utilities.js']], function (SeriesRegistry, TreemapUtilities, U) {
740
+ /* *
741
+ *
742
+ * (c) 2014-2021 Highsoft AS
743
+ *
744
+ * Authors: Jon Arild Nygard / Oystein Moseng
745
+ *
746
+ * License: www.highcharts.com/license
747
+ *
748
+ * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
749
+ *
750
+ * */
751
+ /* *
752
+ *
753
+ * Imports
754
+ *
755
+ * */
756
+ var Series = SeriesRegistry.series;
757
+ var addEvent = U.addEvent,
758
+ extend = U.extend;
759
+ /* *
760
+ *
761
+ * Composition
762
+ *
763
+ * */
764
+ var treemapAxisDefaultValues = false;
765
+ addEvent(Series, 'afterBindAxes', function () {
766
+ // eslint-disable-next-line no-invalid-this
767
+ var series = this,
768
+ xAxis = series.xAxis,
769
+ yAxis = series.yAxis,
770
+ treeAxis;
771
+ if (xAxis && yAxis) {
772
+ if (series.is('treemap')) {
773
+ treeAxis = {
774
+ endOnTick: false,
775
+ gridLineWidth: 0,
776
+ lineWidth: 0,
777
+ min: 0,
778
+ // dataMin: 0,
779
+ minPadding: 0,
780
+ max: TreemapUtilities.AXIS_MAX,
781
+ // dataMax: TreemapUtilities.AXIS_MAX,
782
+ maxPadding: 0,
783
+ startOnTick: false,
784
+ title: void 0,
785
+ tickPositions: []
786
+ };
787
+ extend(yAxis.options, treeAxis);
788
+ extend(xAxis.options, treeAxis);
789
+ treemapAxisDefaultValues = true;
790
+ }
791
+ else if (treemapAxisDefaultValues) {
792
+ yAxis.setOptions(yAxis.userOptions);
793
+ xAxis.setOptions(xAxis.userOptions);
794
+ treemapAxisDefaultValues = false;
795
+ }
796
+ }
797
+ });
798
+
799
+ });
800
+ _registerModule(_modules, 'Series/Treemap/TreemapSeries.js', [_modules['Core/Color/Color.js'], _modules['Series/ColorMapMixin.js'], _modules['Core/Globals.js'], _modules['Core/Legend/LegendSymbol.js'], _modules['Core/Series/SeriesRegistry.js'], _modules['Series/Treemap/TreemapAlgorithmGroup.js'], _modules['Series/Treemap/TreemapPoint.js'], _modules['Series/Treemap/TreemapUtilities.js'], _modules['Series/TreeUtilities.js'], _modules['Core/Utilities.js']], function (Color, ColorMapMixin, H, LegendSymbol, SeriesRegistry, TreemapAlgorithmGroup, TreemapPoint, TreemapUtilities, TU, U) {
801
+ /* *
802
+ *
803
+ * (c) 2014-2021 Highsoft AS
804
+ *
805
+ * Authors: Jon Arild Nygard / Oystein Moseng
806
+ *
807
+ * License: www.highcharts.com/license
808
+ *
809
+ * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
810
+ *
811
+ * */
812
+ var __extends = (this && this.__extends) || (function () {
813
+ var extendStatics = function (d,
814
+ b) {
815
+ extendStatics = Object.setPrototypeOf ||
816
+ ({ __proto__: [] } instanceof Array && function (d,
817
+ b) { d.__proto__ = b; }) ||
818
+ function (d,
819
+ b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
820
+ return extendStatics(d, b);
821
+ };
822
+ return function (d, b) {
823
+ extendStatics(d, b);
824
+ function __() { this.constructor = d; }
825
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
826
+ };
827
+ })();
828
+ var color = Color.parse;
829
+ var noop = H.noop;
830
+ var Series = SeriesRegistry.series,
831
+ _a = SeriesRegistry.seriesTypes,
832
+ ColumnSeries = _a.column,
833
+ HeatmapSeries = _a.heatmap,
834
+ ScatterSeries = _a.scatter;
835
+ var getColor = TU.getColor,
836
+ getLevelOptions = TU.getLevelOptions,
837
+ updateRootId = TU.updateRootId;
838
+ var addEvent = U.addEvent,
839
+ correctFloat = U.correctFloat,
840
+ defined = U.defined,
841
+ error = U.error,
842
+ extend = U.extend,
843
+ fireEvent = U.fireEvent,
844
+ isArray = U.isArray,
845
+ isObject = U.isObject,
846
+ isString = U.isString,
847
+ merge = U.merge,
848
+ pick = U.pick,
849
+ stableSort = U.stableSort;
850
+ /* *
851
+ *
852
+ * Class
853
+ *
854
+ * */
855
+ /**
856
+ * @private
857
+ * @class
858
+ * @name Highcharts.seriesTypes.treemap
859
+ *
860
+ * @augments Highcharts.Series
861
+ */
862
+ var TreemapSeries = /** @class */ (function (_super) {
863
+ __extends(TreemapSeries, _super);
864
+ function TreemapSeries() {
865
+ /* *
866
+ *
867
+ * Static Properties
868
+ *
869
+ * */
870
+ var _this = _super !== null && _super.apply(this,
871
+ arguments) || this;
872
+ /* *
873
+ *
874
+ * Properties
875
+ *
876
+ * */
877
+ _this.axisRatio = void 0;
878
+ _this.data = void 0;
879
+ _this.mapOptionsToLevel = void 0;
880
+ _this.nodeMap = void 0;
881
+ _this.options = void 0;
882
+ _this.points = void 0;
883
+ _this.rootNode = void 0;
884
+ _this.tree = void 0;
885
+ return _this;
886
+ /* eslint-enable valid-jsdoc */
887
+ }
888
+ /* *
889
+ *
890
+ * Function
891
+ *
892
+ * */
893
+ /* eslint-disable valid-jsdoc */
894
+ TreemapSeries.prototype.algorithmCalcPoints = function (directionChange, last, group, childrenArea) {
895
+ var pX,
896
+ pY,
897
+ pW,
898
+ pH,
899
+ gW = group.lW,
900
+ gH = group.lH,
901
+ plot = group.plot,
902
+ keep,
903
+ i = 0,
904
+ end = group.elArr.length - 1;
905
+ if (last) {
906
+ gW = group.nW;
907
+ gH = group.nH;
908
+ }
909
+ else {
910
+ keep = group.elArr[group.elArr.length - 1];
911
+ }
912
+ group.elArr.forEach(function (p) {
913
+ if (last || (i < end)) {
914
+ if (group.direction === 0) {
915
+ pX = plot.x;
916
+ pY = plot.y;
917
+ pW = gW;
918
+ pH = p / pW;
919
+ }
920
+ else {
921
+ pX = plot.x;
922
+ pY = plot.y;
923
+ pH = gH;
924
+ pW = p / pH;
925
+ }
926
+ childrenArea.push({
927
+ x: pX,
928
+ y: pY,
929
+ width: pW,
930
+ height: correctFloat(pH)
931
+ });
932
+ if (group.direction === 0) {
933
+ plot.y = plot.y + pH;
934
+ }
935
+ else {
936
+ plot.x = plot.x + pW;
937
+ }
938
+ }
939
+ i = i + 1;
940
+ });
941
+ // Reset variables
942
+ group.reset();
943
+ if (group.direction === 0) {
944
+ group.width = group.width - gW;
945
+ }
946
+ else {
947
+ group.height = group.height - gH;
948
+ }
949
+ plot.y = plot.parent.y + (plot.parent.height - group.height);
950
+ plot.x = plot.parent.x + (plot.parent.width - group.width);
951
+ if (directionChange) {
952
+ group.direction = 1 - group.direction;
953
+ }
954
+ // If not last, then add uncalculated element
955
+ if (!last) {
956
+ group.addElement(keep);
957
+ }
958
+ };
959
+ TreemapSeries.prototype.algorithmFill = function (directionChange, parent, children) {
960
+ var childrenArea = [],
961
+ pTot,
962
+ direction = parent.direction,
963
+ x = parent.x,
964
+ y = parent.y,
965
+ width = parent.width,
966
+ height = parent.height,
967
+ pX,
968
+ pY,
969
+ pW,
970
+ pH;
971
+ children.forEach(function (child) {
972
+ pTot =
973
+ (parent.width * parent.height) * (child.val / parent.val);
974
+ pX = x;
975
+ pY = y;
976
+ if (direction === 0) {
977
+ pH = height;
978
+ pW = pTot / pH;
979
+ width = width - pW;
980
+ x = x + pW;
981
+ }
982
+ else {
983
+ pW = width;
984
+ pH = pTot / pW;
985
+ height = height - pH;
986
+ y = y + pH;
987
+ }
988
+ childrenArea.push({
989
+ x: pX,
990
+ y: pY,
991
+ width: pW,
992
+ height: pH
993
+ });
994
+ if (directionChange) {
995
+ direction = 1 - direction;
996
+ }
997
+ });
998
+ return childrenArea;
999
+ };
1000
+ TreemapSeries.prototype.algorithmLowAspectRatio = function (directionChange, parent, children) {
1001
+ var childrenArea = [],
1002
+ series = this,
1003
+ pTot,
1004
+ plot = {
1005
+ x: parent.x,
1006
+ y: parent.y,
1007
+ parent: parent
1008
+ },
1009
+ direction = parent.direction,
1010
+ i = 0,
1011
+ end = children.length - 1,
1012
+ group = new TreemapAlgorithmGroup(parent.height,
1013
+ parent.width,
1014
+ direction,
1015
+ plot);
1016
+ // Loop through and calculate all areas
1017
+ children.forEach(function (child) {
1018
+ pTot =
1019
+ (parent.width * parent.height) * (child.val / parent.val);
1020
+ group.addElement(pTot);
1021
+ if (group.lP.nR > group.lP.lR) {
1022
+ series.algorithmCalcPoints(directionChange, false, group, childrenArea, plot // @todo no supported
1023
+ );
1024
+ }
1025
+ // If last child, then calculate all remaining areas
1026
+ if (i === end) {
1027
+ series.algorithmCalcPoints(directionChange, true, group, childrenArea, plot // @todo not supported
1028
+ );
1029
+ }
1030
+ i = i + 1;
1031
+ });
1032
+ return childrenArea;
1033
+ };
1034
+ /**
1035
+ * Over the alignment method by setting z index.
1036
+ * @private
1037
+ */
1038
+ TreemapSeries.prototype.alignDataLabel = function (point, dataLabel, labelOptions) {
1039
+ var style = labelOptions.style;
1040
+ // #8160: Prevent the label from exceeding the point's
1041
+ // boundaries in treemaps by applying ellipsis overflow.
1042
+ // The issue was happening when datalabel's text contained a
1043
+ // long sequence of characters without a whitespace.
1044
+ if (style &&
1045
+ !defined(style.textOverflow) &&
1046
+ dataLabel.text &&
1047
+ dataLabel.getBBox().width > dataLabel.text.textWidth) {
1048
+ dataLabel.css({
1049
+ textOverflow: 'ellipsis',
1050
+ // unit (px) is required when useHTML is true
1051
+ width: style.width += 'px'
1052
+ });
1053
+ }
1054
+ ColumnSeries.prototype.alignDataLabel.apply(this, arguments);
1055
+ if (point.dataLabel) {
1056
+ // point.node.zIndex could be undefined (#6956)
1057
+ point.dataLabel.attr({ zIndex: (point.node.zIndex || 0) + 1 });
1058
+ }
1059
+ };
1060
+ TreemapSeries.prototype.buildNode = function (id, i, level, list, parent) {
1061
+ var series = this,
1062
+ children = [],
1063
+ point = series.points[i],
1064
+ height = 0,
1065
+ node,
1066
+ child;
1067
+ // Actions
1068
+ ((list[id] || [])).forEach(function (i) {
1069
+ child = series.buildNode(series.points[i].id, i, (level + 1), list, id);
1070
+ height = Math.max(child.height + 1, height);
1071
+ children.push(child);
1072
+ });
1073
+ node = {
1074
+ id: id,
1075
+ i: i,
1076
+ children: children,
1077
+ height: height,
1078
+ level: level,
1079
+ parent: parent,
1080
+ visible: false // @todo move this to better location
1081
+ };
1082
+ series.nodeMap[node.id] = node;
1083
+ if (point) {
1084
+ point.node = node;
1085
+ }
1086
+ return node;
1087
+ };
1088
+ /**
1089
+ * Recursive function which calculates the area for all children of a
1090
+ * node.
1091
+ *
1092
+ * @private
1093
+ * @function Highcharts.Series#calculateChildrenAreas
1094
+ *
1095
+ * @param {Object} node
1096
+ * The node which is parent to the children.
1097
+ *
1098
+ * @param {Object} area
1099
+ * The rectangular area of the parent.
1100
+ */
1101
+ TreemapSeries.prototype.calculateChildrenAreas = function (parent, area) {
1102
+ var series = this,
1103
+ options = series.options,
1104
+ mapOptionsToLevel = series.mapOptionsToLevel,
1105
+ level = mapOptionsToLevel[parent.level + 1],
1106
+ algorithm = pick((series[(level && level.layoutAlgorithm)] &&
1107
+ level.layoutAlgorithm),
1108
+ options.layoutAlgorithm),
1109
+ alternate = options.alternateStartingDirection,
1110
+ childrenValues = [],
1111
+ children;
1112
+ // Collect all children which should be included
1113
+ children = parent.children.filter(function (n) {
1114
+ return !n.ignore;
1115
+ });
1116
+ if (level && level.layoutStartingDirection) {
1117
+ area.direction = level.layoutStartingDirection === 'vertical' ?
1118
+ 0 :
1119
+ 1;
1120
+ }
1121
+ childrenValues = series[algorithm](area, children);
1122
+ children.forEach(function (child, index) {
1123
+ var values = childrenValues[index];
1124
+ child.values = merge(values, {
1125
+ val: child.childrenTotal,
1126
+ direction: (alternate ? 1 - area.direction : area.direction)
1127
+ });
1128
+ child.pointValues = merge(values, {
1129
+ x: (values.x / series.axisRatio),
1130
+ // Flip y-values to avoid visual regression with csvCoord in
1131
+ // Axis.translate at setPointValues. #12488
1132
+ y: TreemapUtilities.AXIS_MAX - values.y - values.height,
1133
+ width: (values.width / series.axisRatio)
1134
+ });
1135
+ // If node has children, then call method recursively
1136
+ if (child.children.length) {
1137
+ series.calculateChildrenAreas(child, child.values);
1138
+ }
1139
+ });
1140
+ };
1141
+ /**
1142
+ * Extend drawDataLabels with logic to handle custom options related to
1143
+ * the treemap series:
1144
+ *
1145
+ * - Points which is not a leaf node, has dataLabels disabled by
1146
+ * default.
1147
+ *
1148
+ * - Options set on series.levels is merged in.
1149
+ *
1150
+ * - Width of the dataLabel is set to match the width of the point
1151
+ * shape.
1152
+ *
1153
+ * @private
1154
+ */
1155
+ TreemapSeries.prototype.drawDataLabels = function () {
1156
+ var series = this,
1157
+ mapOptionsToLevel = series.mapOptionsToLevel,
1158
+ points = series.points.filter(function (n) {
1159
+ return n.node.visible;
1160
+ }), options, level;
1161
+ points.forEach(function (point) {
1162
+ level = mapOptionsToLevel[point.node.level];
1163
+ // Set options to new object to avoid problems with scope
1164
+ options = { style: {} };
1165
+ // If not a leaf, then label should be disabled as default
1166
+ if (!point.node.isLeaf) {
1167
+ options.enabled = false;
1168
+ }
1169
+ // If options for level exists, include them as well
1170
+ if (level && level.dataLabels) {
1171
+ options = merge(options, level.dataLabels);
1172
+ series._hasPointLabels = true;
1173
+ }
1174
+ // Set dataLabel width to the width of the point shape.
1175
+ if (point.shapeArgs) {
1176
+ options.style.width = point.shapeArgs.width;
1177
+ if (point.dataLabel) {
1178
+ point.dataLabel.css({
1179
+ width: point.shapeArgs.width + 'px'
1180
+ });
1181
+ }
1182
+ }
1183
+ // Merge custom options with point options
1184
+ point.dlOptions = merge(options, point.options.dataLabels);
1185
+ });
1186
+ Series.prototype.drawDataLabels.call(this);
1187
+ };
1188
+ /**
1189
+ * Override drawPoints
1190
+ * @private
1191
+ */
1192
+ TreemapSeries.prototype.drawPoints = function () {
1193
+ var series = this,
1194
+ chart = series.chart,
1195
+ renderer = chart.renderer,
1196
+ points = series.points,
1197
+ styledMode = chart.styledMode,
1198
+ options = series.options,
1199
+ shadow = styledMode ? {} : options.shadow,
1200
+ borderRadius = options.borderRadius,
1201
+ withinAnimationLimit = chart.pointCount < options.animationLimit,
1202
+ allowTraversingTree = options.allowTraversingTree;
1203
+ points.forEach(function (point) {
1204
+ var levelDynamic = point.node.levelDynamic,
1205
+ animatableAttribs = {},
1206
+ attribs = {},
1207
+ css = {},
1208
+ groupKey = 'level-group-' + point.node.level,
1209
+ hasGraphic = !!point.graphic,
1210
+ shouldAnimate = withinAnimationLimit && hasGraphic,
1211
+ shapeArgs = point.shapeArgs;
1212
+ // Don't bother with calculate styling if the point is not drawn
1213
+ if (point.shouldDraw()) {
1214
+ point.isInside = true;
1215
+ if (borderRadius) {
1216
+ attribs.r = borderRadius;
1217
+ }
1218
+ merge(true, // Extend object
1219
+ // Which object to extend
1220
+ shouldAnimate ? animatableAttribs : attribs,
1221
+ // Add shapeArgs to animate/attr if graphic exists
1222
+ hasGraphic ? shapeArgs : {},
1223
+ // Add style attribs if !styleMode
1224
+ styledMode ?
1225
+ {} :
1226
+ series.pointAttribs(point, point.selected ? 'select' : void 0));
1227
+ // In styled mode apply point.color. Use CSS, otherwise the
1228
+ // fill used in the style sheet will take precedence over
1229
+ // the fill attribute.
1230
+ if (series.colorAttribs && styledMode) {
1231
+ // Heatmap is loaded
1232
+ extend(css, series.colorAttribs(point));
1233
+ }
1234
+ if (!series[groupKey]) {
1235
+ series[groupKey] = renderer.g(groupKey)
1236
+ .attr({
1237
+ // @todo Set the zIndex based upon the number of
1238
+ // levels, instead of using 1000
1239
+ zIndex: 1000 - (levelDynamic || 0)
1240
+ })
1241
+ .add(series.group);
1242
+ series[groupKey].survive = true;
1243
+ }
1244
+ }
1245
+ // Draw the point
1246
+ point.draw({
1247
+ animatableAttribs: animatableAttribs,
1248
+ attribs: attribs,
1249
+ css: css,
1250
+ group: series[groupKey],
1251
+ renderer: renderer,
1252
+ shadow: shadow,
1253
+ shapeArgs: shapeArgs,
1254
+ shapeType: 'rect'
1255
+ });
1256
+ // If setRootNode is allowed, set a point cursor on clickables &
1257
+ // add drillId to point
1258
+ if (allowTraversingTree && point.graphic) {
1259
+ point.drillId = options.interactByLeaf ?
1260
+ series.drillToByLeaf(point) :
1261
+ series.drillToByGroup(point);
1262
+ }
1263
+ });
1264
+ };
1265
+ /**
1266
+ * Finds the drill id for a parent node. Returns false if point should
1267
+ * not have a click event.
1268
+ * @private
1269
+ */
1270
+ TreemapSeries.prototype.drillToByGroup = function (point) {
1271
+ var series = this,
1272
+ drillId = false;
1273
+ if ((point.node.level - series.nodeMap[series.rootNode].level) ===
1274
+ 1 &&
1275
+ !point.node.isLeaf) {
1276
+ drillId = point.id;
1277
+ }
1278
+ return drillId;
1279
+ };
1280
+ /**
1281
+ * Finds the drill id for a leaf node. Returns false if point should not
1282
+ * have a click event
1283
+ * @private
1284
+ */
1285
+ TreemapSeries.prototype.drillToByLeaf = function (point) {
1286
+ var series = this,
1287
+ drillId = false,
1288
+ nodeParent;
1289
+ if ((point.node.parent !== series.rootNode) &&
1290
+ point.node.isLeaf) {
1291
+ nodeParent = point.node;
1292
+ while (!drillId) {
1293
+ nodeParent = series.nodeMap[nodeParent.parent];
1294
+ if (nodeParent.parent === series.rootNode) {
1295
+ drillId = nodeParent.id;
1296
+ }
1297
+ }
1298
+ }
1299
+ return drillId;
1300
+ };
1301
+ /**
1302
+ * @todo remove this function at a suitable version.
1303
+ * @private
1304
+ */
1305
+ TreemapSeries.prototype.drillToNode = function (id, redraw) {
1306
+ error(32, false, void 0, { 'treemap.drillToNode': 'use treemap.setRootNode' });
1307
+ this.setRootNode(id, redraw);
1308
+ };
1309
+ TreemapSeries.prototype.drillUp = function () {
1310
+ var series = this,
1311
+ node = series.nodeMap[series.rootNode];
1312
+ if (node && isString(node.parent)) {
1313
+ series.setRootNode(node.parent, true, { trigger: 'traverseUpButton' });
1314
+ }
1315
+ };
1316
+ TreemapSeries.prototype.getExtremes = function () {
1317
+ // Get the extremes from the value data
1318
+ var _a = Series.prototype.getExtremes
1319
+ .call(this,
1320
+ this.colorValueData),
1321
+ dataMin = _a.dataMin,
1322
+ dataMax = _a.dataMax;
1323
+ this.valueMin = dataMin;
1324
+ this.valueMax = dataMax;
1325
+ // Get the extremes from the y data
1326
+ return Series.prototype.getExtremes.call(this);
1327
+ };
1328
+ /**
1329
+ * Creates an object map from parent id to childrens index.
1330
+ *
1331
+ * @private
1332
+ * @function Highcharts.Series#getListOfParents
1333
+ *
1334
+ * @param {Highcharts.SeriesTreemapDataOptions} [data]
1335
+ * List of points set in options.
1336
+ *
1337
+ * @param {Array<string>} [existingIds]
1338
+ * List of all point ids.
1339
+ *
1340
+ * @return {Object}
1341
+ * Map from parent id to children index in data.
1342
+ */
1343
+ TreemapSeries.prototype.getListOfParents = function (data, existingIds) {
1344
+ var arr = isArray(data) ? data : [],
1345
+ ids = isArray(existingIds) ? existingIds : [],
1346
+ listOfParents = arr.reduce(function (prev,
1347
+ curr,
1348
+ i) {
1349
+ var parent = pick(curr.parent, '');
1350
+ if (typeof prev[parent] === 'undefined') {
1351
+ prev[parent] = [];
1352
+ }
1353
+ prev[parent].push(i);
1354
+ return prev;
1355
+ }, {
1356
+ '': [] // Root of tree
1357
+ });
1358
+ // If parent does not exist, hoist parent to root of tree.
1359
+ TreemapUtilities.eachObject(listOfParents, function (children, parent, list) {
1360
+ if ((parent !== '') && (ids.indexOf(parent) === -1)) {
1361
+ children.forEach(function (child) {
1362
+ list[''].push(child);
1363
+ });
1364
+ delete list[parent];
1365
+ }
1366
+ });
1367
+ return listOfParents;
1368
+ };
1369
+ /**
1370
+ * Creates a tree structured object from the series points.
1371
+ * @private
1372
+ */
1373
+ TreemapSeries.prototype.getTree = function () {
1374
+ var series = this,
1375
+ allIds = this.data.map(function (d) {
1376
+ return d.id;
1377
+ }), parentList = series.getListOfParents(this.data, allIds);
1378
+ series.nodeMap = {};
1379
+ return series.buildNode('', -1, 0, parentList);
1380
+ };
1381
+ /**
1382
+ * Define hasData function for non-cartesian series. Returns true if the
1383
+ * series has points at all.
1384
+ * @private
1385
+ */
1386
+ TreemapSeries.prototype.hasData = function () {
1387
+ return !!this.processedXData.length; // != 0
1388
+ };
1389
+ TreemapSeries.prototype.init = function (chart, options) {
1390
+ var series = this,
1391
+ setOptionsEvent;
1392
+ // If color series logic is loaded, add some properties
1393
+ this.colorAttribs = ColorMapMixin.SeriesMixin.colorAttribs;
1394
+ setOptionsEvent = addEvent(series, 'setOptions', function (event) {
1395
+ var options = event.userOptions;
1396
+ if (defined(options.allowDrillToNode) &&
1397
+ !defined(options.allowTraversingTree)) {
1398
+ options.allowTraversingTree = options.allowDrillToNode;
1399
+ delete options.allowDrillToNode;
1400
+ }
1401
+ if (defined(options.drillUpButton) &&
1402
+ !defined(options.traverseUpButton)) {
1403
+ options.traverseUpButton = options.drillUpButton;
1404
+ delete options.drillUpButton;
1405
+ }
1406
+ });
1407
+ Series.prototype.init.call(series, chart, options);
1408
+ // Treemap's opacity is a different option from other series
1409
+ delete series.opacity;
1410
+ // Handle deprecated options.
1411
+ series.eventsToUnbind.push(setOptionsEvent);
1412
+ if (series.options.allowTraversingTree) {
1413
+ series.eventsToUnbind.push(addEvent(series, 'click', series.onClickDrillToNode));
1414
+ }
1415
+ };
1416
+ /**
1417
+ * Add drilling on the suitable points.
1418
+ * @private
1419
+ */
1420
+ TreemapSeries.prototype.onClickDrillToNode = function (event) {
1421
+ var series = this,
1422
+ point = event.point,
1423
+ drillId = point && point.drillId;
1424
+ // If a drill id is returned, add click event and cursor.
1425
+ if (isString(drillId)) {
1426
+ point.setState(''); // Remove hover
1427
+ series.setRootNode(drillId, true, { trigger: 'click' });
1428
+ }
1429
+ };
1430
+ /**
1431
+ * Get presentational attributes
1432
+ * @private
1433
+ */
1434
+ TreemapSeries.prototype.pointAttribs = function (point, state) {
1435
+ var series = this,
1436
+ mapOptionsToLevel = (isObject(series.mapOptionsToLevel) ?
1437
+ series.mapOptionsToLevel :
1438
+ {}),
1439
+ level = point && mapOptionsToLevel[point.node.level] || {},
1440
+ options = this.options,
1441
+ attr,
1442
+ stateOptions = (state && options.states[state]) || {},
1443
+ className = (point && point.getClassName()) || '',
1444
+ opacity;
1445
+ // Set attributes by precedence. Point trumps level trumps series.
1446
+ // Stroke width uses pick because it can be 0.
1447
+ attr = {
1448
+ 'stroke': (point && point.borderColor) ||
1449
+ level.borderColor ||
1450
+ stateOptions.borderColor ||
1451
+ options.borderColor,
1452
+ 'stroke-width': pick(point && point.borderWidth, level.borderWidth, stateOptions.borderWidth, options.borderWidth),
1453
+ 'dashstyle': (point && point.borderDashStyle) ||
1454
+ level.borderDashStyle ||
1455
+ stateOptions.borderDashStyle ||
1456
+ options.borderDashStyle,
1457
+ 'fill': (point && point.color) || this.color
1458
+ };
1459
+ // Hide levels above the current view
1460
+ if (className.indexOf('highcharts-above-level') !== -1) {
1461
+ attr.fill = 'none';
1462
+ attr['stroke-width'] = 0;
1463
+ // Nodes with children that accept interaction
1464
+ }
1465
+ else if (className.indexOf('highcharts-internal-node-interactive') !== -1) {
1466
+ opacity = pick(stateOptions.opacity, options.opacity);
1467
+ attr.fill = color(attr.fill).setOpacity(opacity).get();
1468
+ attr.cursor = 'pointer';
1469
+ // Hide nodes that have children
1470
+ }
1471
+ else if (className.indexOf('highcharts-internal-node') !== -1) {
1472
+ attr.fill = 'none';
1473
+ }
1474
+ else if (state) {
1475
+ // Brighten and hoist the hover nodes
1476
+ attr.fill = color(attr.fill)
1477
+ .brighten(stateOptions.brightness)
1478
+ .get();
1479
+ }
1480
+ return attr;
1481
+ };
1482
+ TreemapSeries.prototype.renderTraverseUpButton = function (rootId) {
1483
+ var series = this,
1484
+ nodeMap = series.nodeMap,
1485
+ node = nodeMap[rootId],
1486
+ name = node.name,
1487
+ buttonOptions = series.options
1488
+ .traverseUpButton,
1489
+ backText = pick(buttonOptions.text,
1490
+ name, '◁ Back'),
1491
+ attr,
1492
+ states;
1493
+ if (rootId === '' || (series.is('sunburst') &&
1494
+ series.tree.children.length === 1 &&
1495
+ rootId === series.tree.children[0].id)) {
1496
+ if (series.drillUpButton) {
1497
+ series.drillUpButton = series.drillUpButton.destroy();
1498
+ }
1499
+ }
1500
+ else if (!this.drillUpButton) {
1501
+ attr = buttonOptions.theme;
1502
+ states = attr && attr.states;
1503
+ this.drillUpButton = this.chart.renderer
1504
+ .button(backText, 0, 0, function () {
1505
+ series.drillUp();
1506
+ }, attr, states && states.hover, states && states.select)
1507
+ .addClass('highcharts-drillup-button')
1508
+ .attr({
1509
+ align: buttonOptions.position.align,
1510
+ zIndex: 7
1511
+ })
1512
+ .add()
1513
+ .align(buttonOptions.position, false, buttonOptions.relativeTo || 'plotBox');
1514
+ }
1515
+ else {
1516
+ this.drillUpButton.placed = false;
1517
+ this.drillUpButton.attr({
1518
+ text: backText
1519
+ })
1520
+ .align();
1521
+ }
1522
+ };
1523
+ /**
1524
+ * Set the node's color recursively, from the parent down.
1525
+ * @private
1526
+ */
1527
+ TreemapSeries.prototype.setColorRecursive = function (node, parentColor, colorIndex, index, siblings) {
1528
+ var series = this,
1529
+ chart = series && series.chart,
1530
+ colors = chart && chart.options && chart.options.colors,
1531
+ colorInfo,
1532
+ point;
1533
+ if (node) {
1534
+ colorInfo = getColor(node, {
1535
+ colors: colors,
1536
+ index: index,
1537
+ mapOptionsToLevel: series.mapOptionsToLevel,
1538
+ parentColor: parentColor,
1539
+ parentColorIndex: colorIndex,
1540
+ series: series,
1541
+ siblings: siblings
1542
+ });
1543
+ point = series.points[node.i];
1544
+ if (point) {
1545
+ point.color = colorInfo.color;
1546
+ point.colorIndex = colorInfo.colorIndex;
1547
+ }
1548
+ // Do it all again with the children
1549
+ (node.children || []).forEach(function (child, i) {
1550
+ series.setColorRecursive(child, colorInfo.color, colorInfo.colorIndex, i, node.children.length);
1551
+ });
1552
+ }
1553
+ };
1554
+ TreemapSeries.prototype.setPointValues = function () {
1555
+ var series = this;
1556
+ var points = series.points,
1557
+ xAxis = series.xAxis,
1558
+ yAxis = series.yAxis;
1559
+ var styledMode = series.chart.styledMode;
1560
+ // Get the crisp correction in classic mode. For this to work in
1561
+ // styled mode, we would need to first add the shape (without x,
1562
+ // y, width and height), then read the rendered stroke width
1563
+ // using point.graphic.strokeWidth(), then modify and apply the
1564
+ // shapeArgs. This applies also to column series, but the
1565
+ // downside is performance and code complexity.
1566
+ var getCrispCorrection = function (point) { return (styledMode ?
1567
+ 0 :
1568
+ ((series.pointAttribs(point)['stroke-width'] || 0) % 2) / 2); };
1569
+ points.forEach(function (point) {
1570
+ var _a = point.node,
1571
+ values = _a.pointValues,
1572
+ visible = _a.visible;
1573
+ // Points which is ignored, have no values.
1574
+ if (values && visible) {
1575
+ var height = values.height,
1576
+ width = values.width,
1577
+ x = values.x,
1578
+ y = values.y;
1579
+ var crispCorr = getCrispCorrection(point);
1580
+ var x1 = Math.round(xAxis.toPixels(x,
1581
+ true)) - crispCorr;
1582
+ var x2 = Math.round(xAxis.toPixels(x + width,
1583
+ true)) - crispCorr;
1584
+ var y1 = Math.round(yAxis.toPixels(y,
1585
+ true)) - crispCorr;
1586
+ var y2 = Math.round(yAxis.toPixels(y + height,
1587
+ true)) - crispCorr;
1588
+ // Set point values
1589
+ var shapeArgs = {
1590
+ x: Math.min(x1,
1591
+ x2),
1592
+ y: Math.min(y1,
1593
+ y2),
1594
+ width: Math.abs(x2 - x1),
1595
+ height: Math.abs(y2 - y1)
1596
+ };
1597
+ point.plotX = shapeArgs.x + (shapeArgs.width / 2);
1598
+ point.plotY = shapeArgs.y + (shapeArgs.height / 2);
1599
+ point.shapeArgs = shapeArgs;
1600
+ }
1601
+ else {
1602
+ // Reset visibility
1603
+ delete point.plotX;
1604
+ delete point.plotY;
1605
+ }
1606
+ });
1607
+ };
1608
+ /**
1609
+ * Sets a new root node for the series.
1610
+ *
1611
+ * @private
1612
+ * @function Highcharts.Series#setRootNode
1613
+ *
1614
+ * @param {string} id
1615
+ * The id of the new root node.
1616
+ *
1617
+ * @param {boolean} [redraw=true]
1618
+ * Wether to redraw the chart or not.
1619
+ *
1620
+ * @param {Object} [eventArguments]
1621
+ * Arguments to be accessed in event handler.
1622
+ *
1623
+ * @param {string} [eventArguments.newRootId]
1624
+ * Id of the new root.
1625
+ *
1626
+ * @param {string} [eventArguments.previousRootId]
1627
+ * Id of the previous root.
1628
+ *
1629
+ * @param {boolean} [eventArguments.redraw]
1630
+ * Wether to redraw the chart after.
1631
+ *
1632
+ * @param {Object} [eventArguments.series]
1633
+ * The series to update the root of.
1634
+ *
1635
+ * @param {string} [eventArguments.trigger]
1636
+ * The action which triggered the event. Undefined if the setRootNode is
1637
+ * called directly.
1638
+ *
1639
+ * @emits Highcharts.Series#event:setRootNode
1640
+ */
1641
+ TreemapSeries.prototype.setRootNode = function (id, redraw, eventArguments) {
1642
+ var series = this,
1643
+ eventArgs = extend({
1644
+ newRootId: id,
1645
+ previousRootId: series.rootNode,
1646
+ redraw: pick(redraw,
1647
+ true),
1648
+ series: series
1649
+ },
1650
+ eventArguments);
1651
+ /**
1652
+ * The default functionality of the setRootNode event.
1653
+ *
1654
+ * @private
1655
+ * @param {Object} args The event arguments.
1656
+ * @param {string} args.newRootId Id of the new root.
1657
+ * @param {string} args.previousRootId Id of the previous root.
1658
+ * @param {boolean} args.redraw Wether to redraw the chart after.
1659
+ * @param {Object} args.series The series to update the root of.
1660
+ * @param {string} [args.trigger=undefined] The action which
1661
+ * triggered the event. Undefined if the setRootNode is called
1662
+ * directly.
1663
+ */
1664
+ var defaultFn = function (args) {
1665
+ var series = args.series;
1666
+ // Store previous and new root ids on the series.
1667
+ series.idPreviousRoot = args.previousRootId;
1668
+ series.rootNode = args.newRootId;
1669
+ // Redraw the chart
1670
+ series.isDirty = true; // Force redraw
1671
+ if (args.redraw) {
1672
+ series.chart.redraw();
1673
+ }
1674
+ };
1675
+ // Fire setRootNode event.
1676
+ fireEvent(series, 'setRootNode', eventArgs, defaultFn);
1677
+ };
1678
+ /**
1679
+ * Workaround for `inactive` state. Since `series.opacity` option is
1680
+ * already reserved, don't use that state at all by disabling
1681
+ * `inactiveOtherPoints` and not inheriting states by points.
1682
+ * @private
1683
+ */
1684
+ TreemapSeries.prototype.setState = function (state) {
1685
+ this.options.inactiveOtherPoints = true;
1686
+ Series.prototype.setState.call(this, state, false);
1687
+ this.options.inactiveOtherPoints = false;
1688
+ };
1689
+ TreemapSeries.prototype.setTreeValues = function (tree) {
1690
+ var series = this,
1691
+ options = series.options,
1692
+ idRoot = series.rootNode,
1693
+ mapIdToNode = series.nodeMap,
1694
+ nodeRoot = mapIdToNode[idRoot],
1695
+ levelIsConstant = (TreemapUtilities.isBoolean(options.levelIsConstant) ?
1696
+ options.levelIsConstant :
1697
+ true),
1698
+ childrenTotal = 0,
1699
+ children = [],
1700
+ val,
1701
+ point = series.points[tree.i];
1702
+ // First give the children some values
1703
+ tree.children.forEach(function (child) {
1704
+ child = series.setTreeValues(child);
1705
+ children.push(child);
1706
+ if (!child.ignore) {
1707
+ childrenTotal += child.val;
1708
+ }
1709
+ });
1710
+ // Sort the children
1711
+ stableSort(children, function (a, b) {
1712
+ return (a.sortIndex || 0) - (b.sortIndex || 0);
1713
+ });
1714
+ // Set the values
1715
+ val = pick(point && point.options.value, childrenTotal);
1716
+ if (point) {
1717
+ point.value = val;
1718
+ }
1719
+ extend(tree, {
1720
+ children: children,
1721
+ childrenTotal: childrenTotal,
1722
+ // Ignore this node if point is not visible
1723
+ ignore: !(pick(point && point.visible, true) && (val > 0)),
1724
+ isLeaf: tree.visible && !childrenTotal,
1725
+ levelDynamic: (tree.level - (levelIsConstant ? 0 : nodeRoot.level)),
1726
+ name: pick(point && point.name, ''),
1727
+ sortIndex: pick(point && point.sortIndex, -val),
1728
+ val: val
1729
+ });
1730
+ return tree;
1731
+ };
1732
+ TreemapSeries.prototype.sliceAndDice = function (parent, children) {
1733
+ return this.algorithmFill(true, parent, children);
1734
+ };
1735
+ TreemapSeries.prototype.squarified = function (parent, children) {
1736
+ return this.algorithmLowAspectRatio(true, parent, children);
1737
+ };
1738
+ TreemapSeries.prototype.strip = function (parent, children) {
1739
+ return this.algorithmLowAspectRatio(false, parent, children);
1740
+ };
1741
+ TreemapSeries.prototype.stripes = function (parent, children) {
1742
+ return this.algorithmFill(false, parent, children);
1743
+ };
1744
+ TreemapSeries.prototype.translate = function () {
1745
+ var series = this,
1746
+ options = series.options,
1747
+ // NOTE: updateRootId modifies series.
1748
+ rootId = updateRootId(series),
1749
+ rootNode,
1750
+ pointValues,
1751
+ seriesArea,
1752
+ tree,
1753
+ val;
1754
+ // Call prototype function
1755
+ Series.prototype.translate.call(series);
1756
+ // @todo Only if series.isDirtyData is true
1757
+ tree = series.tree = series.getTree();
1758
+ rootNode = series.nodeMap[rootId];
1759
+ if (rootId !== '' &&
1760
+ (!rootNode || !rootNode.children.length)) {
1761
+ series.setRootNode('', false);
1762
+ rootId = series.rootNode;
1763
+ rootNode = series.nodeMap[rootId];
1764
+ }
1765
+ series.renderTraverseUpButton(rootId);
1766
+ series.mapOptionsToLevel = getLevelOptions({
1767
+ from: rootNode.level + 1,
1768
+ levels: options.levels,
1769
+ to: tree.height,
1770
+ defaults: {
1771
+ levelIsConstant: series.options.levelIsConstant,
1772
+ colorByPoint: options.colorByPoint
1773
+ }
1774
+ });
1775
+ // Parents of the root node is by default visible
1776
+ TreemapUtilities.recursive(series.nodeMap[series.rootNode], function (node) {
1777
+ var next = false,
1778
+ p = node.parent;
1779
+ node.visible = true;
1780
+ if (p || p === '') {
1781
+ next = series.nodeMap[p];
1782
+ }
1783
+ return next;
1784
+ });
1785
+ // Children of the root node is by default visible
1786
+ TreemapUtilities.recursive(series.nodeMap[series.rootNode].children, function (children) {
1787
+ var next = false;
1788
+ children.forEach(function (child) {
1789
+ child.visible = true;
1790
+ if (child.children.length) {
1791
+ next = (next || []).concat(child.children);
1792
+ }
1793
+ });
1794
+ return next;
1795
+ });
1796
+ series.setTreeValues(tree);
1797
+ // Calculate plotting values.
1798
+ series.axisRatio = (series.xAxis.len / series.yAxis.len);
1799
+ series.nodeMap[''].pointValues = pointValues = {
1800
+ x: 0,
1801
+ y: 0,
1802
+ width: TreemapUtilities.AXIS_MAX,
1803
+ height: TreemapUtilities.AXIS_MAX
1804
+ };
1805
+ series.nodeMap[''].values = seriesArea = merge(pointValues, {
1806
+ width: (pointValues.width * series.axisRatio),
1807
+ direction: (options.layoutStartingDirection === 'vertical' ? 0 : 1),
1808
+ val: tree.val
1809
+ });
1810
+ series.calculateChildrenAreas(tree, seriesArea);
1811
+ // Logic for point colors
1812
+ if (!series.colorAxis &&
1813
+ !options.colorByPoint) {
1814
+ series.setColorRecursive(series.tree);
1815
+ }
1816
+ // Update axis extremes according to the root node.
1817
+ if (options.allowTraversingTree) {
1818
+ val = rootNode.pointValues;
1819
+ series.xAxis.setExtremes(val.x, val.x + val.width, false);
1820
+ series.yAxis.setExtremes(val.y, val.y + val.height, false);
1821
+ series.xAxis.setScale();
1822
+ series.yAxis.setScale();
1823
+ }
1824
+ // Assign values to points.
1825
+ series.setPointValues();
1826
+ };
1827
+ /**
1828
+ * A treemap displays hierarchical data using nested rectangles. The data
1829
+ * can be laid out in varying ways depending on options.
1830
+ *
1831
+ * @sample highcharts/demo/treemap-large-dataset/
1832
+ * Treemap
1833
+ *
1834
+ * @extends plotOptions.scatter
1835
+ * @excluding dragDrop, marker, jitter, dataSorting
1836
+ * @product highcharts
1837
+ * @requires modules/treemap
1838
+ * @optionparent plotOptions.treemap
1839
+ */
1840
+ TreemapSeries.defaultOptions = merge(ScatterSeries.defaultOptions, {
1841
+ /**
1842
+ * When enabled the user can click on a point which is a parent and
1843
+ * zoom in on its children. Deprecated and replaced by
1844
+ * [allowTraversingTree](#plotOptions.treemap.allowTraversingTree).
1845
+ *
1846
+ * @sample {highcharts} highcharts/plotoptions/treemap-allowdrilltonode/
1847
+ * Enabled
1848
+ *
1849
+ * @deprecated
1850
+ * @type {boolean}
1851
+ * @default false
1852
+ * @since 4.1.0
1853
+ * @product highcharts
1854
+ * @apioption plotOptions.treemap.allowDrillToNode
1855
+ */
1856
+ /**
1857
+ * When enabled the user can click on a point which is a parent and
1858
+ * zoom in on its children.
1859
+ *
1860
+ * @sample {highcharts} highcharts/plotoptions/treemap-allowtraversingtree/
1861
+ * Enabled
1862
+ *
1863
+ * @since 7.0.3
1864
+ * @product highcharts
1865
+ */
1866
+ allowTraversingTree: false,
1867
+ animationLimit: 250,
1868
+ /**
1869
+ * The border radius for each treemap item.
1870
+ */
1871
+ borderRadius: 0,
1872
+ /**
1873
+ * When the series contains less points than the crop threshold, all
1874
+ * points are drawn, event if the points fall outside the visible plot
1875
+ * area at the current zoom. The advantage of drawing all points
1876
+ * (including markers and columns), is that animation is performed on
1877
+ * updates. On the other hand, when the series contains more points than
1878
+ * the crop threshold, the series data is cropped to only contain points
1879
+ * that fall within the plot area. The advantage of cropping away
1880
+ * invisible points is to increase performance on large series.
1881
+ *
1882
+ * @type {number}
1883
+ * @default 300
1884
+ * @since 4.1.0
1885
+ * @product highcharts
1886
+ * @apioption plotOptions.treemap.cropThreshold
1887
+ */
1888
+ /**
1889
+ * Fires on a request for change of root node for the tree, before the
1890
+ * update is made. An event object is passed to the function, containing
1891
+ * additional properties `newRootId`, `previousRootId`, `redraw` and
1892
+ * `trigger`.
1893
+ *
1894
+ * @sample {highcharts} highcharts/plotoptions/treemap-events-setrootnode/
1895
+ * Alert update information on setRootNode event.
1896
+ *
1897
+ * @type {Function}
1898
+ * @default undefined
1899
+ * @since 7.0.3
1900
+ * @product highcharts
1901
+ * @apioption plotOptions.treemap.events.setRootNode
1902
+ */
1903
+ /**
1904
+ * This option decides if the user can interact with the parent nodes
1905
+ * or just the leaf nodes. When this option is undefined, it will be
1906
+ * true by default. However when allowTraversingTree is true, then it
1907
+ * will be false by default.
1908
+ *
1909
+ * @sample {highcharts} highcharts/plotoptions/treemap-interactbyleaf-false/
1910
+ * False
1911
+ * @sample {highcharts} highcharts/plotoptions/treemap-interactbyleaf-true-and-allowtraversingtree/
1912
+ * InteractByLeaf and allowTraversingTree is true
1913
+ *
1914
+ * @type {boolean}
1915
+ * @since 4.1.2
1916
+ * @product highcharts
1917
+ * @apioption plotOptions.treemap.interactByLeaf
1918
+ */
1919
+ /**
1920
+ * The sort index of the point inside the treemap level.
1921
+ *
1922
+ * @sample {highcharts} highcharts/plotoptions/treemap-sortindex/
1923
+ * Sort by years
1924
+ *
1925
+ * @type {number}
1926
+ * @since 4.1.10
1927
+ * @product highcharts
1928
+ * @apioption plotOptions.treemap.sortIndex
1929
+ */
1930
+ /**
1931
+ * A series specific or series type specific color set to apply instead
1932
+ * of the global [colors](#colors) when
1933
+ * [colorByPoint](#plotOptions.treemap.colorByPoint) is true.
1934
+ *
1935
+ * @type {Array<Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject>}
1936
+ * @since 3.0
1937
+ * @product highcharts
1938
+ * @apioption plotOptions.treemap.colors
1939
+ */
1940
+ /**
1941
+ * Whether to display this series type or specific series item in the
1942
+ * legend.
1943
+ */
1944
+ showInLegend: false,
1945
+ /**
1946
+ * @ignore-option
1947
+ */
1948
+ marker: void 0,
1949
+ /**
1950
+ * When using automatic point colors pulled from the `options.colors`
1951
+ * collection, this option determines whether the chart should receive
1952
+ * one color per series or one color per point.
1953
+ *
1954
+ * @see [series colors](#plotOptions.treemap.colors)
1955
+ *
1956
+ * @since 2.0
1957
+ * @product highcharts
1958
+ * @apioption plotOptions.treemap.colorByPoint
1959
+ */
1960
+ colorByPoint: false,
1961
+ /**
1962
+ * @since 4.1.0
1963
+ */
1964
+ dataLabels: {
1965
+ defer: false,
1966
+ enabled: true,
1967
+ formatter: function () {
1968
+ var point = this && this.point ?
1969
+ this.point :
1970
+ {},
1971
+ name = isString(point.name) ? point.name : '';
1972
+ return name;
1973
+ },
1974
+ inside: true,
1975
+ verticalAlign: 'middle'
1976
+ },
1977
+ tooltip: {
1978
+ headerFormat: '',
1979
+ pointFormat: '<b>{point.name}</b>: {point.value}<br/>'
1980
+ },
1981
+ /**
1982
+ * Whether to ignore hidden points when the layout algorithm runs.
1983
+ * If `false`, hidden points will leave open spaces.
1984
+ *
1985
+ * @since 5.0.8
1986
+ */
1987
+ ignoreHiddenPoint: true,
1988
+ /**
1989
+ * This option decides which algorithm is used for setting position
1990
+ * and dimensions of the points.
1991
+ *
1992
+ * @see [How to write your own algorithm](https://www.highcharts.com/docs/chart-and-series-types/treemap)
1993
+ *
1994
+ * @sample {highcharts} highcharts/plotoptions/treemap-layoutalgorithm-sliceanddice/
1995
+ * SliceAndDice by default
1996
+ * @sample {highcharts} highcharts/plotoptions/treemap-layoutalgorithm-stripes/
1997
+ * Stripes
1998
+ * @sample {highcharts} highcharts/plotoptions/treemap-layoutalgorithm-squarified/
1999
+ * Squarified
2000
+ * @sample {highcharts} highcharts/plotoptions/treemap-layoutalgorithm-strip/
2001
+ * Strip
2002
+ *
2003
+ * @since 4.1.0
2004
+ * @validvalue ["sliceAndDice", "stripes", "squarified", "strip"]
2005
+ */
2006
+ layoutAlgorithm: 'sliceAndDice',
2007
+ /**
2008
+ * Defines which direction the layout algorithm will start drawing.
2009
+ *
2010
+ * @since 4.1.0
2011
+ * @validvalue ["vertical", "horizontal"]
2012
+ */
2013
+ layoutStartingDirection: 'vertical',
2014
+ /**
2015
+ * Enabling this option will make the treemap alternate the drawing
2016
+ * direction between vertical and horizontal. The next levels starting
2017
+ * direction will always be the opposite of the previous.
2018
+ *
2019
+ * @sample {highcharts} highcharts/plotoptions/treemap-alternatestartingdirection-true/
2020
+ * Enabled
2021
+ *
2022
+ * @since 4.1.0
2023
+ */
2024
+ alternateStartingDirection: false,
2025
+ /**
2026
+ * Used together with the levels and allowTraversingTree options. When
2027
+ * set to false the first level visible to be level one, which is
2028
+ * dynamic when traversing the tree. Otherwise the level will be the
2029
+ * same as the tree structure.
2030
+ *
2031
+ * @since 4.1.0
2032
+ */
2033
+ levelIsConstant: true,
2034
+ /**
2035
+ * Options for the button appearing when drilling down in a treemap.
2036
+ * Deprecated and replaced by
2037
+ * [traverseUpButton](#plotOptions.treemap.traverseUpButton).
2038
+ *
2039
+ * @deprecated
2040
+ */
2041
+ drillUpButton: {
2042
+ /**
2043
+ * The position of the button.
2044
+ *
2045
+ * @deprecated
2046
+ */
2047
+ position: {
2048
+ /**
2049
+ * Vertical alignment of the button.
2050
+ *
2051
+ * @deprecated
2052
+ * @type {Highcharts.VerticalAlignValue}
2053
+ * @default top
2054
+ * @product highcharts
2055
+ * @apioption plotOptions.treemap.drillUpButton.position.verticalAlign
2056
+ */
2057
+ /**
2058
+ * Horizontal alignment of the button.
2059
+ *
2060
+ * @deprecated
2061
+ * @type {Highcharts.AlignValue}
2062
+ */
2063
+ align: 'right',
2064
+ /**
2065
+ * Horizontal offset of the button.
2066
+ *
2067
+ * @deprecated
2068
+ */
2069
+ x: -10,
2070
+ /**
2071
+ * Vertical offset of the button.
2072
+ *
2073
+ * @deprecated
2074
+ */
2075
+ y: 10
2076
+ }
2077
+ },
2078
+ /**
2079
+ * Options for the button appearing when traversing down in a treemap.
2080
+ */
2081
+ traverseUpButton: {
2082
+ /**
2083
+ * The position of the button.
2084
+ */
2085
+ position: {
2086
+ /**
2087
+ * Vertical alignment of the button.
2088
+ *
2089
+ * @type {Highcharts.VerticalAlignValue}
2090
+ * @default top
2091
+ * @product highcharts
2092
+ * @apioption plotOptions.treemap.traverseUpButton.position.verticalAlign
2093
+ */
2094
+ /**
2095
+ * Horizontal alignment of the button.
2096
+ *
2097
+ * @type {Highcharts.AlignValue}
2098
+ */
2099
+ align: 'right',
2100
+ /**
2101
+ * Horizontal offset of the button.
2102
+ */
2103
+ x: -10,
2104
+ /**
2105
+ * Vertical offset of the button.
2106
+ */
2107
+ y: 10
2108
+ }
2109
+ },
2110
+ /**
2111
+ * Set options on specific levels. Takes precedence over series options,
2112
+ * but not point options.
2113
+ *
2114
+ * @sample {highcharts} highcharts/plotoptions/treemap-levels/
2115
+ * Styling dataLabels and borders
2116
+ * @sample {highcharts} highcharts/demo/treemap-with-levels/
2117
+ * Different layoutAlgorithm
2118
+ *
2119
+ * @type {Array<*>}
2120
+ * @since 4.1.0
2121
+ * @product highcharts
2122
+ * @apioption plotOptions.treemap.levels
2123
+ */
2124
+ /**
2125
+ * Can set a `borderColor` on all points which lies on the same level.
2126
+ *
2127
+ * @type {Highcharts.ColorString}
2128
+ * @since 4.1.0
2129
+ * @product highcharts
2130
+ * @apioption plotOptions.treemap.levels.borderColor
2131
+ */
2132
+ /**
2133
+ * Set the dash style of the border of all the point which lies on the
2134
+ * level. See
2135
+ * [plotOptions.scatter.dashStyle](#plotoptions.scatter.dashstyle)
2136
+ * for possible options.
2137
+ *
2138
+ * @type {Highcharts.DashStyleValue}
2139
+ * @since 4.1.0
2140
+ * @product highcharts
2141
+ * @apioption plotOptions.treemap.levels.borderDashStyle
2142
+ */
2143
+ /**
2144
+ * Can set the borderWidth on all points which lies on the same level.
2145
+ *
2146
+ * @type {number}
2147
+ * @since 4.1.0
2148
+ * @product highcharts
2149
+ * @apioption plotOptions.treemap.levels.borderWidth
2150
+ */
2151
+ /**
2152
+ * Can set a color on all points which lies on the same level.
2153
+ *
2154
+ * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
2155
+ * @since 4.1.0
2156
+ * @product highcharts
2157
+ * @apioption plotOptions.treemap.levels.color
2158
+ */
2159
+ /**
2160
+ * A configuration object to define how the color of a child varies from
2161
+ * the parent's color. The variation is distributed among the children
2162
+ * of node. For example when setting brightness, the brightness change
2163
+ * will range from the parent's original brightness on the first child,
2164
+ * to the amount set in the `to` setting on the last node. This allows a
2165
+ * gradient-like color scheme that sets children out from each other
2166
+ * while highlighting the grouping on treemaps and sectors on sunburst
2167
+ * charts.
2168
+ *
2169
+ * @sample highcharts/demo/sunburst/
2170
+ * Sunburst with color variation
2171
+ *
2172
+ * @since 6.0.0
2173
+ * @product highcharts
2174
+ * @apioption plotOptions.treemap.levels.colorVariation
2175
+ */
2176
+ /**
2177
+ * The key of a color variation. Currently supports `brightness` only.
2178
+ *
2179
+ * @type {string}
2180
+ * @since 6.0.0
2181
+ * @product highcharts
2182
+ * @validvalue ["brightness"]
2183
+ * @apioption plotOptions.treemap.levels.colorVariation.key
2184
+ */
2185
+ /**
2186
+ * The ending value of a color variation. The last sibling will receive
2187
+ * this value.
2188
+ *
2189
+ * @type {number}
2190
+ * @since 6.0.0
2191
+ * @product highcharts
2192
+ * @apioption plotOptions.treemap.levels.colorVariation.to
2193
+ */
2194
+ /**
2195
+ * Can set the options of dataLabels on each point which lies on the
2196
+ * level.
2197
+ * [plotOptions.treemap.dataLabels](#plotOptions.treemap.dataLabels) for
2198
+ * possible values.
2199
+ *
2200
+ * @extends plotOptions.treemap.dataLabels
2201
+ * @since 4.1.0
2202
+ * @product highcharts
2203
+ * @apioption plotOptions.treemap.levels.dataLabels
2204
+ */
2205
+ /**
2206
+ * Can set the layoutAlgorithm option on a specific level.
2207
+ *
2208
+ * @type {string}
2209
+ * @since 4.1.0
2210
+ * @product highcharts
2211
+ * @validvalue ["sliceAndDice", "stripes", "squarified", "strip"]
2212
+ * @apioption plotOptions.treemap.levels.layoutAlgorithm
2213
+ */
2214
+ /**
2215
+ * Can set the layoutStartingDirection option on a specific level.
2216
+ *
2217
+ * @type {string}
2218
+ * @since 4.1.0
2219
+ * @product highcharts
2220
+ * @validvalue ["vertical", "horizontal"]
2221
+ * @apioption plotOptions.treemap.levels.layoutStartingDirection
2222
+ */
2223
+ /**
2224
+ * Decides which level takes effect from the options set in the levels
2225
+ * object.
2226
+ *
2227
+ * @sample {highcharts} highcharts/plotoptions/treemap-levels/
2228
+ * Styling of both levels
2229
+ *
2230
+ * @type {number}
2231
+ * @since 4.1.0
2232
+ * @product highcharts
2233
+ * @apioption plotOptions.treemap.levels.level
2234
+ */
2235
+ // Presentational options
2236
+ /**
2237
+ * The color of the border surrounding each tree map item.
2238
+ *
2239
+ * @type {Highcharts.ColorString}
2240
+ */
2241
+ borderColor: "#e6e6e6" /* neutralColor10 */,
2242
+ /**
2243
+ * The width of the border surrounding each tree map item.
2244
+ */
2245
+ borderWidth: 1,
2246
+ colorKey: 'colorValue',
2247
+ /**
2248
+ * The opacity of a point in treemap. When a point has children, the
2249
+ * visibility of the children is determined by the opacity.
2250
+ *
2251
+ * @since 4.2.4
2252
+ */
2253
+ opacity: 0.15,
2254
+ /**
2255
+ * A wrapper object for all the series options in specific states.
2256
+ *
2257
+ * @extends plotOptions.heatmap.states
2258
+ */
2259
+ states: {
2260
+ /**
2261
+ * Options for the hovered series
2262
+ *
2263
+ * @extends plotOptions.heatmap.states.hover
2264
+ * @excluding halo
2265
+ */
2266
+ hover: {
2267
+ /**
2268
+ * The border color for the hovered state.
2269
+ */
2270
+ borderColor: "#999999" /* neutralColor40 */,
2271
+ /**
2272
+ * Brightness for the hovered point. Defaults to 0 if the
2273
+ * heatmap series is loaded first, otherwise 0.1.
2274
+ *
2275
+ * @type {number}
2276
+ * @default undefined
2277
+ */
2278
+ brightness: HeatmapSeries ? 0 : 0.1,
2279
+ /**
2280
+ * @extends plotOptions.heatmap.states.hover.halo
2281
+ */
2282
+ halo: false,
2283
+ /**
2284
+ * The opacity of a point in treemap. When a point has children,
2285
+ * the visibility of the children is determined by the opacity.
2286
+ *
2287
+ * @since 4.2.4
2288
+ */
2289
+ opacity: 0.75,
2290
+ /**
2291
+ * The shadow option for hovered state.
2292
+ */
2293
+ shadow: false
2294
+ }
2295
+ }
2296
+ });
2297
+ return TreemapSeries;
2298
+ }(ScatterSeries));
2299
+ extend(TreemapSeries.prototype, {
2300
+ buildKDTree: noop,
2301
+ colorKey: 'colorValue',
2302
+ directTouch: true,
2303
+ drawLegendSymbol: LegendSymbol.drawRectangle,
2304
+ getExtremesFromAll: true,
2305
+ getSymbol: noop,
2306
+ optionalAxis: 'colorAxis',
2307
+ parallelArrays: ['x', 'y', 'value', 'colorValue'],
2308
+ pointArrayMap: ['value'],
2309
+ pointClass: TreemapPoint,
2310
+ trackerGroups: ['group', 'dataLabelsGroup'],
2311
+ utils: {
2312
+ recursive: TreemapUtilities.recursive
2313
+ }
2314
+ });
2315
+ SeriesRegistry.registerSeriesType('treemap', TreemapSeries);
2316
+ /* *
2317
+ *
2318
+ * Default Export
2319
+ *
2320
+ * */
2321
+ /* *
2322
+ *
2323
+ * API Options
2324
+ *
2325
+ * */
2326
+ /**
2327
+ * A `treemap` series. If the [type](#series.treemap.type) option is
2328
+ * not specified, it is inherited from [chart.type](#chart.type).
2329
+ *
2330
+ * @extends series,plotOptions.treemap
2331
+ * @excluding dataParser, dataURL, stack, dataSorting
2332
+ * @product highcharts
2333
+ * @requires modules/treemap
2334
+ * @apioption series.treemap
2335
+ */
2336
+ /**
2337
+ * An array of data points for the series. For the `treemap` series
2338
+ * type, points can be given in the following ways:
2339
+ *
2340
+ * 1. An array of numerical values. In this case, the numerical values will be
2341
+ * interpreted as `value` options. Example:
2342
+ * ```js
2343
+ * data: [0, 5, 3, 5]
2344
+ * ```
2345
+ *
2346
+ * 2. An array of objects with named values. The following snippet shows only a
2347
+ * few settings, see the complete options set below. If the total number of
2348
+ * data points exceeds the series'
2349
+ * [turboThreshold](#series.treemap.turboThreshold),
2350
+ * this option is not available.
2351
+ * ```js
2352
+ * data: [{
2353
+ * value: 9,
2354
+ * name: "Point2",
2355
+ * color: "#00FF00"
2356
+ * }, {
2357
+ * value: 6,
2358
+ * name: "Point1",
2359
+ * color: "#FF00FF"
2360
+ * }]
2361
+ * ```
2362
+ *
2363
+ * @sample {highcharts} highcharts/chart/reflow-true/
2364
+ * Numerical values
2365
+ * @sample {highcharts} highcharts/series/data-array-of-objects/
2366
+ * Config objects
2367
+ *
2368
+ * @type {Array<number|null|*>}
2369
+ * @extends series.heatmap.data
2370
+ * @excluding x, y, pointPadding
2371
+ * @product highcharts
2372
+ * @apioption series.treemap.data
2373
+ */
2374
+ /**
2375
+ * The value of the point, resulting in a relative area of the point
2376
+ * in the treemap.
2377
+ *
2378
+ * @type {number|null}
2379
+ * @product highcharts
2380
+ * @apioption series.treemap.data.value
2381
+ */
2382
+ /**
2383
+ * Serves a purpose only if a `colorAxis` object is defined in the chart
2384
+ * options. This value will decide which color the point gets from the
2385
+ * scale of the colorAxis.
2386
+ *
2387
+ * @type {number}
2388
+ * @since 4.1.0
2389
+ * @product highcharts
2390
+ * @apioption series.treemap.data.colorValue
2391
+ */
2392
+ /**
2393
+ * Only for treemap. Use this option to build a tree structure. The
2394
+ * value should be the id of the point which is the parent. If no points
2395
+ * has a matching id, or this option is undefined, then the parent will
2396
+ * be set to the root.
2397
+ *
2398
+ * @sample {highcharts} highcharts/point/parent/
2399
+ * Point parent
2400
+ * @sample {highcharts} highcharts/demo/treemap-with-levels/
2401
+ * Example where parent id is not matching
2402
+ *
2403
+ * @type {string}
2404
+ * @since 4.1.0
2405
+ * @product highcharts
2406
+ * @apioption series.treemap.data.parent
2407
+ */
2408
+ ''; // adds doclets above to transpiled file
2409
+
2410
+ return TreemapSeries;
2411
+ });
2412
+ _registerModule(_modules, 'Series/Sunburst/SunburstPoint.js', [_modules['Series/DrawPointComposition.js'], _modules['Core/Series/SeriesRegistry.js'], _modules['Core/Utilities.js']], function (DrawPointComposition, SeriesRegistry, U) {
2413
+ /* *
2414
+ *
2415
+ * This module implements sunburst charts in Highcharts.
2416
+ *
2417
+ * (c) 2016-2021 Highsoft AS
2418
+ *
2419
+ * Authors: Jon Arild Nygard
2420
+ *
2421
+ * License: www.highcharts.com/license
2422
+ *
2423
+ * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
2424
+ *
2425
+ * */
2426
+ var __extends = (this && this.__extends) || (function () {
2427
+ var extendStatics = function (d,
2428
+ b) {
2429
+ extendStatics = Object.setPrototypeOf ||
2430
+ ({ __proto__: [] } instanceof Array && function (d,
2431
+ b) { d.__proto__ = b; }) ||
2432
+ function (d,
2433
+ b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
2434
+ return extendStatics(d, b);
2435
+ };
2436
+ return function (d, b) {
2437
+ extendStatics(d, b);
2438
+ function __() { this.constructor = d; }
2439
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
2440
+ };
2441
+ })();
2442
+ var Point = SeriesRegistry.series.prototype.pointClass,
2443
+ TreemapPoint = SeriesRegistry.seriesTypes.treemap.prototype.pointClass;
2444
+ var correctFloat = U.correctFloat,
2445
+ extend = U.extend;
2446
+ /* *
2447
+ *
2448
+ * Class
2449
+ *
2450
+ * */
2451
+ var SunburstPoint = /** @class */ (function (_super) {
2452
+ __extends(SunburstPoint, _super);
2453
+ function SunburstPoint() {
2454
+ /* *
2455
+ *
2456
+ * Properties
2457
+ *
2458
+ * */
2459
+ var _this = _super !== null && _super.apply(this,
2460
+ arguments) || this;
2461
+ _this.node = void 0;
2462
+ _this.options = void 0;
2463
+ _this.series = void 0;
2464
+ _this.shapeExisting = void 0;
2465
+ return _this;
2466
+ /* eslint-enable valid-jsdoc */
2467
+ }
2468
+ /* *
2469
+ *
2470
+ * Functions
2471
+ *
2472
+ * */
2473
+ /* eslint-disable valid-jsdoc */
2474
+ SunburstPoint.prototype.getDataLabelPath = function (label) {
2475
+ var renderer = this.series.chart.renderer,
2476
+ shapeArgs = this.shapeExisting,
2477
+ start = shapeArgs.start,
2478
+ end = shapeArgs.end,
2479
+ angle = start + (end - start) / 2, // arc middle value
2480
+ upperHalf = angle < 0 &&
2481
+ angle > -Math.PI ||
2482
+ angle > Math.PI,
2483
+ r = (shapeArgs.r + (label.options.distance || 0)),
2484
+ moreThanHalf;
2485
+ // Check if point is a full circle
2486
+ if (start === -Math.PI / 2 &&
2487
+ correctFloat(end) === correctFloat(Math.PI * 1.5)) {
2488
+ start = -Math.PI + Math.PI / 360;
2489
+ end = -Math.PI / 360;
2490
+ upperHalf = true;
2491
+ }
2492
+ // Check if dataLabels should be render in the
2493
+ // upper half of the circle
2494
+ if (end - start > Math.PI) {
2495
+ upperHalf = false;
2496
+ moreThanHalf = true;
2497
+ }
2498
+ if (this.dataLabelPath) {
2499
+ this.dataLabelPath = this.dataLabelPath.destroy();
2500
+ }
2501
+ this.dataLabelPath = renderer
2502
+ .arc({
2503
+ open: true,
2504
+ longArc: moreThanHalf ? 1 : 0
2505
+ })
2506
+ // Add it inside the data label group so it gets destroyed
2507
+ // with the label
2508
+ .add(label);
2509
+ this.dataLabelPath.attr({
2510
+ start: (upperHalf ? start : end),
2511
+ end: (upperHalf ? end : start),
2512
+ clockwise: +upperHalf,
2513
+ x: shapeArgs.x,
2514
+ y: shapeArgs.y,
2515
+ r: (r + shapeArgs.innerR) / 2
2516
+ });
2517
+ return this.dataLabelPath;
2518
+ };
2519
+ SunburstPoint.prototype.isValid = function () {
2520
+ return true;
2521
+ };
2522
+ return SunburstPoint;
2523
+ }(TreemapPoint));
2524
+ extend(SunburstPoint.prototype, {
2525
+ getClassName: Point.prototype.getClassName,
2526
+ haloPath: Point.prototype.haloPath,
2527
+ setState: Point.prototype.setState
2528
+ });
2529
+ DrawPointComposition.compose(SunburstPoint);
2530
+ /* *
2531
+ *
2532
+ * Defaul Export
2533
+ *
2534
+ * */
2535
+
2536
+ return SunburstPoint;
2537
+ });
2538
+ _registerModule(_modules, 'Series/Sunburst/SunburstUtilities.js', [_modules['Core/Series/SeriesRegistry.js'], _modules['Core/Utilities.js']], function (SeriesRegistry, U) {
2539
+ /* *
2540
+ *
2541
+ * This module implements sunburst charts in Highcharts.
2542
+ *
2543
+ * (c) 2016-2021 Highsoft AS
2544
+ *
2545
+ * Authors: Jon Arild Nygard
2546
+ *
2547
+ * License: www.highcharts.com/license
2548
+ *
2549
+ * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
2550
+ *
2551
+ * */
2552
+ var TreemapSeries = SeriesRegistry.seriesTypes.treemap;
2553
+ var isNumber = U.isNumber,
2554
+ isObject = U.isObject,
2555
+ merge = U.merge;
2556
+ /* *
2557
+ *
2558
+ * Namespace
2559
+ *
2560
+ * */
2561
+ var SunburstUtilities;
2562
+ (function (SunburstUtilities) {
2563
+ /* *
2564
+ *
2565
+ * Constants
2566
+ *
2567
+ * */
2568
+ SunburstUtilities.recursive = TreemapSeries.prototype.utils.recursive;
2569
+ /* *
2570
+ *
2571
+ * Functions
2572
+ *
2573
+ * */
2574
+ /* eslint-disable valid-jsdoc */
2575
+ /**
2576
+ * @private
2577
+ * @function calculateLevelSizes
2578
+ *
2579
+ * @param {Object} levelOptions
2580
+ * Map of level to its options.
2581
+ *
2582
+ * @param {Highcharts.Dictionary<number>} params
2583
+ * Object containing number parameters `innerRadius` and `outerRadius`.
2584
+ *
2585
+ * @return {Highcharts.SunburstSeriesLevelsOptions|undefined}
2586
+ * Returns the modified options, or undefined.
2587
+ */
2588
+ function calculateLevelSizes(levelOptions, params) {
2589
+ var result,
2590
+ p = isObject(params) ? params : {},
2591
+ totalWeight = 0,
2592
+ diffRadius,
2593
+ levels,
2594
+ levelsNotIncluded,
2595
+ remainingSize,
2596
+ from,
2597
+ to;
2598
+ if (isObject(levelOptions)) {
2599
+ result = merge({}, levelOptions);
2600
+ from = isNumber(p.from) ? p.from : 0;
2601
+ to = isNumber(p.to) ? p.to : 0;
2602
+ levels = range(from, to);
2603
+ levelsNotIncluded = Object.keys(result).filter(function (k) {
2604
+ return levels.indexOf(+k) === -1;
2605
+ });
2606
+ diffRadius = remainingSize = isNumber(p.diffRadius) ?
2607
+ p.diffRadius : 0;
2608
+ // Convert percentage to pixels.
2609
+ // Calculate the remaining size to divide between "weight" levels.
2610
+ // Calculate total weight to use in convertion from weight to
2611
+ // pixels.
2612
+ levels.forEach(function (level) {
2613
+ var options = result[level],
2614
+ unit = options.levelSize.unit,
2615
+ value = options.levelSize.value;
2616
+ if (unit === 'weight') {
2617
+ totalWeight += value;
2618
+ }
2619
+ else if (unit === 'percentage') {
2620
+ options.levelSize = {
2621
+ unit: 'pixels',
2622
+ value: (value / 100) * diffRadius
2623
+ };
2624
+ remainingSize -= options.levelSize.value;
2625
+ }
2626
+ else if (unit === 'pixels') {
2627
+ remainingSize -= value;
2628
+ }
2629
+ });
2630
+ // Convert weight to pixels.
2631
+ levels.forEach(function (level) {
2632
+ var options = result[level],
2633
+ weight;
2634
+ if (options.levelSize.unit === 'weight') {
2635
+ weight = options.levelSize.value;
2636
+ result[level].levelSize = {
2637
+ unit: 'pixels',
2638
+ value: (weight / totalWeight) * remainingSize
2639
+ };
2640
+ }
2641
+ });
2642
+ // Set all levels not included in interval [from,to] to have 0
2643
+ // pixels.
2644
+ levelsNotIncluded.forEach(function (level) {
2645
+ result[level].levelSize = {
2646
+ value: 0,
2647
+ unit: 'pixels'
2648
+ };
2649
+ });
2650
+ }
2651
+ return result;
2652
+ }
2653
+ SunburstUtilities.calculateLevelSizes = calculateLevelSizes;
2654
+ /**
2655
+ * @private
2656
+ */
2657
+ function getLevelFromAndTo(_a) {
2658
+ var level = _a.level,
2659
+ height = _a.height;
2660
+ // Never displays level below 1
2661
+ var from = level > 0 ? level : 1;
2662
+ var to = level + height;
2663
+ return { from: from, to: to };
2664
+ }
2665
+ SunburstUtilities.getLevelFromAndTo = getLevelFromAndTo;
2666
+ /**
2667
+ * TODO introduce step, which should default to 1.
2668
+ * @private
2669
+ */
2670
+ function range(from, to) {
2671
+ var result = [],
2672
+ i;
2673
+ if (isNumber(from) && isNumber(to) && from <= to) {
2674
+ for (i = from; i <= to; i++) {
2675
+ result.push(i);
2676
+ }
2677
+ }
2678
+ return result;
2679
+ }
2680
+ SunburstUtilities.range = range;
2681
+ /* eslint-enable valid-jsdoc */
2682
+ })(SunburstUtilities || (SunburstUtilities = {}));
2683
+ /* *
2684
+ *
2685
+ * Default Export
2686
+ *
2687
+ * */
2688
+
2689
+ return SunburstUtilities;
2690
+ });
2691
+ _registerModule(_modules, 'Series/Sunburst/SunburstSeries.js', [_modules['Series/CenteredUtilities.js'], _modules['Core/Globals.js'], _modules['Core/Series/SeriesRegistry.js'], _modules['Series/Sunburst/SunburstPoint.js'], _modules['Series/Sunburst/SunburstUtilities.js'], _modules['Series/TreeUtilities.js'], _modules['Core/Utilities.js']], function (CU, H, SeriesRegistry, SunburstPoint, SunburstUtilities, TU, U) {
2692
+ /* *
2693
+ *
2694
+ * This module implements sunburst charts in Highcharts.
2695
+ *
2696
+ * (c) 2016-2021 Highsoft AS
2697
+ *
2698
+ * Authors: Jon Arild Nygard
2699
+ *
2700
+ * License: www.highcharts.com/license
2701
+ *
2702
+ * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
2703
+ *
2704
+ * */
2705
+ var __extends = (this && this.__extends) || (function () {
2706
+ var extendStatics = function (d,
2707
+ b) {
2708
+ extendStatics = Object.setPrototypeOf ||
2709
+ ({ __proto__: [] } instanceof Array && function (d,
2710
+ b) { d.__proto__ = b; }) ||
2711
+ function (d,
2712
+ b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
2713
+ return extendStatics(d, b);
2714
+ };
2715
+ return function (d, b) {
2716
+ extendStatics(d, b);
2717
+ function __() { this.constructor = d; }
2718
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
2719
+ };
2720
+ })();
2721
+ var getCenter = CU.getCenter,
2722
+ getStartAndEndRadians = CU.getStartAndEndRadians;
2723
+ var noop = H.noop;
2724
+ var Series = SeriesRegistry.series,
2725
+ _a = SeriesRegistry.seriesTypes,
2726
+ ColumnSeries = _a.column,
2727
+ TreemapSeries = _a.treemap;
2728
+ var getColor = TU.getColor,
2729
+ getLevelOptions = TU.getLevelOptions,
2730
+ setTreeValues = TU.setTreeValues,
2731
+ updateRootId = TU.updateRootId;
2732
+ var error = U.error,
2733
+ extend = U.extend,
2734
+ isNumber = U.isNumber,
2735
+ isObject = U.isObject,
2736
+ isString = U.isString,
2737
+ merge = U.merge,
2738
+ splat = U.splat;
2739
+ /* *
2740
+ *
2741
+ * Constants
2742
+ *
2743
+ * */
2744
+ var rad2deg = 180 / Math.PI;
2745
+ /* *
2746
+ *
2747
+ * Functions
2748
+ *
2749
+ * */
2750
+ // eslint-disable-next-line require-jsdoc
2751
+ function isBoolean(x) {
2752
+ return typeof x === 'boolean';
2753
+ }
2754
+ /**
2755
+ * Find a set of coordinates given a start coordinates, an angle, and a
2756
+ * distance.
2757
+ *
2758
+ * @private
2759
+ * @function getEndPoint
2760
+ *
2761
+ * @param {number} x
2762
+ * Start coordinate x
2763
+ *
2764
+ * @param {number} y
2765
+ * Start coordinate y
2766
+ *
2767
+ * @param {number} angle
2768
+ * Angle in radians
2769
+ *
2770
+ * @param {number} distance
2771
+ * Distance from start to end coordinates
2772
+ *
2773
+ * @return {Highcharts.SVGAttributes}
2774
+ * Returns the end coordinates, x and y.
2775
+ */
2776
+ var getEndPoint = function getEndPoint(x,
2777
+ y,
2778
+ angle,
2779
+ distance) {
2780
+ return {
2781
+ x: x + (Math.cos(angle) * distance),
2782
+ y: y + (Math.sin(angle) * distance)
2783
+ };
2784
+ };
2785
+ // eslint-disable-next-line require-jsdoc
2786
+ function getDlOptions(params) {
2787
+ // Set options to new object to avoid problems with scope
2788
+ var point = params.point,
2789
+ shape = isObject(params.shapeArgs) ? params.shapeArgs : {},
2790
+ optionsPoint = (isObject(params.optionsPoint) ?
2791
+ params.optionsPoint.dataLabels :
2792
+ {}),
2793
+ // The splat was used because levels dataLabels
2794
+ // options doesn't work as an array
2795
+ optionsLevel = splat(isObject(params.level) ?
2796
+ params.level.dataLabels :
2797
+ {})[0],
2798
+ options = merge({
2799
+ style: {}
2800
+ },
2801
+ optionsLevel,
2802
+ optionsPoint),
2803
+ rotationRad,
2804
+ rotation,
2805
+ rotationMode = options.rotationMode;
2806
+ if (!isNumber(options.rotation)) {
2807
+ if (rotationMode === 'auto' || rotationMode === 'circular') {
2808
+ if (point.innerArcLength < 1 &&
2809
+ point.outerArcLength > shape.radius) {
2810
+ rotationRad = 0;
2811
+ // Triger setTextPath function to get textOutline etc.
2812
+ if (point.dataLabelPath && rotationMode === 'circular') {
2813
+ options.textPath = {
2814
+ enabled: true
2815
+ };
2816
+ }
2817
+ }
2818
+ else if (point.innerArcLength > 1 &&
2819
+ point.outerArcLength > 1.5 * shape.radius) {
2820
+ if (rotationMode === 'circular') {
2821
+ options.textPath = {
2822
+ enabled: true,
2823
+ attributes: {
2824
+ dy: 5
2825
+ }
2826
+ };
2827
+ }
2828
+ else {
2829
+ rotationMode = 'parallel';
2830
+ }
2831
+ }
2832
+ else {
2833
+ // Trigger the destroyTextPath function
2834
+ if (point.dataLabel &&
2835
+ point.dataLabel.textPathWrapper &&
2836
+ rotationMode === 'circular') {
2837
+ options.textPath = {
2838
+ enabled: false
2839
+ };
2840
+ }
2841
+ rotationMode = 'perpendicular';
2842
+ }
2843
+ }
2844
+ if (rotationMode !== 'auto' && rotationMode !== 'circular') {
2845
+ rotationRad = (shape.end -
2846
+ (shape.end - shape.start) / 2);
2847
+ }
2848
+ if (rotationMode === 'parallel') {
2849
+ options.style.width = Math.min(shape.radius * 2.5, (point.outerArcLength + point.innerArcLength) / 2);
2850
+ }
2851
+ else {
2852
+ options.style.width = shape.radius;
2853
+ }
2854
+ if (rotationMode === 'perpendicular' &&
2855
+ point.series.chart.renderer.fontMetrics(options.style.fontSize).h > point.outerArcLength) {
2856
+ options.style.width = 1;
2857
+ }
2858
+ // Apply padding (#8515)
2859
+ options.style.width = Math.max(options.style.width - 2 * (options.padding || 0), 1);
2860
+ rotation = (rotationRad * rad2deg) % 180;
2861
+ if (rotationMode === 'parallel') {
2862
+ rotation -= 90;
2863
+ }
2864
+ // Prevent text from rotating upside down
2865
+ if (rotation > 90) {
2866
+ rotation -= 180;
2867
+ }
2868
+ else if (rotation < -90) {
2869
+ rotation += 180;
2870
+ }
2871
+ options.rotation = rotation;
2872
+ }
2873
+ if (options.textPath) {
2874
+ if (point.shapeExisting.innerR === 0 &&
2875
+ options.textPath.enabled) {
2876
+ // Enable rotation to render text
2877
+ options.rotation = 0;
2878
+ // Center dataLabel - disable textPath
2879
+ options.textPath.enabled = false;
2880
+ // Setting width and padding
2881
+ options.style.width = Math.max((point.shapeExisting.r * 2) -
2882
+ 2 * (options.padding || 0), 1);
2883
+ }
2884
+ else if (point.dlOptions &&
2885
+ point.dlOptions.textPath &&
2886
+ !point.dlOptions.textPath.enabled &&
2887
+ (rotationMode === 'circular')) {
2888
+ // Bring dataLabel back if was a center dataLabel
2889
+ options.textPath.enabled = true;
2890
+ }
2891
+ if (options.textPath.enabled) {
2892
+ // Enable rotation to render text
2893
+ options.rotation = 0;
2894
+ // Setting width and padding
2895
+ options.style.width = Math.max((point.outerArcLength +
2896
+ point.innerArcLength) / 2 -
2897
+ 2 * (options.padding || 0), 1);
2898
+ }
2899
+ }
2900
+ // NOTE: alignDataLabel positions the data label differntly when rotation is
2901
+ // 0. Avoiding this by setting rotation to a small number.
2902
+ if (options.rotation === 0) {
2903
+ options.rotation = 0.001;
2904
+ }
2905
+ return options;
2906
+ }
2907
+ // eslint-disable-next-line require-jsdoc
2908
+ function getAnimation(shape, params) {
2909
+ var point = params.point,
2910
+ radians = params.radians,
2911
+ innerR = params.innerR,
2912
+ idRoot = params.idRoot,
2913
+ idPreviousRoot = params.idPreviousRoot,
2914
+ shapeExisting = params.shapeExisting,
2915
+ shapeRoot = params.shapeRoot,
2916
+ shapePreviousRoot = params.shapePreviousRoot,
2917
+ visible = params.visible,
2918
+ from = {},
2919
+ to = {
2920
+ end: shape.end,
2921
+ start: shape.start,
2922
+ innerR: shape.innerR,
2923
+ r: shape.r,
2924
+ x: shape.x,
2925
+ y: shape.y
2926
+ };
2927
+ if (visible) {
2928
+ // Animate points in
2929
+ if (!point.graphic && shapePreviousRoot) {
2930
+ if (idRoot === point.id) {
2931
+ from = {
2932
+ start: radians.start,
2933
+ end: radians.end
2934
+ };
2935
+ }
2936
+ else {
2937
+ from = (shapePreviousRoot.end <= shape.start) ? {
2938
+ start: radians.end,
2939
+ end: radians.end
2940
+ } : {
2941
+ start: radians.start,
2942
+ end: radians.start
2943
+ };
2944
+ }
2945
+ // Animate from center and outwards.
2946
+ from.innerR = from.r = innerR;
2947
+ }
2948
+ }
2949
+ else {
2950
+ // Animate points out
2951
+ if (point.graphic) {
2952
+ if (idPreviousRoot === point.id) {
2953
+ to = {
2954
+ innerR: innerR,
2955
+ r: innerR
2956
+ };
2957
+ }
2958
+ else if (shapeRoot) {
2959
+ to = (shapeRoot.end <= shapeExisting.start) ?
2960
+ {
2961
+ innerR: innerR,
2962
+ r: innerR,
2963
+ start: radians.end,
2964
+ end: radians.end
2965
+ } : {
2966
+ innerR: innerR,
2967
+ r: innerR,
2968
+ start: radians.start,
2969
+ end: radians.start
2970
+ };
2971
+ }
2972
+ }
2973
+ }
2974
+ return {
2975
+ from: from,
2976
+ to: to
2977
+ };
2978
+ }
2979
+ // eslint-disable-next-line require-jsdoc
2980
+ function getDrillId(point, idRoot, mapIdToNode) {
2981
+ var drillId,
2982
+ node = point.node,
2983
+ nodeRoot;
2984
+ if (!node.isLeaf) {
2985
+ // When it is the root node, the drillId should be set to parent.
2986
+ if (idRoot === point.id) {
2987
+ nodeRoot = mapIdToNode[idRoot];
2988
+ drillId = nodeRoot.parent;
2989
+ }
2990
+ else {
2991
+ drillId = point.id;
2992
+ }
2993
+ }
2994
+ return drillId;
2995
+ }
2996
+ // eslint-disable-next-line require-jsdoc
2997
+ function cbSetTreeValuesBefore(node, options) {
2998
+ var mapIdToNode = options.mapIdToNode,
2999
+ nodeParent = mapIdToNode[node.parent],
3000
+ series = options.series,
3001
+ chart = series.chart,
3002
+ points = series.points,
3003
+ point = points[node.i],
3004
+ colors = (series.options.colors || chart && chart.options.colors),
3005
+ colorInfo = getColor(node, {
3006
+ colors: colors,
3007
+ colorIndex: series.colorIndex,
3008
+ index: options.index,
3009
+ mapOptionsToLevel: options.mapOptionsToLevel,
3010
+ parentColor: nodeParent && nodeParent.color,
3011
+ parentColorIndex: nodeParent && nodeParent.colorIndex,
3012
+ series: options.series,
3013
+ siblings: options.siblings
3014
+ });
3015
+ node.color = colorInfo.color;
3016
+ node.colorIndex = colorInfo.colorIndex;
3017
+ if (point) {
3018
+ point.color = node.color;
3019
+ point.colorIndex = node.colorIndex;
3020
+ // Set slicing on node, but avoid slicing the top node.
3021
+ node.sliced = (node.id !== options.idRoot) ? point.sliced : false;
3022
+ }
3023
+ return node;
3024
+ }
3025
+ /* *
3026
+ *
3027
+ * Class
3028
+ *
3029
+ * */
3030
+ var SunburstSeries = /** @class */ (function (_super) {
3031
+ __extends(SunburstSeries, _super);
3032
+ function SunburstSeries() {
3033
+ /* *
3034
+ *
3035
+ * Static Properties
3036
+ *
3037
+ * */
3038
+ var _this = _super !== null && _super.apply(this,
3039
+ arguments) || this;
3040
+ /* *
3041
+ *
3042
+ * Properties
3043
+ *
3044
+ * */
3045
+ _this.center = void 0;
3046
+ _this.data = void 0;
3047
+ _this.mapOptionsToLevel = void 0;
3048
+ _this.nodeMap = void 0;
3049
+ _this.options = void 0;
3050
+ _this.points = void 0;
3051
+ _this.shapeRoot = void 0;
3052
+ _this.startAndEndRadians = void 0;
3053
+ _this.tree = void 0;
3054
+ return _this;
3055
+ /* eslint-enable valid-jsdoc */
3056
+ }
3057
+ /* *
3058
+ *
3059
+ * Functions
3060
+ *
3061
+ * */
3062
+ /* eslint-disable valid-jsdoc */
3063
+ SunburstSeries.prototype.alignDataLabel = function (_point, _dataLabel, labelOptions) {
3064
+ if (labelOptions.textPath && labelOptions.textPath.enabled) {
3065
+ return;
3066
+ }
3067
+ return _super.prototype.alignDataLabel.apply(this, arguments);
3068
+ };
3069
+ /**
3070
+ * Animate the slices in. Similar to the animation of polar charts.
3071
+ * @private
3072
+ */
3073
+ SunburstSeries.prototype.animate = function (init) {
3074
+ var chart = this.chart,
3075
+ center = [
3076
+ chart.plotWidth / 2,
3077
+ chart.plotHeight / 2
3078
+ ],
3079
+ plotLeft = chart.plotLeft,
3080
+ plotTop = chart.plotTop,
3081
+ attribs,
3082
+ group = this.group;
3083
+ // Initialize the animation
3084
+ if (init) {
3085
+ // Scale down the group and place it in the center
3086
+ attribs = {
3087
+ translateX: center[0] + plotLeft,
3088
+ translateY: center[1] + plotTop,
3089
+ scaleX: 0.001,
3090
+ scaleY: 0.001,
3091
+ rotation: 10,
3092
+ opacity: 0.01
3093
+ };
3094
+ group.attr(attribs);
3095
+ // Run the animation
3096
+ }
3097
+ else {
3098
+ attribs = {
3099
+ translateX: plotLeft,
3100
+ translateY: plotTop,
3101
+ scaleX: 1,
3102
+ scaleY: 1,
3103
+ rotation: 0,
3104
+ opacity: 1
3105
+ };
3106
+ group.animate(attribs, this.options.animation);
3107
+ }
3108
+ };
3109
+ SunburstSeries.prototype.drawPoints = function () {
3110
+ var series = this,
3111
+ mapOptionsToLevel = series.mapOptionsToLevel,
3112
+ shapeRoot = series.shapeRoot,
3113
+ group = series.group,
3114
+ hasRendered = series.hasRendered,
3115
+ idRoot = series.rootNode,
3116
+ idPreviousRoot = series.idPreviousRoot,
3117
+ nodeMap = series.nodeMap,
3118
+ nodePreviousRoot = nodeMap[idPreviousRoot],
3119
+ shapePreviousRoot = nodePreviousRoot && nodePreviousRoot.shapeArgs,
3120
+ points = series.points,
3121
+ radians = series.startAndEndRadians,
3122
+ chart = series.chart,
3123
+ optionsChart = chart && chart.options && chart.options.chart || {},
3124
+ animation = (isBoolean(optionsChart.animation) ?
3125
+ optionsChart.animation :
3126
+ true),
3127
+ positions = series.center,
3128
+ center = {
3129
+ x: positions[0],
3130
+ y: positions[1]
3131
+ },
3132
+ innerR = positions[3] / 2,
3133
+ renderer = series.chart.renderer,
3134
+ animateLabels,
3135
+ animateLabelsCalled = false,
3136
+ addedHack = false,
3137
+ hackDataLabelAnimation = !!(animation &&
3138
+ hasRendered &&
3139
+ idRoot !== idPreviousRoot &&
3140
+ series.dataLabelsGroup);
3141
+ if (hackDataLabelAnimation) {
3142
+ series.dataLabelsGroup.attr({ opacity: 0 });
3143
+ animateLabels = function () {
3144
+ var s = series;
3145
+ animateLabelsCalled = true;
3146
+ if (s.dataLabelsGroup) {
3147
+ s.dataLabelsGroup.animate({
3148
+ opacity: 1,
3149
+ visibility: 'visible'
3150
+ });
3151
+ }
3152
+ };
3153
+ }
3154
+ points.forEach(function (point) {
3155
+ var node = point.node,
3156
+ level = mapOptionsToLevel[node.level],
3157
+ shapeExisting = (point.shapeExisting || {}),
3158
+ shape = node.shapeArgs || {},
3159
+ animationInfo,
3160
+ onComplete,
3161
+ visible = !!(node.visible && node.shapeArgs);
3162
+ if (hasRendered && animation) {
3163
+ animationInfo = getAnimation(shape, {
3164
+ center: center,
3165
+ point: point,
3166
+ radians: radians,
3167
+ innerR: innerR,
3168
+ idRoot: idRoot,
3169
+ idPreviousRoot: idPreviousRoot,
3170
+ shapeExisting: shapeExisting,
3171
+ shapeRoot: shapeRoot,
3172
+ shapePreviousRoot: shapePreviousRoot,
3173
+ visible: visible
3174
+ });
3175
+ }
3176
+ else {
3177
+ // When animation is disabled, attr is called from animation.
3178
+ animationInfo = {
3179
+ to: shape,
3180
+ from: {}
3181
+ };
3182
+ }
3183
+ extend(point, {
3184
+ shapeExisting: shape,
3185
+ tooltipPos: [shape.plotX, shape.plotY],
3186
+ drillId: getDrillId(point, idRoot, nodeMap),
3187
+ name: '' + (point.name || point.id || point.index),
3188
+ plotX: shape.plotX,
3189
+ plotY: shape.plotY,
3190
+ value: node.val,
3191
+ isInside: visible,
3192
+ isNull: !visible // used for dataLabels & point.draw
3193
+ });
3194
+ point.dlOptions = getDlOptions({
3195
+ point: point,
3196
+ level: level,
3197
+ optionsPoint: point.options,
3198
+ shapeArgs: shape
3199
+ });
3200
+ if (!addedHack && visible) {
3201
+ addedHack = true;
3202
+ onComplete = animateLabels;
3203
+ }
3204
+ point.draw({
3205
+ animatableAttribs: animationInfo.to,
3206
+ attribs: extend(animationInfo.from, (!chart.styledMode && series.pointAttribs(point, (point.selected && 'select')))),
3207
+ onComplete: onComplete,
3208
+ group: group,
3209
+ renderer: renderer,
3210
+ shapeType: 'arc',
3211
+ shapeArgs: shape
3212
+ });
3213
+ });
3214
+ // Draw data labels after points
3215
+ // TODO draw labels one by one to avoid addtional looping
3216
+ if (hackDataLabelAnimation && addedHack) {
3217
+ series.hasRendered = false;
3218
+ series.options.dataLabels.defer = true;
3219
+ Series.prototype.drawDataLabels.call(series);
3220
+ series.hasRendered = true;
3221
+ // If animateLabels is called before labels were hidden, then call
3222
+ // it again.
3223
+ if (animateLabelsCalled) {
3224
+ animateLabels();
3225
+ }
3226
+ }
3227
+ else {
3228
+ Series.prototype.drawDataLabels.call(series);
3229
+ }
3230
+ };
3231
+ /**
3232
+ * The layout algorithm for the levels.
3233
+ * @private
3234
+ */
3235
+ SunburstSeries.prototype.layoutAlgorithm = function (parent, children, options) {
3236
+ var startAngle = parent.start,
3237
+ range = parent.end - startAngle,
3238
+ total = parent.val,
3239
+ x = parent.x,
3240
+ y = parent.y,
3241
+ radius = ((options &&
3242
+ isObject(options.levelSize) &&
3243
+ isNumber(options.levelSize.value)) ?
3244
+ options.levelSize.value :
3245
+ 0),
3246
+ innerRadius = parent.r,
3247
+ outerRadius = innerRadius + radius,
3248
+ slicedOffset = options && isNumber(options.slicedOffset) ?
3249
+ options.slicedOffset :
3250
+ 0;
3251
+ return (children || []).reduce(function (arr, child) {
3252
+ var percentage = (1 / total) * child.val,
3253
+ radians = percentage * range,
3254
+ radiansCenter = startAngle + (radians / 2),
3255
+ offsetPosition = getEndPoint(x,
3256
+ y,
3257
+ radiansCenter,
3258
+ slicedOffset),
3259
+ values = {
3260
+ x: child.sliced ? offsetPosition.x : x,
3261
+ y: child.sliced ? offsetPosition.y : y,
3262
+ innerR: innerRadius,
3263
+ r: outerRadius,
3264
+ radius: radius,
3265
+ start: startAngle,
3266
+ end: startAngle + radians
3267
+ };
3268
+ arr.push(values);
3269
+ startAngle = values.end;
3270
+ return arr;
3271
+ }, []);
3272
+ };
3273
+ /**
3274
+ * Set the shape arguments on the nodes. Recursive from root down.
3275
+ * @private
3276
+ */
3277
+ SunburstSeries.prototype.setShapeArgs = function (parent, parentValues, mapOptionsToLevel) {
3278
+ var childrenValues = [],
3279
+ level = parent.level + 1,
3280
+ options = mapOptionsToLevel[level],
3281
+ // Collect all children which should be included
3282
+ children = parent.children.filter(function (n) {
3283
+ return n.visible;
3284
+ }), twoPi = 6.28; // Two times Pi.
3285
+ childrenValues = this.layoutAlgorithm(parentValues, children, options);
3286
+ children.forEach(function (child, index) {
3287
+ var values = childrenValues[index],
3288
+ angle = values.start + ((values.end - values.start) / 2),
3289
+ radius = values.innerR + ((values.r - values.innerR) / 2),
3290
+ radians = (values.end - values.start),
3291
+ isCircle = (values.innerR === 0 && radians > twoPi),
3292
+ center = (isCircle ?
3293
+ { x: values.x,
3294
+ y: values.y } :
3295
+ getEndPoint(values.x,
3296
+ values.y,
3297
+ angle,
3298
+ radius)),
3299
+ val = (child.val ?
3300
+ (child.childrenTotal > child.val ?
3301
+ child.childrenTotal :
3302
+ child.val) :
3303
+ child.childrenTotal);
3304
+ // The inner arc length is a convenience for data label filters.
3305
+ if (this.points[child.i]) {
3306
+ this.points[child.i].innerArcLength = radians * values.innerR;
3307
+ this.points[child.i].outerArcLength = radians * values.r;
3308
+ }
3309
+ child.shapeArgs = merge(values, {
3310
+ plotX: center.x,
3311
+ plotY: center.y + 4 * Math.abs(Math.cos(angle))
3312
+ });
3313
+ child.values = merge(values, {
3314
+ val: val
3315
+ });
3316
+ // If node has children, then call method recursively
3317
+ if (child.children.length) {
3318
+ this.setShapeArgs(child, child.values, mapOptionsToLevel);
3319
+ }
3320
+ }, this);
3321
+ };
3322
+ SunburstSeries.prototype.translate = function () {
3323
+ var series = this,
3324
+ options = series.options,
3325
+ positions = series.center = getCenter.call(series),
3326
+ radians = series.startAndEndRadians = getStartAndEndRadians(options.startAngle,
3327
+ options.endAngle),
3328
+ innerRadius = positions[3] / 2,
3329
+ outerRadius = positions[2] / 2,
3330
+ diffRadius = outerRadius - innerRadius,
3331
+ // NOTE: updateRootId modifies series.
3332
+ rootId = updateRootId(series),
3333
+ mapIdToNode = series.nodeMap,
3334
+ mapOptionsToLevel,
3335
+ idTop,
3336
+ nodeRoot = mapIdToNode && mapIdToNode[rootId],
3337
+ nodeTop,
3338
+ tree,
3339
+ values,
3340
+ nodeIds = {};
3341
+ series.shapeRoot = nodeRoot && nodeRoot.shapeArgs;
3342
+ // Call prototype function
3343
+ Series.prototype.translate.call(series);
3344
+ // @todo Only if series.isDirtyData is true
3345
+ tree = series.tree = series.getTree();
3346
+ // Render traverseUpButton, after series.nodeMap i calculated.
3347
+ series.renderTraverseUpButton(rootId);
3348
+ mapIdToNode = series.nodeMap;
3349
+ nodeRoot = mapIdToNode[rootId];
3350
+ idTop = isString(nodeRoot.parent) ? nodeRoot.parent : '';
3351
+ nodeTop = mapIdToNode[idTop];
3352
+ var _a = SunburstUtilities.getLevelFromAndTo(nodeRoot),
3353
+ from = _a.from,
3354
+ to = _a.to;
3355
+ mapOptionsToLevel = getLevelOptions({
3356
+ from: from,
3357
+ levels: series.options.levels,
3358
+ to: to,
3359
+ defaults: {
3360
+ colorByPoint: options.colorByPoint,
3361
+ dataLabels: options.dataLabels,
3362
+ levelIsConstant: options.levelIsConstant,
3363
+ levelSize: options.levelSize,
3364
+ slicedOffset: options.slicedOffset
3365
+ }
3366
+ });
3367
+ // NOTE consider doing calculateLevelSizes in a callback to
3368
+ // getLevelOptions
3369
+ mapOptionsToLevel = SunburstUtilities.calculateLevelSizes(mapOptionsToLevel, {
3370
+ diffRadius: diffRadius,
3371
+ from: from,
3372
+ to: to
3373
+ });
3374
+ // TODO Try to combine setTreeValues & setColorRecursive to avoid
3375
+ // unnecessary looping.
3376
+ setTreeValues(tree, {
3377
+ before: cbSetTreeValuesBefore,
3378
+ idRoot: rootId,
3379
+ levelIsConstant: options.levelIsConstant,
3380
+ mapOptionsToLevel: mapOptionsToLevel,
3381
+ mapIdToNode: mapIdToNode,
3382
+ points: series.points,
3383
+ series: series
3384
+ });
3385
+ values = mapIdToNode[''].shapeArgs = {
3386
+ end: radians.end,
3387
+ r: innerRadius,
3388
+ start: radians.start,
3389
+ val: nodeRoot.val,
3390
+ x: positions[0],
3391
+ y: positions[1]
3392
+ };
3393
+ this.setShapeArgs(nodeTop, values, mapOptionsToLevel);
3394
+ // Set mapOptionsToLevel on series for use in drawPoints.
3395
+ series.mapOptionsToLevel = mapOptionsToLevel;
3396
+ // #10669 - verify if all nodes have unique ids
3397
+ series.data.forEach(function (child) {
3398
+ if (nodeIds[child.id]) {
3399
+ error(31, false, series.chart);
3400
+ }
3401
+ // map
3402
+ nodeIds[child.id] = true;
3403
+ });
3404
+ // reset object
3405
+ nodeIds = {};
3406
+ };
3407
+ /**
3408
+ * A Sunburst displays hierarchical data, where a level in the hierarchy is
3409
+ * represented by a circle. The center represents the root node of the tree.
3410
+ * The visualization bears a resemblance to both treemap and pie charts.
3411
+ *
3412
+ * @sample highcharts/demo/sunburst
3413
+ * Sunburst chart
3414
+ *
3415
+ * @extends plotOptions.pie
3416
+ * @excluding allAreas, clip, colorAxis, colorKey, compare, compareBase,
3417
+ * dataGrouping, depth, dragDrop, endAngle, gapSize, gapUnit,
3418
+ * ignoreHiddenPoint, innerSize, joinBy, legendType, linecap,
3419
+ * minSize, navigatorOptions, pointRange
3420
+ * @product highcharts
3421
+ * @requires modules/sunburst.js
3422
+ * @optionparent plotOptions.sunburst
3423
+ * @private
3424
+ */
3425
+ SunburstSeries.defaultOptions = merge(TreemapSeries.defaultOptions, {
3426
+ /**
3427
+ * Set options on specific levels. Takes precedence over series options,
3428
+ * but not point options.
3429
+ *
3430
+ * @sample highcharts/demo/sunburst
3431
+ * Sunburst chart
3432
+ *
3433
+ * @type {Array<*>}
3434
+ * @apioption plotOptions.sunburst.levels
3435
+ */
3436
+ /**
3437
+ * Can set a `borderColor` on all points which lies on the same level.
3438
+ *
3439
+ * @type {Highcharts.ColorString}
3440
+ * @apioption plotOptions.sunburst.levels.borderColor
3441
+ */
3442
+ /**
3443
+ * Can set a `borderWidth` on all points which lies on the same level.
3444
+ *
3445
+ * @type {number}
3446
+ * @apioption plotOptions.sunburst.levels.borderWidth
3447
+ */
3448
+ /**
3449
+ * Can set a `borderDashStyle` on all points which lies on the same
3450
+ * level.
3451
+ *
3452
+ * @type {Highcharts.DashStyleValue}
3453
+ * @apioption plotOptions.sunburst.levels.borderDashStyle
3454
+ */
3455
+ /**
3456
+ * Can set a `color` on all points which lies on the same level.
3457
+ *
3458
+ * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
3459
+ * @apioption plotOptions.sunburst.levels.color
3460
+ */
3461
+ /**
3462
+ * Can set a `colorVariation` on all points which lies on the same
3463
+ * level.
3464
+ *
3465
+ * @apioption plotOptions.sunburst.levels.colorVariation
3466
+ */
3467
+ /**
3468
+ * The key of a color variation. Currently supports `brightness` only.
3469
+ *
3470
+ * @type {string}
3471
+ * @apioption plotOptions.sunburst.levels.colorVariation.key
3472
+ */
3473
+ /**
3474
+ * The ending value of a color variation. The last sibling will receive
3475
+ * this value.
3476
+ *
3477
+ * @type {number}
3478
+ * @apioption plotOptions.sunburst.levels.colorVariation.to
3479
+ */
3480
+ /**
3481
+ * Can set `dataLabels` on all points which lies on the same level.
3482
+ *
3483
+ * @extends plotOptions.sunburst.dataLabels
3484
+ * @apioption plotOptions.sunburst.levels.dataLabels
3485
+ */
3486
+ /**
3487
+ * Decides which level takes effect from the options set in the levels
3488
+ * object.
3489
+ *
3490
+ * @sample highcharts/demo/sunburst
3491
+ * Sunburst chart
3492
+ *
3493
+ * @type {number}
3494
+ * @apioption plotOptions.sunburst.levels.level
3495
+ */
3496
+ /**
3497
+ * Can set a `levelSize` on all points which lies on the same level.
3498
+ *
3499
+ * @type {Object}
3500
+ * @apioption plotOptions.sunburst.levels.levelSize
3501
+ */
3502
+ /**
3503
+ * When enabled the user can click on a point which is a parent and
3504
+ * zoom in on its children. Deprecated and replaced by
3505
+ * [allowTraversingTree](#plotOptions.sunburst.allowTraversingTree).
3506
+ *
3507
+ * @deprecated
3508
+ * @type {boolean}
3509
+ * @default false
3510
+ * @since 6.0.0
3511
+ * @product highcharts
3512
+ * @apioption plotOptions.sunburst.allowDrillToNode
3513
+ */
3514
+ /**
3515
+ * When enabled the user can click on a point which is a parent and
3516
+ * zoom in on its children.
3517
+ *
3518
+ * @type {boolean}
3519
+ * @default false
3520
+ * @since 7.0.3
3521
+ * @product highcharts
3522
+ * @apioption plotOptions.sunburst.allowTraversingTree
3523
+ */
3524
+ /**
3525
+ * The center of the sunburst chart relative to the plot area. Can be
3526
+ * percentages or pixel values.
3527
+ *
3528
+ * @sample {highcharts} highcharts/plotoptions/pie-center/
3529
+ * Centered at 100, 100
3530
+ *
3531
+ * @type {Array<number|string>}
3532
+ * @default ["50%", "50%"]
3533
+ * @product highcharts
3534
+ */
3535
+ center: ['50%', '50%'],
3536
+ colorByPoint: false,
3537
+ /**
3538
+ * Disable inherited opacity from Treemap series.
3539
+ *
3540
+ * @ignore-option
3541
+ */
3542
+ opacity: 1,
3543
+ /**
3544
+ * @declare Highcharts.SeriesSunburstDataLabelsOptionsObject
3545
+ */
3546
+ dataLabels: {
3547
+ allowOverlap: true,
3548
+ defer: true,
3549
+ /**
3550
+ * Decides how the data label will be rotated relative to the
3551
+ * perimeter of the sunburst. Valid values are `auto`, `circular`,
3552
+ * `parallel` and `perpendicular`. When `auto`, the best fit will be
3553
+ * computed for the point. The `circular` option works similiar
3554
+ * to `auto`, but uses the `textPath` feature - labels are curved,
3555
+ * resulting in a better layout, however multiple lines and
3556
+ * `textOutline` are not supported.
3557
+ *
3558
+ * The `rotation` option takes precedence over `rotationMode`.
3559
+ *
3560
+ * @type {string}
3561
+ * @sample {highcharts} highcharts/plotoptions/sunburst-datalabels-rotationmode-circular/
3562
+ * Circular rotation mode
3563
+ * @validvalue ["auto", "perpendicular", "parallel", "circular"]
3564
+ * @since 6.0.0
3565
+ */
3566
+ rotationMode: 'auto',
3567
+ style: {
3568
+ /** @internal */
3569
+ textOverflow: 'ellipsis'
3570
+ }
3571
+ },
3572
+ /**
3573
+ * Which point to use as a root in the visualization.
3574
+ *
3575
+ * @type {string}
3576
+ */
3577
+ rootId: void 0,
3578
+ /**
3579
+ * Used together with the levels and `allowDrillToNode` options. When
3580
+ * set to false the first level visible when drilling is considered
3581
+ * to be level one. Otherwise the level will be the same as the tree
3582
+ * structure.
3583
+ */
3584
+ levelIsConstant: true,
3585
+ /**
3586
+ * Determines the width of the ring per level.
3587
+ *
3588
+ * @sample {highcharts} highcharts/plotoptions/sunburst-levelsize/
3589
+ * Sunburst with various sizes per level
3590
+ *
3591
+ * @since 6.0.5
3592
+ */
3593
+ levelSize: {
3594
+ /**
3595
+ * The value used for calculating the width of the ring. Its' affect
3596
+ * is determined by `levelSize.unit`.
3597
+ *
3598
+ * @sample {highcharts} highcharts/plotoptions/sunburst-levelsize/
3599
+ * Sunburst with various sizes per level
3600
+ */
3601
+ value: 1,
3602
+ /**
3603
+ * How to interpret `levelSize.value`.
3604
+ *
3605
+ * - `percentage` gives a width relative to result of outer radius
3606
+ * minus inner radius.
3607
+ *
3608
+ * - `pixels` gives the ring a fixed width in pixels.
3609
+ *
3610
+ * - `weight` takes the remaining width after percentage and pixels,
3611
+ * and distributes it accross all "weighted" levels. The value
3612
+ * relative to the sum of all weights determines the width.
3613
+ *
3614
+ * @sample {highcharts} highcharts/plotoptions/sunburst-levelsize/
3615
+ * Sunburst with various sizes per level
3616
+ *
3617
+ * @validvalue ["percentage", "pixels", "weight"]
3618
+ */
3619
+ unit: 'weight'
3620
+ },
3621
+ /**
3622
+ * Options for the button appearing when traversing down in a treemap.
3623
+ *
3624
+ * @extends plotOptions.treemap.traverseUpButton
3625
+ * @since 6.0.0
3626
+ * @apioption plotOptions.sunburst.traverseUpButton
3627
+ */
3628
+ /**
3629
+ * If a point is sliced, moved out from the center, how many pixels
3630
+ * should it be moved?.
3631
+ *
3632
+ * @sample highcharts/plotoptions/sunburst-sliced
3633
+ * Sliced sunburst
3634
+ *
3635
+ * @since 6.0.4
3636
+ */
3637
+ slicedOffset: 10
3638
+ });
3639
+ return SunburstSeries;
3640
+ }(TreemapSeries));
3641
+ extend(SunburstSeries.prototype, {
3642
+ drawDataLabels: noop,
3643
+ pointAttribs: ColumnSeries.prototype.pointAttribs,
3644
+ pointClass: SunburstPoint,
3645
+ utils: SunburstUtilities
3646
+ });
3647
+ SeriesRegistry.registerSeriesType('sunburst', SunburstSeries);
3648
+ /* *
3649
+ *
3650
+ * Default Export
3651
+ *
3652
+ * */
3653
+ /* *
3654
+ *
3655
+ * API Options
3656
+ *
3657
+ * */
3658
+ /**
3659
+ * A `sunburst` series. If the [type](#series.sunburst.type) option is
3660
+ * not specified, it is inherited from [chart.type](#chart.type).
3661
+ *
3662
+ * @extends series,plotOptions.sunburst
3663
+ * @excluding dataParser, dataURL, stack, dataSorting, boostThreshold,
3664
+ * boostBlending
3665
+ * @product highcharts
3666
+ * @requires modules/sunburst.js
3667
+ * @apioption series.sunburst
3668
+ */
3669
+ /**
3670
+ * @type {Array<number|null|*>}
3671
+ * @extends series.treemap.data
3672
+ * @excluding x, y
3673
+ * @product highcharts
3674
+ * @apioption series.sunburst.data
3675
+ */
3676
+ /**
3677
+ * @type {Highcharts.SeriesSunburstDataLabelsOptionsObject|Array<Highcharts.SeriesSunburstDataLabelsOptionsObject>}
3678
+ * @product highcharts
3679
+ * @apioption series.sunburst.data.dataLabels
3680
+ */
3681
+ /**
3682
+ * The value of the point, resulting in a relative area of the point
3683
+ * in the sunburst.
3684
+ *
3685
+ * @type {number|null}
3686
+ * @since 6.0.0
3687
+ * @product highcharts
3688
+ * @apioption series.sunburst.data.value
3689
+ */
3690
+ /**
3691
+ * Use this option to build a tree structure. The value should be the id of the
3692
+ * point which is the parent. If no points has a matching id, or this option is
3693
+ * undefined, then the parent will be set to the root.
3694
+ *
3695
+ * @type {string}
3696
+ * @since 6.0.0
3697
+ * @product highcharts
3698
+ * @apioption series.sunburst.data.parent
3699
+ */
3700
+ /**
3701
+ * Whether to display a slice offset from the center. When a sunburst point is
3702
+ * sliced, its children are also offset.
3703
+ *
3704
+ * @sample highcharts/plotoptions/sunburst-sliced
3705
+ * Sliced sunburst
3706
+ *
3707
+ * @type {boolean}
3708
+ * @default false
3709
+ * @since 6.0.4
3710
+ * @product highcharts
3711
+ * @apioption series.sunburst.data.sliced
3712
+ */
3713
+ ''; // detach doclets above
3714
+
3715
+ return SunburstSeries;
3716
+ });
3717
+ _registerModule(_modules, 'masters/modules/sunburst.src.js', [], function () {
3718
+
3719
+
3720
+ });
3721
+ }));