@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,459 @@
1
+ import type AlignObject from '../AlignObject';
2
+ import type AnimationOptions from '../../Animation/AnimationOptions';
3
+ import type BBoxObject from '../BBoxObject';
4
+ import type CSSObject from '../CSSObject';
5
+ import type { DeepPartial } from '../../../Shared/Types';
6
+ import type { DOMElementType } from '../DOMElementType';
7
+ import type RectangleObject from '../RectangleObject';
8
+ import type ShadowOptionsObject from '../ShadowOptionsObject';
9
+ import type SVGAttributes from './SVGAttributes';
10
+ import type SVGElementBase from './SVGElementBase';
11
+ import type SVGRenderer from './SVGRenderer';
12
+ declare module '../CSSObject' {
13
+ interface CSSObject {
14
+ strokeWidth?: (number | string);
15
+ }
16
+ }
17
+ /**
18
+ * The SVGElement prototype is a JavaScript wrapper for SVG elements used in the
19
+ * rendering layer of Highcharts. Combined with the
20
+ * {@link Highcharts.SVGRenderer}
21
+ * object, these prototypes allow freeform annotation in the charts or even in
22
+ * HTML pages without instanciating a chart. The SVGElement can also wrap HTML
23
+ * labels, when `text` or `label` elements are created with the `useHTML`
24
+ * parameter.
25
+ *
26
+ * The SVGElement instances are created through factory functions on the
27
+ * {@link Highcharts.SVGRenderer}
28
+ * object, like
29
+ * {@link Highcharts.SVGRenderer#rect|rect},
30
+ * {@link Highcharts.SVGRenderer#path|path},
31
+ * {@link Highcharts.SVGRenderer#text|text},
32
+ * {@link Highcharts.SVGRenderer#label|label},
33
+ * {@link Highcharts.SVGRenderer#g|g}
34
+ * and more.
35
+ *
36
+ * See [How to use the SVG Renderer](
37
+ * https://www.highcharts.com/docs/advanced-chart-features/renderer) for a
38
+ * comprehensive tutorial on how to draw SVG elements on a chart.
39
+ *
40
+ * @class
41
+ * @name Highcharts.SVGElement
42
+ */
43
+ declare class SVGElement implements SVGElementBase {
44
+ element: DOMElementType;
45
+ renderer: SVGRenderer;
46
+ /**
47
+ * Add the element to the DOM. All elements must be added this way.
48
+ *
49
+ * @sample highcharts/members/renderer-g
50
+ * Elements added to a group
51
+ *
52
+ * @function Highcharts.SVGElement#add
53
+ *
54
+ * @param {Highcharts.SVGElement} [parent]
55
+ * The parent item to add it to. If undefined, the element is added to the
56
+ * {@link Highcharts.SVGRenderer.box}.
57
+ *
58
+ * @return {Highcharts.SVGElement}
59
+ * Returns the SVGElement for chaining.
60
+ */
61
+ add(parent?: SVGElement): this;
62
+ /**
63
+ * Add a class name to an element.
64
+ *
65
+ * @function Highcharts.SVGElement#addClass
66
+ *
67
+ * @param {string} className
68
+ * The new class name to add.
69
+ *
70
+ * @param {boolean} [replace=false]
71
+ * When true, the existing class name(s) will be overwritten with the new
72
+ * one. When false, the new one is added.
73
+ *
74
+ * @return {Highcharts.SVGElement}
75
+ * Return the SVG element for chainability.
76
+ */
77
+ addClass(className: string, replace?: boolean): this;
78
+ /**
79
+ * Align the element relative to the chart or another box.
80
+ *
81
+ * @function Highcharts.SVGElement#align
82
+ *
83
+ * @param {Highcharts.AlignObject} [alignOptions]
84
+ * The alignment options. The function can be called without this parameter
85
+ * in order to re-align an element after the box has been updated.
86
+ *
87
+ * @param {boolean} [alignByTranslate]
88
+ * Align element by translation.
89
+ *
90
+ * @param {string|Highcharts.BBoxObject} [alignTo]
91
+ * The box to align to, needs a width and height. When the box is a string,
92
+ * it refers to an object in the Renderer. For example, when box is
93
+ * `spacingBox`, it refers to `Renderer.spacingBox` which holds `width`,
94
+ * `height`, `x` and `y` properties.
95
+ *
96
+ * @param {boolean} [redraw]
97
+ * Decide if SVGElement should be redrawn with new alignment or just change
98
+ * its attributes.
99
+ *
100
+ * @return {Highcharts.SVGElement}
101
+ * Returns the SVGElement for chaining.
102
+ */
103
+ align(alignOptions?: AlignObject, alignByTranslate?: boolean, alignTo?: (string | BBoxObject), redraw?: boolean): this;
104
+ /**
105
+ * Animate to given attributes or CSS properties.
106
+ *
107
+ * @sample highcharts/members/element-on/
108
+ * Setting some attributes by animation
109
+ *
110
+ * @function Highcharts.SVGElement#animate
111
+ *
112
+ * @param {Highcharts.SVGAttributes} params
113
+ * SVG attributes or CSS to animate.
114
+ *
115
+ * @param {boolean|Partial<Highcharts.AnimationOptionsObject>} [options]
116
+ * Animation options.
117
+ *
118
+ * @param {Function} [complete]
119
+ * Function to perform at the end of animation.
120
+ *
121
+ * @return {Highcharts.SVGElement}
122
+ * Returns the SVGElement for chaining.
123
+ */
124
+ animate(params: SVGAttributes, options?: (boolean | DeepPartial<AnimationOptions>), complete?: Function): this;
125
+ attr(key: string): (number | string);
126
+ /**
127
+ * Apply native and custom attributes to the SVG elements.
128
+ *
129
+ * In order to set the rotation center for rotation, set x and y to 0 and
130
+ * use `translateX` and `translateY` attributes to position the element
131
+ * instead.
132
+ *
133
+ * Attributes frequently used in Highcharts are `fill`, `stroke`,
134
+ * `stroke-width`.
135
+ *
136
+ * @sample highcharts/members/renderer-rect/
137
+ * Setting some attributes
138
+ *
139
+ * @example
140
+ * // Set multiple attributes
141
+ * element.attr({
142
+ * stroke: 'red',
143
+ * fill: 'blue',
144
+ * x: 10,
145
+ * y: 10
146
+ * });
147
+ *
148
+ * // Set a single attribute
149
+ * element.attr('stroke', 'red');
150
+ *
151
+ * // Get an attribute
152
+ * element.attr('stroke'); // => 'red'
153
+ *
154
+ * @param hash
155
+ * The native and custom SVG attributes.
156
+ *
157
+ * @param val
158
+ * If the type of the first argument is `string`, the second can be a
159
+ * value, which will serve as a single attribute setter. If the first
160
+ * argument is a string and the second is undefined, the function
161
+ * serves as a getter and the current value of the property is
162
+ * returned.
163
+ *
164
+ * @param complete
165
+ * A callback function to execute after setting the attributes. This
166
+ * makes the function compliant and interchangeable with the
167
+ * {@link SVGElement#animate} function.
168
+ *
169
+ * @param continueAnimation
170
+ * Used internally when `.attr` is called as part of an animation
171
+ * step. Otherwise, calling `.attr` for an attribute will stop
172
+ * animation for that attribute.
173
+ *
174
+ * @return
175
+ * If used as a setter, it returns the current
176
+ * {@link Highcharts.SVGElement} so the calls can be chained. If
177
+ * used as a getter, the current value of the attribute is returned.
178
+ */
179
+ attr(hash?: SVGAttributes, val?: undefined, complete?: Function, continueAnimation?: boolean): this;
180
+ /**
181
+ * Apply a clipping shape to this element.
182
+ *
183
+ * @function Highcharts.SVGElement#clip
184
+ *
185
+ * @param {SVGElement} [clipElem]
186
+ * The clipping shape. If skipped, the current clip is removed.
187
+ *
188
+ * @return {Highcharts.SVGElement}
189
+ * Returns the SVG element to allow chaining.
190
+ */
191
+ clip(clipElem?: SVGElement): this;
192
+ /**
193
+ * Calculate the coordinates needed for drawing a rectangle crisply and
194
+ * return the calculated attributes.
195
+ *
196
+ * @function Highcharts.SVGElement#crisp
197
+ *
198
+ * @param {Highcharts.RectangleObject} rect
199
+ * Rectangle to crisp.
200
+ *
201
+ * @param {number} [strokeWidth]
202
+ * The stroke width to consider when computing crisp positioning. It can
203
+ * also be set directly on the rect parameter.
204
+ *
205
+ * @return {Highcharts.RectangleObject}
206
+ * The modified rectangle arguments.
207
+ */
208
+ crisp(rect: RectangleObject, strokeWidth?: number): RectangleObject;
209
+ /**
210
+ * Set styles for the element. In addition to CSS styles supported by
211
+ * native SVG and HTML elements, there are also some custom made for
212
+ * Highcharts, like `width`, `ellipsis` and `textOverflow` for SVG text
213
+ * elements.
214
+ *
215
+ * @sample highcharts/members/renderer-text-on-chart/
216
+ * Styled text
217
+ *
218
+ * @function Highcharts.SVGElement#css
219
+ *
220
+ * @param {Highcharts.CSSObject} styles
221
+ * The new CSS styles.
222
+ *
223
+ * @return {Highcharts.SVGElement}
224
+ * Return the SVG element for chaining.
225
+ */
226
+ css(styles: CSSObject): this;
227
+ /**
228
+ * Destroy the element and element wrapper and clear up the DOM and event
229
+ * hooks.
230
+ *
231
+ * @function Highcharts.SVGElement#destroy
232
+ */
233
+ destroy(): undefined;
234
+ /**
235
+ * Get the bounding box (width, height, x and y) for the element. Generally
236
+ * used to get rendered text size. Since this is called a lot in charts,
237
+ * the results are cached based on text properties, in order to save DOM
238
+ * traffic. The returned bounding box includes the rotation, so for example
239
+ * a single text line of rotation 90 will report a greater height, and a
240
+ * width corresponding to the line-height.
241
+ *
242
+ * @sample highcharts/members/renderer-on-chart/
243
+ * Draw a rectangle based on a text's bounding box
244
+ *
245
+ * @function Highcharts.SVGElement#getBBox
246
+ *
247
+ * @param {boolean} [reload]
248
+ * Skip the cache and get the updated DOM bounding box.
249
+ *
250
+ * @param {number} [rot]
251
+ * Override the element's rotation. This is internally used on axis
252
+ * labels with a value of 0 to find out what the bounding box would
253
+ * be have been if it were not rotated.
254
+ *
255
+ * @return {Highcharts.BBoxObject}
256
+ * The bounding box with `x`, `y`, `width` and `height` properties.
257
+ */
258
+ getBBox(reload?: boolean, rot?: number): BBoxObject;
259
+ /**
260
+ * Overridable method to get a cache key for the bounding box of this
261
+ * element.
262
+ *
263
+ * @example
264
+ * // Plugin to let the getBBox function respond to font family changes
265
+ * (({ SVGElement }) => {
266
+ * const getBBoxCacheKey = SVGElement.prototype.getBBoxCacheKey;
267
+ * SVGElement.prototype.getBBoxCacheKey = function (keys) {
268
+ * const key = getBBoxCacheKey.call(this, keys);
269
+ * const fontFamily = this.styles.fontFamily;
270
+ * return key + (fontFamily ? `,${fontFamily}` : '');
271
+ * };
272
+ * })(Highcharts);
273
+ *
274
+ * @function Highcharts.SVGElement#getBBoxCacheKey
275
+ *
276
+ * @return {string|void} The cache key based on the text properties.
277
+ */
278
+ getBBoxCacheKey(keys: Array<any>): string | void;
279
+ /**
280
+ * Get the computed style. Only in styled mode.
281
+ *
282
+ * @example
283
+ * chart.series[0].points[0].graphic.getStyle('stroke-width'); // => '1px'
284
+ *
285
+ * @function Highcharts.SVGElement#getStyle
286
+ *
287
+ * @param {string} prop
288
+ * The property name to check for.
289
+ *
290
+ * @return {string}
291
+ * The current computed value.
292
+ */
293
+ getStyle(prop: string): string;
294
+ /**
295
+ * Check if an element has the given class name.
296
+ *
297
+ * @function Highcharts.SVGElement#hasClass
298
+ *
299
+ * @param {string} className
300
+ * The class name to check for.
301
+ *
302
+ * @return {boolean}
303
+ * Whether the class name is found.
304
+ */
305
+ hasClass(className: string): boolean;
306
+ /**
307
+ * Hide the element, similar to setting the `visibility` attribute to
308
+ * `hidden`.
309
+ *
310
+ * @function Highcharts.SVGElement#hide
311
+ *
312
+ * @return {Highcharts.SVGElement}
313
+ * Returns the SVGElement for chaining.
314
+ */
315
+ hide(): this;
316
+ /**
317
+ * Initialize the SVG element. This function only exists to make the
318
+ * initialization process overridable. It should not be called directly.
319
+ *
320
+ * @function Highcharts.SVGElement#init
321
+ *
322
+ * @param {Highcharts.SVGRenderer} renderer
323
+ * The SVGRenderer instance to initialize to.
324
+ *
325
+ * @param {string} nodeName
326
+ * The SVG node name.
327
+ */
328
+ constructor(renderer: SVGRenderer, nodeName: string);
329
+ /**
330
+ * Add an event listener. This is a simple setter that replaces the
331
+ * previous event of the same type added by this function, as opposed to
332
+ * the {@link Highcharts#addEvent} function.
333
+ *
334
+ * @sample highcharts/members/element-on/
335
+ * A clickable rectangle
336
+ *
337
+ * @function Highcharts.SVGElement#on
338
+ *
339
+ * @param {string} eventType
340
+ * The event type.
341
+ *
342
+ * @param {Function} handler
343
+ * The handler callback.
344
+ *
345
+ * @return {Highcharts.SVGElement}
346
+ * The SVGElement for chaining.
347
+ */
348
+ on(eventType: string, handler: Function): this;
349
+ /**
350
+ * Remove a class name from the element.
351
+ *
352
+ * @function Highcharts.SVGElement#removeClass
353
+ *
354
+ * @param {string|RegExp} className
355
+ * The class name to remove.
356
+ *
357
+ * @return {Highcharts.SVGElement} Returns the SVG element for chainability.
358
+ */
359
+ removeClass(className: (string | RegExp)): this;
360
+ /**
361
+ * Set the coordinates needed to draw a consistent radial gradient across
362
+ * a shape regardless of positioning inside the chart. Used on pie slices
363
+ * to make all the slices have the same radial reference point.
364
+ *
365
+ * @function Highcharts.SVGElement#setRadialReference
366
+ *
367
+ * @param {Array<number>} coordinates
368
+ * The center reference. The format is `[centerX, centerY, diameter]` in
369
+ * pixels.
370
+ *
371
+ * @return {Highcharts.SVGElement}
372
+ * Returns the SVGElement for chaining.
373
+ */
374
+ setRadialReference(coordinates: Array<number>): this;
375
+ /**
376
+ * Add a shadow to the element. In styled mode, this method is not used,
377
+ * instead use `defs` and filters.
378
+ *
379
+ * @example
380
+ * renderer.rect(10, 100, 100, 100)
381
+ * .attr({ fill: 'red' })
382
+ * .shadow(true);
383
+ *
384
+ * @function Highcharts.SVGElement#shadow
385
+ *
386
+ * @param {boolean|Highcharts.ShadowOptionsObject} [shadowOptions] The
387
+ * shadow options. If `true`, the default options are applied. If
388
+ * `false`, the current shadow will be removed.
389
+ *
390
+ * @return {Highcharts.SVGElement} Returns the SVGElement for chaining.
391
+ */
392
+ shadow(shadowOptions?: (boolean | Partial<ShadowOptionsObject>)): this;
393
+ /**
394
+ * Show the element after it has been hidden.
395
+ *
396
+ * @function Highcharts.SVGElement#show
397
+ *
398
+ * @param {boolean} [inherit=true]
399
+ * Set the visibility attribute to `inherit` rather than `visible`.
400
+ * The difference is that an element with `visibility="visible"`
401
+ * will be visible even if the parent is hidden.
402
+ *
403
+ * @return {Highcharts.SVGElement}
404
+ * Returns the SVGElement for chaining.
405
+ */
406
+ show(inherit?: boolean): this;
407
+ /**
408
+ * Get the computed stroke width in pixel values. This is used extensively
409
+ * when drawing shapes to ensure the shapes are rendered crisp and
410
+ * positioned correctly relative to each other. Using
411
+ * `shape-rendering: crispEdges` leaves us less control over positioning,
412
+ * for example when we want to stack columns next to each other, or position
413
+ * things pixel-perfectly within the plot box.
414
+ *
415
+ * The common pattern when placing a shape is:
416
+ * - Create the SVGElement and add it to the DOM. In styled mode, it will
417
+ * now receive a stroke width from the style sheet. In classic mode we
418
+ * will add the `stroke-width` attribute.
419
+ * - Read the computed `elem.strokeWidth()`.
420
+ * - Place it based on the stroke width.
421
+ *
422
+ * @function Highcharts.SVGElement#strokeWidth
423
+ *
424
+ * @return {number}
425
+ * The stroke width in pixels. Even if the given stroke width (in CSS or by
426
+ * attributes) is based on `em` or other units, the pixel size is returned.
427
+ */
428
+ strokeWidth(): number;
429
+ /**
430
+ * Bring the element to the front. Alternatively, a new zIndex can be set.
431
+ *
432
+ * @sample highcharts/members/element-tofront/
433
+ * Click an element to bring it to front
434
+ *
435
+ * @function Highcharts.SVGElement#toFront
436
+ *
437
+ * @return {Highcharts.SVGElement}
438
+ * Returns the SVGElement for chaining.
439
+ */
440
+ toFront(): this;
441
+ /**
442
+ * Move an object and its children by x and y values.
443
+ *
444
+ * @function Highcharts.SVGElement#translate
445
+ *
446
+ * @param {number} x
447
+ * The x value.
448
+ *
449
+ * @param {number} y
450
+ * The y value.
451
+ *
452
+ * @return {Highcharts.SVGElement}
453
+ * Translated element.
454
+ */
455
+ translate(x: number, y: number): this;
456
+ }
457
+ interface SVGElement extends SVGElementBase {
458
+ }
459
+ export default SVGElement;
@@ -0,0 +1 @@
1
+ export {};
@@ -1,19 +1,3 @@
1
- /* *
2
- *
3
- * (c) 2010-2025 Torstein Honsi
4
- *
5
- * License: www.highcharts.com/license
6
- *
7
- * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
8
- *
9
- * */
10
-
11
- /* *
12
- *
13
- * Declarations
14
- *
15
- * */
16
-
17
1
  /**
18
2
  * Optional properties for the SVGElement class. Should be defined outside of
19
3
  * this file by `declare module` pattern.
@@ -21,11 +5,4 @@
21
5
  export interface SVGElementBase {
22
6
  [key: string]: any;
23
7
  }
24
-
25
- /* *
26
- *
27
- * Default Export
28
- *
29
- * */
30
-
31
8
  export default SVGElementBase;
@@ -0,0 +1,14 @@
1
+ import type SVGRenderer from './SVGRenderer';
2
+ import SVGElement from './SVGElement.js';
3
+ /**
4
+ * SVG label to render text.
5
+ *
6
+ * @class
7
+ * @name Highcharts.SVGLabel
8
+ * @augments Highcharts.SVGElement
9
+ */
10
+ declare class SVGLabel extends SVGElement {
11
+ constructor(renderer: SVGRenderer, str: string, x: number, y?: number, shape?: string, // @todo (SymbolKey|string),
12
+ anchorX?: number, anchorY?: number, useHTML?: boolean, baseline?: boolean, className?: string);
13
+ }
14
+ export default SVGLabel;
@@ -1,47 +1,18 @@
1
- /* *
2
- *
3
- * (c) 2010-2025 Torstein Honsi
4
- *
5
- * License: www.highcharts.com/license
6
- *
7
- * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
8
- *
9
- * */
10
-
11
- /* *
12
- *
13
- * Declarations
14
- *
15
- * */
16
-
17
1
  export interface SVGPath extends globalThis.Array<SVGPath.Segment> {
18
2
  isFlat?: boolean;
19
3
  xBounds?: Array<number>;
20
4
  yBounds?: Array<number>;
21
- xMap?: Array<number|null>;
5
+ xMap?: Array<number | null>;
22
6
  }
23
-
24
- /* *
25
- *
26
- * Namespace
27
- *
28
- * */
29
-
30
- export namespace SVGPath {
31
-
32
- /* *
33
- *
34
- * Declarations
35
- *
36
- * */
7
+ export declare namespace SVGPath {
37
8
  type ArcParams = {
38
- cx: number,
39
- cy: number,
40
- start: number,
41
- end: number
9
+ cx: number;
10
+ cy: number;
11
+ start: number;
12
+ end: number;
42
13
  };
43
14
  type ArcArray = [
44
- 'A'|'a',
15
+ 'A' | 'a',
45
16
  number,
46
17
  number,
47
18
  number,
@@ -51,12 +22,11 @@ export namespace SVGPath {
51
22
  number
52
23
  ];
53
24
  export interface Arc extends ArcArray {
54
- params?: ArcParams
25
+ params?: ArcParams;
55
26
  }
56
-
57
- export type Close = ['Z'|'z'];
27
+ export type Close = ['Z' | 'z'];
58
28
  export type CurveTo = [
59
- 'C'|'c',
29
+ 'C' | 'c',
60
30
  number,
61
31
  number,
62
32
  number,
@@ -64,14 +34,13 @@ export namespace SVGPath {
64
34
  number,
65
35
  number
66
36
  ];
67
- export type HorizontalLineTo = ['H'|'h', number];
68
- export type LineTo = ['L'|'l', number, number];
69
- export type MoveTo = ['M'|'m', number, number];
70
- export type QuadTo = ['Q'|'q', number, number, number, number];
71
- export type CurveSmoothTo = ['S'|'s', number, number, number, number];
72
- export type QuadSmoothTo = ['T'|'t', number, number];
73
- export type VerticalLineTo = ['V'|'v', number];
74
-
37
+ export type HorizontalLineTo = ['H' | 'h', number];
38
+ export type LineTo = ['L' | 'l', number, number];
39
+ export type MoveTo = ['M' | 'm', number, number];
40
+ export type QuadTo = ['Q' | 'q', number, number, number, number];
41
+ export type CurveSmoothTo = ['S' | 's', number, number, number, number];
42
+ export type QuadSmoothTo = ['T' | 't', number, number];
43
+ export type VerticalLineTo = ['V' | 'v', number];
75
44
  export type Segment = SegmentRegistry[keyof SegmentRegistry];
76
45
  export interface SegmentRegistry {
77
46
  Arc: Arc;
@@ -85,13 +54,6 @@ export namespace SVGPath {
85
54
  QuadTo: QuadTo;
86
55
  VerticalLineTo: VerticalLineTo;
87
56
  }
88
-
57
+ export {};
89
58
  }
90
-
91
- /* *
92
- *
93
- * Default Export
94
- *
95
- * */
96
-
97
59
  export default SVGPath;
@@ -1,27 +1,4 @@
1
- /* *
2
- *
3
- * (c) 2010-2025 Torstein Honsi
4
- *
5
- * License: www.highcharts.com/license
6
- *
7
- * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
8
- *
9
- * */
10
-
11
- /* *
12
- *
13
- * Imports
14
- *
15
- * */
16
-
17
1
  import type SVGPath from './SVGPath';
18
-
19
- /* *
20
- *
21
- * Declarations
22
- *
23
- * */
24
-
25
2
  export interface SVGPath3D {
26
3
  back?: SVGPath;
27
4
  bottom?: SVGPath;
@@ -30,11 +7,4 @@ export interface SVGPath3D {
30
7
  top?: SVGPath;
31
8
  zIndexes?: Record<string, number>;
32
9
  }
33
-
34
- /* *
35
- *
36
- * Default Export
37
- *
38
- * */
39
-
40
10
  export default SVGPath3D;