@splunk/visualizations 28.5.3 → 28.7.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 (663) hide show
  1. package/Area/Area.d.ts.map +1 -1
  2. package/Area/areaUtils.d.ts +1 -1
  3. package/Area/areaUtils.d.ts.map +1 -1
  4. package/Area/config.d.ts.map +1 -1
  5. package/Area.config.js +93 -25
  6. package/Area.config.js.map +3 -3
  7. package/Area.js +708 -319
  8. package/Area.js.map +4 -4
  9. package/Bar/Bar.d.ts.map +1 -1
  10. package/Bar.config.js +81 -24
  11. package/Bar.config.js.map +3 -3
  12. package/Bar.js +528 -297
  13. package/Bar.js.map +4 -4
  14. package/Bubble.config.js +80 -23
  15. package/Bubble.config.js.map +2 -2
  16. package/Bubble.js +375 -208
  17. package/Bubble.js.map +4 -4
  18. package/CHANGELOG.external.md +75 -60
  19. package/ChoroplethSvg/PureChoroplethSvg/PureChoroplethSvg.d.ts +1 -0
  20. package/ChoroplethSvg/PureChoroplethSvg/PureChoroplethSvg.d.ts.map +1 -1
  21. package/ChoroplethSvg/PureChoroplethSvg/SvgChoroplethDynamic.d.ts +12 -25
  22. package/ChoroplethSvg/PureChoroplethSvg/SvgChoroplethDynamic.d.ts.map +1 -1
  23. package/ChoroplethSvg/PureChoroplethSvg/SvgMutator.d.ts +11 -4
  24. package/ChoroplethSvg/PureChoroplethSvg/SvgMutator.d.ts.map +1 -1
  25. package/ChoroplethSvg.js +1133 -253
  26. package/ChoroplethSvg.js.map +4 -4
  27. package/Column/Column.d.ts.map +1 -1
  28. package/Column.config.js +81 -24
  29. package/Column.config.js.map +3 -3
  30. package/Column.js +531 -300
  31. package/Column.js.map +4 -4
  32. package/Ellipse.config.js +1 -1
  33. package/Ellipse.config.js.map +2 -2
  34. package/Ellipse.js +277 -161
  35. package/Ellipse.js.map +4 -4
  36. package/Events/PureEvents/FieldSummaryTooltip.d.ts +8 -31
  37. package/Events/PureEvents/FieldSummaryTooltip.d.ts.map +1 -1
  38. package/Events/PureEvents/PureEvents.d.ts.map +1 -1
  39. package/Events/PureEvents/TimeControlsPopover.d.ts +6 -25
  40. package/Events/PureEvents/TimeControlsPopover.d.ts.map +1 -1
  41. package/Events/config.d.ts.map +1 -1
  42. package/Events.config.js +13 -3
  43. package/Events.config.js.map +2 -2
  44. package/Events.js +355 -293
  45. package/Events.js.map +4 -4
  46. package/FillerGauge/FillerGauge.d.ts.map +1 -1
  47. package/FillerGauge/config.d.ts.map +1 -1
  48. package/FillerGauge.config.js +76 -24
  49. package/FillerGauge.config.js.map +2 -2
  50. package/FillerGauge.js +512 -271
  51. package/FillerGauge.js.map +4 -4
  52. package/Image/config.d.ts.map +1 -1
  53. package/Image.config.js +7 -0
  54. package/Image.config.js.map +2 -2
  55. package/Image.js +282 -149
  56. package/Image.js.map +4 -4
  57. package/LICENSE +13 -0
  58. package/Line/Line.d.ts.map +1 -1
  59. package/Line/config.d.ts.map +1 -1
  60. package/Line/lineUtils.d.ts.map +1 -1
  61. package/Line/mockdata/LineData.d.ts +21 -0
  62. package/Line/mockdata/LineData.d.ts.map +1 -1
  63. package/Line.config.js +86 -25
  64. package/Line.config.js.map +3 -3
  65. package/Line.js +638 -382
  66. package/Line.js.map +4 -4
  67. package/LinkGraph/PureLinkGraph/PureLinkGraph.d.ts +47 -73
  68. package/LinkGraph/PureLinkGraph/PureLinkGraph.d.ts.map +1 -1
  69. package/LinkGraph/PureLinkGraph/PureLinkGraphUtils.d.ts +11 -2
  70. package/LinkGraph/PureLinkGraph/PureLinkGraphUtils.d.ts.map +1 -1
  71. package/LinkGraph/PureLinkGraph/components/Graph.d.ts +5 -5
  72. package/LinkGraph/PureLinkGraph/components/Node.d.ts +2 -2
  73. package/LinkGraph/PureLinkGraph/components/Nodes.d.ts +2 -2
  74. package/LinkGraph.js +886 -759
  75. package/LinkGraph.js.map +4 -4
  76. package/Map/Map.d.ts +1 -0
  77. package/Map/Map.d.ts.map +1 -1
  78. package/Map/PureMap/BubbleLayer.d.ts +22 -4
  79. package/Map/PureMap/BubbleLayer.d.ts.map +1 -1
  80. package/Map/PureMap/ChoroplethLayer.d.ts +9 -1
  81. package/Map/PureMap/ChoroplethLayer.d.ts.map +1 -1
  82. package/Map/PureMap/ClusterLayer.d.ts +3 -1
  83. package/Map/PureMap/ClusterLayer.d.ts.map +1 -1
  84. package/Map/PureMap/LocalChoroplethLayer.d.ts +1 -0
  85. package/Map/PureMap/LocalChoroplethLayer.d.ts.map +1 -1
  86. package/Map/PureMap/MapContext.d.ts +13 -0
  87. package/Map/PureMap/MapContext.d.ts.map +1 -0
  88. package/Map/PureMap/MarkerLayer.d.ts +19 -2
  89. package/Map/PureMap/MarkerLayer.d.ts.map +1 -1
  90. package/Map/PureMap/MarkerWrapper.d.ts +3 -2
  91. package/Map/PureMap/MarkerWrapper.d.ts.map +1 -1
  92. package/Map/PureMap/PureMap.d.ts +1 -0
  93. package/Map/PureMap/PureMap.d.ts.map +1 -1
  94. package/Map/PureMap/PureMapContainer.d.ts.map +1 -1
  95. package/Map/PureMap/Tooltip.d.ts +6 -1
  96. package/Map/PureMap/Tooltip.d.ts.map +1 -1
  97. package/Map/PureMap/keyboardConstants.d.ts +11 -0
  98. package/Map/PureMap/keyboardConstants.d.ts.map +1 -0
  99. package/Map/PureMap/useRovingTabindex.d.ts +18 -0
  100. package/Map/PureMap/useRovingTabindex.d.ts.map +1 -0
  101. package/Map/config.d.ts.map +1 -1
  102. package/Map.config.js +4 -1
  103. package/Map.config.js.map +2 -2
  104. package/Map.js +1594 -628
  105. package/Map.js.map +4 -4
  106. package/Markdown/Markdown.d.ts.map +1 -1
  107. package/Markdown.config.js.map +1 -1
  108. package/Markdown.js +304 -161
  109. package/Markdown.js.map +4 -4
  110. package/MarkerGauge/MarkerGauge.d.ts +1 -47
  111. package/MarkerGauge/MarkerGauge.d.ts.map +1 -1
  112. package/MarkerGauge/PureMarkerGauge/MarkerGauge.d.ts +22 -68
  113. package/MarkerGauge/PureMarkerGauge/MarkerGauge.d.ts.map +1 -1
  114. package/MarkerGauge/config.d.ts.map +1 -1
  115. package/MarkerGauge.config.js +75 -23
  116. package/MarkerGauge.config.js.map +2 -2
  117. package/MarkerGauge.js +560 -375
  118. package/MarkerGauge.js.map +4 -4
  119. package/NetworkGraph/NetworkGraph.d.ts +2 -5
  120. package/NetworkGraph/NetworkGraph.d.ts.map +1 -1
  121. package/NetworkGraph/PureNetworkGraph/PureNetworkGraph.d.ts.map +1 -1
  122. package/NetworkGraph/PureNetworkGraph/components/NetworkGraphSvg.d.ts +1 -0
  123. package/NetworkGraph/PureNetworkGraph/components/NetworkGraphSvg.d.ts.map +1 -1
  124. package/NetworkGraph/PureNetworkGraph/components/Node.d.ts +1 -0
  125. package/NetworkGraph/PureNetworkGraph/components/Node.d.ts.map +1 -1
  126. package/NetworkGraph/PureNetworkGraph/components/Tooltip.d.ts +1 -1
  127. package/NetworkGraph/PureNetworkGraph/components/Tooltip.d.ts.map +1 -1
  128. package/NetworkGraph/PureNetworkGraph/components/ZoomControls.d.ts +1 -0
  129. package/NetworkGraph/PureNetworkGraph/components/ZoomControls.d.ts.map +1 -1
  130. package/NetworkGraph/PureNetworkGraph/utils/networkGraphUtils.d.ts +23 -0
  131. package/NetworkGraph/PureNetworkGraph/utils/networkGraphUtils.d.ts.map +1 -1
  132. package/NetworkGraph.config.js +2 -0
  133. package/NetworkGraph.config.js.map +2 -2
  134. package/NetworkGraph.js +895 -455
  135. package/NetworkGraph.js.map +4 -4
  136. package/ParallelCoordinates.config.js.map +1 -1
  137. package/ParallelCoordinates.js +288 -172
  138. package/ParallelCoordinates.js.map +4 -4
  139. package/Pie/Pie.d.ts.map +1 -1
  140. package/Pie/pieUtils.d.ts +2 -2
  141. package/Pie.config.js +74 -22
  142. package/Pie.config.js.map +2 -2
  143. package/Pie.js +522 -296
  144. package/Pie.js.map +4 -4
  145. package/ProcessTree/ProcessTree.d.ts +23 -0
  146. package/ProcessTree/ProcessTree.d.ts.map +1 -0
  147. package/ProcessTree/PureProcessTree/PureProcessTree.d.ts +33 -0
  148. package/ProcessTree/PureProcessTree/PureProcessTree.d.ts.map +1 -0
  149. package/ProcessTree/PureProcessTree/components/DirectionalBytes.d.ts +8 -0
  150. package/ProcessTree/PureProcessTree/components/DirectionalBytes.d.ts.map +1 -0
  151. package/ProcessTree/PureProcessTree/components/ProcessTreeLeftPanel.d.ts +46 -0
  152. package/ProcessTree/PureProcessTree/components/ProcessTreeLeftPanel.d.ts.map +1 -0
  153. package/ProcessTree/PureProcessTree/components/ProcessTreeRightPanel.d.ts +20 -0
  154. package/ProcessTree/PureProcessTree/components/ProcessTreeRightPanel.d.ts.map +1 -0
  155. package/ProcessTree/PureProcessTree/hooks/useProcessTreeExpansionState.d.ts +20 -0
  156. package/ProcessTree/PureProcessTree/hooks/useProcessTreeExpansionState.d.ts.map +1 -0
  157. package/ProcessTree/PureProcessTree/hooks/useProcessTreeGraphData.d.ts +46 -0
  158. package/ProcessTree/PureProcessTree/hooks/useProcessTreeGraphData.d.ts.map +1 -0
  159. package/ProcessTree/PureProcessTree/hooks/useProcessTreeLinkOverlay.d.ts +23 -0
  160. package/ProcessTree/PureProcessTree/hooks/useProcessTreeLinkOverlay.d.ts.map +1 -0
  161. package/ProcessTree/PureProcessTree/mockdata/data.d.ts +235 -0
  162. package/ProcessTree/PureProcessTree/mockdata/data.d.ts.map +1 -0
  163. package/ProcessTree/PureProcessTree/utils/iconLoader.d.ts +9 -0
  164. package/ProcessTree/PureProcessTree/utils/iconLoader.d.ts.map +1 -0
  165. package/ProcessTree/PureProcessTree/utils/processTreeLinkOverlayUtils.d.ts +36 -0
  166. package/ProcessTree/PureProcessTree/utils/processTreeLinkOverlayUtils.d.ts.map +1 -0
  167. package/ProcessTree/PureProcessTree/utils/processTreeUtils.d.ts +82 -0
  168. package/ProcessTree/PureProcessTree/utils/processTreeUtils.d.ts.map +1 -0
  169. package/ProcessTree/config.d.ts +4 -0
  170. package/ProcessTree/config.d.ts.map +1 -0
  171. package/ProcessTree/index.d.ts +3 -0
  172. package/ProcessTree/index.d.ts.map +1 -0
  173. package/ProcessTree.config.js +192 -0
  174. package/ProcessTree.config.js.map +7 -0
  175. package/ProcessTree.js +5128 -0
  176. package/ProcessTree.js.map +7 -0
  177. package/Punchcard/Punchcard.d.ts +1 -5
  178. package/Punchcard/Punchcard.d.ts.map +1 -1
  179. package/Punchcard/PurePunchcard/Punchcard.d.ts +28 -32
  180. package/Punchcard/PurePunchcard/Punchcard.d.ts.map +1 -1
  181. package/Punchcard/PurePunchcard/src/PunchcardAxis.d.ts +7 -12
  182. package/Punchcard/PurePunchcard/src/PunchcardAxis.d.ts.map +1 -1
  183. package/Punchcard/PurePunchcard/src/PunchcardBubble.d.ts +14 -19
  184. package/Punchcard/PurePunchcard/src/PunchcardBubble.d.ts.map +1 -1
  185. package/Punchcard/PurePunchcard/src/PunchcardChartArea.d.ts +22 -27
  186. package/Punchcard/PurePunchcard/src/PunchcardChartArea.d.ts.map +1 -1
  187. package/Punchcard/PurePunchcard/src/PunchcardGridLines.d.ts +3 -8
  188. package/Punchcard/PurePunchcard/src/PunchcardGridLines.d.ts.map +1 -1
  189. package/Punchcard/PurePunchcard/src/PunchcardLegend.d.ts +9 -14
  190. package/Punchcard/PurePunchcard/src/PunchcardLegend.d.ts.map +1 -1
  191. package/Punchcard/PurePunchcard/src/PunchcardRow.d.ts.map +1 -1
  192. package/Punchcard.config.js.map +1 -1
  193. package/Punchcard.js +444 -631
  194. package/Punchcard.js.map +4 -4
  195. package/README.md +2 -0
  196. package/Rectangle.config.js +1 -1
  197. package/Rectangle.config.js.map +2 -2
  198. package/Rectangle.js +289 -173
  199. package/Rectangle.js.map +4 -4
  200. package/RichText/PureRichText/Editor/EditorPanel.d.ts +20 -0
  201. package/RichText/PureRichText/Editor/EditorPanel.d.ts.map +1 -0
  202. package/RichText/PureRichText/Editor/EditorPanelStyles.d.ts +17 -0
  203. package/RichText/PureRichText/Editor/EditorPanelStyles.d.ts.map +1 -0
  204. package/RichText/PureRichText/Editor/FontSelector.d.ts +15 -0
  205. package/RichText/PureRichText/Editor/FontSelector.d.ts.map +1 -0
  206. package/RichText/PureRichText/Editor/FormatButton.d.ts +23 -0
  207. package/RichText/PureRichText/Editor/FormatButton.d.ts.map +1 -0
  208. package/RichText/PureRichText/Editor/editorPanelUtils.d.ts +19 -0
  209. package/RichText/PureRichText/Editor/editorPanelUtils.d.ts.map +1 -0
  210. package/RichText/PureRichText/Editor/hooks/useLineSpacing.d.ts +11 -0
  211. package/RichText/PureRichText/Editor/hooks/useLineSpacing.d.ts.map +1 -0
  212. package/RichText/PureRichText/Editor/hooks/useLinkHandlers.d.ts +26 -0
  213. package/RichText/PureRichText/Editor/hooks/useLinkHandlers.d.ts.map +1 -0
  214. package/RichText/PureRichText/Editor/index.d.ts +9 -0
  215. package/RichText/PureRichText/Editor/index.d.ts.map +1 -0
  216. package/RichText/PureRichText/InnerEditor.d.ts +41 -0
  217. package/RichText/PureRichText/InnerEditor.d.ts.map +1 -0
  218. package/RichText/PureRichText/PureRichText.d.ts +19 -0
  219. package/RichText/PureRichText/PureRichText.d.ts.map +1 -0
  220. package/RichText/PureRichText/PureRichTextContext.d.ts +64 -0
  221. package/RichText/PureRichText/PureRichTextContext.d.ts.map +1 -0
  222. package/RichText/PureRichText/RichTextStyles.d.ts +25 -0
  223. package/RichText/PureRichText/RichTextStyles.d.ts.map +1 -0
  224. package/RichText/PureRichText/activeInstance.d.ts +23 -0
  225. package/RichText/PureRichText/activeInstance.d.ts.map +1 -0
  226. package/RichText/PureRichText/config.d.ts +17 -0
  227. package/RichText/PureRichText/config.d.ts.map +1 -0
  228. package/RichText/PureRichText/hooks/index.d.ts +12 -0
  229. package/RichText/PureRichText/hooks/index.d.ts.map +1 -0
  230. package/RichText/PureRichText/hooks/useContentSave.d.ts +25 -0
  231. package/RichText/PureRichText/hooks/useContentSave.d.ts.map +1 -0
  232. package/RichText/PureRichText/hooks/useContentSync.d.ts +28 -0
  233. package/RichText/PureRichText/hooks/useContentSync.d.ts.map +1 -0
  234. package/RichText/PureRichText/hooks/useDashboardKeyboardNav.d.ts +33 -0
  235. package/RichText/PureRichText/hooks/useDashboardKeyboardNav.d.ts.map +1 -0
  236. package/RichText/PureRichText/hooks/useEditModeEffect.d.ts +10 -0
  237. package/RichText/PureRichText/hooks/useEditModeEffect.d.ts.map +1 -0
  238. package/RichText/PureRichText/hooks/useEditorSetup.d.ts +36 -0
  239. package/RichText/PureRichText/hooks/useEditorSetup.d.ts.map +1 -0
  240. package/RichText/PureRichText/hooks/useFakeHighlight.d.ts +33 -0
  241. package/RichText/PureRichText/hooks/useFakeHighlight.d.ts.map +1 -0
  242. package/RichText/PureRichText/hooks/useFocusHandlers.d.ts +35 -0
  243. package/RichText/PureRichText/hooks/useFocusHandlers.d.ts.map +1 -0
  244. package/RichText/PureRichText/hooks/useKeyboardShortcuts.d.ts +18 -0
  245. package/RichText/PureRichText/hooks/useKeyboardShortcuts.d.ts.map +1 -0
  246. package/RichText/PureRichText/hooks/useMouseHandlers.d.ts +24 -0
  247. package/RichText/PureRichText/hooks/useMouseHandlers.d.ts.map +1 -0
  248. package/RichText/PureRichText/hooks/useRichTextState.d.ts +38 -0
  249. package/RichText/PureRichText/hooks/useRichTextState.d.ts.map +1 -0
  250. package/RichText/PureRichText/hooks/useStepFontSize.d.ts +17 -0
  251. package/RichText/PureRichText/hooks/useStepFontSize.d.ts.map +1 -0
  252. package/RichText/PureRichText/hooks/useStepLineSpacing.d.ts +18 -0
  253. package/RichText/PureRichText/hooks/useStepLineSpacing.d.ts.map +1 -0
  254. package/RichText/PureRichText/hooks/useTokenMap.d.ts +45 -0
  255. package/RichText/PureRichText/hooks/useTokenMap.d.ts.map +1 -0
  256. package/RichText/PureRichText/index.d.ts +16 -0
  257. package/RichText/PureRichText/index.d.ts.map +1 -0
  258. package/RichText/PureRichText/renderers/ElementRenderer.d.ts +8 -0
  259. package/RichText/PureRichText/renderers/ElementRenderer.d.ts.map +1 -0
  260. package/RichText/PureRichText/renderers/LeafRenderer.d.ts +8 -0
  261. package/RichText/PureRichText/renderers/LeafRenderer.d.ts.map +1 -0
  262. package/RichText/PureRichText/types.d.ts +111 -0
  263. package/RichText/PureRichText/types.d.ts.map +1 -0
  264. package/RichText/PureRichText/utils/a11yUtils.d.ts +9 -0
  265. package/RichText/PureRichText/utils/a11yUtils.d.ts.map +1 -0
  266. package/RichText/PureRichText/utils/fontSize.d.ts +6 -0
  267. package/RichText/PureRichText/utils/fontSize.d.ts.map +1 -0
  268. package/RichText/PureRichText/utils/slateUtils.d.ts +99 -0
  269. package/RichText/PureRichText/utils/slateUtils.d.ts.map +1 -0
  270. package/RichText/RichText.d.ts +17 -0
  271. package/RichText/RichText.d.ts.map +1 -0
  272. package/RichText/config.d.ts +4 -0
  273. package/RichText/config.d.ts.map +1 -0
  274. package/RichText/index.d.ts +7 -0
  275. package/RichText/index.d.ts.map +1 -0
  276. package/RichText.config.js +268 -0
  277. package/RichText.config.js.map +7 -0
  278. package/RichText.js +7674 -0
  279. package/RichText.js.map +7 -0
  280. package/Sankey/PureSankey/PureSankey.d.ts.map +1 -1
  281. package/Sankey/PureSankey/SankeyLink.d.ts.map +1 -1
  282. package/Sankey/PureSankey/SankeyNode.d.ts +10 -3
  283. package/Sankey/PureSankey/SankeyNode.d.ts.map +1 -1
  284. package/Sankey/PureSankey/SankeyTooltip.d.ts.map +1 -1
  285. package/Sankey/PureSankey/SankeyUtils.d.ts +10 -0
  286. package/Sankey/PureSankey/SankeyUtils.d.ts.map +1 -1
  287. package/Sankey.config.js.map +1 -1
  288. package/Sankey.js +562 -290
  289. package/Sankey.js.map +4 -4
  290. package/Scatter/Scatter.d.ts.map +1 -1
  291. package/Scatter.config.js +81 -24
  292. package/Scatter.config.js.map +3 -3
  293. package/Scatter.js +528 -297
  294. package/Scatter.js.map +4 -4
  295. package/SingleValue/SingleValue.d.ts.map +1 -1
  296. package/SingleValue/config.d.ts.map +1 -1
  297. package/SingleValue.config.js +76 -24
  298. package/SingleValue.config.js.map +2 -2
  299. package/SingleValue.js +896 -779
  300. package/SingleValue.js.map +4 -4
  301. package/SingleValueBasic.js.map +1 -1
  302. package/SingleValueIcon/SingleValueIcon.d.ts.map +1 -1
  303. package/SingleValueIcon/config.d.ts.map +1 -1
  304. package/SingleValueIcon.config.js +76 -24
  305. package/SingleValueIcon.config.js.map +2 -2
  306. package/SingleValueIcon.js +512 -287
  307. package/SingleValueIcon.js.map +4 -4
  308. package/SingleValueRadial/PureSingleValueRadial/utils/gaugeUtils.d.ts +0 -8
  309. package/SingleValueRadial/PureSingleValueRadial/utils/gaugeUtils.d.ts.map +1 -1
  310. package/SingleValueRadial/SingleValueRadial.d.ts.map +1 -1
  311. package/SingleValueRadial/config.d.ts.map +1 -1
  312. package/SingleValueRadial.config.js +76 -24
  313. package/SingleValueRadial.config.js.map +2 -2
  314. package/SingleValueRadial.js +543 -326
  315. package/SingleValueRadial.js.map +4 -4
  316. package/SparkLine/SparkLine.d.ts +57 -0
  317. package/SparkLine/SparkLine.d.ts.map +1 -0
  318. package/SparkLine/index.d.ts +1 -1
  319. package/SparkLine/index.d.ts.map +1 -1
  320. package/SparkLine.js +384 -485
  321. package/SparkLine.js.map +4 -4
  322. package/TRELLIS.md +48 -0
  323. package/Table/PureTable.d.ts +1 -0
  324. package/Table/PureTable.d.ts.map +1 -1
  325. package/Table/Table.d.ts.map +1 -1
  326. package/Table/cells/ArrayCell.d.ts.map +1 -1
  327. package/Table/config.d.ts.map +1 -1
  328. package/Table/hooks.d.ts +1 -1
  329. package/Table/hooks.d.ts.map +1 -1
  330. package/Table/tableUtils.d.ts +14 -0
  331. package/Table/tableUtils.d.ts.map +1 -0
  332. package/Table.config.js +4 -10
  333. package/Table.config.js.map +2 -2
  334. package/Table.js +1158 -846
  335. package/Table.js.map +4 -4
  336. package/Timeline/PureTimeline/src/TimelineYAxis.d.ts.map +1 -1
  337. package/Timeline/PureTimeline/src/utils/timelineUtils.d.ts +5 -0
  338. package/Timeline/PureTimeline/src/utils/timelineUtils.d.ts.map +1 -1
  339. package/Timeline/Timeline.d.ts +2 -0
  340. package/Timeline/Timeline.d.ts.map +1 -1
  341. package/Timeline/config.d.ts.map +1 -1
  342. package/Timeline/mockdata/timelineDataSource.d.ts +34 -0
  343. package/Timeline/mockdata/timelineDataSource.d.ts.map +1 -1
  344. package/Timeline.config.js +15 -0
  345. package/Timeline.config.js.map +2 -2
  346. package/Timeline.js +348 -186
  347. package/Timeline.js.map +4 -4
  348. package/common/Charting.d.ts.map +1 -1
  349. package/common/Charting.js +50 -28
  350. package/common/Charting.js.map +2 -2
  351. package/common/ChartingApi.d.ts +1 -1
  352. package/common/ChartingApi.d.ts.map +1 -1
  353. package/common/ChartingApi.js.map +2 -2
  354. package/common/DocExampleWithVizSandbox.js.map +1 -1
  355. package/common/OptionsDoc.js.map +1 -1
  356. package/common/OverviewDoc.js.map +1 -1
  357. package/common/SplunkVisualization.d.ts +1 -1
  358. package/common/SplunkVisualization.d.ts.map +1 -1
  359. package/common/SplunkVisualization.js +6 -4
  360. package/common/SplunkVisualization.js.map +2 -2
  361. package/common/StyledSkipLink.d.ts +2 -0
  362. package/common/StyledSkipLink.d.ts.map +1 -0
  363. package/common/StyledSkipLink.js +81 -0
  364. package/common/StyledSkipLink.js.map +7 -0
  365. package/common/TimeSeriesChartWrapper.d.ts.map +1 -1
  366. package/common/TimeSeriesChartWrapper.js +228 -107
  367. package/common/TimeSeriesChartWrapper.js.map +4 -4
  368. package/common/chartingUtils.d.ts +32 -6
  369. package/common/chartingUtils.d.ts.map +1 -1
  370. package/common/chartingUtils.js +166 -39
  371. package/common/chartingUtils.js.map +4 -4
  372. package/common/components/TrellisTitle.d.ts.map +1 -1
  373. package/common/docUtils.js +1 -1
  374. package/common/docUtils.js.map +2 -2
  375. package/common/editorConfig/AxesChartDataDisplay.d.ts.map +1 -1
  376. package/common/editorConfig/AxesChartYGridAndLabels.d.ts.map +1 -1
  377. package/common/editorConfig/BackgroundColor.d.ts +2 -2
  378. package/common/editorConfig/TrellisEditors.d.ts +33 -5
  379. package/common/editorConfig/TrellisEditors.d.ts.map +1 -1
  380. package/common/hocs/mockdata/trellisData.d.ts +54 -0
  381. package/common/hocs/mockdata/trellisData.d.ts.map +1 -1
  382. package/common/hocs/withTrellis.d.ts +9 -0
  383. package/common/hocs/withTrellis.d.ts.map +1 -1
  384. package/common/hooks/useSorting.d.ts +2 -2
  385. package/common/hooks/useSorting.d.ts.map +1 -1
  386. package/common/shapeUtils.d.ts +1 -1
  387. package/common/shapeUtils.d.ts.map +1 -1
  388. package/common/shapeUtils.js.map +2 -2
  389. package/common/utils/dataUtils.js +2 -1
  390. package/common/utils/dataUtils.js.map +2 -2
  391. package/common/utils/focusUtils.d.ts +4 -0
  392. package/common/utils/focusUtils.d.ts.map +1 -0
  393. package/common/utils/focusUtils.js +101 -0
  394. package/common/utils/focusUtils.js.map +7 -0
  395. package/common/utils/mapUtils.js +513 -184
  396. package/common/utils/mapUtils.js.map +4 -4
  397. package/common/utils/shadowDomUtils.d.ts +2 -0
  398. package/common/utils/shadowDomUtils.d.ts.map +1 -0
  399. package/common/utils/shadowDomUtils.js +39 -0
  400. package/common/utils/shadowDomUtils.js.map +7 -0
  401. package/common/utils/singleValueUtils.js +14 -26
  402. package/common/utils/singleValueUtils.js.map +2 -2
  403. package/common/utils/trellisUtils.d.ts.map +1 -1
  404. package/common/utils/trellisUtils.js +76 -70
  405. package/common/utils/trellisUtils.js.map +2 -2
  406. package/common/withDashboardViz.d.ts.map +1 -1
  407. package/common/withDashboardViz.js +276 -151
  408. package/common/withDashboardViz.js.map +4 -4
  409. package/docs-llm/INDEX.md +118 -0
  410. package/docs-llm/area/examples-json.md +3854 -0
  411. package/docs-llm/area/examples-react.md +2816 -0
  412. package/docs-llm/area/options.md +97 -0
  413. package/docs-llm/area/overview.md +27 -0
  414. package/docs-llm/bar/examples-json.md +3380 -0
  415. package/docs-llm/bar/examples-react.md +2352 -0
  416. package/docs-llm/bar/options.md +89 -0
  417. package/docs-llm/bar/overview.md +25 -0
  418. package/docs-llm/bubble/examples-json.md +4082 -0
  419. package/docs-llm/bubble/examples-react.md +3977 -0
  420. package/docs-llm/bubble/options.md +62 -0
  421. package/docs-llm/bubble/overview.md +26 -0
  422. package/docs-llm/choropleth-svg/examples-json.md +397 -0
  423. package/docs-llm/choropleth-svg/examples-react.md +389 -0
  424. package/docs-llm/choropleth-svg/options.md +15 -0
  425. package/docs-llm/choropleth-svg/overview.md +23 -0
  426. package/docs-llm/column/examples-json.md +3898 -0
  427. package/docs-llm/column/examples-react.md +2653 -0
  428. package/docs-llm/column/options.md +94 -0
  429. package/docs-llm/column/overview.md +31 -0
  430. package/docs-llm/dsl/examples-json.md +43 -0
  431. package/docs-llm/dsl/examples-react.md +78 -0
  432. package/docs-llm/dsl/formatters/format-by-type-examples-json.md +58 -0
  433. package/docs-llm/dsl/formatters/format-by-type-examples-react.md +43 -0
  434. package/docs-llm/dsl/formatters/format-by-type.md +38 -0
  435. package/docs-llm/dsl/formatters/frame-examples-json.md +42 -0
  436. package/docs-llm/dsl/formatters/frame-examples-react.md +24 -0
  437. package/docs-llm/dsl/formatters/frame.md +6 -0
  438. package/docs-llm/dsl/formatters/gradient-examples-json.md +98 -0
  439. package/docs-llm/dsl/formatters/gradient-examples-react.md +44 -0
  440. package/docs-llm/dsl/formatters/gradient.md +23 -0
  441. package/docs-llm/dsl/formatters/lerp-examples-json.md +40 -0
  442. package/docs-llm/dsl/formatters/lerp-examples-react.md +28 -0
  443. package/docs-llm/dsl/formatters/lerp.md +19 -0
  444. package/docs-llm/dsl/formatters/match-value-examples-json.md +65 -0
  445. package/docs-llm/dsl/formatters/match-value-examples-react.md +37 -0
  446. package/docs-llm/dsl/formatters/match-value.md +13 -0
  447. package/docs-llm/dsl/formatters/max-contrast-examples-json.md +39 -0
  448. package/docs-llm/dsl/formatters/max-contrast-examples-react.md +27 -0
  449. package/docs-llm/dsl/formatters/max-contrast.md +9 -0
  450. package/docs-llm/dsl/formatters/multi-format-examples-json.md +67 -0
  451. package/docs-llm/dsl/formatters/multi-format-examples-react.md +49 -0
  452. package/docs-llm/dsl/formatters/multi-format.md +12 -0
  453. package/docs-llm/dsl/formatters/objects-examples-json.md +49 -0
  454. package/docs-llm/dsl/formatters/objects-examples-react.md +37 -0
  455. package/docs-llm/dsl/formatters/objects.md +3 -0
  456. package/docs-llm/dsl/formatters/pick-examples-json.md +59 -0
  457. package/docs-llm/dsl/formatters/pick-examples-react.md +30 -0
  458. package/docs-llm/dsl/formatters/pick.md +9 -0
  459. package/docs-llm/dsl/formatters/prefix-examples-json.md +29 -0
  460. package/docs-llm/dsl/formatters/prefix-examples-react.md +19 -0
  461. package/docs-llm/dsl/formatters/prefix.md +3 -0
  462. package/docs-llm/dsl/formatters/prepend-examples-json.md +51 -0
  463. package/docs-llm/dsl/formatters/prepend-examples-react.md +33 -0
  464. package/docs-llm/dsl/formatters/prepend.md +9 -0
  465. package/docs-llm/dsl/formatters/range-value-examples-json.md +48 -0
  466. package/docs-llm/dsl/formatters/range-value-examples-react.md +34 -0
  467. package/docs-llm/dsl/formatters/range-value.md +15 -0
  468. package/docs-llm/dsl/formatters/set-color-channel-examples-json.md +40 -0
  469. package/docs-llm/dsl/formatters/set-color-channel-examples-react.md +31 -0
  470. package/docs-llm/dsl/formatters/set-color-channel.md +9 -0
  471. package/docs-llm/dsl/formatters/suffix-examples-json.md +29 -0
  472. package/docs-llm/dsl/formatters/suffix-examples-react.md +19 -0
  473. package/docs-llm/dsl/formatters/suffix.md +3 -0
  474. package/docs-llm/dsl/formatters/type-examples-json.md +37 -0
  475. package/docs-llm/dsl/formatters/type-examples-react.md +20 -0
  476. package/docs-llm/dsl/formatters/type.md +3 -0
  477. package/docs-llm/dsl/overview.md +41 -0
  478. package/docs-llm/dsl/selectors/abs.md +7 -0
  479. package/docs-llm/dsl/selectors/ceil.md +7 -0
  480. package/docs-llm/dsl/selectors/data-frame-average-examples-json.md +41 -0
  481. package/docs-llm/dsl/selectors/data-frame-average-examples-react.md +36 -0
  482. package/docs-llm/dsl/selectors/data-frame-average.md +7 -0
  483. package/docs-llm/dsl/selectors/data-frame-count-examples-json.md +41 -0
  484. package/docs-llm/dsl/selectors/data-frame-count-examples-react.md +36 -0
  485. package/docs-llm/dsl/selectors/data-frame-count.md +7 -0
  486. package/docs-llm/dsl/selectors/data-frame-examples-json.md +830 -0
  487. package/docs-llm/dsl/selectors/data-frame-examples-react.md +929 -0
  488. package/docs-llm/dsl/selectors/data-frame-get-field-examples-json.md +89 -0
  489. package/docs-llm/dsl/selectors/data-frame-get-field-examples-react.md +124 -0
  490. package/docs-llm/dsl/selectors/data-frame-get-field.md +5 -0
  491. package/docs-llm/dsl/selectors/data-frame-get-raw-value.md +5 -0
  492. package/docs-llm/dsl/selectors/data-frame-get-type.md +5 -0
  493. package/docs-llm/dsl/selectors/data-frame-get-value.md +5 -0
  494. package/docs-llm/dsl/selectors/data-frame-max-examples-json.md +51 -0
  495. package/docs-llm/dsl/selectors/data-frame-max-examples-react.md +41 -0
  496. package/docs-llm/dsl/selectors/data-frame-max.md +7 -0
  497. package/docs-llm/dsl/selectors/data-frame-min-examples-json.md +51 -0
  498. package/docs-llm/dsl/selectors/data-frame-min-examples-react.md +41 -0
  499. package/docs-llm/dsl/selectors/data-frame-min.md +7 -0
  500. package/docs-llm/dsl/selectors/data-frame-percentile-examples-json.md +41 -0
  501. package/docs-llm/dsl/selectors/data-frame-percentile-examples-react.md +36 -0
  502. package/docs-llm/dsl/selectors/data-frame-percentile.md +8 -0
  503. package/docs-llm/dsl/selectors/data-frame-set-value.md +5 -0
  504. package/docs-llm/dsl/selectors/data-frame-sum-examples-json.md +51 -0
  505. package/docs-llm/dsl/selectors/data-frame-sum-examples-react.md +41 -0
  506. package/docs-llm/dsl/selectors/data-frame-sum.md +7 -0
  507. package/docs-llm/dsl/selectors/data-frame.md +4 -0
  508. package/docs-llm/dsl/selectors/data-point-get-field.md +5 -0
  509. package/docs-llm/dsl/selectors/data-point-get-raw-value.md +4 -0
  510. package/docs-llm/dsl/selectors/data-point-get-type.md +5 -0
  511. package/docs-llm/dsl/selectors/data-point-get-value.md +5 -0
  512. package/docs-llm/dsl/selectors/data-point-set-value.md +4 -0
  513. package/docs-llm/dsl/selectors/data-point.md +5 -0
  514. package/docs-llm/dsl/selectors/data-series-average.md +22 -0
  515. package/docs-llm/dsl/selectors/data-series-count.md +14 -0
  516. package/docs-llm/dsl/selectors/data-series-get-field.md +5 -0
  517. package/docs-llm/dsl/selectors/data-series-get-raw-value.md +4 -0
  518. package/docs-llm/dsl/selectors/data-series-get-type.md +5 -0
  519. package/docs-llm/dsl/selectors/data-series-get-value.md +4 -0
  520. package/docs-llm/dsl/selectors/data-series-max.md +5 -0
  521. package/docs-llm/dsl/selectors/data-series-min.md +5 -0
  522. package/docs-llm/dsl/selectors/data-series-percentile.md +17 -0
  523. package/docs-llm/dsl/selectors/data-series-set-value.md +4 -0
  524. package/docs-llm/dsl/selectors/data-series-sum.md +24 -0
  525. package/docs-llm/dsl/selectors/data-series.md +4 -0
  526. package/docs-llm/dsl/selectors/delta.md +7 -0
  527. package/docs-llm/dsl/selectors/divide.md +8 -0
  528. package/docs-llm/dsl/selectors/first-point.md +5 -0
  529. package/docs-llm/dsl/selectors/floor.md +7 -0
  530. package/docs-llm/dsl/selectors/frame-by-series-index-range-examples-json.md +89 -0
  531. package/docs-llm/dsl/selectors/frame-by-series-index-range-examples-react.md +88 -0
  532. package/docs-llm/dsl/selectors/frame-by-series-index-range.md +10 -0
  533. package/docs-llm/dsl/selectors/frame-by-series-indexes-examples-json.md +88 -0
  534. package/docs-llm/dsl/selectors/frame-by-series-indexes-examples-react.md +87 -0
  535. package/docs-llm/dsl/selectors/frame-by-series-indexes.md +9 -0
  536. package/docs-llm/dsl/selectors/frame-by-series-names-examples-json.md +89 -0
  537. package/docs-llm/dsl/selectors/frame-by-series-names-examples-react.md +88 -0
  538. package/docs-llm/dsl/selectors/frame-by-series-names-or-indexes-examples-json.md +89 -0
  539. package/docs-llm/dsl/selectors/frame-by-series-names-or-indexes-examples-react.md +88 -0
  540. package/docs-llm/dsl/selectors/frame-by-series-names-or-indexes.md +9 -0
  541. package/docs-llm/dsl/selectors/frame-by-series-names.md +9 -0
  542. package/docs-llm/dsl/selectors/frame-by-series-types-examples-json.md +89 -0
  543. package/docs-llm/dsl/selectors/frame-by-series-types-examples-react.md +88 -0
  544. package/docs-llm/dsl/selectors/frame-by-series-types.md +9 -0
  545. package/docs-llm/dsl/selectors/frame-without-internal-fields-examples-json.md +137 -0
  546. package/docs-llm/dsl/selectors/frame-without-internal-fields-examples-react.md +135 -0
  547. package/docs-llm/dsl/selectors/frame-without-internal-fields-except-examples-json.md +157 -0
  548. package/docs-llm/dsl/selectors/frame-without-internal-fields-except-examples-react.md +155 -0
  549. package/docs-llm/dsl/selectors/frame-without-internal-fields-except.md +21 -0
  550. package/docs-llm/dsl/selectors/frame-without-internal-fields.md +17 -0
  551. package/docs-llm/dsl/selectors/frame-without-series-names.md +8 -0
  552. package/docs-llm/dsl/selectors/last-point.md +5 -0
  553. package/docs-llm/dsl/selectors/minus.md +8 -0
  554. package/docs-llm/dsl/selectors/multiply.md +8 -0
  555. package/docs-llm/dsl/selectors/plus.md +8 -0
  556. package/docs-llm/dsl/selectors/point-by-index.md +6 -0
  557. package/docs-llm/dsl/selectors/points-by-indexes.md +6 -0
  558. package/docs-llm/dsl/selectors/round.md +7 -0
  559. package/docs-llm/dsl/selectors/series-by-index-examples-json.md +49 -0
  560. package/docs-llm/dsl/selectors/series-by-index-examples-react.md +39 -0
  561. package/docs-llm/dsl/selectors/series-by-index.md +8 -0
  562. package/docs-llm/dsl/selectors/series-by-name-examples-json.md +49 -0
  563. package/docs-llm/dsl/selectors/series-by-name-examples-react.md +39 -0
  564. package/docs-llm/dsl/selectors/series-by-name.md +8 -0
  565. package/docs-llm/dsl/selectors/series-by-prioritized-types-examples-json.md +47 -0
  566. package/docs-llm/dsl/selectors/series-by-prioritized-types-examples-react.md +39 -0
  567. package/docs-llm/dsl/selectors/series-by-prioritized-types.md +10 -0
  568. package/docs-llm/dsl/selectors/series-by-type-examples-json.md +49 -0
  569. package/docs-llm/dsl/selectors/series-by-type-examples-react.md +39 -0
  570. package/docs-llm/dsl/selectors/series-by-type.md +10 -0
  571. package/docs-llm/dsl/selectors/series-by-types.md +6 -0
  572. package/docs-llm/ellipse/examples-json.md +5 -0
  573. package/docs-llm/ellipse/examples-react.md +5 -0
  574. package/docs-llm/ellipse/options.md +16 -0
  575. package/docs-llm/ellipse/overview.md +5 -0
  576. package/docs-llm/events/examples-json.md +705 -0
  577. package/docs-llm/events/examples-react.md +536 -0
  578. package/docs-llm/events/options.md +18 -0
  579. package/docs-llm/events/overview.md +5 -0
  580. package/docs-llm/filler-gauge/examples-json.md +376 -0
  581. package/docs-llm/filler-gauge/examples-react.md +274 -0
  582. package/docs-llm/filler-gauge/options.md +26 -0
  583. package/docs-llm/filler-gauge/overview.md +5 -0
  584. package/docs-llm/image/examples-json.md +39 -0
  585. package/docs-llm/image/examples-react.md +65 -0
  586. package/docs-llm/image/options.md +13 -0
  587. package/docs-llm/image/overview.md +5 -0
  588. package/docs-llm/line/examples-json.md +3724 -0
  589. package/docs-llm/line/examples-react.md +2683 -0
  590. package/docs-llm/line/options.md +95 -0
  591. package/docs-llm/line/overview.md +29 -0
  592. package/docs-llm/link-graph/examples-json.md +5 -0
  593. package/docs-llm/link-graph/examples-react.md +5 -0
  594. package/docs-llm/link-graph/options.md +26 -0
  595. package/docs-llm/link-graph/overview.md +16 -0
  596. package/docs-llm/map/examples-json.md +13973 -0
  597. package/docs-llm/map/examples-react.md +6154 -0
  598. package/docs-llm/map/options.md +22 -0
  599. package/docs-llm/map/overview.md +32 -0
  600. package/docs-llm/markdown/examples-json.md +63 -0
  601. package/docs-llm/markdown/examples-react.md +98 -0
  602. package/docs-llm/markdown/options.md +17 -0
  603. package/docs-llm/markdown/overview.md +5 -0
  604. package/docs-llm/marker-gauge/examples-json.md +436 -0
  605. package/docs-llm/marker-gauge/examples-react.md +367 -0
  606. package/docs-llm/marker-gauge/options.md +26 -0
  607. package/docs-llm/marker-gauge/overview.md +5 -0
  608. package/docs-llm/network-graph/examples-json.md +8843 -0
  609. package/docs-llm/network-graph/examples-react.md +7339 -0
  610. package/docs-llm/network-graph/options.md +50 -0
  611. package/docs-llm/network-graph/overview.md +28 -0
  612. package/docs-llm/parallel-coordinates/examples-json.md +8376 -0
  613. package/docs-llm/parallel-coordinates/examples-react.md +2771 -0
  614. package/docs-llm/parallel-coordinates/options.md +14 -0
  615. package/docs-llm/parallel-coordinates/overview.md +22 -0
  616. package/docs-llm/pie/examples-json.md +851 -0
  617. package/docs-llm/pie/examples-react.md +606 -0
  618. package/docs-llm/pie/options.md +34 -0
  619. package/docs-llm/pie/overview.md +23 -0
  620. package/docs-llm/process-tree/options.md +32 -0
  621. package/docs-llm/punchcard/examples-json.md +6134 -0
  622. package/docs-llm/punchcard/examples-react.md +4562 -0
  623. package/docs-llm/punchcard/options.md +33 -0
  624. package/docs-llm/punchcard/overview.md +5 -0
  625. package/docs-llm/pure-rich-text/options.md +28 -0
  626. package/docs-llm/rectangle/examples-json.md +5 -0
  627. package/docs-llm/rectangle/examples-react.md +5 -0
  628. package/docs-llm/rectangle/options.md +19 -0
  629. package/docs-llm/rectangle/overview.md +5 -0
  630. package/docs-llm/rich-text/examples-json.md +96 -0
  631. package/docs-llm/rich-text/examples-react.md +119 -0
  632. package/docs-llm/rich-text/options.md +28 -0
  633. package/docs-llm/rich-text/overview.md +5 -0
  634. package/docs-llm/sankey/examples-json.md +844 -0
  635. package/docs-llm/sankey/examples-react.md +546 -0
  636. package/docs-llm/sankey/options.md +19 -0
  637. package/docs-llm/sankey/overview.md +24 -0
  638. package/docs-llm/scatter/examples-json.md +4012 -0
  639. package/docs-llm/scatter/examples-react.md +3914 -0
  640. package/docs-llm/scatter/options.md +68 -0
  641. package/docs-llm/scatter/overview.md +25 -0
  642. package/docs-llm/single-value/examples-json.md +2613 -0
  643. package/docs-llm/single-value/examples-react.md +2296 -0
  644. package/docs-llm/single-value/options.md +49 -0
  645. package/docs-llm/single-value/overview.md +23 -0
  646. package/docs-llm/single-value-icon/examples-json.md +1686 -0
  647. package/docs-llm/single-value-icon/examples-react.md +1573 -0
  648. package/docs-llm/single-value-icon/options.md +43 -0
  649. package/docs-llm/single-value-icon/overview.md +5 -0
  650. package/docs-llm/single-value-radial/examples-json.md +1178 -0
  651. package/docs-llm/single-value-radial/examples-react.md +1028 -0
  652. package/docs-llm/single-value-radial/options.md +41 -0
  653. package/docs-llm/single-value-radial/overview.md +5 -0
  654. package/docs-llm/table/examples-json.md +5 -0
  655. package/docs-llm/table/examples-react.md +5 -0
  656. package/docs-llm/table/options.md +25 -0
  657. package/docs-llm/table/overview.md +24 -0
  658. package/docs-llm/timeline/examples-json.md +5 -0
  659. package/docs-llm/timeline/examples-react.md +5 -0
  660. package/docs-llm/timeline/options.md +27 -0
  661. package/docs-llm/timeline/overview.md +24 -0
  662. package/package.json +39 -30
  663. package/LICENSE.md +0 -449
package/Rectangle.js CHANGED
@@ -12,6 +12,7 @@ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
12
12
  var __getProtoOf = Object.getPrototypeOf;
13
13
  var __hasOwnProp = Object.prototype.hasOwnProperty;
14
14
  var __propIsEnum = Object.prototype.propertyIsEnumerable;
15
+ var __pow = Math.pow;
15
16
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
16
17
  var __spreadValues = (a, b) => {
17
18
  for (var prop in b || (b = {}))
@@ -59,6 +60,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
59
60
  mod
60
61
  ));
61
62
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
63
+ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
62
64
 
63
65
  // src/Rectangle/index.ts
64
66
  var Rectangle_exports = {};
@@ -208,7 +210,7 @@ var DefaultVizActionHandler = class {
208
210
  var INITIAL_HEIGHT = 250;
209
211
  var SplunkVisualization = class {
210
212
  };
211
- SplunkVisualization.propTypes = {
213
+ __publicField(SplunkVisualization, "propTypes", {
212
214
  /**
213
215
  * display mode
214
216
  */
@@ -284,11 +286,11 @@ SplunkVisualization.propTypes = {
284
286
  * A callback to request new data with updated request params
285
287
  */
286
288
  onRequestParamsChange: prop_types_exports.func
287
- };
289
+ });
288
290
  /**
289
291
  *
290
292
  */
291
- SplunkVisualization.defaults = {
293
+ __publicField(SplunkVisualization, "defaults", {
292
294
  // BaseVisualization in dashboard-visualizations uses 100% for width but 250 for height
293
295
  width: "100%",
294
296
  height: INITIAL_HEIGHT,
@@ -303,7 +305,7 @@ SplunkVisualization.defaults = {
303
305
  onComputedProps: () => ({}),
304
306
  loading: false,
305
307
  onRequestParamsChange: lodash_exports.noop
306
- };
308
+ });
307
309
  var SplunkVisualization_default = SplunkVisualization;
308
310
 
309
311
  // src/common/interfaces/DataSource.ts
@@ -357,9 +359,9 @@ var usePaginationParams = ({
357
359
  meta,
358
360
  onRequestParamsChange
359
361
  }) => {
360
- const totalCount = meta && meta.totalCount || 0;
361
- const offset = requestParams && requestParams.offset || 0;
362
- const count = requestParams && requestParams.count;
362
+ const totalCount = (meta == null ? void 0 : meta.totalCount) || 0;
363
+ const offset = (requestParams == null ? void 0 : requestParams.offset) || 0;
364
+ const count = requestParams == null ? void 0 : requestParams.count;
363
365
  const totalPages = typeof count === "number" && count > 0 ? Math.ceil(totalCount / count) : 0;
364
366
  const current = typeof count === "number" && count > 0 ? Math.floor(offset / count) + 1 : 0;
365
367
  const isPaging = totalPages > 1 && typeof onRequestParamsChange === "function";
@@ -476,7 +478,7 @@ var Cover = styled_components_default.div`
476
478
  bottom: 0;
477
479
  `;
478
480
  var Blocker = styled_components_default.div.attrs({
479
- "data-splunk-visualization-version": "28.5.3 - 657435b86"
481
+ "data-splunk-visualization-version": "28.7.0 - d7b18cab6"
480
482
  })`
481
483
  position: relative;
482
484
  width: 100%;
@@ -575,7 +577,7 @@ var withFixedSizeContainer = (Viz) => {
575
577
  FixSizeItem,
576
578
  {
577
579
  "data-test": "fix-size-item",
578
- "data-splunk-visualization-version": "28.5.3 - 657435b86",
580
+ "data-splunk-visualization-version": "28.7.0 - d7b18cab6",
579
581
  width,
580
582
  height,
581
583
  backgroundColor
@@ -1116,6 +1118,24 @@ var defaultImport25 = __toESM(require("@splunk/react-icons/Triangle"));
1116
1118
  __reExport(Triangle_exports, require("@splunk/react-icons/Triangle"));
1117
1119
  var Triangle_default = "default" in defaultImport25 ? defaultImport25.default : defaultImport25;
1118
1120
 
1121
+ // esm-externals:@splunk/visualizations-shared/propUtils
1122
+ var propUtils_exports = {};
1123
+ __export(propUtils_exports, {
1124
+ default: () => propUtils_default
1125
+ });
1126
+ var defaultImport26 = __toESM(require("@splunk/visualizations-shared/propUtils"));
1127
+ __reExport(propUtils_exports, require("@splunk/visualizations-shared/propUtils"));
1128
+ var propUtils_default = "default" in defaultImport26 ? defaultImport26.default : defaultImport26;
1129
+
1130
+ // esm-externals:@splunk/visualizations-shared/simpleXMLOptions
1131
+ var simpleXMLOptions_exports = {};
1132
+ __export(simpleXMLOptions_exports, {
1133
+ default: () => simpleXMLOptions_default
1134
+ });
1135
+ var defaultImport27 = __toESM(require("@splunk/visualizations-shared/simpleXMLOptions"));
1136
+ __reExport(simpleXMLOptions_exports, require("@splunk/visualizations-shared/simpleXMLOptions"));
1137
+ var simpleXMLOptions_default = "default" in defaultImport27 ? defaultImport27.default : defaultImport27;
1138
+
1119
1139
  // src/common/chartingUtils.ts
1120
1140
  var DEFAULT_LINE_WIDTH = 2;
1121
1141
  var getAnnotationsForCanvas = ({
@@ -1153,9 +1173,9 @@ var shouldEnableSearchZoom = (eventHandlers = [], xField = "") => {
1153
1173
  const xAxisIsTime = xField === "_time";
1154
1174
  return !!rangeSelectEventHandler && xAxisIsTime;
1155
1175
  };
1156
- var canvasSupportedTimeSeriesCharts = ["splunk.line"];
1176
+ var canvasSupportedTimeSeriesCharts = ["splunk.line", "splunk.area"];
1157
1177
  var isTimeSeriesCanvasRenderSupported = (vizConfigKey) => {
1158
- return canvasSupportedTimeSeriesCharts.indexOf(vizConfigKey) > -1;
1178
+ return canvasSupportedTimeSeriesCharts.includes(vizConfigKey);
1159
1179
  };
1160
1180
  var filterChartDataFromInternalFields = (chartData) => {
1161
1181
  const { fields, columns } = chartData;
@@ -1310,46 +1330,66 @@ var getY2ScaleConfig = (label, axisAbbreviation, axisScale, roundAxisLabelsToInt
1310
1330
  }
1311
1331
  return y2Config;
1312
1332
  };
1313
- var getSeriesOverrides = (yfields, y2fields, lineWidth, overlayFields, y2Enabled, nullValueMode, markerDisplay, lineDashStyle, lineDashStylesByField, stepPosition, stepPositionsByField) => {
1333
+ var getSeriesType = (isOverlay, isAreaChart, isStacked) => {
1334
+ if (isOverlay) return "line";
1335
+ if (!isAreaChart) return void 0;
1336
+ return isStacked ? "stacked-area" : "area";
1337
+ };
1338
+ var getY2Scale = (field, y2fields, overlayFields) => {
1339
+ const assignToY2 = (y2fields == null ? void 0 : y2fields.length) > 0 && y2fields.includes(field) || !(y2fields == null ? void 0 : y2fields.length) && (overlayFields == null ? void 0 : overlayFields.includes(field));
1340
+ return assignToY2 ? "y2" : "y";
1341
+ };
1342
+ var getSeriesOverrides = (opts) => {
1343
+ var _a;
1344
+ const {
1345
+ yfields,
1346
+ y2fields,
1347
+ lineWidth,
1348
+ overlayFields,
1349
+ y2Enabled,
1350
+ nullValueMode,
1351
+ markerDisplay,
1352
+ lineDashStyle,
1353
+ lineDashStylesByField,
1354
+ stepPosition,
1355
+ stepPositionsByField,
1356
+ type,
1357
+ stackMode,
1358
+ showLines
1359
+ } = opts;
1314
1360
  const seriesConfig = {};
1315
1361
  let spanGaps;
1316
- let replaceNullsWithZero;
1317
1362
  if (nullValueMode === "gaps") {
1318
1363
  spanGaps = false;
1319
- } else if (nullValueMode === "connect" || nullValueMode === "zero") {
1364
+ } else if (nullValueMode != null) {
1320
1365
  spanGaps = true;
1321
- if (nullValueMode === "zero") {
1322
- replaceNullsWithZero = true;
1323
- }
1366
+ } else {
1367
+ spanGaps = void 0;
1324
1368
  }
1325
- yfields.forEach((field) => {
1369
+ const replaceNullsWithZero = nullValueMode === "zero" ? true : void 0;
1370
+ const isAreaChart = type === "area";
1371
+ const isStacked = isAreaChart && (stackMode === "stacked" || stackMode === "stacked100");
1372
+ const areaFields = isAreaChart ? yfields.filter((f) => !(overlayFields == null ? void 0 : overlayFields.includes(f))) : yfields;
1373
+ const overlayFieldsInOrder = (_a = overlayFields == null ? void 0 : overlayFields.filter((f) => yfields.includes(f))) != null ? _a : [];
1374
+ const orderedFields = isAreaChart ? [...areaFields, ...overlayFieldsInOrder] : yfields;
1375
+ orderedFields.forEach((field) => {
1376
+ var _a2;
1377
+ const isOverlay = (_a2 = overlayFields == null ? void 0 : overlayFields.includes(field)) != null ? _a2 : false;
1378
+ const isPercent = isAreaChart && stackMode === "stacked100" && !isOverlay;
1379
+ const shouldHideAreaOutline = isAreaChart && showLines === false && !isOverlay;
1326
1380
  seriesConfig[field] = {
1327
- overrides: { width: lineWidth != null ? lineWidth : DEFAULT_LINE_WIDTH }
1381
+ overrides: __spreadValues({
1382
+ width: shouldHideAreaOutline ? 0 : lineWidth != null ? lineWidth : DEFAULT_LINE_WIDTH
1383
+ }, isPercent ? { stacking: { mode: "percent", group: "A" } } : {})
1328
1384
  };
1329
- if (spanGaps !== void 0) {
1330
- seriesConfig[field].overrides.spanGaps = spanGaps;
1331
- }
1332
- if (y2Enabled) {
1333
- const shouldAssignToY2 = (
1334
- // If y2Fields are present, assign all y2Fields to y2 scale
1335
- (y2fields == null ? void 0 : y2fields.length) > 0 && y2fields.includes(field) || // Else, assign all overlayFields to y2 scale
1336
- (!y2fields || y2fields.length === 0) && (overlayFields == null ? void 0 : overlayFields.includes(field))
1337
- );
1338
- if (shouldAssignToY2) {
1339
- seriesConfig[field].overrides.scale = "y2";
1340
- } else {
1341
- seriesConfig[field].overrides.scale = "y";
1342
- }
1343
- }
1344
- if (overlayFields == null ? void 0 : overlayFields.includes(field)) {
1345
- seriesConfig[field].type = "line";
1346
- }
1347
- if (markerDisplay !== void 0) {
1348
- seriesConfig[field].markerDisplay = markerDisplay;
1349
- }
1350
- const fieldDashStyle = (lineDashStylesByField == null ? void 0 : lineDashStylesByField[field]) || lineDashStyle;
1351
- if (fieldDashStyle) {
1352
- seriesConfig[field].lineDashStyle = fieldDashStyle;
1385
+ const seriesType = getSeriesType(isOverlay, isAreaChart, isStacked);
1386
+ if (seriesType !== void 0) seriesConfig[field].type = seriesType;
1387
+ if (spanGaps !== void 0) seriesConfig[field].overrides.spanGaps = spanGaps;
1388
+ if (y2Enabled) seriesConfig[field].overrides.scale = getY2Scale(field, y2fields, overlayFields);
1389
+ if (markerDisplay !== void 0) seriesConfig[field].markerDisplay = markerDisplay;
1390
+ if (!isAreaChart || isOverlay) {
1391
+ const fieldDashStyle = (lineDashStylesByField == null ? void 0 : lineDashStylesByField[field]) || lineDashStyle;
1392
+ if (fieldDashStyle) seriesConfig[field].lineDashStyle = fieldDashStyle;
1353
1393
  }
1354
1394
  const hasFieldStepPosition = Object.hasOwn(stepPositionsByField || {}, field);
1355
1395
  const fieldStepPosition = hasFieldStepPosition ? stepPositionsByField == null ? void 0 : stepPositionsByField[field] : stepPosition;
@@ -1397,9 +1437,9 @@ var visualization_schemas_exports = {};
1397
1437
  __export(visualization_schemas_exports, {
1398
1438
  default: () => visualization_schemas_default
1399
1439
  });
1400
- var defaultImport26 = __toESM(require("@splunk/visualization-schemas"));
1440
+ var defaultImport28 = __toESM(require("@splunk/visualization-schemas"));
1401
1441
  __reExport(visualization_schemas_exports, require("@splunk/visualization-schemas"));
1402
- var visualization_schemas_default = "default" in defaultImport26 ? defaultImport26.default : defaultImport26;
1442
+ var visualization_schemas_default = "default" in defaultImport28 ? defaultImport28.default : defaultImport28;
1403
1443
 
1404
1444
  // src/common/hooks/useTrellisEnabled.ts
1405
1445
  var useTrellisFeatureFlagOn = () => {
@@ -1429,8 +1469,27 @@ var TrellisTitleDiv = styled_components_default.div`
1429
1469
  background-color: ${(props) => props.backgroundColor};
1430
1470
  box-shadow: 0 1px ${(props) => props.backgroundColor}; // this is added to avoid a 1px gap between title and viz divs that showed up intermittently because of pixel rounding error in chrome.
1431
1471
  `;
1472
+ var formatTrellisKey = (value) => {
1473
+ if (value === null || value === void 0) {
1474
+ return "";
1475
+ }
1476
+ if (typeof value === "string") {
1477
+ return value;
1478
+ }
1479
+ if (typeof value === "number" || typeof value === "boolean") {
1480
+ return value.toString();
1481
+ }
1482
+ if (typeof value === "symbol") {
1483
+ return value.toString();
1484
+ }
1485
+ try {
1486
+ return JSON.stringify(value);
1487
+ } catch (e) {
1488
+ return typeof value === "bigint" ? value.toString() : "";
1489
+ }
1490
+ };
1432
1491
  var TrellisTitle = (props) => {
1433
- const titleText = String(props.trellisKey).toString();
1492
+ const titleText = formatTrellisKey(props.trellisKey);
1434
1493
  return /* @__PURE__ */ react_exports.createElement(
1435
1494
  TrellisTitleDiv,
1436
1495
  {
@@ -1566,6 +1625,38 @@ var parseArrayOption = (value) => {
1566
1625
  }
1567
1626
  return void 0;
1568
1627
  };
1628
+ var getAreaOpacityForCanvas = (areaOpacity) => (
1629
+ // Preserve legacy visualizations behavior where area opacity is squared to match charting output.
1630
+ areaOpacity !== void 0 && areaOpacity !== null ? __pow(areaOpacity, 2) : areaOpacity
1631
+ );
1632
+ var parseTickIntervalOption = (simpleXMLValue, canvasValue) => {
1633
+ if (simpleXMLValue) return Number(simpleXMLValue);
1634
+ if (canvasValue) return Number(canvasValue);
1635
+ return void 0;
1636
+ };
1637
+ var getYAxisTitles = ({
1638
+ y2Enabled,
1639
+ yFields,
1640
+ y2Fields,
1641
+ overlayFields,
1642
+ yAxisTitleText,
1643
+ yAxisTitleVisibility,
1644
+ y2AxisTitleText,
1645
+ y2AxisTitleVisibility,
1646
+ containerHeight
1647
+ }) => {
1648
+ const yFieldsForTitle = y2Enabled ? yFields.filter((field) => !y2Fields.includes(field)) : yFields;
1649
+ const fieldsForY2Axis = y2Fields.length > 0 ? y2Fields : overlayFields;
1650
+ const yAxisTitle = ellipsisAxisTitle(
1651
+ getComputedAxisTitles(yAxisTitleText, yFieldsForTitle, yAxisTitleVisibility),
1652
+ containerHeight
1653
+ );
1654
+ const y2AxisTitle = ellipsisAxisTitle(
1655
+ getComputedAxisTitles(y2AxisTitleText, fieldsForY2Axis, y2AxisTitleVisibility),
1656
+ containerHeight
1657
+ );
1658
+ return { yAxisTitle, y2AxisTitle };
1659
+ };
1569
1660
  var TimeSeriesChartWrapper = (props) => {
1570
1661
  var _b, _c, _d;
1571
1662
  const _a = props, {
@@ -1655,6 +1746,8 @@ var TimeSeriesChartWrapper = (props) => {
1655
1746
  "chart.overlayFields": overlayFieldsStr,
1656
1747
  "chart.nullValueMode": nullValueMode,
1657
1748
  "chart.showDataLabels": showDataLabels,
1749
+ "chart.showLines": showLines,
1750
+ "chart.stackMode": stackMode,
1658
1751
  lineWidth,
1659
1752
  lineDashStyle,
1660
1753
  fieldDashStyles: lineDashStylesByFieldStr,
@@ -1683,7 +1776,10 @@ var TimeSeriesChartWrapper = (props) => {
1683
1776
  yAxisMinorTickSize,
1684
1777
  y2AxisMinorTickSize,
1685
1778
  showYAxisWithZero: showYAxisWithZeroFromOptions,
1686
- showY2AxisWithZero: showY2AxisWithZeroFromOptions
1779
+ showY2AxisWithZero: showY2AxisWithZeroFromOptions,
1780
+ // area only props
1781
+ areaFillOpacity: areaOpacity,
1782
+ chart: chartType
1687
1783
  } = options;
1688
1784
  const dataValuesDisplay = showDataLabels === "none" ? "off" : showDataLabels;
1689
1785
  const showYAxisWithZero = showYAxisWithZeroFromProps != null ? showYAxisWithZeroFromProps : showYAxisWithZeroFromOptions;
@@ -1700,13 +1796,11 @@ var TimeSeriesChartWrapper = (props) => {
1700
1796
  const yAxisMax = parseAxisValue(yAxisMaxRaw);
1701
1797
  const y2AxisMin = parseAxisValue(y2AxisMinRaw);
1702
1798
  const y2AxisMax = parseAxisValue(y2AxisMaxRaw);
1703
- const parseTickInterval = (simpleXMLValue, canvasValue) => {
1704
- if (simpleXMLValue) return Number(simpleXMLValue);
1705
- if (canvasValue) return Number(canvasValue);
1706
- return void 0;
1707
- };
1708
- const yAxisMajorTickIntervalNum = parseTickInterval(yAxisMajorUnitFromSimpleXML, yAxisMajorTickInterval);
1709
- const y2AxisMajorTickIntervalNum = parseTickInterval(
1799
+ const yAxisMajorTickIntervalNum = parseTickIntervalOption(
1800
+ yAxisMajorUnitFromSimpleXML,
1801
+ yAxisMajorTickInterval
1802
+ );
1803
+ const y2AxisMajorTickIntervalNum = parseTickIntervalOption(
1710
1804
  y2AxisMajorUnitFromSimpleXML,
1711
1805
  y2AxisMajorTickInterval
1712
1806
  );
@@ -1715,6 +1809,7 @@ var TimeSeriesChartWrapper = (props) => {
1715
1809
  const y2AxisMajorTickSizeNum = y2AxisMajorTickSize != null ? Number(y2AxisMajorTickSize) : void 0;
1716
1810
  const yAxisMinorTickSizeNum = yAxisMinorTickSize != null ? Number(yAxisMinorTickSize) : void 0;
1717
1811
  const y2AxisMinorTickSizeNum = y2AxisMinorTickSize != null ? Number(y2AxisMinorTickSize) : void 0;
1812
+ const areaOpacityForCanvas = getAreaOpacityForCanvas(areaOpacity);
1718
1813
  const seriesColors = seriesColorsStr ? JSON.parse(seriesColorsStr) : void 0;
1719
1814
  const seriesColorsByField = fieldColors ? JSON.parse(fieldColors) : void 0;
1720
1815
  const lineDashStylesByField = lineDashStylesByFieldStr ? JSON.parse(lineDashStylesByFieldStr) : void 0;
@@ -1745,26 +1840,40 @@ var TimeSeriesChartWrapper = (props) => {
1745
1840
  );
1746
1841
  let xAxisTitle = getComputedAxisTitles(xAxisTitleText, [xField], xAxisTitleVisibility);
1747
1842
  xAxisTitle = ellipsisAxisTitle(xAxisTitle, containerWidth);
1748
- const yFieldsForTitle = y2Enabled ? yFields.filter((field) => !y2Fields.includes(field)) : yFields;
1749
- let yAxisTitle = getComputedAxisTitles(yAxisTitleText, yFieldsForTitle, yAxisTitleVisibility);
1750
- yAxisTitle = ellipsisAxisTitle(yAxisTitle, containerHeight);
1751
- const fieldsForY2Axis = y2Fields.length > 0 ? y2Fields : overlayFields;
1752
- let y2AxisTitle = getComputedAxisTitles(y2AxisTitleText, fieldsForY2Axis, y2AxisTitleVisibility);
1753
- y2AxisTitle = ellipsisAxisTitle(y2AxisTitle, containerHeight);
1843
+ const { yAxisTitle, y2AxisTitle } = getYAxisTitles({
1844
+ y2Enabled,
1845
+ yFields,
1846
+ y2Fields,
1847
+ overlayFields,
1848
+ yAxisTitleText,
1849
+ yAxisTitleVisibility,
1850
+ y2AxisTitleText,
1851
+ y2AxisTitleVisibility,
1852
+ containerHeight
1853
+ });
1754
1854
  const xScaleConfig = (0, react_exports.useMemo)(
1755
1855
  () => getXScaleConfig(xAxisTitle, xAxisLabelVisibility, xAxisLabelRotation),
1756
1856
  [xAxisTitle, xAxisLabelVisibility, xAxisLabelRotation]
1757
1857
  );
1858
+ const isStacked100 = stackMode === "stacked100";
1758
1859
  const yScaleConfig = (0, react_exports.useMemo)(
1759
- () => getYScaleConfig(
1760
- yAxisTitle,
1761
- yAxisAbbreviation,
1762
- yAxisScale,
1763
- yAxisLabelVisibility,
1764
- yAxisMin,
1765
- yAxisMax
1766
- ),
1767
- [yAxisTitle, yAxisAbbreviation, yAxisScale, yAxisLabelVisibility, yAxisMin, yAxisMax]
1860
+ () => {
1861
+ const config2 = getYScaleConfig(
1862
+ yAxisTitle,
1863
+ yAxisAbbreviation,
1864
+ yAxisScale,
1865
+ yAxisLabelVisibility,
1866
+ yAxisMin,
1867
+ yAxisMax
1868
+ );
1869
+ if (isStacked100) {
1870
+ config2.y.tickFmt = (v) => `${Math.round(v * 100)}%`;
1871
+ config2.y.range = () => [0, 1];
1872
+ }
1873
+ return config2;
1874
+ },
1875
+ // eslint-disable-next-line react-hooks/exhaustive-deps
1876
+ [yAxisTitle, yAxisAbbreviation, yAxisScale, yAxisLabelVisibility, yAxisMin, yAxisMax, isStacked100]
1768
1877
  );
1769
1878
  const y2ScaleConfig = (0, react_exports.useMemo)(() => {
1770
1879
  if (y2Enabled) {
@@ -1796,10 +1905,11 @@ var TimeSeriesChartWrapper = (props) => {
1796
1905
  ];
1797
1906
  chartData.fields = filteredChartData.fields;
1798
1907
  chartData.columns = seriesDataFormatted;
1908
+ const normalizedStackMode = stackMode === "stacked" || stackMode === "stacked100" ? stackMode : "auto";
1799
1909
  const seriesOverrides = (0, react_exports.useMemo)(
1800
- () => getSeriesOverrides(
1801
- yFields,
1802
- y2Fields,
1910
+ () => getSeriesOverrides({
1911
+ yfields: yFields,
1912
+ y2fields: y2Fields,
1803
1913
  lineWidth,
1804
1914
  overlayFields,
1805
1915
  y2Enabled,
@@ -1808,8 +1918,11 @@ var TimeSeriesChartWrapper = (props) => {
1808
1918
  lineDashStyle,
1809
1919
  lineDashStylesByField,
1810
1920
  stepPosition,
1811
- stepPositionsByField
1812
- ),
1921
+ stepPositionsByField,
1922
+ type: chartType,
1923
+ stackMode: normalizedStackMode,
1924
+ showLines
1925
+ }),
1813
1926
  [
1814
1927
  yFields,
1815
1928
  y2Fields,
@@ -1821,7 +1934,10 @@ var TimeSeriesChartWrapper = (props) => {
1821
1934
  lineDashStyle,
1822
1935
  lineDashStylesByField,
1823
1936
  stepPosition,
1824
- stepPositionsByField
1937
+ stepPositionsByField,
1938
+ chartType,
1939
+ normalizedStackMode,
1940
+ showLines
1825
1941
  ]
1826
1942
  );
1827
1943
  const chartingEventAnnotations = (0, react_exports.useMemo)(
@@ -1889,50 +2005,54 @@ var TimeSeriesChartWrapper = (props) => {
1889
2005
  react_exports.useEffect(() => {
1890
2006
  additionalTooltipValuesRef.current = additionalTooltipValues;
1891
2007
  }, [additionalTooltipValues]);
2008
+ const handleCrosshairMouseout = react_exports.useCallback(() => {
2009
+ if (onPointMouseOut && lastPayloadRef.current) {
2010
+ onPointMouseOut({
2011
+ type: "point.mouseout",
2012
+ originalEvent: lastOriginalEventRef.current,
2013
+ payload: lastPayloadRef.current
2014
+ });
2015
+ }
2016
+ previousMouseoverPayloadRef.current = null;
2017
+ }, [onPointMouseOut]);
1892
2018
  const handleChartCrosshairChange = react_exports.useCallback(
1893
2019
  (event) => {
1894
- if (onPointMouseOver || onPointMouseOut) {
1895
- if (!event) {
1896
- if (onPointMouseOut && lastPayloadRef.current) {
1897
- onPointMouseOut({
1898
- type: "point.mouseout",
1899
- originalEvent: lastOriginalEventRef.current,
1900
- payload: lastPayloadRef.current
1901
- });
1902
- }
1903
- previousMouseoverPayloadRef.current = null;
1904
- return;
1905
- }
1906
- const payload = __spreadProps(__spreadValues({}, (0, lodash_exports.pick)(event, "value", "seriesKey", "time", "index", "seriesIndex")), {
1907
- name: event.seriesKey
2020
+ if (!onPointMouseOver && !onPointMouseOut) {
2021
+ return;
2022
+ }
2023
+ if (!event) {
2024
+ handleCrosshairMouseout();
2025
+ return;
2026
+ }
2027
+ const payload = __spreadProps(__spreadValues({}, (0, lodash_exports.pick)(event, "value", "seriesKey", "time", "index", "seriesIndex")), {
2028
+ name: event.seriesKey
2029
+ });
2030
+ delete payload.seriesKey;
2031
+ if (event.rowContext) {
2032
+ Object.assign(
2033
+ payload,
2034
+ Object.keys(event.rowContext).reduce((acc, fieldName) => {
2035
+ acc[`row.${fieldName}.value`] = event.rowContext[fieldName];
2036
+ return acc;
2037
+ }, {})
2038
+ );
2039
+ }
2040
+ const updatedPayload = appendTrellisToPayload(payload, trellisKey, trellisSplitBy);
2041
+ if (!hasMouseoverPayloadChanged(updatedPayload, previousMouseoverPayloadRef.current)) {
2042
+ return;
2043
+ }
2044
+ lastPayloadRef.current = updatedPayload;
2045
+ lastOriginalEventRef.current = event;
2046
+ previousMouseoverPayloadRef.current = __spreadValues({}, updatedPayload);
2047
+ if (onPointMouseOver) {
2048
+ onPointMouseOver({
2049
+ type: "point.mouseover",
2050
+ originalEvent: event,
2051
+ payload: updatedPayload
1908
2052
  });
1909
- delete payload.seriesKey;
1910
- if (event.rowContext) {
1911
- Object.assign(
1912
- payload,
1913
- Object.keys(event.rowContext).reduce((acc, fieldName) => {
1914
- acc[`row.${fieldName}.value`] = event.rowContext[fieldName];
1915
- return acc;
1916
- }, {})
1917
- );
1918
- }
1919
- const updatedPayload = appendTrellisToPayload(payload, trellisKey, trellisSplitBy);
1920
- if (!hasMouseoverPayloadChanged(updatedPayload, previousMouseoverPayloadRef.current)) {
1921
- return;
1922
- }
1923
- lastPayloadRef.current = updatedPayload;
1924
- lastOriginalEventRef.current = event;
1925
- previousMouseoverPayloadRef.current = __spreadValues({}, updatedPayload);
1926
- if (onPointMouseOver) {
1927
- onPointMouseOver({
1928
- type: "point.mouseover",
1929
- originalEvent: event,
1930
- payload: updatedPayload
1931
- });
1932
- }
1933
2053
  }
1934
2054
  },
1935
- [onPointMouseOver, onPointMouseOut, trellisKey, trellisSplitBy]
2055
+ [onPointMouseOver, onPointMouseOut, trellisKey, trellisSplitBy, handleCrosshairMouseout]
1936
2056
  );
1937
2057
  const dataKey = `${(_b = chartData.columns[0]) == null ? void 0 : _b[0]}-${(_c = chartData.columns[0]) == null ? void 0 : _c[chartData.columns[0].length - 1]}-${(_d = chartData.columns[0]) == null ? void 0 : _d.length}`;
1938
2058
  const memoizedChart = (0, react_exports.useMemo)(() => {
@@ -1987,7 +2107,8 @@ var TimeSeriesChartWrapper = (props) => {
1987
2107
  showXAxisLine,
1988
2108
  showYAxisLine,
1989
2109
  showY2AxisLine,
1990
- xAxisMaxLabelParts
2110
+ xAxisMaxLabelParts,
2111
+ areaOpacity: areaOpacityForCanvas
1991
2112
  }
1992
2113
  ));
1993
2114
  }, [
@@ -2039,7 +2160,8 @@ var TimeSeriesChartWrapper = (props) => {
2039
2160
  showYAxisLine,
2040
2161
  showY2AxisLine,
2041
2162
  legendMode,
2042
- xAxisMaxLabelParts
2163
+ xAxisMaxLabelParts,
2164
+ areaOpacityForCanvas
2043
2165
  ]);
2044
2166
  const memoizedVisualization = (0, react_exports.useMemo)(() => {
2045
2167
  return /* @__PURE__ */ react_exports.createElement(VizStyleWrapper_default, { backgroundColor: bgColor }, memoizedChart);
@@ -2067,6 +2189,37 @@ var TimeSeriesChartWrapper_default = TimeSeriesChartWrapper;
2067
2189
 
2068
2190
  // src/common/withDashboardViz.tsx
2069
2191
  var SanitizedTimeSeriesChartWrapper = (0, SanitizeProps_exports.withSanitizedProps)(TimeSeriesChartWrapper_default);
2192
+ var buildEventCallbackProps = (supportedEvents, evaluatedOptionsToUse, onEventTrigger) => {
2193
+ const result = {};
2194
+ Object.keys(supportedEvents).forEach((eventName) => {
2195
+ const { parentKeys, payloadKeys } = supportedEvents[eventName];
2196
+ const eventCallbackPropName = (0, lodash_exports.camelCase)(`on.${eventName}`);
2197
+ let payload = {};
2198
+ if (Array.isArray(payloadKeys) && payloadKeys.length) {
2199
+ payloadKeys.forEach((p) => {
2200
+ payload[p] = evaluatedOptionsToUse[p];
2201
+ });
2202
+ }
2203
+ result[eventCallbackPropName] = (ev) => {
2204
+ if (ev == null ? void 0 : ev.payload) {
2205
+ payload = __spreadValues({}, ev.payload);
2206
+ }
2207
+ return onEventTrigger({
2208
+ originalEvent: ev,
2209
+ payload,
2210
+ type: eventName
2211
+ });
2212
+ };
2213
+ if (parentKeys) {
2214
+ for (let i = parentKeys.length - 1; i >= 0; i -= 1) {
2215
+ const newObject = {};
2216
+ newObject[parentKeys[i]] = result[eventCallbackPropName];
2217
+ result[eventCallbackPropName] = newObject;
2218
+ }
2219
+ }
2220
+ });
2221
+ return result;
2222
+ };
2070
2223
  var withDashboardViz = (opts) => {
2071
2224
  const {
2072
2225
  ReactViz,
@@ -2124,9 +2277,7 @@ var withDashboardViz = (opts) => {
2124
2277
  const isDownsamplingEnabledByFeatureFlag = Boolean(
2125
2278
  featureFlagContext == null ? void 0 : featureFlagContext.visualizations_enableDownsampling
2126
2279
  );
2127
- const isTrellisFeatureFlagOn = Boolean(
2128
- featureFlagContext && featureFlagContext.visualizations_enableTrellis
2129
- );
2280
+ const isTrellisFeatureFlagOn = Boolean(featureFlagContext == null ? void 0 : featureFlagContext.visualizations_enableTrellis);
2130
2281
  const isTrellisOn = isTrellisFeatureFlagOn && ((_a = vizConfig == null ? void 0 : vizConfig.supports) == null ? void 0 : _a.includes("trellis" /* TRELLIS */)) && (options == null ? void 0 : options.splitByLayout) === "trellis" /* TRELLIS */;
2131
2282
  const isAcceleratedRenderFeatureFlagOn = Boolean(
2132
2283
  featureFlagContext == null ? void 0 : featureFlagContext.visualizations_enableAcceleratedRender
@@ -2291,38 +2442,12 @@ var withDashboardViz = (opts) => {
2291
2442
  }
2292
2443
  );
2293
2444
  }
2294
- const eventCallbackProps = {};
2295
- if (hasEventHandlers && mode === "view" && vizConfig.supports.indexOf("events" /* EVENTS */) > -1) {
2296
- const supportedEvents = vizConfig.events;
2297
- Object.keys(supportedEvents).forEach((eventName) => {
2298
- const { parentKeys, payloadKeys } = supportedEvents[eventName];
2299
- const eventCallbackPropName = (0, lodash_exports.camelCase)(`on.${eventName}`);
2300
- let payload = {};
2301
- if (Array.isArray(payloadKeys) && payloadKeys.length) {
2302
- payloadKeys.forEach((p) => {
2303
- payload[p] = evaluatedOptionsToUse[p];
2304
- });
2305
- }
2306
- eventCallbackProps[eventCallbackPropName] = (ev) => {
2307
- if (ev == null ? void 0 : ev.payload) {
2308
- payload = __spreadValues({}, ev.payload);
2309
- }
2310
- return onEventTrigger({
2311
- originalEvent: ev,
2312
- payload,
2313
- type: eventName
2314
- });
2315
- };
2316
- if (parentKeys) {
2317
- for (let i = parentKeys.length - 1; i >= 0; i -= 1) {
2318
- const newObject = {};
2319
- newObject[parentKeys[i]] = eventCallbackProps[eventCallbackPropName];
2320
- eventCallbackProps[eventCallbackPropName] = newObject;
2321
- }
2322
- }
2323
- });
2324
- }
2325
- const computedVizProps = computeVizProps2(__spreadProps(__spreadValues(__spreadValues(__spreadValues({}, props), evaluatedOptionsToUse), eventCallbackProps), {
2445
+ const eventCallbackProps = hasEventHandlers && mode === "view" && vizConfig.supports.includes("events" /* EVENTS */) ? buildEventCallbackProps(vizConfig.events, evaluatedOptionsToUse, onEventTrigger) : {};
2446
+ const computedVizProps = computeVizProps2(__spreadProps(__spreadValues(__spreadProps(__spreadValues(__spreadValues({}, props), evaluatedOptionsToUse), {
2447
+ // Align option transformation with the actual renderer selected below.
2448
+ // This prevents canvas-only option preservation from leaking into Highcharts mode.
2449
+ isAcceleratedRenderOn
2450
+ }), eventCallbackProps), {
2326
2451
  themeFunc
2327
2452
  }));
2328
2453
  if (useAsyncEvaluatedOptions && Object.keys(evaluatedOptionsToUse).length === 0) {
@@ -2356,36 +2481,36 @@ var PresetPalettes_exports = {};
2356
2481
  __export(PresetPalettes_exports, {
2357
2482
  default: () => PresetPalettes_default
2358
2483
  });
2359
- var defaultImport27 = __toESM(require("@splunk/visualization-color-palettes/editors/PresetPalettes"));
2484
+ var defaultImport29 = __toESM(require("@splunk/visualization-color-palettes/editors/PresetPalettes"));
2360
2485
  __reExport(PresetPalettes_exports, require("@splunk/visualization-color-palettes/editors/PresetPalettes"));
2361
- var PresetPalettes_default = "default" in defaultImport27 ? defaultImport27.default : defaultImport27;
2486
+ var PresetPalettes_default = "default" in defaultImport29 ? defaultImport29.default : defaultImport29;
2362
2487
 
2363
2488
  // esm-externals:@splunk/themes
2364
2489
  var themes_exports = {};
2365
2490
  __export(themes_exports, {
2366
2491
  default: () => themes_default
2367
2492
  });
2368
- var defaultImport28 = __toESM(require("@splunk/themes"));
2493
+ var defaultImport30 = __toESM(require("@splunk/themes"));
2369
2494
  __reExport(themes_exports, require("@splunk/themes"));
2370
- var themes_default = "default" in defaultImport28 ? defaultImport28.default : defaultImport28;
2495
+ var themes_default = "default" in defaultImport30 ? defaultImport30.default : defaultImport30;
2371
2496
 
2372
2497
  // esm-externals:@splunk/react-icons/Square
2373
2498
  var Square_exports = {};
2374
2499
  __export(Square_exports, {
2375
2500
  default: () => Square_default
2376
2501
  });
2377
- var defaultImport29 = __toESM(require("@splunk/react-icons/Square"));
2502
+ var defaultImport31 = __toESM(require("@splunk/react-icons/Square"));
2378
2503
  __reExport(Square_exports, require("@splunk/react-icons/Square"));
2379
- var Square_default = "default" in defaultImport29 ? defaultImport29.default : defaultImport29;
2504
+ var Square_default = "default" in defaultImport31 ? defaultImport31.default : defaultImport31;
2380
2505
 
2381
2506
  // esm-externals:@splunk/visualizations-shared/configUtils
2382
2507
  var configUtils_exports = {};
2383
2508
  __export(configUtils_exports, {
2384
2509
  default: () => configUtils_default
2385
2510
  });
2386
- var defaultImport30 = __toESM(require("@splunk/visualizations-shared/configUtils"));
2511
+ var defaultImport32 = __toESM(require("@splunk/visualizations-shared/configUtils"));
2387
2512
  __reExport(configUtils_exports, require("@splunk/visualizations-shared/configUtils"));
2388
- var configUtils_default = "default" in defaultImport30 ? defaultImport30.default : defaultImport30;
2513
+ var configUtils_default = "default" in defaultImport32 ? defaultImport32.default : defaultImport32;
2389
2514
 
2390
2515
  // src/common/utils/configUtils.ts
2391
2516
  function enhanceConfig(vizConfig) {
@@ -2689,7 +2814,7 @@ var editorConfig = [
2689
2814
  presets,
2690
2815
  value: ({ context, options }) => {
2691
2816
  const initialPreset = getInitialPreset(context, options, presets);
2692
- return initialPreset && initialPreset.label || null;
2817
+ return (initialPreset == null ? void 0 : initialPreset.label) || null;
2693
2818
  }
2694
2819
  }
2695
2820
  }
@@ -2805,27 +2930,18 @@ var pick_exports = {};
2805
2930
  __export(pick_exports, {
2806
2931
  default: () => pick_default
2807
2932
  });
2808
- var defaultImport31 = __toESM(require("@splunk/themes/pick"));
2933
+ var defaultImport33 = __toESM(require("@splunk/themes/pick"));
2809
2934
  __reExport(pick_exports, require("@splunk/themes/pick"));
2810
- var pick_default = "default" in defaultImport31 ? defaultImport31.default : defaultImport31;
2811
-
2812
- // esm-externals:@splunk/visualizations-shared/propUtils
2813
- var propUtils_exports = {};
2814
- __export(propUtils_exports, {
2815
- default: () => propUtils_default
2816
- });
2817
- var defaultImport32 = __toESM(require("@splunk/visualizations-shared/propUtils"));
2818
- __reExport(propUtils_exports, require("@splunk/visualizations-shared/propUtils"));
2819
- var propUtils_default = "default" in defaultImport32 ? defaultImport32.default : defaultImport32;
2935
+ var pick_default = "default" in defaultImport33 ? defaultImport33.default : defaultImport33;
2820
2936
 
2821
2937
  // esm-externals:@splunk/react-ui/ScreenReaderContent
2822
2938
  var ScreenReaderContent_exports = {};
2823
2939
  __export(ScreenReaderContent_exports, {
2824
2940
  default: () => ScreenReaderContent_default
2825
2941
  });
2826
- var defaultImport33 = __toESM(require("@splunk/react-ui/ScreenReaderContent"));
2942
+ var defaultImport34 = __toESM(require("@splunk/react-ui/ScreenReaderContent"));
2827
2943
  __reExport(ScreenReaderContent_exports, require("@splunk/react-ui/ScreenReaderContent"));
2828
- var ScreenReaderContent_default = "default" in defaultImport33 ? defaultImport33.default : defaultImport33;
2944
+ var ScreenReaderContent_default = "default" in defaultImport34 ? defaultImport34.default : defaultImport34;
2829
2945
 
2830
2946
  // src/common/shapeUtils.tsx
2831
2947
  var shapeOptionsMapping = {