@highcharts/grid-pro 2.1.1 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (373) hide show
  1. package/css/grid-pro.css +428 -432
  2. package/es-modules/Accessibility/A11yI18n.js +3 -3
  3. package/es-modules/Accessibility/Accessibility.js +4 -3
  4. package/es-modules/Accessibility/AccessibilityComponent.d.ts +1 -1
  5. package/es-modules/Accessibility/AccessibilityComponent.js +4 -3
  6. package/es-modules/Accessibility/Components/AnnotationsA11y.js +4 -3
  7. package/es-modules/Accessibility/Components/ContainerComponent.js +4 -3
  8. package/es-modules/Accessibility/Components/InfoRegionsComponent.js +4 -3
  9. package/es-modules/Accessibility/Components/LegendComponent.js +4 -3
  10. package/es-modules/Accessibility/Components/MenuComponent.js +4 -3
  11. package/es-modules/Accessibility/Components/NavigatorComponent.js +3 -3
  12. package/es-modules/Accessibility/Components/RangeSelectorComponent.js +4 -3
  13. package/es-modules/Accessibility/Components/SeriesComponent/ForcedMarkers.js +14 -3
  14. package/es-modules/Accessibility/Components/SeriesComponent/NewDataAnnouncer.js +4 -3
  15. package/es-modules/Accessibility/Components/SeriesComponent/SeriesComponent.js +4 -3
  16. package/es-modules/Accessibility/Components/SeriesComponent/SeriesDescriber.js +4 -3
  17. package/es-modules/Accessibility/Components/SeriesComponent/SeriesKeyboardNavigation.js +4 -3
  18. package/es-modules/Accessibility/Components/ZoomComponent.js +4 -3
  19. package/es-modules/Accessibility/FocusBorder.js +4 -3
  20. package/es-modules/Accessibility/HighContrastMode.js +4 -3
  21. package/es-modules/Accessibility/HighContrastTheme.js +4 -3
  22. package/es-modules/Accessibility/KeyboardNavigation.js +4 -3
  23. package/es-modules/Accessibility/KeyboardNavigationHandler.js +4 -3
  24. package/es-modules/Accessibility/Options/A11yDefaults.js +4 -3
  25. package/es-modules/Accessibility/Options/DeprecatedOptions.js +4 -3
  26. package/es-modules/Accessibility/Options/LangDefaults.js +4 -3
  27. package/es-modules/Accessibility/ProxyElement.js +4 -3
  28. package/es-modules/Accessibility/ProxyProvider.js +4 -3
  29. package/es-modules/Accessibility/Utils/Announcer.js +4 -3
  30. package/es-modules/Accessibility/Utils/ChartUtilities.js +4 -3
  31. package/es-modules/Accessibility/Utils/DOMElementProvider.js +4 -3
  32. package/es-modules/Accessibility/Utils/EventProvider.d.ts +1 -1
  33. package/es-modules/Accessibility/Utils/EventProvider.js +4 -3
  34. package/es-modules/Accessibility/Utils/HTMLUtilities.js +4 -3
  35. package/es-modules/Core/Animation/AnimationOptions.d.ts +42 -0
  36. package/es-modules/Core/Animation/AnimationOptions.js +10 -0
  37. package/es-modules/Core/Animation/AnimationUtilities.js +39 -3
  38. package/es-modules/Core/Animation/Fx.d.ts +1 -130
  39. package/es-modules/Core/Animation/Fx.js +13 -6
  40. package/es-modules/Core/Animation/FxBase.d.ts +1 -0
  41. package/es-modules/Core/Animation/FxBase.js +11 -0
  42. package/es-modules/Core/Callback.d.ts +49 -0
  43. package/es-modules/Core/Callback.js +10 -0
  44. package/es-modules/Core/Chart/Chart.d.ts +659 -400
  45. package/es-modules/Core/Chart/Chart.js +64 -54
  46. package/es-modules/Core/Chart/Chart3D.d.ts +123 -233
  47. package/es-modules/Core/Chart/Chart3D.js +22 -35
  48. package/es-modules/Core/Chart/ChartBase.d.ts +3 -0
  49. package/es-modules/Core/Chart/ChartBase.js +11 -0
  50. package/es-modules/Core/Chart/ChartDefaults.js +7 -12
  51. package/es-modules/Core/Chart/ChartNavigationComposition.d.ts +1 -55
  52. package/es-modules/Core/Chart/ChartNavigationComposition.js +13 -13
  53. package/es-modules/Core/Chart/ChartOptions.d.ts +1217 -0
  54. package/es-modules/Core/Chart/ChartOptions.js +10 -0
  55. package/es-modules/Core/Chart/GanttChart.d.ts +0 -38
  56. package/es-modules/Core/Chart/GanttChart.js +4 -3
  57. package/es-modules/Core/Chart/MapChart.d.ts +9 -4
  58. package/es-modules/Core/Chart/MapChart.js +13 -3
  59. package/es-modules/Core/Chart/StockChart.d.ts +0 -85
  60. package/es-modules/Core/Chart/StockChart.js +33 -15
  61. package/es-modules/Core/Color/Color.d.ts +16 -24
  62. package/es-modules/Core/Color/Color.js +26 -8
  63. package/es-modules/Core/Color/ColorString.d.ts +0 -23
  64. package/es-modules/Core/Color/ColorString.js +11 -0
  65. package/es-modules/Core/Color/ColorType.d.ts +0 -33
  66. package/es-modules/Core/Color/ColorType.js +11 -0
  67. package/es-modules/Core/Color/GradientColor.d.ts +0 -33
  68. package/es-modules/Core/Color/GradientColor.js +11 -0
  69. package/es-modules/Core/Color/Palettes.d.ts +1 -84
  70. package/es-modules/Core/Color/Palettes.js +2 -1
  71. package/es-modules/Core/Defaults.d.ts +6 -0
  72. package/es-modules/Core/Defaults.js +30 -66
  73. package/es-modules/Core/Foundation.d.ts +1 -19
  74. package/es-modules/Core/Foundation.js +7 -4
  75. package/es-modules/Core/Geometry/CircleObject.d.ts +5 -0
  76. package/es-modules/Core/Geometry/CircleObject.js +10 -0
  77. package/es-modules/Core/Geometry/CircleUtilities.d.ts +1 -189
  78. package/es-modules/Core/Geometry/CircleUtilities.js +17 -15
  79. package/es-modules/Core/Geometry/GeometryObject.d.ts +7 -0
  80. package/es-modules/Core/Geometry/GeometryObject.js +10 -0
  81. package/es-modules/Core/Geometry/GeometryUtilities.d.ts +1 -48
  82. package/es-modules/Core/Geometry/GeometryUtilities.js +9 -7
  83. package/es-modules/Core/Geometry/IntersectionObject.d.ts +7 -0
  84. package/es-modules/Core/Geometry/IntersectionObject.js +10 -0
  85. package/es-modules/Core/Geometry/PolygonClip.d.ts +1 -19
  86. package/es-modules/Core/Geometry/PolygonClip.js +9 -7
  87. package/es-modules/Core/Globals.d.ts +9 -31
  88. package/es-modules/Core/Globals.js +9 -10
  89. package/es-modules/Core/GlobalsBase.d.ts +35 -0
  90. package/es-modules/Core/GlobalsBase.js +11 -0
  91. package/es-modules/Core/HttpUtilities.d.ts +54 -17
  92. package/es-modules/Core/HttpUtilities.js +15 -14
  93. package/es-modules/Core/JSON.d.ts +29 -0
  94. package/es-modules/Core/JSON.js +13 -0
  95. package/es-modules/Core/KeyboardEvent.d.ts +1 -0
  96. package/es-modules/Core/KeyboardEvent.js +11 -0
  97. package/es-modules/Core/MSPointer.d.ts +1 -74
  98. package/es-modules/Core/MSPointer.js +23 -13
  99. package/es-modules/Core/Math3D.d.ts +1 -117
  100. package/es-modules/Core/Math3D.js +13 -10
  101. package/es-modules/Core/Options.d.ts +334 -0
  102. package/es-modules/Core/Options.js +10 -0
  103. package/es-modules/Core/Pointer.d.ts +71 -445
  104. package/es-modules/Core/Pointer.js +51 -65
  105. package/es-modules/Core/PointerEvent.d.ts +18 -0
  106. package/es-modules/Core/PointerEvent.js +11 -0
  107. package/es-modules/Core/Renderer/AlignObject.d.ts +25 -27
  108. package/es-modules/Core/Renderer/AlignObject.js +11 -0
  109. package/es-modules/Core/Renderer/BBoxObject.d.ts +20 -31
  110. package/es-modules/Core/Renderer/BBoxObject.js +11 -0
  111. package/es-modules/Core/Renderer/CSSObject.d.ts +268 -59
  112. package/es-modules/Core/Renderer/CSSObject.js +10 -0
  113. package/es-modules/Core/Renderer/DOMElementType.d.ts +1 -33
  114. package/es-modules/Core/Renderer/DOMElementType.js +11 -0
  115. package/es-modules/Core/Renderer/DashStyleValue.d.ts +1 -27
  116. package/es-modules/Core/Renderer/DashStyleValue.js +11 -0
  117. package/es-modules/Core/Renderer/FontMetricsObject.d.ts +6 -26
  118. package/es-modules/Core/Renderer/FontMetricsObject.js +11 -0
  119. package/es-modules/Core/Renderer/HTML/AST.d.ts +3 -15
  120. package/es-modules/Core/Renderer/HTML/AST.js +22 -13
  121. package/es-modules/Core/Renderer/HTML/HTMLAttributes.d.ts +1 -25
  122. package/es-modules/Core/Renderer/HTML/HTMLAttributes.js +11 -0
  123. package/es-modules/Core/Renderer/HTML/HTMLElement.d.ts +0 -54
  124. package/es-modules/Core/Renderer/HTML/HTMLElement.js +27 -22
  125. package/es-modules/Core/Renderer/PolygonBoxObject.d.ts +15 -12
  126. package/es-modules/Core/Renderer/PolygonBoxObject.js +11 -0
  127. package/es-modules/Core/Renderer/Position3DObject.d.ts +6 -30
  128. package/es-modules/Core/Renderer/Position3DObject.js +11 -0
  129. package/es-modules/Core/Renderer/PositionObject.d.ts +9 -23
  130. package/es-modules/Core/Renderer/PositionObject.js +11 -0
  131. package/es-modules/Core/Renderer/RectangleObject.d.ts +6 -30
  132. package/es-modules/Core/Renderer/RectangleObject.js +11 -0
  133. package/es-modules/Core/Renderer/RendererRegistry.d.ts +1 -29
  134. package/es-modules/Core/Renderer/RendererRegistry.js +6 -3
  135. package/es-modules/Core/Renderer/RendererType.d.ts +1 -53
  136. package/es-modules/Core/Renderer/RendererType.js +11 -0
  137. package/es-modules/Core/Renderer/RendererUtilities.d.ts +1 -26
  138. package/es-modules/Core/Renderer/RendererUtilities.js +7 -4
  139. package/es-modules/Core/Renderer/SVG/ButtonThemeObject.d.ts +26 -31
  140. package/es-modules/Core/Renderer/SVG/SVGArc3D.d.ts +1 -44
  141. package/es-modules/Core/Renderer/SVG/SVGAttributes.d.ts +15 -51
  142. package/es-modules/Core/Renderer/SVG/SVGAttributes3D.d.ts +1 -42
  143. package/es-modules/Core/Renderer/SVG/SVGCuboid.d.ts +1 -42
  144. package/es-modules/Core/Renderer/SVG/SVGElement.d.ts +459 -0
  145. package/es-modules/Core/Renderer/SVG/SVGElement3D.d.ts +1 -0
  146. package/es-modules/Core/Renderer/SVG/SVGElementBase.d.ts +0 -23
  147. package/es-modules/Core/Renderer/SVG/SVGLabel.d.ts +14 -0
  148. package/es-modules/Core/Renderer/SVG/SVGPath.d.ts +18 -56
  149. package/es-modules/Core/Renderer/SVG/SVGPath3D.d.ts +0 -30
  150. package/es-modules/Core/Renderer/SVG/SVGRenderer.d.ts +652 -0
  151. package/es-modules/Core/Renderer/SVG/SVGRenderer3D.d.ts +1 -0
  152. package/es-modules/Core/Renderer/SVG/SVGRendererBase.d.ts +0 -24
  153. package/es-modules/Core/Renderer/SVG/SymbolOptions.d.ts +3 -26
  154. package/es-modules/Core/Renderer/SVG/SymbolType.d.ts +1 -41
  155. package/es-modules/Core/Renderer/SVG/Symbols.d.ts +146 -0
  156. package/es-modules/Core/Renderer/SVG/TextBuilder.d.ts +1 -0
  157. package/es-modules/Core/Renderer/ShadowOptionsObject.d.ts +21 -30
  158. package/es-modules/Core/Renderer/ShadowOptionsObject.js +11 -0
  159. package/es-modules/Core/Renderer/SizeObject.d.ts +0 -23
  160. package/es-modules/Core/Renderer/SizeObject.js +11 -0
  161. package/es-modules/Core/Responsive.d.ts +91 -28
  162. package/es-modules/Core/Responsive.js +7 -8
  163. package/es-modules/Core/Templating.d.ts +16 -0
  164. package/es-modules/Core/Templating.js +9 -4
  165. package/es-modules/Core/Time.d.ts +10 -1
  166. package/es-modules/Core/Time.js +4 -3
  167. package/es-modules/Core/Tooltip.d.ts +63 -115
  168. package/es-modules/Core/Tooltip.js +61 -27
  169. package/es-modules/Core/TooltipOptions.d.ts +681 -0
  170. package/es-modules/Core/TooltipOptions.js +10 -0
  171. package/es-modules/Core/Utilities.d.ts +75 -106
  172. package/es-modules/Core/Utilities.js +19 -53
  173. package/es-modules/Data/ColumnUtils.js +3 -3
  174. package/es-modules/Data/Connectors/CSVConnector.js +3 -3
  175. package/es-modules/Data/Connectors/CSVConnectorOptions.d.ts +3 -3
  176. package/es-modules/Data/Connectors/DataConnector.d.ts +12 -1
  177. package/es-modules/Data/Connectors/DataConnector.js +34 -4
  178. package/es-modules/Data/Connectors/DataConnectorOptions.d.ts +3 -3
  179. package/es-modules/Data/Connectors/DataConnectorType.d.ts +3 -3
  180. package/es-modules/Data/Connectors/GoogleSheetsConnector.js +3 -3
  181. package/es-modules/Data/Connectors/GoogleSheetsConnectorOptions.d.ts +3 -3
  182. package/es-modules/Data/Connectors/HTMLTableConnector.js +3 -3
  183. package/es-modules/Data/Connectors/HTMLTableConnectorOptions.d.ts +3 -3
  184. package/es-modules/Data/Connectors/JSONConnector.js +3 -3
  185. package/es-modules/Data/Connectors/JSONConnectorOptions.d.ts +3 -3
  186. package/es-modules/Data/Converters/CSVConverter.js +3 -3
  187. package/es-modules/Data/Converters/CSVConverterOptions.d.ts +3 -3
  188. package/es-modules/Data/Converters/DataConverter.js +3 -3
  189. package/es-modules/Data/Converters/DataConverterType.d.ts +3 -3
  190. package/es-modules/Data/Converters/DataConverterUtils.js +3 -3
  191. package/es-modules/Data/Converters/GoogleSheetsConverter.js +3 -3
  192. package/es-modules/Data/Converters/GoogleSheetsConverterOptions.d.ts +3 -3
  193. package/es-modules/Data/Converters/HTMLTableConverter.js +3 -3
  194. package/es-modules/Data/Converters/HTMLTableConverterOptions.d.ts +3 -3
  195. package/es-modules/Data/Converters/JSONConverter.js +3 -3
  196. package/es-modules/Data/Converters/JSONConverterOptions.d.ts +3 -3
  197. package/es-modules/Data/DataCursor.js +3 -3
  198. package/es-modules/Data/DataEvent.js +3 -3
  199. package/es-modules/Data/DataPool.js +3 -3
  200. package/es-modules/Data/DataPoolOptions.d.ts +3 -3
  201. package/es-modules/Data/DataTable.d.ts +6 -6
  202. package/es-modules/Data/DataTable.js +64 -30
  203. package/es-modules/Data/DataTableCore.d.ts +2 -2
  204. package/es-modules/Data/DataTableCore.js +5 -5
  205. package/es-modules/Data/DataTableOptions.js +3 -3
  206. package/es-modules/Data/Formula/Formula.js +3 -3
  207. package/es-modules/Data/Formula/FormulaParser.js +3 -3
  208. package/es-modules/Data/Formula/FormulaProcessor.js +3 -3
  209. package/es-modules/Data/Formula/FormulaTypes.js +3 -3
  210. package/es-modules/Data/Formula/Functions/ABS.js +3 -3
  211. package/es-modules/Data/Formula/Functions/AND.js +3 -3
  212. package/es-modules/Data/Formula/Functions/AVERAGE.js +3 -3
  213. package/es-modules/Data/Formula/Functions/AVERAGEA.js +3 -3
  214. package/es-modules/Data/Formula/Functions/COUNT.js +3 -3
  215. package/es-modules/Data/Formula/Functions/COUNTA.js +3 -3
  216. package/es-modules/Data/Formula/Functions/IF.js +3 -3
  217. package/es-modules/Data/Formula/Functions/ISNA.js +3 -3
  218. package/es-modules/Data/Formula/Functions/MAX.js +3 -3
  219. package/es-modules/Data/Formula/Functions/MEDIAN.js +3 -3
  220. package/es-modules/Data/Formula/Functions/MIN.js +3 -3
  221. package/es-modules/Data/Formula/Functions/MOD.js +3 -3
  222. package/es-modules/Data/Formula/Functions/MODE.js +3 -3
  223. package/es-modules/Data/Formula/Functions/NOT.js +3 -3
  224. package/es-modules/Data/Formula/Functions/OR.js +3 -3
  225. package/es-modules/Data/Formula/Functions/PRODUCT.js +3 -3
  226. package/es-modules/Data/Formula/Functions/SUM.js +3 -3
  227. package/es-modules/Data/Formula/Functions/XOR.js +3 -3
  228. package/es-modules/Data/Modifiers/ChainModifier.js +3 -3
  229. package/es-modules/Data/Modifiers/ChainModifierOptions.js +3 -3
  230. package/es-modules/Data/Modifiers/DataModifier.js +3 -3
  231. package/es-modules/Data/Modifiers/DataModifierEvent.js +3 -3
  232. package/es-modules/Data/Modifiers/DataModifierOptions.js +3 -3
  233. package/es-modules/Data/Modifiers/DataModifierType.d.ts +3 -3
  234. package/es-modules/Data/Modifiers/FilterModifier.js +3 -3
  235. package/es-modules/Data/Modifiers/FilterModifierOptions.js +3 -3
  236. package/es-modules/Data/Modifiers/InvertModifier.js +3 -3
  237. package/es-modules/Data/Modifiers/InvertModifierOptions.js +3 -3
  238. package/es-modules/Data/Modifiers/MathModifier.js +3 -3
  239. package/es-modules/Data/Modifiers/MathModifierOptions.js +3 -3
  240. package/es-modules/Data/Modifiers/RangeModifier.js +3 -3
  241. package/es-modules/Data/Modifiers/RangeModifierOptions.js +3 -3
  242. package/es-modules/Data/Modifiers/SortModifier.js +32 -6
  243. package/es-modules/Data/Modifiers/SortModifierOptions.d.ts +41 -4
  244. package/es-modules/Data/Modifiers/SortModifierOptions.js +3 -3
  245. package/es-modules/Grid/Core/Accessibility/A11yOptions.d.ts +77 -0
  246. package/es-modules/Grid/Core/Accessibility/A11yOptions.js +4 -3
  247. package/es-modules/Grid/Core/Accessibility/Accessibility.d.ts +67 -0
  248. package/es-modules/Grid/Core/Accessibility/Accessibility.js +176 -3
  249. package/es-modules/Grid/Core/Credits.js +3 -3
  250. package/es-modules/Grid/Core/Defaults.js +17 -5
  251. package/es-modules/Grid/Core/Globals.d.ts +4 -4
  252. package/es-modules/Grid/Core/Globals.js +5 -5
  253. package/es-modules/Grid/Core/Grid.d.ts +12 -1
  254. package/es-modules/Grid/Core/Grid.js +110 -8
  255. package/es-modules/Grid/Core/GridUtils.js +3 -3
  256. package/es-modules/Grid/Core/Options.d.ts +17 -1
  257. package/es-modules/Grid/Core/Options.js +3 -3
  258. package/es-modules/Grid/Core/Pagination/Pagination.js +3 -3
  259. package/es-modules/Grid/Core/Pagination/PaginationOptions.d.ts +0 -40
  260. package/es-modules/Grid/Core/Pagination/PaginationOptions.js +11 -0
  261. package/es-modules/Grid/Core/Querying/FilteringController.js +3 -3
  262. package/es-modules/Grid/Core/Querying/PaginationController.js +3 -3
  263. package/es-modules/Grid/Core/Querying/QueryingController.js +3 -3
  264. package/es-modules/Grid/Core/Querying/SortingController.d.ts +15 -0
  265. package/es-modules/Grid/Core/Querying/SortingController.js +89 -51
  266. package/es-modules/Grid/Core/Table/Actions/ColumnFiltering/ColumnFiltering.js +3 -3
  267. package/es-modules/Grid/Core/Table/Actions/ColumnFiltering/FilterCell.d.ts +2 -2
  268. package/es-modules/Grid/Core/Table/Actions/ColumnFiltering/FilterCell.js +3 -3
  269. package/es-modules/Grid/Core/Table/Actions/ColumnFiltering/FilterRow.js +3 -3
  270. package/es-modules/Grid/Core/Table/Actions/ColumnFiltering/FilteringTypes.js +3 -3
  271. package/es-modules/Grid/Core/Table/Actions/ColumnSorting.d.ts +12 -2
  272. package/es-modules/Grid/Core/Table/Actions/ColumnSorting.js +85 -18
  273. package/es-modules/Grid/Core/Table/Actions/ColumnsResizer.js +3 -3
  274. package/es-modules/Grid/Core/Table/Actions/RowsVirtualizer.d.ts +37 -0
  275. package/es-modules/Grid/Core/Table/Actions/RowsVirtualizer.js +137 -26
  276. package/es-modules/Grid/Core/Table/Body/TableCell.d.ts +9 -2
  277. package/es-modules/Grid/Core/Table/Body/TableCell.js +15 -8
  278. package/es-modules/Grid/Core/Table/Body/TableRow.d.ts +18 -0
  279. package/es-modules/Grid/Core/Table/Body/TableRow.js +56 -10
  280. package/es-modules/Grid/Core/Table/Cell.d.ts +0 -7
  281. package/es-modules/Grid/Core/Table/Cell.js +5 -3
  282. package/es-modules/Grid/Core/Table/CellContent/CellContent.js +3 -3
  283. package/es-modules/Grid/Core/Table/CellContent/TextContent.js +4 -4
  284. package/es-modules/Grid/Core/Table/Column.d.ts +1 -1
  285. package/es-modules/Grid/Core/Table/Column.js +3 -3
  286. package/es-modules/Grid/Core/Table/ColumnResizing/AdjacentResizingMode.js +3 -3
  287. package/es-modules/Grid/Core/Table/ColumnResizing/ColumnResizing.js +3 -3
  288. package/es-modules/Grid/Core/Table/ColumnResizing/DistributedResizingMode.js +3 -3
  289. package/es-modules/Grid/Core/Table/ColumnResizing/IndependentResizingMode.js +3 -3
  290. package/es-modules/Grid/Core/Table/ColumnResizing/ResizingMode.js +3 -3
  291. package/es-modules/Grid/Core/Table/Header/ColumnToolbar/ColumnToolbar.js +14 -5
  292. package/es-modules/Grid/Core/Table/Header/ColumnToolbar/FilterPopup.js +3 -3
  293. package/es-modules/Grid/Core/Table/Header/ColumnToolbar/MenuButtons/FilterMenuButton.js +3 -3
  294. package/es-modules/Grid/Core/Table/Header/ColumnToolbar/MenuButtons/SortMenuButton.d.ts +9 -0
  295. package/es-modules/Grid/Core/Table/Header/ColumnToolbar/MenuButtons/SortMenuButton.js +35 -6
  296. package/es-modules/Grid/Core/Table/Header/ColumnToolbar/MenuPopup.js +5 -4
  297. package/es-modules/Grid/Core/Table/Header/ColumnToolbar/StateHelpers.js +11 -7
  298. package/es-modules/Grid/Core/Table/Header/ColumnToolbar/ToolbarButtons/FilterToolbarButton.js +3 -3
  299. package/es-modules/Grid/Core/Table/Header/ColumnToolbar/ToolbarButtons/MenuToolbarButton.js +3 -3
  300. package/es-modules/Grid/Core/Table/Header/ColumnToolbar/ToolbarButtons/SortToolbarButton.d.ts +5 -1
  301. package/es-modules/Grid/Core/Table/Header/ColumnToolbar/ToolbarButtons/SortToolbarButton.js +92 -9
  302. package/es-modules/Grid/Core/Table/Header/HeaderCell.d.ts +2 -2
  303. package/es-modules/Grid/Core/Table/Header/HeaderCell.js +8 -7
  304. package/es-modules/Grid/Core/Table/Header/HeaderRow.js +3 -3
  305. package/es-modules/Grid/Core/Table/Header/TableHeader.js +3 -3
  306. package/es-modules/Grid/Core/Table/Row.js +3 -3
  307. package/es-modules/Grid/Core/Table/Table.d.ts +30 -0
  308. package/es-modules/Grid/Core/Table/Table.js +118 -7
  309. package/es-modules/Grid/Core/UI/Button.js +3 -3
  310. package/es-modules/Grid/Core/UI/ContextMenu.js +3 -3
  311. package/es-modules/Grid/Core/UI/ContextMenuButton.js +3 -3
  312. package/es-modules/Grid/Core/UI/Popup.js +3 -3
  313. package/es-modules/Grid/Core/UI/SvgIcons.js +3 -3
  314. package/es-modules/Grid/Core/UI/Toolbar.js +3 -3
  315. package/es-modules/Grid/Core/UI/ToolbarButton.js +3 -3
  316. package/es-modules/Grid/Pro/CellEditing/CellEditMode.d.ts +3 -44
  317. package/es-modules/Grid/Pro/CellEditing/CellEditMode.js +16 -0
  318. package/es-modules/Grid/Pro/CellEditing/CellEditing.js +3 -3
  319. package/es-modules/Grid/Pro/CellEditing/CellEditingComposition.js +3 -3
  320. package/es-modules/Grid/Pro/CellRendering/CellContentPro.js +3 -3
  321. package/es-modules/Grid/Pro/CellRendering/CellRenderer.js +3 -3
  322. package/es-modules/Grid/Pro/CellRendering/CellRendererRegistry.js +3 -3
  323. package/es-modules/Grid/Pro/CellRendering/CellRendererType.d.ts +1 -34
  324. package/es-modules/Grid/Pro/CellRendering/CellRendererType.js +15 -0
  325. package/es-modules/Grid/Pro/CellRendering/CellRenderersComposition.js +3 -3
  326. package/es-modules/Grid/Pro/CellRendering/ContentTypes/CheckboxContent.js +3 -3
  327. package/es-modules/Grid/Pro/CellRendering/ContentTypes/DateInputContent.js +3 -3
  328. package/es-modules/Grid/Pro/CellRendering/ContentTypes/DateInputContentBase.js +3 -3
  329. package/es-modules/Grid/Pro/CellRendering/ContentTypes/DateTimeInputContent.js +3 -3
  330. package/es-modules/Grid/Pro/CellRendering/ContentTypes/NumberInputContent.js +3 -3
  331. package/es-modules/Grid/Pro/CellRendering/ContentTypes/SelectContent.js +3 -3
  332. package/es-modules/Grid/Pro/CellRendering/ContentTypes/SparklineContent.d.ts +7 -5
  333. package/es-modules/Grid/Pro/CellRendering/ContentTypes/SparklineContent.js +3 -3
  334. package/es-modules/Grid/Pro/CellRendering/ContentTypes/TextInputContent.js +3 -3
  335. package/es-modules/Grid/Pro/CellRendering/ContentTypes/TimeInputContent.js +3 -3
  336. package/es-modules/Grid/Pro/CellRendering/Renderers/CheckboxRenderer.js +3 -3
  337. package/es-modules/Grid/Pro/CellRendering/Renderers/DateInputRenderer.js +3 -3
  338. package/es-modules/Grid/Pro/CellRendering/Renderers/DateInputRendererBase.js +3 -3
  339. package/es-modules/Grid/Pro/CellRendering/Renderers/DateTimeInputRenderer.js +3 -3
  340. package/es-modules/Grid/Pro/CellRendering/Renderers/NumberInputRenderer.js +3 -3
  341. package/es-modules/Grid/Pro/CellRendering/Renderers/SelectRenderer.js +3 -3
  342. package/es-modules/Grid/Pro/CellRendering/Renderers/SparklineRenderer.d.ts +3 -3
  343. package/es-modules/Grid/Pro/CellRendering/Renderers/SparklineRenderer.js +3 -3
  344. package/es-modules/Grid/Pro/CellRendering/Renderers/TextInputRenderer.js +3 -3
  345. package/es-modules/Grid/Pro/CellRendering/Renderers/TextRenderer.js +3 -3
  346. package/es-modules/Grid/Pro/CellRendering/Renderers/TimeInputRenderer.js +3 -3
  347. package/es-modules/Grid/Pro/ColumnTypes/Validator.d.ts +10 -1
  348. package/es-modules/Grid/Pro/ColumnTypes/Validator.js +50 -8
  349. package/es-modules/Grid/Pro/ColumnTypes/ValidatorComposition.js +3 -3
  350. package/es-modules/Grid/Pro/Credits/CreditsPro.js +3 -3
  351. package/es-modules/Grid/Pro/Credits/CreditsProComposition.js +3 -3
  352. package/es-modules/Grid/Pro/Export/Exporting.js +4 -5
  353. package/es-modules/Grid/Pro/Export/ExportingComposition.js +3 -3
  354. package/es-modules/Grid/Pro/GridEvents.d.ts +1 -0
  355. package/es-modules/Grid/Pro/GridEvents.js +3 -3
  356. package/es-modules/Grid/Pro/Pagination/PaginationComposition.js +3 -3
  357. package/es-modules/Grid/index.js +3 -3
  358. package/es-modules/Shared/BaseForm.js +3 -3
  359. package/es-modules/Shared/DownloadURL.d.ts +1 -85
  360. package/es-modules/Shared/DownloadURL.js +14 -11
  361. package/es-modules/Shared/LangOptionsCore.d.ts +4 -3
  362. package/es-modules/Shared/TimeBase.d.ts +1 -46
  363. package/es-modules/Shared/TimeBase.js +8 -7
  364. package/es-modules/Shared/Types.d.ts +4 -3
  365. package/es-modules/masters/grid-pro.src.d.ts +8 -13
  366. package/es-modules/masters/grid-pro.src.js +15 -7
  367. package/grid-pro.d.ts +8 -13
  368. package/grid-pro.js +6 -5
  369. package/grid-pro.js.map +1 -1
  370. package/grid-pro.src.d.ts +8 -13
  371. package/grid-pro.src.js +1923 -721
  372. package/package.json +1 -1
  373. package/es-modules/Grid/Pro/highcharts.d.ts +0 -7
@@ -0,0 +1,681 @@
1
+ import type { AlignValue, VerticalAlignValue } from './Renderer/AlignObject';
2
+ import type AnimationOptions from './Animation/AnimationOptions';
3
+ import type ColorType from './Color/ColorType';
4
+ import type CSSObject from './Renderer/CSSObject';
5
+ import type F from './Templating';
6
+ import type Point from './Series/Point';
7
+ import type ShadowOptionsObject from './Renderer/ShadowOptionsObject';
8
+ import type Time from './Time';
9
+ import type Tooltip from './Tooltip';
10
+ declare module './Options' {
11
+ interface Options {
12
+ tooltip?: TooltipOptions;
13
+ }
14
+ }
15
+ declare module './Series/SeriesOptions' {
16
+ interface SeriesOptions {
17
+ tooltip?: Partial<TooltipOptions>;
18
+ }
19
+ }
20
+ /**
21
+ * Options for the tooltip that appears when the user hovers over a
22
+ * series or point.
23
+ */
24
+ export interface TooltipOptions {
25
+ /**
26
+ * Enable or disable animation of the tooltip.
27
+ *
28
+ * @since 2.3.0
29
+ */
30
+ animation: boolean | Partial<AnimationOptions>;
31
+ /**
32
+ * The background color or gradient for the tooltip.
33
+ *
34
+ * In styled mode, the stroke width is set in the
35
+ * `.highcharts-tooltip-box` class.
36
+ *
37
+ * @sample {highcharts} highcharts/tooltip/backgroundcolor-solid/
38
+ * Yellowish background
39
+ * @sample {highcharts} highcharts/tooltip/backgroundcolor-gradient/
40
+ * Gradient
41
+ * @sample {highcharts} highcharts/css/tooltip-border-background/
42
+ * Tooltip in styled mode
43
+ * @sample {highstock} stock/tooltip/general/
44
+ * Custom tooltip
45
+ * @sample {highstock} highcharts/css/tooltip-border-background/
46
+ * Tooltip in styled mode
47
+ * @sample {highmaps} maps/tooltip/background-border/
48
+ * Background and border demo
49
+ * @sample {highmaps} highcharts/css/tooltip-border-background/
50
+ * Tooltip in styled mode
51
+ */
52
+ backgroundColor: ColorType;
53
+ /**
54
+ * The color of the tooltip border. When `undefined`, the border takes
55
+ * the color of the corresponding series or point.
56
+ *
57
+ * Note that the [borderWidth](#tooltip.borderWidth) is usually 0 by
58
+ * default, so the border color may not be visible until a border width
59
+ * is set.
60
+ *
61
+ * @sample {highcharts} highcharts/tooltip/bordercolor-default/ Follow
62
+ * series by default
63
+ * @sample {highcharts} highcharts/tooltip/bordercolor-black/ Black
64
+ * border
65
+ * @sample {highstock} stock/tooltip/general/ Styled tooltip
66
+ * @sample {highmaps} maps/tooltip/background-border/ Background and
67
+ * border demo
68
+ */
69
+ borderColor?: ColorType;
70
+ /**
71
+ * The radius of the rounded border corners.
72
+ *
73
+ * @sample {highcharts} highcharts/tooltip/bordercolor-default/
74
+ * Default border radius
75
+ * @sample {highcharts} highcharts/tooltip/borderradius-0/
76
+ * Square borders
77
+ * @sample {highmaps} maps/tooltip/background-border/
78
+ * Background and border demo
79
+ *
80
+ * @default 3
81
+ */
82
+ borderRadius: number;
83
+ /**
84
+ * The pixel width of the tooltip border. Defaults to 0 for single
85
+ * tooltips and fixed tooltips, otherwise 1 for split tooltips.
86
+ *
87
+ * In styled mode, the stroke width is set in the
88
+ * `.highcharts-tooltip-box` class.
89
+ *
90
+ * @sample {highcharts} highcharts/tooltip/bordercolor-default/
91
+ * 2 pixels
92
+ * @sample {highcharts} highcharts/tooltip/borderwidth/
93
+ * No border (shadow only)
94
+ * @sample {highcharts} highcharts/css/tooltip-border-background/
95
+ * Tooltip in styled mode
96
+ * @sample {highstock} stock/tooltip/general/
97
+ * Custom tooltip
98
+ * @sample {highstock} highcharts/css/tooltip-border-background/
99
+ * Tooltip in styled mode
100
+ * @sample {highmaps} maps/tooltip/background-border/
101
+ * Background and border demo
102
+ * @sample {highmaps} highcharts/css/tooltip-border-background/
103
+ * Tooltip in styled mode
104
+ */
105
+ borderWidth?: number;
106
+ /**
107
+ * A CSS class name to apply to the tooltip's container div,
108
+ * allowing unique CSS styling for each chart.
109
+ */
110
+ className?: string;
111
+ /**
112
+ * How many decimals to show for the `point.change`
113
+ * or the `point.cumulativeSum` value when the `series.compare`
114
+ * or the `series.cumulative` option is set.
115
+ * This is overridable in each series' tooltip options object.
116
+ *
117
+ * @default 2
118
+ * @since 1.0.1
119
+ * @product highstock
120
+ */
121
+ changeDecimals?: number;
122
+ /**
123
+ * Since 4.1, the crosshair definitions are moved to the Axis object
124
+ * in order for a better separation from the tooltip. See
125
+ * [xAxis.crosshair](#xAxis.crosshair).
126
+ *
127
+ * @sample {highcharts} highcharts/tooltip/crosshairs-x/
128
+ * Enable a crosshair for the x value
129
+ *
130
+ * @deprecated
131
+ * @default true
132
+ */
133
+ crosshairs?: any;
134
+ /**
135
+ * For series on datetime axes, the date format in the tooltip's
136
+ * header will by default be guessed based on the closest data points.
137
+ * This member gives the default string representations used for
138
+ * each unit. For an overview of the string or object configuration, see
139
+ * [dateFormat](/class-reference/Highcharts.Time#dateFormat).
140
+ *
141
+ * @see [xAxis.dateTimeLabelFormats](#xAxis.dateTimeLabelFormats)
142
+ *
143
+ * @product highcharts highstock gantt
144
+ */
145
+ dateTimeLabelFormats: Time.DateTimeLabelFormatsOption;
146
+ /**
147
+ * Distance from point to tooltip in pixels.
148
+ *
149
+ * @default 16
150
+ */
151
+ distance?: number;
152
+ /**
153
+ * Enable or disable the tooltip.
154
+ *
155
+ * @sample {highcharts} highcharts/tooltip/enabled/
156
+ * Disabled
157
+ * @sample {highcharts} highcharts/plotoptions/series-point-events-mouseover/
158
+ * Disable tooltip and show values on chart instead
159
+ *
160
+ * @default true
161
+ */
162
+ enabled: boolean;
163
+ /**
164
+ * Whether the tooltip should be fixed to one position in the chart, or
165
+ * located next to the point or mouse. When the tooltip is fixed, the
166
+ * position can be further specified with the
167
+ * [tooltip.position](#tooltip.position) options set.
168
+ *
169
+ * @sample highcharts/tooltip/fixed/
170
+ * Fixed tooltip and position options
171
+ * @sample {highstock} stock/tooltip/fixed/
172
+ * Stock chart with fixed tooltip
173
+ * @sample {highmaps} maps/tooltip/fixed/
174
+ * Map with fixed tooltip
175
+ *
176
+ * @default false
177
+ * @since 12.2.0
178
+ */
179
+ fixed?: boolean;
180
+ /**
181
+ * Whether the tooltip should follow the mouse as it moves across
182
+ * columns, pie slices and other point types with an extent.
183
+ * By default it behaves this way for pie, polygon, map, sankey
184
+ * and wordcloud series by override in the `plotOptions`
185
+ * for those series types.
186
+ *
187
+ * Does not apply if [split](#tooltip.split) is `true`.
188
+ *
189
+ * For touch moves to behave the same way, [followTouchMove](
190
+ * #tooltip.followTouchMove) must be `true` also.
191
+ *
192
+ * @sample highcharts/tooltip/followpointer/
193
+ * Tooltip follow pointer comparison
194
+ *
195
+ * @default {highcharts} false
196
+ * @default {highstock} false
197
+ * @default {highmaps} true
198
+ * @since 3.0
199
+ */
200
+ followPointer?: boolean;
201
+ /**
202
+ * Whether the tooltip should update as the finger moves on a touch
203
+ * device. If this is `true` and [chart.panning](#chart.panning) is
204
+ * set,`followTouchMove` will take over one-finger touches, so the user
205
+ * needs to use two fingers for zooming and panning.
206
+ *
207
+ * Note the difference to [followPointer](#tooltip.followPointer) that
208
+ * only defines the _position_ of the tooltip. If `followPointer` is
209
+ * false in for example a column series, the tooltip will show above or
210
+ * below the column, but as `followTouchMove` is true, the tooltip will
211
+ * jump from column to column as the user swipes across the plot area.
212
+ *
213
+ * @default {highcharts} true
214
+ * @default {highstock} true
215
+ * @default {highmaps} false
216
+ * @since 3.0.1
217
+ */
218
+ followTouchMove?: boolean;
219
+ /**
220
+ * A string to append to the tooltip format.
221
+ *
222
+ * @sample {highcharts} highcharts/tooltip/footerformat/
223
+ * A table for value alignment
224
+ * @sample {highmaps} maps/tooltip/format/
225
+ * Format demo
226
+ *
227
+ * @since 2.2
228
+ */
229
+ footerFormat: string;
230
+ /**
231
+ * A [format string](https://www.highcharts.com/docs/chart-concepts/labels-and-string-formatting)
232
+ * for the whole shared tooltip. When format strings are a requirement,
233
+ * it is usually more convenient to use `headerFormat`, `pointFormat`
234
+ * and `footerFormat`, but the `format` option allows combining them
235
+ * into one setting.
236
+ *
237
+ * The context of the format string is the same as that of the
238
+ * `tooltip.formatter` callback.
239
+ *
240
+ * @sample {highcharts} highcharts/tooltip/format-shared/
241
+ * Format for shared tooltip
242
+ *
243
+ * @since 11.1.0
244
+ */
245
+ format?: string;
246
+ /**
247
+ * Callback function to format the text of the tooltip from scratch. In
248
+ * case of single or [shared](#tooltip.shared) tooltips, a string should
249
+ * be returned. In case of [split](#tooltip.split) tooltips, it should
250
+ * return an array where the first item is the header, and subsequent
251
+ * items are mapped to the points. Return `false` to disable tooltip for
252
+ * a specific point on series.
253
+ *
254
+ * A subset of HTML is supported. Unless `useHTML` is true, the HTML of
255
+ * the tooltip is parsed and converted to SVG, therefore this isn't a
256
+ * complete HTML renderer. The following HTML tags are supported: `b`,
257
+ * `br`, `em`, `i`, `span`, `strong`. Spans can be styled with a `style`
258
+ * attribute, but only text-related CSS, that is shared with SVG, is
259
+ * handled.
260
+ *
261
+ * The context of the formatter (since v12) is the
262
+ * [Point](https://api.highcharts.com/class-reference/Highcharts.Point)
263
+ * instance. If the tooltip is shared or split, an array `this.points`
264
+ * contains all points of the hovered x-value.
265
+ *
266
+ * Common properties from the Point to use in the formatter include:
267
+ *
268
+ * - **Point.percentage**:
269
+ * Stacked series and pies only. The point's percentage of the total.
270
+ *
271
+ * - **Point.points**:
272
+ * In a shared or split tooltip, this is an array containing all the
273
+ * hovered points.
274
+ *
275
+ * - **this.series**:
276
+ * The series object. The series name is available through
277
+ * `this.series.name`.
278
+ *
279
+ * - **this.total**:
280
+ * The total value at this point's x value in a stacked series, or the
281
+ * sum of all slices in a pie series.
282
+ *
283
+ * - **this.x**:
284
+ * The x value.
285
+ *
286
+ * - **this.y**:
287
+ * The y value.
288
+ *
289
+ * @sample {highcharts} highcharts/tooltip/formatter-simple/
290
+ * Simple string formatting
291
+ * @sample {highcharts} highcharts/tooltip/formatter-shared/
292
+ * Formatting with shared tooltip
293
+ * @sample {highcharts|highstock} highcharts/tooltip/formatter-split/
294
+ * Formatting with split tooltip
295
+ * @sample highcharts/tooltip/formatter-conditional-default/
296
+ * Extending default formatter
297
+ * @sample {highstock} stock/tooltip/formatter/
298
+ * Formatting with shared tooltip
299
+ * @sample {highmaps} maps/tooltip/formatter/
300
+ * String formatting
301
+ */
302
+ formatter?: Tooltip.FormatterCallbackFunction;
303
+ /**
304
+ * The HTML of the tooltip header line. The context is the
305
+ * [Point class](https://api.highcharts.com/class-reference/Highcharts.Point).
306
+ * Variables are enclosed in curly brackets. Examples of common
307
+ * variables to include are `x`, `y`, `series.name` and `series.color`
308
+ * and other properties on the same form. The `point.key` variable
309
+ * contains the category name, x value or datetime string depending on
310
+ * the type of axis. For datetime axes, the `point.key` date format can
311
+ * be set using `tooltip.xDateFormat`.
312
+ *
313
+ * @sample {highcharts} highcharts/tooltip/footerformat/
314
+ * An HTML table in the tooltip
315
+ * @sample {highstock} highcharts/tooltip/footerformat/
316
+ * An HTML table in the tooltip
317
+ * @sample {highmaps} maps/tooltip/format/
318
+ * Format demo
319
+ *
320
+ * @default <span style="font-size: 0.8em">{ucfirst point.key}</span><br/>
321
+ */
322
+ headerFormat: string;
323
+ /**
324
+ * The name of a symbol to use for the border around the tooltip
325
+ * header. Applies only when [tooltip.split](#tooltip.split) is
326
+ * enabled.
327
+ *
328
+ * Custom callbacks for symbol path generation can also be added to
329
+ * `Highcharts.SVGRenderer.prototype.symbols` the same way as for
330
+ * [series.marker.symbol](plotOptions.line.marker.symbol).
331
+ *
332
+ * @see [tooltip.shape](#tooltip.shape)
333
+ *
334
+ * @sample {highstock} stock/tooltip/split-positioner/
335
+ * Different shapes for header and split boxes
336
+ *
337
+ * @since 7.0
338
+ */
339
+ headerShape: Tooltip.ShapeValue;
340
+ /**
341
+ * The number of milliseconds to wait until the tooltip is hidden when
342
+ * mouse out from a point or chart.
343
+ *
344
+ * @default 500
345
+ * @since 3.0
346
+ */
347
+ hideDelay: number;
348
+ /**
349
+ * The HTML of the null point's line in the tooltip. Works analogously
350
+ * to [pointFormat](#tooltip.pointFormat).
351
+ *
352
+ * @sample {highcharts} highcharts/series/null-interaction
353
+ * Line chart with null interaction
354
+ * @sample {highcharts} highcharts/plotoptions/series-nullformat
355
+ * Heatmap with null interaction
356
+ */
357
+ nullFormat?: string;
358
+ /**
359
+ * Callback function to format the text of the tooltip for
360
+ * visible null points.
361
+ * Works analogously to [formatter](#tooltip.formatter).
362
+ *
363
+ * @sample highcharts/plotoptions/series-nullformat
364
+ * Format data label and tooltip for null point.
365
+ */
366
+ nullFormatter?: Tooltip.FormatterCallbackFunction;
367
+ /**
368
+ * Whether to allow the tooltip to render outside the chart's SVG
369
+ * element box. By default (`false`), the tooltip is rendered within the
370
+ * chart's SVG element, which results in the tooltip being aligned
371
+ * inside the chart area. For small charts, this may result in clipping
372
+ * or overlapping. When `true`, a separate SVG element is created and
373
+ * overlaid on the page, allowing the tooltip to be aligned inside the
374
+ * page itself. Beware that with this option active, CSS classes on the
375
+ * chart's target container, with classnames matching the pattern
376
+ * 'highcharts-*', will be set on the tooltip as well. This is done to
377
+ * support theming for tooltips with this option.
378
+ *
379
+ * Defaults to `true` if `chart.scrollablePlotArea` is activated,
380
+ * otherwise `false`.
381
+ *
382
+ * @sample highcharts/tooltip/outside
383
+ * Small charts with tooltips outside
384
+ *
385
+ * @since 6.1.1
386
+ */
387
+ outside?: boolean;
388
+ /**
389
+ * Padding inside the tooltip, in pixels.
390
+ *
391
+ * @default 8
392
+ * @since 5.0.0
393
+ */
394
+ padding: number;
395
+ /**
396
+ * The HTML of the point's line in the tooltip. The context is the
397
+ * [Point class](https://api.highcharts.com/class-reference/Highcharts.Point).
398
+ * Variables are enclosed in curly brackets. Examples of common
399
+ * variables to include are `x`, `y`, `series.name` and `series.color`
400
+ * and other properties on the same form. Furthermore, `y` can be
401
+ * extended by the `tooltip.valuePrefix` and `tooltip.valueSuffix`
402
+ * variables. This can also be overridden for each series, which makes
403
+ * it a good hook for displaying units.
404
+ *
405
+ * In styled mode, the dot is colored by a class name rather than the
406
+ * point color.
407
+ *
408
+ * @sample {highcharts} highcharts/tooltip/pointformat/
409
+ * A different point format with value suffix
410
+ * @sample {highcharts|highstock} highcharts/tooltip/pointformat-extra-information/
411
+ * Show extra information about points in the tooltip
412
+ * @sample {highmaps} maps/tooltip/format/
413
+ * Format demo
414
+ *
415
+ * @default <span style="color:{point.color}">\u25CF</span> {series.name}: <b>{point.y}</b><br/>
416
+ * @since 2.2
417
+ */
418
+ pointFormat: string;
419
+ /**
420
+ * A callback function for formatting the HTML output for a single point
421
+ * in the tooltip. Like the `pointFormat` string, but with more
422
+ * flexibility.
423
+ *
424
+ * @since 4.1.0
425
+ */
426
+ pointFormatter?: F.FormatterCallback<Point>;
427
+ /**
428
+ * Positioning options for fixed tooltip, taking effect only when
429
+ * [tooltip.fixed](#tooltip.fixed) is `true`.
430
+ *
431
+ * @sample {highcharts} highcharts/tooltip/fixed/
432
+ * Fixed tooltip and position options
433
+ * @sample {highstock} stock/tooltip/fixed/
434
+ * Stock chart with fixed tooltip
435
+ * @sample {highmaps} maps/tooltip/fixed/
436
+ * Map with fixed tooltip
437
+ *
438
+ * @since 12.2.0
439
+ */
440
+ position: TooltipPositionOptions;
441
+ /**
442
+ * A callback function to place the tooltip in a custom position. The
443
+ * callback receives three parameters: `labelWidth`, `labelHeight` and
444
+ * `point`, where point contains values for `plotX` and `plotY` telling
445
+ * where the reference point is in the plot area. Add `chart.plotLeft`
446
+ * and `chart.plotTop` to get the full coordinates.
447
+ *
448
+ * To find the actual hovered `Point` instance, use
449
+ * `this.chart.hoverPoint`. For shared or split tooltips, all the hover
450
+ * points are available in `this.chart.hoverPoints`.
451
+ *
452
+ * Since v7, when [tooltip.split](#tooltip.split) option is enabled,
453
+ * positioner is called for each of the boxes separately, including
454
+ * xAxis header. xAxis header is not a point, instead `point` argument
455
+ * contains info: `{ plotX: Number, plotY: Number, isHeader: Boolean }`
456
+ *
457
+ * Since v12.2, the [tooltip.fixed](#tooltip.fixed) option combined with
458
+ * [tooltip.position](#tooltip.position) covers most of the use cases
459
+ * for custom tooltip positioning.
460
+ *
461
+ * The return should be an object containing x and y values, for example
462
+ * `{ x: 100, y: 100 }`.
463
+ *
464
+ * @sample {highcharts} highcharts/tooltip/positioner/
465
+ * A fixed tooltip position
466
+ * @sample {highstock} stock/tooltip/positioner/
467
+ * A fixed tooltip position on top of the chart
468
+ * @sample {highmaps} maps/tooltip/positioner/
469
+ * A fixed tooltip position
470
+ * @sample {highstock} stock/tooltip/split-positioner/
471
+ * Split tooltip with fixed positions
472
+ * @sample {highstock} stock/tooltip/positioner-scrollable-plotarea/
473
+ * Scrollable plot area combined with tooltip positioner
474
+ *
475
+ * @see [position](#tooltip.position)
476
+ *
477
+ * @since 2.2.4
478
+ */
479
+ positioner?: Tooltip.PositionerCallbackFunction;
480
+ /**
481
+ * Whether to apply a drop shadow to the tooltip. Defaults to true,
482
+ * unless the tooltip is [fixed](#tooltip.fixed).
483
+ *
484
+ * @sample {highcharts} highcharts/tooltip/bordercolor-default/
485
+ * True by default
486
+ * @sample {highcharts} highcharts/tooltip/shadow/
487
+ * False
488
+ * @sample {highmaps} maps/tooltip/positioner/
489
+ * Fixed tooltip position, border and shadow disabled
490
+ */
491
+ shadow?: (boolean | Partial<ShadowOptionsObject>);
492
+ /**
493
+ * The name of a symbol to use for the border around the tooltip. Can
494
+ * be one of: `"callout"`, `"circle"` or `"rect"`. When
495
+ * [tooltip.split](#tooltip.split)
496
+ * option is enabled, shape is applied to all boxes except header, which
497
+ * is controlled by
498
+ * [tooltip.headerShape](#tooltip.headerShape).
499
+ *
500
+ * Custom callbacks for symbol path generation can also be added to
501
+ * `Highcharts.SVGRenderer.prototype.symbols` the same way as for
502
+ * [series.marker.symbol](plotOptions.line.marker.symbol).
503
+ *
504
+ * Defaults to `callout` for floating tooltip, `rect` for
505
+ * [fixed](#tooltip.fixed) tooltip.
506
+ *
507
+ * @since 4.0
508
+ */
509
+ shape?: Tooltip.ShapeValue;
510
+ /**
511
+ * Shows information in the tooltip for all points with the same X
512
+ * value. When the tooltip is shared, the entire plot area will capture
513
+ * mouse movement or touch events. Tooltip texts for series types with
514
+ * ordered data (not pie, scatter, flags etc) will be shown in a single
515
+ * bubble. This is recommended for single series charts and for
516
+ * tablet/mobile optimized charts.
517
+ *
518
+ * See also [tooltip.split](#tooltip.split), that is better suited for
519
+ * charts with many series, especially line-type series. The
520
+ * `tooltip.split` option takes precedence over `tooltip.shared`.
521
+ *
522
+ * @sample {highcharts} highcharts/tooltip/shared-false/
523
+ * False by default
524
+ * @sample {highcharts} highcharts/tooltip/shared-true/
525
+ * True
526
+ * @sample {highcharts} highcharts/tooltip/shared-x-crosshair/
527
+ * True with x axis crosshair
528
+ * @sample {highcharts} highcharts/tooltip/shared-true-mixed-types/
529
+ * True with mixed series types
530
+ *
531
+ * @since 2.1
532
+ * @product highcharts highstock
533
+ */
534
+ shared: boolean;
535
+ /**
536
+ * Proximity snap for graphs or single points. It defaults to 10 for
537
+ * mouse-powered devices and 25 for touch devices.
538
+ *
539
+ * Note that in most cases the whole plot area captures the mouse
540
+ * movement, and in these cases `tooltip.snap` doesn't make sense. This
541
+ * applies when [stickyTracking](#plotOptions.series.stickyTracking)
542
+ * is `true` (default) and when the tooltip is [shared](#tooltip.shared)
543
+ * or [split](#tooltip.split).
544
+ *
545
+ * @sample {highcharts} highcharts/tooltip/bordercolor-default/
546
+ * 10 px by default
547
+ * @sample {highcharts} highcharts/tooltip/snap-50/
548
+ * 50 px on graph
549
+ *
550
+ * @default 10
551
+ * Desktop
552
+ * @default 25
553
+ * Mobile
554
+ * @since 1.2.0
555
+ * @product highcharts highstock
556
+ */
557
+ snap: number;
558
+ /**
559
+ * Shows tooltip for all points with the same X value. Splits the
560
+ * tooltip into one label per series, with the header close to the axis.
561
+ * This is recommended over [shared](#tooltip.shared)
562
+ * tooltips for charts with multiple line series, generally making them
563
+ * easier to read. This option takes precedence over `tooltip.shared`.
564
+ *
565
+ * Not supported for [polar](#chart.polar) and [inverted](#chart.inverted) charts.
566
+ *
567
+ * @productdesc {highstock} In Highcharts Stock, tooltips are split
568
+ * by default since v6.0.0. Stock charts typically contain
569
+ * multi-dimension points and multiple panes, making split tooltips
570
+ * the preferred layout over
571
+ * the previous `shared` tooltip.
572
+ *
573
+ * @sample highcharts/tooltip/split/
574
+ * Split tooltip
575
+ * @sample {highcharts|highstock} highcharts/tooltip/formatter-split/
576
+ * Split tooltip and custom formatter callback
577
+ *
578
+ * @default {highcharts} false
579
+ * @default {highstock} true
580
+ * @since 5.0.0
581
+ * @product highcharts highstock
582
+ */
583
+ split?: boolean;
584
+ /**
585
+ * Prevents the tooltip from switching or closing, when touched or
586
+ * pointed.
587
+ *
588
+ * @sample highcharts/tooltip/stickoncontact/
589
+ * Tooltip sticks on pointer contact
590
+ *
591
+ * @since 8.0.1
592
+ */
593
+ stickOnContact: boolean;
594
+ /**
595
+ * CSS styles for the tooltip. The tooltip can also be styled through
596
+ * the CSS class `.highcharts-tooltip`.
597
+ *
598
+ * Note that the default `pointerEvents` style makes the tooltip ignore
599
+ * mouse events, so in order to use clickable tooltips, this value must
600
+ * be set to `auto`.
601
+ *
602
+ * @sample {highcharts} highcharts/tooltip/style/
603
+ * Greater padding, bold text
604
+ */
605
+ style: CSSObject;
606
+ /**
607
+ * Use HTML to render the contents of the tooltip instead of SVG. Using
608
+ * HTML allows advanced formatting like tables and images in the
609
+ * tooltip. It is also recommended for rtl languages as it works around
610
+ * rtl bugs in early Firefox.
611
+ *
612
+ * @sample {highcharts|highstock} highcharts/tooltip/footerformat/
613
+ * A table for value alignment
614
+ * @sample {highcharts|highstock} highcharts/tooltip/fullhtml/
615
+ * Full HTML tooltip
616
+ * @sample {highmaps} maps/tooltip/usehtml/
617
+ * Pure HTML tooltip
618
+ *
619
+ * @default false
620
+ * @since 2.2
621
+ */
622
+ useHTML: boolean;
623
+ /** @deprecated */
624
+ userOptions?: TooltipOptions;
625
+ /**
626
+ * How many decimals to show in each series' y value. This is
627
+ * overridable in each series' tooltip options object. The default is to
628
+ * preserve all decimals.
629
+ *
630
+ * @sample {highcharts|highstock} highcharts/tooltip/valuedecimals/
631
+ * Set decimals, prefix and suffix for the value
632
+ * @sample {highmaps} maps/tooltip/valuedecimals/
633
+ * Set decimals, prefix and suffix for the value
634
+ *
635
+ * @since 2.2
636
+ */
637
+ valueDecimals?: number;
638
+ /**
639
+ * A string to prepend to each series' y value. Overridable in each
640
+ * series' tooltip options object.
641
+ *
642
+ * @sample {highcharts|highstock} highcharts/tooltip/valuedecimals/
643
+ * Set decimals, prefix and suffix for the value
644
+ * @sample {highmaps} maps/tooltip/valuedecimals/
645
+ * Set decimals, prefix and suffix for the value
646
+ *
647
+ * @since 2.2
648
+ */
649
+ valuePrefix?: string;
650
+ /**
651
+ * A string to append to each series' y value. Overridable in each
652
+ * series' tooltip options object.
653
+ *
654
+ * @sample {highcharts|highstock} highcharts/tooltip/valuedecimals/
655
+ * Set decimals, prefix and suffix for the value
656
+ * @sample {highmaps} maps/tooltip/valuedecimals/
657
+ * Set decimals, prefix and suffix for the value
658
+ *
659
+ * @since 2.2
660
+ */
661
+ valueSuffix?: string;
662
+ /**
663
+ * The format for the date in the tooltip header if the X axis is a
664
+ * datetime axis. The default is a best guess based on the smallest
665
+ * distance between points in the chart.
666
+ *
667
+ * @sample {highcharts} highcharts/tooltip/xdateformat/
668
+ * A different format
669
+ *
670
+ * @product highcharts highstock gantt
671
+ */
672
+ xDateFormat?: Time.DateTimeFormat;
673
+ }
674
+ interface TooltipPositionOptions {
675
+ align?: AlignValue;
676
+ relativeTo?: 'chart' | 'pane' | 'plotBox' | 'spacingBox';
677
+ verticalAlign?: VerticalAlignValue;
678
+ x: number;
679
+ y: number;
680
+ }
681
+ export default TooltipOptions;
@@ -0,0 +1,10 @@
1
+ /* *
2
+ *
3
+ * (c) 2010-2026 Highsoft AS
4
+ * Author: Torstein Honsi
5
+ *
6
+ * A commercial license may be required depending on use.
7
+ * See www.highcharts.com/license
8
+ *
9
+ * */
10
+ export {};