@splunk/visualizations 28.2.3 → 28.4.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 (895) hide show
  1. package/Area/Area.d.ts.map +1 -0
  2. package/Area/areaUtils.d.ts.map +1 -0
  3. package/Area/config.d.ts.map +1 -0
  4. package/Area/index.d.ts.map +1 -0
  5. package/Area.config.js +0 -1
  6. package/Area.config.js.map +2 -2
  7. package/Area.js +711 -184
  8. package/Area.js.map +4 -4
  9. package/Bar/Bar.d.ts.map +1 -0
  10. package/Bar/barUtils.d.ts.map +1 -0
  11. package/Bar/config.d.ts.map +1 -0
  12. package/Bar/index.d.ts.map +1 -0
  13. package/Bar.config.js +0 -1
  14. package/Bar.config.js.map +2 -2
  15. package/Bar.js +721 -184
  16. package/Bar.js.map +4 -4
  17. package/Bubble/Bubble.d.ts.map +1 -0
  18. package/Bubble/bubbleUtils.d.ts.map +1 -0
  19. package/Bubble/config.d.ts.map +1 -0
  20. package/Bubble/index.d.ts.map +1 -0
  21. package/Bubble.config.js +0 -1
  22. package/Bubble.config.js.map +2 -2
  23. package/Bubble.js +706 -167
  24. package/Bubble.js.map +4 -4
  25. package/CHANGELOG.external.md +99 -2
  26. package/{dist/types/ChoroplethSvg → ChoroplethSvg}/ChoroplethSvg.d.ts +4 -3
  27. package/ChoroplethSvg/ChoroplethSvg.d.ts.map +1 -0
  28. package/ChoroplethSvg/ErrorMessage/ErrorMessage.d.ts.map +1 -0
  29. package/ChoroplethSvg/PureChoroplethSvg/PureChoroplethSvg.d.ts.map +1 -0
  30. package/ChoroplethSvg/PureChoroplethSvg/SvgChoroplethDynamic.d.ts.map +1 -0
  31. package/ChoroplethSvg/PureChoroplethSvg/SvgMutator.d.ts.map +1 -0
  32. package/ChoroplethSvg/config.d.ts.map +1 -0
  33. package/ChoroplethSvg/index.d.ts.map +1 -0
  34. package/ChoroplethSvg.config.js +1 -3
  35. package/ChoroplethSvg.config.js.map +2 -2
  36. package/ChoroplethSvg.js +661 -109
  37. package/ChoroplethSvg.js.map +4 -4
  38. package/Column/Column.d.ts.map +1 -0
  39. package/Column/columnUtils.d.ts.map +1 -0
  40. package/Column/config.d.ts.map +1 -0
  41. package/Column/index.d.ts.map +1 -0
  42. package/Column.config.js +0 -1
  43. package/Column.config.js.map +2 -2
  44. package/Column.js +711 -184
  45. package/Column.js.map +4 -4
  46. package/Ellipse/Ellipse.d.ts.map +1 -0
  47. package/Ellipse/config.d.ts.map +1 -0
  48. package/Ellipse/index.d.ts.map +1 -0
  49. package/Ellipse.js +649 -107
  50. package/Ellipse.js.map +4 -4
  51. package/Events/EventUtils.d.ts.map +1 -0
  52. package/Events/Events.d.ts.map +1 -0
  53. package/Events/PureEvents/FieldSummaryTooltip.d.ts.map +1 -0
  54. package/Events/PureEvents/PureEvents.d.ts.map +1 -0
  55. package/Events/PureEvents/TimeControlsPopover.d.ts.map +1 -0
  56. package/Events/config.d.ts.map +1 -0
  57. package/Events/index.d.ts.map +1 -0
  58. package/Events.js +780 -193
  59. package/Events.js.map +4 -4
  60. package/FillerGauge/FillerGauge.d.ts.map +1 -0
  61. package/FillerGauge/PureFillerGauge/FillerGauge.d.ts.map +1 -0
  62. package/FillerGauge/config.d.ts.map +1 -0
  63. package/FillerGauge/index.d.ts.map +1 -0
  64. package/FillerGauge.js +656 -143
  65. package/FillerGauge.js.map +4 -4
  66. package/Image/Image.d.ts.map +1 -0
  67. package/Image/ImageApi.d.ts.map +1 -0
  68. package/Image/config.d.ts.map +1 -0
  69. package/Image/index.d.ts.map +1 -0
  70. package/Image.js +687 -113
  71. package/Image.js.map +4 -4
  72. package/LICENSE.md +0 -1
  73. package/Line/Line.d.ts.map +1 -0
  74. package/Line/config.d.ts.map +1 -0
  75. package/Line/index.d.ts.map +1 -0
  76. package/Line/lineUtils.d.ts.map +1 -0
  77. package/{dist/types/Line → Line}/mockdata/LineData.d.ts +59 -0
  78. package/Line/mockdata/LineData.d.ts.map +1 -0
  79. package/Line.config.js +0 -1
  80. package/Line.config.js.map +2 -2
  81. package/Line.js +817 -185
  82. package/Line.js.map +4 -4
  83. package/LinkGraph/ESTestDataSources.d.ts.map +1 -0
  84. package/LinkGraph/ESTestTemplate.d.ts.map +1 -0
  85. package/LinkGraph/LinkGraph.d.ts.map +1 -0
  86. package/{dist/types/LinkGraph → LinkGraph}/PureLinkGraph/PureLinkGraph.d.ts +5 -0
  87. package/LinkGraph/PureLinkGraph/PureLinkGraph.d.ts.map +1 -0
  88. package/LinkGraph/PureLinkGraph/PureLinkGraphUtils.d.ts.map +1 -0
  89. package/LinkGraph/PureLinkGraph/components/Edges.d.ts.map +1 -0
  90. package/LinkGraph/PureLinkGraph/components/Field.d.ts.map +1 -0
  91. package/LinkGraph/PureLinkGraph/components/FieldStyles.d.ts.map +1 -0
  92. package/{dist/types/LinkGraph → LinkGraph}/PureLinkGraph/components/Graph.d.ts +9 -1
  93. package/LinkGraph/PureLinkGraph/components/Graph.d.ts.map +1 -0
  94. package/LinkGraph/PureLinkGraph/components/GraphStyles.d.ts.map +1 -0
  95. package/{dist/types/LinkGraph → LinkGraph}/PureLinkGraph/components/Node.d.ts +1 -0
  96. package/LinkGraph/PureLinkGraph/components/Node.d.ts.map +1 -0
  97. package/{dist/types/LinkGraph → LinkGraph}/PureLinkGraph/components/Nodes.d.ts +1 -0
  98. package/LinkGraph/PureLinkGraph/components/Nodes.d.ts.map +1 -0
  99. package/LinkGraph/PureLinkGraph/measurementUtils.d.ts +16 -0
  100. package/LinkGraph/PureLinkGraph/measurementUtils.d.ts.map +1 -0
  101. package/{dist/types/LinkGraph → LinkGraph}/PureLinkGraph/utils/iconLoader.d.ts.map +1 -1
  102. package/LinkGraph/config.d.ts.map +1 -0
  103. package/LinkGraph/index.d.ts.map +1 -0
  104. package/LinkGraph.config.js +15 -1
  105. package/LinkGraph.config.js.map +2 -2
  106. package/LinkGraph.js +1476 -657
  107. package/LinkGraph.js.map +4 -4
  108. package/{dist/types/Map → Map}/Map.d.ts +2 -2
  109. package/Map/Map.d.ts.map +1 -0
  110. package/{dist/types/Map → Map}/PureMap/BubbleLayer.d.ts +5 -0
  111. package/Map/PureMap/BubbleLayer.d.ts.map +1 -0
  112. package/Map/PureMap/ChoroplethLayer.d.ts.map +1 -0
  113. package/Map/PureMap/ClusterLayer.d.ts.map +1 -0
  114. package/Map/PureMap/LocalChoroplethLayer.d.ts.map +1 -0
  115. package/{dist/types/Map → Map}/PureMap/MapUtils.d.ts +10 -6
  116. package/Map/PureMap/MapUtils.d.ts.map +1 -0
  117. package/Map/PureMap/MarkerLayer.d.ts.map +1 -0
  118. package/Map/PureMap/MarkerWrapper.d.ts.map +1 -0
  119. package/Map/PureMap/PureMap.d.ts.map +1 -0
  120. package/Map/PureMap/PureMapContainer.d.ts.map +1 -0
  121. package/Map/PureMap/Tooltip.d.ts.map +1 -0
  122. package/{dist/types/Map → Map}/PureMap/mockdata/data.d.ts +21 -17
  123. package/Map/PureMap/mockdata/data.d.ts.map +1 -0
  124. package/Map/config.d.ts.map +1 -0
  125. package/Map/index.d.ts.map +1 -0
  126. package/Map.config.js +0 -1
  127. package/Map.config.js.map +2 -2
  128. package/Map.js +1002 -319
  129. package/Map.js.map +4 -4
  130. package/Markdown/Markdown.d.ts.map +1 -0
  131. package/Markdown/config.d.ts.map +1 -0
  132. package/Markdown/index.d.ts.map +1 -0
  133. package/Markdown.js +669 -98
  134. package/Markdown.js.map +4 -4
  135. package/{dist/types/MarkerGauge → MarkerGauge}/MarkerGauge.d.ts +5 -1
  136. package/MarkerGauge/MarkerGauge.d.ts.map +1 -0
  137. package/{dist/types/MarkerGauge → MarkerGauge}/PureMarkerGauge/MarkerGauge.d.ts +4 -0
  138. package/MarkerGauge/PureMarkerGauge/MarkerGauge.d.ts.map +1 -0
  139. package/MarkerGauge/config.d.ts.map +1 -0
  140. package/MarkerGauge/index.d.ts.map +1 -0
  141. package/MarkerGauge.config.js +121 -3
  142. package/MarkerGauge.config.js.map +3 -3
  143. package/MarkerGauge.js +1439 -145
  144. package/MarkerGauge.js.map +4 -4
  145. package/NetworkGraph/NetworkGraph.d.ts +22 -0
  146. package/NetworkGraph/NetworkGraph.d.ts.map +1 -0
  147. package/NetworkGraph/PureNetworkGraph/PureNetworkGraph.d.ts +60 -0
  148. package/NetworkGraph/PureNetworkGraph/PureNetworkGraph.d.ts.map +1 -0
  149. package/NetworkGraph/PureNetworkGraph/components/Link.d.ts +19 -0
  150. package/NetworkGraph/PureNetworkGraph/components/Link.d.ts.map +1 -0
  151. package/NetworkGraph/PureNetworkGraph/components/NetworkGraphSvg.d.ts +29 -0
  152. package/NetworkGraph/PureNetworkGraph/components/NetworkGraphSvg.d.ts.map +1 -0
  153. package/NetworkGraph/PureNetworkGraph/components/Node.d.ts +27 -0
  154. package/NetworkGraph/PureNetworkGraph/components/Node.d.ts.map +1 -0
  155. package/NetworkGraph/PureNetworkGraph/components/Tooltip.d.ts +12 -0
  156. package/NetworkGraph/PureNetworkGraph/components/Tooltip.d.ts.map +1 -0
  157. package/NetworkGraph/PureNetworkGraph/components/ZoomControls.d.ts +13 -0
  158. package/NetworkGraph/PureNetworkGraph/components/ZoomControls.d.ts.map +1 -0
  159. package/NetworkGraph/PureNetworkGraph/mockdata/data.d.ts +140 -0
  160. package/NetworkGraph/PureNetworkGraph/mockdata/data.d.ts.map +1 -0
  161. package/NetworkGraph/PureNetworkGraph/mockdata/datasource.d.ts +89 -0
  162. package/NetworkGraph/PureNetworkGraph/mockdata/datasource.d.ts.map +1 -0
  163. package/NetworkGraph/PureNetworkGraph/utils/forceLayout.d.ts +47 -0
  164. package/NetworkGraph/PureNetworkGraph/utils/forceLayout.d.ts.map +1 -0
  165. package/NetworkGraph/PureNetworkGraph/utils/iconLoader.d.ts +78 -0
  166. package/NetworkGraph/PureNetworkGraph/utils/iconLoader.d.ts.map +1 -0
  167. package/NetworkGraph/PureNetworkGraph/utils/networkGraphShared.d.ts +111 -0
  168. package/NetworkGraph/PureNetworkGraph/utils/networkGraphShared.d.ts.map +1 -0
  169. package/NetworkGraph/PureNetworkGraph/utils/networkGraphUtils.d.ts +123 -0
  170. package/NetworkGraph/PureNetworkGraph/utils/networkGraphUtils.d.ts.map +1 -0
  171. package/NetworkGraph/config.d.ts.map +1 -0
  172. package/NetworkGraph/index.d.ts +3 -0
  173. package/NetworkGraph/index.d.ts.map +1 -0
  174. package/NetworkGraph.config.js +938 -0
  175. package/NetworkGraph.config.js.map +7 -0
  176. package/NetworkGraph.js +6793 -0
  177. package/NetworkGraph.js.map +7 -0
  178. package/ParallelCoordinates/ParallelCoordinates.d.ts.map +1 -0
  179. package/ParallelCoordinates/PureParallelCoordinates/PureParallelCoordinates.d.ts.map +1 -0
  180. package/ParallelCoordinates/PureParallelCoordinates/src/ParallelCoordinatesCanvas.d.ts.map +1 -0
  181. package/ParallelCoordinates/PureParallelCoordinates/src/ParallelCoordinatesChart.d.ts.map +1 -0
  182. package/ParallelCoordinates/PureParallelCoordinates/src/ParallelCoordinatesPrompt.d.ts.map +1 -0
  183. package/ParallelCoordinates/config.d.ts.map +1 -0
  184. package/ParallelCoordinates/index.d.ts.map +1 -0
  185. package/ParallelCoordinates/mockdata/arrayValueData.d.ts.map +1 -0
  186. package/ParallelCoordinates/mockdata/sampleCarData.d.ts.map +1 -0
  187. package/ParallelCoordinates/mockdata/sampleCarNumericalData.d.ts.map +1 -0
  188. package/ParallelCoordinates/mockdata/sampleFoodData.d.ts.map +1 -0
  189. package/ParallelCoordinates/mockdata/sampleStringNumericalData.d.ts.map +1 -0
  190. package/ParallelCoordinates.js +666 -99
  191. package/ParallelCoordinates.js.map +4 -4
  192. package/Pie/Pie.d.ts.map +1 -0
  193. package/Pie/config.d.ts.map +1 -0
  194. package/Pie/index.d.ts.map +1 -0
  195. package/Pie/pieUtils.d.ts.map +1 -0
  196. package/Pie.config.js +13 -0
  197. package/Pie.config.js.map +2 -2
  198. package/Pie.js +744 -188
  199. package/Pie.js.map +4 -4
  200. package/Punchcard/Punchcard.d.ts.map +1 -0
  201. package/Punchcard/PurePunchcard/Punchcard.d.ts.map +1 -0
  202. package/Punchcard/PurePunchcard/src/PunchcardAxis.d.ts.map +1 -0
  203. package/Punchcard/PurePunchcard/src/PunchcardBubble.d.ts.map +1 -0
  204. package/Punchcard/PurePunchcard/src/PunchcardChartArea.d.ts.map +1 -0
  205. package/Punchcard/PurePunchcard/src/PunchcardGridLines.d.ts.map +1 -0
  206. package/Punchcard/PurePunchcard/src/PunchcardLegend.d.ts.map +1 -0
  207. package/Punchcard/PurePunchcard/src/PunchcardRow.d.ts.map +1 -0
  208. package/Punchcard/PurePunchcard/src/utils/punchcardUtils.d.ts.map +1 -0
  209. package/Punchcard/config.d.ts.map +1 -0
  210. package/Punchcard/index.d.ts.map +1 -0
  211. package/Punchcard/punchcardUtils.d.ts.map +1 -0
  212. package/Punchcard.js +663 -109
  213. package/Punchcard.js.map +4 -4
  214. package/README.md +1 -1
  215. package/Rectangle/Rectangle.d.ts.map +1 -0
  216. package/Rectangle/config.d.ts.map +1 -0
  217. package/Rectangle/index.d.ts.map +1 -0
  218. package/Rectangle.config.js +13 -22
  219. package/Rectangle.config.js.map +4 -4
  220. package/Rectangle.js +671 -138
  221. package/Rectangle.js.map +4 -4
  222. package/Sankey/PureSankey/PureSankey.d.ts.map +1 -0
  223. package/Sankey/PureSankey/SankeyLink.d.ts.map +1 -0
  224. package/Sankey/PureSankey/SankeyModels.d.ts.map +1 -0
  225. package/Sankey/PureSankey/SankeyNode.d.ts.map +1 -0
  226. package/Sankey/PureSankey/SankeyTooltip.d.ts.map +1 -0
  227. package/Sankey/PureSankey/SankeyUtils.d.ts.map +1 -0
  228. package/Sankey/PureSankey/mockdata/data.d.ts.map +1 -0
  229. package/Sankey/Sankey.d.ts.map +1 -0
  230. package/Sankey/config.d.ts.map +1 -0
  231. package/Sankey/index.d.ts.map +1 -0
  232. package/Sankey.js +683 -114
  233. package/Sankey.js.map +4 -4
  234. package/Scatter/Scatter.d.ts.map +1 -0
  235. package/Scatter/config.d.ts.map +1 -0
  236. package/Scatter/index.d.ts.map +1 -0
  237. package/Scatter/mockdata/data.d.ts.map +1 -0
  238. package/Scatter/scatterUtils.d.ts.map +1 -0
  239. package/Scatter.config.js +0 -1
  240. package/Scatter.config.js.map +2 -2
  241. package/Scatter.js +721 -184
  242. package/Scatter.js.map +4 -4
  243. package/SingleValue/SingleValue.d.ts.map +1 -0
  244. package/SingleValue/config.d.ts.map +1 -0
  245. package/SingleValue/index.d.ts.map +1 -0
  246. package/SingleValue.config.js +15 -2
  247. package/SingleValue.config.js.map +2 -2
  248. package/SingleValue.js +864 -226
  249. package/SingleValue.js.map +3 -3
  250. package/SingleValueBasic/index.d.ts.map +1 -0
  251. package/SingleValueBasic.js +22 -13
  252. package/SingleValueBasic.js.map +2 -2
  253. package/SingleValueIcon/SingleValueIcon.d.ts.map +1 -0
  254. package/SingleValueIcon/config.d.ts.map +1 -0
  255. package/SingleValueIcon/index.d.ts.map +1 -0
  256. package/SingleValueIcon.config.js +0 -1
  257. package/SingleValueIcon.config.js.map +2 -2
  258. package/SingleValueIcon.js +661 -142
  259. package/SingleValueIcon.js.map +3 -3
  260. package/SingleValueRadial/PureSingleValueRadial/GaugeGraph.d.ts.map +1 -0
  261. package/{dist/types/SingleValueRadial → SingleValueRadial}/PureSingleValueRadial/utils/gaugeUtils.d.ts +0 -8
  262. package/SingleValueRadial/PureSingleValueRadial/utils/gaugeUtils.d.ts.map +1 -0
  263. package/SingleValueRadial/SingleValueRadial.d.ts.map +1 -0
  264. package/SingleValueRadial/config.d.ts.map +1 -0
  265. package/SingleValueRadial/index.d.ts.map +1 -0
  266. package/SingleValueRadial.config.js +0 -1
  267. package/SingleValueRadial.config.js.map +2 -2
  268. package/SingleValueRadial.js +660 -140
  269. package/SingleValueRadial.js.map +4 -4
  270. package/SparkLine/index.d.ts.map +1 -0
  271. package/SparkLine.js +111 -45
  272. package/SparkLine.js.map +2 -2
  273. package/{dist/types/Table → Table}/PureTable.d.ts +10 -0
  274. package/Table/PureTable.d.ts.map +1 -0
  275. package/Table/Table.d.ts +18 -0
  276. package/Table/Table.d.ts.map +1 -0
  277. package/Table/cells/ArrayCell.d.ts.map +1 -0
  278. package/Table/cells/SparklineCell.d.ts.map +1 -0
  279. package/Table/cells/SwitchTableCell.d.ts.map +1 -0
  280. package/Table/cells/TextCell.d.ts.map +1 -0
  281. package/Table/cells/index.d.ts.map +1 -0
  282. package/Table/config.d.ts.map +1 -0
  283. package/{dist/types/Table → Table}/hooks.d.ts +5 -5
  284. package/Table/hooks.d.ts.map +1 -0
  285. package/Table/index.d.ts.map +1 -0
  286. package/Table.config.js +1 -1
  287. package/Table.config.js.map +2 -2
  288. package/Table.js +1115 -375
  289. package/Table.js.map +4 -4
  290. package/Timeline/PureTimeline/PureTimeline.d.ts.map +1 -0
  291. package/Timeline/PureTimeline/src/CursorPlugin.d.ts.map +1 -0
  292. package/Timeline/PureTimeline/src/TimelineLegend.d.ts.map +1 -0
  293. package/{dist/types/Timeline → Timeline}/PureTimeline/src/TimelinePlugin.d.ts +3 -1
  294. package/Timeline/PureTimeline/src/TimelinePlugin.d.ts.map +1 -0
  295. package/Timeline/PureTimeline/src/TimelineTooltip.d.ts.map +1 -0
  296. package/Timeline/PureTimeline/src/TimelineUplot.d.ts.map +1 -0
  297. package/Timeline/PureTimeline/src/TimelineYAxis.d.ts.map +1 -0
  298. package/{dist/types/Timeline → Timeline}/PureTimeline/src/XAxisPlugin.d.ts +2 -1
  299. package/Timeline/PureTimeline/src/XAxisPlugin.d.ts.map +1 -0
  300. package/{dist/types/Timeline → Timeline}/PureTimeline/src/utils/timelineUtils.d.ts +26 -2
  301. package/Timeline/PureTimeline/src/utils/timelineUtils.d.ts.map +1 -0
  302. package/Timeline/Timeline.d.ts.map +1 -0
  303. package/Timeline/config.d.ts +4 -0
  304. package/Timeline/config.d.ts.map +1 -0
  305. package/Timeline/index.d.ts.map +1 -0
  306. package/Timeline/mockdata/basicTimelineData.d.ts.map +1 -0
  307. package/Timeline/mockdata/categoricalTimelineData.d.ts.map +1 -0
  308. package/Timeline/mockdata/timelineDataSource.d.ts.map +1 -0
  309. package/Timeline.config.js +30 -21
  310. package/Timeline.config.js.map +4 -4
  311. package/Timeline.js +1287 -467
  312. package/Timeline.js.map +4 -4
  313. package/{dist/types/common → common}/Charting.d.ts +7 -0
  314. package/common/Charting.d.ts.map +1 -0
  315. package/common/Charting.js +59 -34
  316. package/common/Charting.js.map +4 -4
  317. package/common/ChartingApi.d.ts.map +1 -0
  318. package/common/DocExampleWithVizSandbox.d.ts.map +1 -0
  319. package/common/DocExampleWithVizSandbox.js.map +1 -1
  320. package/common/OptionsDoc.js.map +1 -1
  321. package/common/OverviewDoc.d.ts.map +1 -0
  322. package/common/OverviewDoc.js.map +1 -1
  323. package/common/SplunkVisualization.d.ts.map +1 -0
  324. package/common/SplunkVisualizationApi.d.ts.map +1 -0
  325. package/common/ThemedDefaults.d.ts.map +1 -0
  326. package/common/ThemesDoc.js +0 -1
  327. package/common/ThemesDoc.js.map +2 -2
  328. package/common/TimeSeriesChartWrapper.d.ts +31 -0
  329. package/common/TimeSeriesChartWrapper.d.ts.map +1 -0
  330. package/common/TimeSeriesChartWrapper.js +693 -74
  331. package/common/TimeSeriesChartWrapper.js.map +4 -4
  332. package/{dist/types/common → common}/chartingUtils.d.ts +55 -5
  333. package/common/chartingUtils.d.ts.map +1 -0
  334. package/common/chartingUtils.js +120 -9
  335. package/common/chartingUtils.js.map +3 -3
  336. package/common/components/IconPlaceholder.d.ts.map +1 -0
  337. package/common/components/MissingPropsMessage.d.ts.map +1 -0
  338. package/common/components/TrellisTitle.d.ts.map +1 -0
  339. package/common/configContext/singleValueContext.d.ts.map +1 -0
  340. package/common/docUtils.d.ts.map +1 -0
  341. package/common/docUtils.js +1 -1
  342. package/common/docUtils.js.map +2 -2
  343. package/common/editorConfig/AxesChartColorAndStyle.d.ts.map +1 -0
  344. package/common/editorConfig/AxesChartDataConfig.d.ts.map +1 -0
  345. package/common/editorConfig/AxesChartDataDisplay.d.ts.map +1 -0
  346. package/common/editorConfig/AxesChartLegend.d.ts.map +1 -0
  347. package/common/editorConfig/AxesChartXGridAndLabels.d.ts.map +1 -0
  348. package/common/editorConfig/AxesChartY2GridAndLabels.d.ts.map +1 -0
  349. package/common/editorConfig/AxesChartYGridAndLabels.d.ts.map +1 -0
  350. package/common/editorConfig/BackgroundColor.d.ts.map +1 -0
  351. package/common/editorConfig/DynamicFillColorEditor.d.ts.map +1 -0
  352. package/common/editorConfig/DynamicGaugeColorEditor.d.ts.map +1 -0
  353. package/common/editorConfig/DynamicStrokeColorEditor.d.ts.map +1 -0
  354. package/common/editorConfig/Gauge.d.ts.map +1 -0
  355. package/common/editorConfig/Legend.d.ts.map +1 -0
  356. package/common/editorConfig/RadialBackgroundColor.d.ts.map +1 -0
  357. package/common/editorConfig/StaticFillColorEditor.d.ts.map +1 -0
  358. package/common/editorConfig/StaticGaugeColorEditor.d.ts.map +1 -0
  359. package/common/editorConfig/StaticStrokeColorEditor.d.ts.map +1 -0
  360. package/common/editorConfig/TrellisEditors.d.ts.map +1 -0
  361. package/common/gaugeUtils.d.ts.map +1 -0
  362. package/common/hocs/FixedSizeContainer.d.ts.map +1 -0
  363. package/common/hocs/mockdata/trellisData.d.ts.map +1 -0
  364. package/common/hocs/withEditModeCover.d.ts.map +1 -0
  365. package/common/hocs/withPlaceholder.d.ts.map +1 -0
  366. package/common/hocs/withTrellis.d.ts.map +1 -0
  367. package/common/hooks/useDeepMemo.d.ts.map +1 -0
  368. package/common/hooks/useDownsampleDataSources.d.ts.map +1 -0
  369. package/common/hooks/useEventCallback.d.ts.map +1 -0
  370. package/common/hooks/useGetXAndYFields.d.ts.map +1 -0
  371. package/common/hooks/usePagination.d.ts.map +1 -0
  372. package/common/hooks/usePrevious.d.ts.map +1 -0
  373. package/common/hooks/useSorting.d.ts.map +1 -0
  374. package/common/hooks/useTrellisEnabled.d.ts.map +1 -0
  375. package/common/interfaces/ChartEvent.d.ts.map +1 -0
  376. package/{dist/types/common → common}/interfaces/DashboardVizProps.d.ts +0 -3
  377. package/common/interfaces/DashboardVizProps.d.ts.map +1 -0
  378. package/common/interfaces/DataContract.d.ts.map +1 -0
  379. package/{dist/types/common → common}/interfaces/DataSource.d.ts +1 -1
  380. package/common/interfaces/DataSource.d.ts.map +1 -0
  381. package/common/interfaces/DefaultContext.d.ts.map +1 -0
  382. package/common/interfaces/Editor.d.ts.map +1 -0
  383. package/common/interfaces/ExtendedDashViz.d.ts.map +1 -0
  384. package/common/interfaces/Object.d.ts.map +1 -0
  385. package/common/interfaces/Overview.d.ts.map +1 -0
  386. package/common/interfaces/ThemedDefaults.d.ts.map +1 -0
  387. package/common/interfaces/VizActionHandler.d.ts.map +1 -0
  388. package/common/interfaces/VizBehavior.d.ts.map +1 -0
  389. package/common/interfaces/VizCategory.d.ts.map +1 -0
  390. package/common/interfaces/VizConfig.d.ts.map +1 -0
  391. package/common/interfaces/VizEvent.d.ts.map +1 -0
  392. package/common/interfaces/VizProps.d.ts.map +1 -0
  393. package/common/interfaces/VizRegistry.d.ts.map +1 -0
  394. package/common/interfaces/VizSize.d.ts.map +1 -0
  395. package/common/interfaces/VizStatus.d.ts.map +1 -0
  396. package/common/interfaces/index.d.ts.map +1 -0
  397. package/common/shapeUtils.d.ts.map +1 -0
  398. package/common/shapeUtils.js +5 -20
  399. package/common/shapeUtils.js.map +2 -2
  400. package/common/utils/configUtils.d.ts.map +1 -0
  401. package/common/utils/dataUtils.d.ts.map +1 -0
  402. package/common/utils/dataUtils.js +5 -4
  403. package/common/utils/dataUtils.js.map +2 -2
  404. package/common/utils/featureFlagUtils.d.ts +4 -0
  405. package/common/utils/featureFlagUtils.d.ts.map +1 -0
  406. package/common/utils/featureFlagUtils.js.map +2 -2
  407. package/common/utils/hocUtils.d.ts.map +1 -0
  408. package/common/utils/mapUtils.d.ts.map +1 -0
  409. package/common/utils/mapUtils.js +16 -9
  410. package/common/utils/mapUtils.js.map +2 -2
  411. package/common/utils/singleValueUtils.js +17 -18
  412. package/common/utils/singleValueUtils.js.map +2 -2
  413. package/common/utils/tableUtils.d.ts +10 -0
  414. package/common/utils/tableUtils.d.ts.map +1 -0
  415. package/common/utils/tableUtils.js +20 -8
  416. package/common/utils/tableUtils.js.map +2 -2
  417. package/common/utils/textUtils.d.ts +20 -0
  418. package/common/utils/textUtils.d.ts.map +1 -0
  419. package/common/utils/textUtils.js +76 -0
  420. package/common/utils/textUtils.js.map +7 -0
  421. package/common/utils/trellisUtils.d.ts.map +1 -0
  422. package/common/utils/trellisUtils.js +12 -14
  423. package/common/utils/trellisUtils.js.map +2 -2
  424. package/common/utils/urlUtils.d.ts.map +1 -0
  425. package/{dist/types/common → common}/withDashboardViz.d.ts +7 -0
  426. package/common/withDashboardViz.d.ts.map +1 -0
  427. package/common/withDashboardViz.js +665 -87
  428. package/common/withDashboardViz.js.map +4 -4
  429. package/package.json +35 -29
  430. package/common/utils/styleUtils.js +0 -30
  431. package/common/utils/styleUtils.js.map +0 -7
  432. package/dist/types/Area/Area.d.ts.map +0 -1
  433. package/dist/types/Area/areaUtils.d.ts.map +0 -1
  434. package/dist/types/Area/config.d.ts.map +0 -1
  435. package/dist/types/Area/index.d.ts.map +0 -1
  436. package/dist/types/Bar/Bar.d.ts.map +0 -1
  437. package/dist/types/Bar/barUtils.d.ts.map +0 -1
  438. package/dist/types/Bar/config.d.ts.map +0 -1
  439. package/dist/types/Bar/index.d.ts.map +0 -1
  440. package/dist/types/Bubble/Bubble.d.ts.map +0 -1
  441. package/dist/types/Bubble/bubbleUtils.d.ts.map +0 -1
  442. package/dist/types/Bubble/config.d.ts.map +0 -1
  443. package/dist/types/Bubble/index.d.ts.map +0 -1
  444. package/dist/types/ChoroplethSvg/ChoroplethSvg.d.ts.map +0 -1
  445. package/dist/types/ChoroplethSvg/ErrorMessage/ErrorMessage.d.ts.map +0 -1
  446. package/dist/types/ChoroplethSvg/PureChoroplethSvg/PureChoroplethSvg.d.ts.map +0 -1
  447. package/dist/types/ChoroplethSvg/PureChoroplethSvg/SvgChoroplethDynamic.d.ts.map +0 -1
  448. package/dist/types/ChoroplethSvg/PureChoroplethSvg/SvgMutator.d.ts.map +0 -1
  449. package/dist/types/ChoroplethSvg/config.d.ts.map +0 -1
  450. package/dist/types/ChoroplethSvg/index.d.ts.map +0 -1
  451. package/dist/types/Column/Column.d.ts.map +0 -1
  452. package/dist/types/Column/columnUtils.d.ts.map +0 -1
  453. package/dist/types/Column/config.d.ts.map +0 -1
  454. package/dist/types/Column/index.d.ts.map +0 -1
  455. package/dist/types/Ellipse/Ellipse.d.ts.map +0 -1
  456. package/dist/types/Ellipse/config.d.ts.map +0 -1
  457. package/dist/types/Ellipse/index.d.ts.map +0 -1
  458. package/dist/types/Events/EventUtils.d.ts.map +0 -1
  459. package/dist/types/Events/Events.d.ts.map +0 -1
  460. package/dist/types/Events/PureEvents/FieldSummaryTooltip.d.ts.map +0 -1
  461. package/dist/types/Events/PureEvents/PureEvents.d.ts.map +0 -1
  462. package/dist/types/Events/PureEvents/TimeControlsPopover.d.ts.map +0 -1
  463. package/dist/types/Events/config.d.ts.map +0 -1
  464. package/dist/types/Events/index.d.ts.map +0 -1
  465. package/dist/types/FillerGauge/FillerGauge.d.ts.map +0 -1
  466. package/dist/types/FillerGauge/PureFillerGauge/FillerGauge.d.ts.map +0 -1
  467. package/dist/types/FillerGauge/config.d.ts.map +0 -1
  468. package/dist/types/FillerGauge/index.d.ts.map +0 -1
  469. package/dist/types/Image/Image.d.ts.map +0 -1
  470. package/dist/types/Image/ImageApi.d.ts.map +0 -1
  471. package/dist/types/Image/config.d.ts.map +0 -1
  472. package/dist/types/Image/index.d.ts.map +0 -1
  473. package/dist/types/Line/Line.d.ts.map +0 -1
  474. package/dist/types/Line/config.d.ts.map +0 -1
  475. package/dist/types/Line/index.d.ts.map +0 -1
  476. package/dist/types/Line/lineUtils.d.ts.map +0 -1
  477. package/dist/types/Line/mockdata/LineData.d.ts.map +0 -1
  478. package/dist/types/LinkGraph/ESTestDataSources.d.ts.map +0 -1
  479. package/dist/types/LinkGraph/ESTestTemplate.d.ts.map +0 -1
  480. package/dist/types/LinkGraph/LinkGraph.d.ts.map +0 -1
  481. package/dist/types/LinkGraph/PureLinkGraph/PureLinkGraph.d.ts.map +0 -1
  482. package/dist/types/LinkGraph/PureLinkGraph/PureLinkGraphUtils.d.ts.map +0 -1
  483. package/dist/types/LinkGraph/PureLinkGraph/components/Edges.d.ts.map +0 -1
  484. package/dist/types/LinkGraph/PureLinkGraph/components/Field.d.ts.map +0 -1
  485. package/dist/types/LinkGraph/PureLinkGraph/components/FieldStyles.d.ts.map +0 -1
  486. package/dist/types/LinkGraph/PureLinkGraph/components/Graph.d.ts.map +0 -1
  487. package/dist/types/LinkGraph/PureLinkGraph/components/GraphStyles.d.ts.map +0 -1
  488. package/dist/types/LinkGraph/PureLinkGraph/components/Node.d.ts.map +0 -1
  489. package/dist/types/LinkGraph/PureLinkGraph/components/Nodes.d.ts.map +0 -1
  490. package/dist/types/LinkGraph/config.d.ts.map +0 -1
  491. package/dist/types/LinkGraph/index.d.ts.map +0 -1
  492. package/dist/types/Map/Map.d.ts.map +0 -1
  493. package/dist/types/Map/MapContextDefault.d.ts +0 -39
  494. package/dist/types/Map/MapContextDefault.d.ts.map +0 -1
  495. package/dist/types/Map/PureMap/BubbleLayer.d.ts.map +0 -1
  496. package/dist/types/Map/PureMap/ChoroplethLayer.d.ts.map +0 -1
  497. package/dist/types/Map/PureMap/ClusterLayer.d.ts.map +0 -1
  498. package/dist/types/Map/PureMap/LocalChoroplethLayer.d.ts.map +0 -1
  499. package/dist/types/Map/PureMap/MapUtils.d.ts.map +0 -1
  500. package/dist/types/Map/PureMap/MarkerLayer.d.ts.map +0 -1
  501. package/dist/types/Map/PureMap/MarkerWrapper.d.ts.map +0 -1
  502. package/dist/types/Map/PureMap/PureMap.d.ts.map +0 -1
  503. package/dist/types/Map/PureMap/PureMapContainer.d.ts.map +0 -1
  504. package/dist/types/Map/PureMap/Tooltip.d.ts.map +0 -1
  505. package/dist/types/Map/PureMap/mockdata/data.d.ts.map +0 -1
  506. package/dist/types/Map/config.d.ts.map +0 -1
  507. package/dist/types/Map/index.d.ts.map +0 -1
  508. package/dist/types/Markdown/Markdown.d.ts.map +0 -1
  509. package/dist/types/Markdown/config.d.ts.map +0 -1
  510. package/dist/types/Markdown/index.d.ts.map +0 -1
  511. package/dist/types/MarkerGauge/MarkerGauge.d.ts.map +0 -1
  512. package/dist/types/MarkerGauge/PureMarkerGauge/MarkerGauge.d.ts.map +0 -1
  513. package/dist/types/MarkerGauge/config.d.ts.map +0 -1
  514. package/dist/types/MarkerGauge/index.d.ts.map +0 -1
  515. package/dist/types/ParallelCoordinates/ParallelCoordinates.d.ts.map +0 -1
  516. package/dist/types/ParallelCoordinates/PureParallelCoordinates/PureParallelCoordinates.d.ts.map +0 -1
  517. package/dist/types/ParallelCoordinates/PureParallelCoordinates/src/ParallelCoordinatesCanvas.d.ts.map +0 -1
  518. package/dist/types/ParallelCoordinates/PureParallelCoordinates/src/ParallelCoordinatesChart.d.ts.map +0 -1
  519. package/dist/types/ParallelCoordinates/PureParallelCoordinates/src/ParallelCoordinatesPrompt.d.ts.map +0 -1
  520. package/dist/types/ParallelCoordinates/config.d.ts.map +0 -1
  521. package/dist/types/ParallelCoordinates/index.d.ts.map +0 -1
  522. package/dist/types/ParallelCoordinates/mockdata/arrayValueData.d.ts.map +0 -1
  523. package/dist/types/ParallelCoordinates/mockdata/sampleCarData.d.ts.map +0 -1
  524. package/dist/types/ParallelCoordinates/mockdata/sampleCarNumericalData.d.ts.map +0 -1
  525. package/dist/types/ParallelCoordinates/mockdata/sampleFoodData.d.ts.map +0 -1
  526. package/dist/types/ParallelCoordinates/mockdata/sampleStringNumericalData.d.ts.map +0 -1
  527. package/dist/types/Pie/Pie.d.ts.map +0 -1
  528. package/dist/types/Pie/config.d.ts.map +0 -1
  529. package/dist/types/Pie/index.d.ts.map +0 -1
  530. package/dist/types/Pie/pieUtils.d.ts.map +0 -1
  531. package/dist/types/Punchcard/Punchcard.d.ts.map +0 -1
  532. package/dist/types/Punchcard/PurePunchcard/Punchcard.d.ts.map +0 -1
  533. package/dist/types/Punchcard/PurePunchcard/src/PunchcardAxis.d.ts.map +0 -1
  534. package/dist/types/Punchcard/PurePunchcard/src/PunchcardBubble.d.ts.map +0 -1
  535. package/dist/types/Punchcard/PurePunchcard/src/PunchcardChartArea.d.ts.map +0 -1
  536. package/dist/types/Punchcard/PurePunchcard/src/PunchcardGridLines.d.ts.map +0 -1
  537. package/dist/types/Punchcard/PurePunchcard/src/PunchcardLegend.d.ts.map +0 -1
  538. package/dist/types/Punchcard/PurePunchcard/src/PunchcardRow.d.ts.map +0 -1
  539. package/dist/types/Punchcard/PurePunchcard/src/utils/punchcardUtils.d.ts.map +0 -1
  540. package/dist/types/Punchcard/config.d.ts.map +0 -1
  541. package/dist/types/Punchcard/index.d.ts.map +0 -1
  542. package/dist/types/Punchcard/punchcardUtils.d.ts.map +0 -1
  543. package/dist/types/Rectangle/Rectangle.d.ts.map +0 -1
  544. package/dist/types/Rectangle/config.d.ts.map +0 -1
  545. package/dist/types/Rectangle/index.d.ts.map +0 -1
  546. package/dist/types/Sankey/PureSankey/PureSankey.d.ts.map +0 -1
  547. package/dist/types/Sankey/PureSankey/SankeyLink.d.ts.map +0 -1
  548. package/dist/types/Sankey/PureSankey/SankeyModels.d.ts.map +0 -1
  549. package/dist/types/Sankey/PureSankey/SankeyNode.d.ts.map +0 -1
  550. package/dist/types/Sankey/PureSankey/SankeyTooltip.d.ts.map +0 -1
  551. package/dist/types/Sankey/PureSankey/SankeyUtils.d.ts.map +0 -1
  552. package/dist/types/Sankey/PureSankey/mockdata/data.d.ts.map +0 -1
  553. package/dist/types/Sankey/Sankey.d.ts.map +0 -1
  554. package/dist/types/Sankey/config.d.ts.map +0 -1
  555. package/dist/types/Sankey/index.d.ts.map +0 -1
  556. package/dist/types/Scatter/Scatter.d.ts.map +0 -1
  557. package/dist/types/Scatter/config.d.ts.map +0 -1
  558. package/dist/types/Scatter/index.d.ts.map +0 -1
  559. package/dist/types/Scatter/mockdata/data.d.ts.map +0 -1
  560. package/dist/types/Scatter/scatterUtils.d.ts.map +0 -1
  561. package/dist/types/SingleValue/SingleValue.d.ts.map +0 -1
  562. package/dist/types/SingleValue/config.d.ts.map +0 -1
  563. package/dist/types/SingleValue/index.d.ts.map +0 -1
  564. package/dist/types/SingleValueBasic/index.d.ts.map +0 -1
  565. package/dist/types/SingleValueIcon/SingleValueIcon.d.ts.map +0 -1
  566. package/dist/types/SingleValueIcon/config.d.ts.map +0 -1
  567. package/dist/types/SingleValueIcon/index.d.ts.map +0 -1
  568. package/dist/types/SingleValueRadial/PureSingleValueRadial/GaugeGraph.d.ts.map +0 -1
  569. package/dist/types/SingleValueRadial/PureSingleValueRadial/utils/gaugeUtils.d.ts.map +0 -1
  570. package/dist/types/SingleValueRadial/SingleValueRadial.d.ts.map +0 -1
  571. package/dist/types/SingleValueRadial/config.d.ts.map +0 -1
  572. package/dist/types/SingleValueRadial/index.d.ts.map +0 -1
  573. package/dist/types/SparkLine/index.d.ts.map +0 -1
  574. package/dist/types/Table/PureTable.d.ts.map +0 -1
  575. package/dist/types/Table/Table.d.ts +0 -10
  576. package/dist/types/Table/Table.d.ts.map +0 -1
  577. package/dist/types/Table/cells/ArrayCell.d.ts.map +0 -1
  578. package/dist/types/Table/cells/SparklineCell.d.ts.map +0 -1
  579. package/dist/types/Table/cells/SwitchTableCell.d.ts.map +0 -1
  580. package/dist/types/Table/cells/TextCell.d.ts.map +0 -1
  581. package/dist/types/Table/cells/index.d.ts.map +0 -1
  582. package/dist/types/Table/config.d.ts.map +0 -1
  583. package/dist/types/Table/hooks.d.ts.map +0 -1
  584. package/dist/types/Table/index.d.ts.map +0 -1
  585. package/dist/types/Timeline/PureTimeline/PureTimeline.d.ts.map +0 -1
  586. package/dist/types/Timeline/PureTimeline/src/CursorPlugin.d.ts.map +0 -1
  587. package/dist/types/Timeline/PureTimeline/src/TimelineLegend.d.ts.map +0 -1
  588. package/dist/types/Timeline/PureTimeline/src/TimelinePlugin.d.ts.map +0 -1
  589. package/dist/types/Timeline/PureTimeline/src/TimelineTooltip.d.ts.map +0 -1
  590. package/dist/types/Timeline/PureTimeline/src/TimelineUplot.d.ts.map +0 -1
  591. package/dist/types/Timeline/PureTimeline/src/TimelineYAxis.d.ts.map +0 -1
  592. package/dist/types/Timeline/PureTimeline/src/XAxisPlugin.d.ts.map +0 -1
  593. package/dist/types/Timeline/PureTimeline/src/utils/timelineUtils.d.ts.map +0 -1
  594. package/dist/types/Timeline/Timeline.d.ts.map +0 -1
  595. package/dist/types/Timeline/config.d.ts.map +0 -1
  596. package/dist/types/Timeline/index.d.ts.map +0 -1
  597. package/dist/types/Timeline/mockdata/basicTimelineData.d.ts.map +0 -1
  598. package/dist/types/Timeline/mockdata/categoricalTimelineData.d.ts.map +0 -1
  599. package/dist/types/Timeline/mockdata/timelineDataSource.d.ts.map +0 -1
  600. package/dist/types/common/Charting.d.ts.map +0 -1
  601. package/dist/types/common/ChartingApi.d.ts.map +0 -1
  602. package/dist/types/common/DocExampleWithVizSandbox.d.ts.map +0 -1
  603. package/dist/types/common/OverviewDoc.d.ts.map +0 -1
  604. package/dist/types/common/SplunkVisualization.d.ts.map +0 -1
  605. package/dist/types/common/SplunkVisualizationApi.d.ts.map +0 -1
  606. package/dist/types/common/ThemedDefaults.d.ts.map +0 -1
  607. package/dist/types/common/TimeSeriesChartWrapper.d.ts +0 -7
  608. package/dist/types/common/TimeSeriesChartWrapper.d.ts.map +0 -1
  609. package/dist/types/common/chartingUtils.d.ts.map +0 -1
  610. package/dist/types/common/components/IconPlaceholder.d.ts.map +0 -1
  611. package/dist/types/common/components/MissingPropsMessage.d.ts.map +0 -1
  612. package/dist/types/common/components/TrellisTitle.d.ts.map +0 -1
  613. package/dist/types/common/configContext/singleValueContext.d.ts.map +0 -1
  614. package/dist/types/common/docUtils.d.ts.map +0 -1
  615. package/dist/types/common/editorConfig/AxesChartColorAndStyle.d.ts.map +0 -1
  616. package/dist/types/common/editorConfig/AxesChartDataConfig.d.ts.map +0 -1
  617. package/dist/types/common/editorConfig/AxesChartDataDisplay.d.ts.map +0 -1
  618. package/dist/types/common/editorConfig/AxesChartLegend.d.ts.map +0 -1
  619. package/dist/types/common/editorConfig/AxesChartXGridAndLabels.d.ts.map +0 -1
  620. package/dist/types/common/editorConfig/AxesChartY2GridAndLabels.d.ts.map +0 -1
  621. package/dist/types/common/editorConfig/AxesChartYGridAndLabels.d.ts.map +0 -1
  622. package/dist/types/common/editorConfig/BackgroundColor.d.ts.map +0 -1
  623. package/dist/types/common/editorConfig/DynamicFillColorEditor.d.ts.map +0 -1
  624. package/dist/types/common/editorConfig/DynamicGaugeColorEditor.d.ts.map +0 -1
  625. package/dist/types/common/editorConfig/DynamicStrokeColorEditor.d.ts.map +0 -1
  626. package/dist/types/common/editorConfig/Gauge.d.ts.map +0 -1
  627. package/dist/types/common/editorConfig/Legend.d.ts.map +0 -1
  628. package/dist/types/common/editorConfig/RadialBackgroundColor.d.ts.map +0 -1
  629. package/dist/types/common/editorConfig/StaticFillColorEditor.d.ts.map +0 -1
  630. package/dist/types/common/editorConfig/StaticGaugeColorEditor.d.ts.map +0 -1
  631. package/dist/types/common/editorConfig/StaticStrokeColorEditor.d.ts.map +0 -1
  632. package/dist/types/common/editorConfig/TrellisEditors.d.ts.map +0 -1
  633. package/dist/types/common/gaugeUtils.d.ts.map +0 -1
  634. package/dist/types/common/hocs/FixedSizeContainer.d.ts.map +0 -1
  635. package/dist/types/common/hocs/mockdata/trellisData.d.ts.map +0 -1
  636. package/dist/types/common/hocs/withEditModeCover.d.ts.map +0 -1
  637. package/dist/types/common/hocs/withPlaceholder.d.ts.map +0 -1
  638. package/dist/types/common/hocs/withTrellis.d.ts.map +0 -1
  639. package/dist/types/common/hooks/useDeepMemo.d.ts.map +0 -1
  640. package/dist/types/common/hooks/useDownsampleDataSources.d.ts.map +0 -1
  641. package/dist/types/common/hooks/useEventCallback.d.ts.map +0 -1
  642. package/dist/types/common/hooks/useGetXAndYFields.d.ts.map +0 -1
  643. package/dist/types/common/hooks/usePagination.d.ts.map +0 -1
  644. package/dist/types/common/hooks/usePrevious.d.ts.map +0 -1
  645. package/dist/types/common/hooks/useSorting.d.ts.map +0 -1
  646. package/dist/types/common/hooks/useTrellisEnabled.d.ts.map +0 -1
  647. package/dist/types/common/interfaces/ChartEvent.d.ts.map +0 -1
  648. package/dist/types/common/interfaces/DashboardVizProps.d.ts.map +0 -1
  649. package/dist/types/common/interfaces/DataContract.d.ts.map +0 -1
  650. package/dist/types/common/interfaces/DataSource.d.ts.map +0 -1
  651. package/dist/types/common/interfaces/DefaultContext.d.ts.map +0 -1
  652. package/dist/types/common/interfaces/Editor.d.ts.map +0 -1
  653. package/dist/types/common/interfaces/ExtendedDashViz.d.ts.map +0 -1
  654. package/dist/types/common/interfaces/Object.d.ts.map +0 -1
  655. package/dist/types/common/interfaces/Overview.d.ts.map +0 -1
  656. package/dist/types/common/interfaces/ThemedDefaults.d.ts.map +0 -1
  657. package/dist/types/common/interfaces/VizActionHandler.d.ts.map +0 -1
  658. package/dist/types/common/interfaces/VizBehavior.d.ts.map +0 -1
  659. package/dist/types/common/interfaces/VizCategory.d.ts.map +0 -1
  660. package/dist/types/common/interfaces/VizConfig.d.ts.map +0 -1
  661. package/dist/types/common/interfaces/VizEvent.d.ts.map +0 -1
  662. package/dist/types/common/interfaces/VizProps.d.ts.map +0 -1
  663. package/dist/types/common/interfaces/VizRegistry.d.ts.map +0 -1
  664. package/dist/types/common/interfaces/VizSize.d.ts.map +0 -1
  665. package/dist/types/common/interfaces/VizStatus.d.ts.map +0 -1
  666. package/dist/types/common/interfaces/index.d.ts.map +0 -1
  667. package/dist/types/common/shapeUtils.d.ts.map +0 -1
  668. package/dist/types/common/utils/configUtils.d.ts.map +0 -1
  669. package/dist/types/common/utils/dataUtils.d.ts.map +0 -1
  670. package/dist/types/common/utils/featureFlagUtils.d.ts +0 -3
  671. package/dist/types/common/utils/featureFlagUtils.d.ts.map +0 -1
  672. package/dist/types/common/utils/hocUtils.d.ts.map +0 -1
  673. package/dist/types/common/utils/mapUtils.d.ts.map +0 -1
  674. package/dist/types/common/utils/styleUtils.d.ts +0 -2
  675. package/dist/types/common/utils/styleUtils.d.ts.map +0 -1
  676. package/dist/types/common/utils/tableUtils.d.ts +0 -3
  677. package/dist/types/common/utils/tableUtils.d.ts.map +0 -1
  678. package/dist/types/common/utils/trellisUtils.d.ts.map +0 -1
  679. package/dist/types/common/utils/urlUtils.d.ts.map +0 -1
  680. package/dist/types/common/withDashboardViz.d.ts.map +0 -1
  681. /package/{dist/types/Area → Area}/Area.d.ts +0 -0
  682. /package/{dist/types/Area → Area}/areaUtils.d.ts +0 -0
  683. /package/{dist/types/Area → Area}/config.d.ts +0 -0
  684. /package/{dist/types/Area → Area}/index.d.ts +0 -0
  685. /package/{dist/types/Bar → Bar}/Bar.d.ts +0 -0
  686. /package/{dist/types/Bar → Bar}/barUtils.d.ts +0 -0
  687. /package/{dist/types/Bar → Bar}/config.d.ts +0 -0
  688. /package/{dist/types/Bar → Bar}/index.d.ts +0 -0
  689. /package/{dist/types/Bubble → Bubble}/Bubble.d.ts +0 -0
  690. /package/{dist/types/Bubble → Bubble}/bubbleUtils.d.ts +0 -0
  691. /package/{dist/types/Bubble → Bubble}/config.d.ts +0 -0
  692. /package/{dist/types/Bubble → Bubble}/index.d.ts +0 -0
  693. /package/{dist/types/ChoroplethSvg → ChoroplethSvg}/ErrorMessage/ErrorMessage.d.ts +0 -0
  694. /package/{dist/types/ChoroplethSvg → ChoroplethSvg}/PureChoroplethSvg/PureChoroplethSvg.d.ts +0 -0
  695. /package/{dist/types/ChoroplethSvg → ChoroplethSvg}/PureChoroplethSvg/SvgChoroplethDynamic.d.ts +0 -0
  696. /package/{dist/types/ChoroplethSvg → ChoroplethSvg}/PureChoroplethSvg/SvgMutator.d.ts +0 -0
  697. /package/{dist/types/ChoroplethSvg → ChoroplethSvg}/config.d.ts +0 -0
  698. /package/{dist/types/ChoroplethSvg → ChoroplethSvg}/index.d.ts +0 -0
  699. /package/{dist/types/Column → Column}/Column.d.ts +0 -0
  700. /package/{dist/types/Column → Column}/columnUtils.d.ts +0 -0
  701. /package/{dist/types/Column → Column}/config.d.ts +0 -0
  702. /package/{dist/types/Column → Column}/index.d.ts +0 -0
  703. /package/{dist/types/Ellipse → Ellipse}/Ellipse.d.ts +0 -0
  704. /package/{dist/types/Ellipse → Ellipse}/config.d.ts +0 -0
  705. /package/{dist/types/Ellipse → Ellipse}/index.d.ts +0 -0
  706. /package/{dist/types/Events → Events}/EventUtils.d.ts +0 -0
  707. /package/{dist/types/Events → Events}/Events.d.ts +0 -0
  708. /package/{dist/types/Events → Events}/PureEvents/FieldSummaryTooltip.d.ts +0 -0
  709. /package/{dist/types/Events → Events}/PureEvents/PureEvents.d.ts +0 -0
  710. /package/{dist/types/Events → Events}/PureEvents/TimeControlsPopover.d.ts +0 -0
  711. /package/{dist/types/Events → Events}/config.d.ts +0 -0
  712. /package/{dist/types/Events → Events}/index.d.ts +0 -0
  713. /package/{dist/types/FillerGauge → FillerGauge}/FillerGauge.d.ts +0 -0
  714. /package/{dist/types/FillerGauge → FillerGauge}/PureFillerGauge/FillerGauge.d.ts +0 -0
  715. /package/{dist/types/FillerGauge → FillerGauge}/config.d.ts +0 -0
  716. /package/{dist/types/FillerGauge → FillerGauge}/index.d.ts +0 -0
  717. /package/{dist/types/Image → Image}/Image.d.ts +0 -0
  718. /package/{dist/types/Image → Image}/ImageApi.d.ts +0 -0
  719. /package/{dist/types/Image → Image}/config.d.ts +0 -0
  720. /package/{dist/types/Image → Image}/index.d.ts +0 -0
  721. /package/{dist/types/Line → Line}/Line.d.ts +0 -0
  722. /package/{dist/types/Line → Line}/config.d.ts +0 -0
  723. /package/{dist/types/Line → Line}/index.d.ts +0 -0
  724. /package/{dist/types/Line → Line}/lineUtils.d.ts +0 -0
  725. /package/{dist/types/LinkGraph → LinkGraph}/ESTestDataSources.d.ts +0 -0
  726. /package/{dist/types/LinkGraph → LinkGraph}/ESTestTemplate.d.ts +0 -0
  727. /package/{dist/types/LinkGraph → LinkGraph}/LinkGraph.d.ts +0 -0
  728. /package/{dist/types/LinkGraph → LinkGraph}/PureLinkGraph/PureLinkGraphUtils.d.ts +0 -0
  729. /package/{dist/types/LinkGraph → LinkGraph}/PureLinkGraph/components/Edges.d.ts +0 -0
  730. /package/{dist/types/LinkGraph → LinkGraph}/PureLinkGraph/components/Field.d.ts +0 -0
  731. /package/{dist/types/LinkGraph → LinkGraph}/PureLinkGraph/components/FieldStyles.d.ts +0 -0
  732. /package/{dist/types/LinkGraph → LinkGraph}/PureLinkGraph/components/GraphStyles.d.ts +0 -0
  733. /package/{dist/types/LinkGraph → LinkGraph}/PureLinkGraph/utils/iconLoader.d.ts +0 -0
  734. /package/{dist/types/LinkGraph → LinkGraph}/config.d.ts +0 -0
  735. /package/{dist/types/LinkGraph → LinkGraph}/index.d.ts +0 -0
  736. /package/{dist/types/Map → Map}/PureMap/ChoroplethLayer.d.ts +0 -0
  737. /package/{dist/types/Map → Map}/PureMap/ClusterLayer.d.ts +0 -0
  738. /package/{dist/types/Map → Map}/PureMap/LocalChoroplethLayer.d.ts +0 -0
  739. /package/{dist/types/Map → Map}/PureMap/MarkerLayer.d.ts +0 -0
  740. /package/{dist/types/Map → Map}/PureMap/MarkerWrapper.d.ts +0 -0
  741. /package/{dist/types/Map → Map}/PureMap/PureMap.d.ts +0 -0
  742. /package/{dist/types/Map → Map}/PureMap/PureMapContainer.d.ts +0 -0
  743. /package/{dist/types/Map → Map}/PureMap/Tooltip.d.ts +0 -0
  744. /package/{dist/types/Map → Map}/config.d.ts +0 -0
  745. /package/{dist/types/Map → Map}/index.d.ts +0 -0
  746. /package/{dist/types/Markdown → Markdown}/Markdown.d.ts +0 -0
  747. /package/{dist/types/Markdown → Markdown}/config.d.ts +0 -0
  748. /package/{dist/types/Markdown → Markdown}/index.d.ts +0 -0
  749. /package/{dist/types/MarkerGauge → MarkerGauge}/config.d.ts +0 -0
  750. /package/{dist/types/MarkerGauge → MarkerGauge}/index.d.ts +0 -0
  751. /package/{dist/types/ParallelCoordinates → NetworkGraph}/config.d.ts +0 -0
  752. /package/{dist/types/ParallelCoordinates → ParallelCoordinates}/ParallelCoordinates.d.ts +0 -0
  753. /package/{dist/types/ParallelCoordinates → ParallelCoordinates}/PureParallelCoordinates/PureParallelCoordinates.d.ts +0 -0
  754. /package/{dist/types/ParallelCoordinates → ParallelCoordinates}/PureParallelCoordinates/src/ParallelCoordinatesCanvas.d.ts +0 -0
  755. /package/{dist/types/ParallelCoordinates → ParallelCoordinates}/PureParallelCoordinates/src/ParallelCoordinatesChart.d.ts +0 -0
  756. /package/{dist/types/ParallelCoordinates → ParallelCoordinates}/PureParallelCoordinates/src/ParallelCoordinatesPrompt.d.ts +0 -0
  757. /package/{dist/types/Pie → ParallelCoordinates}/config.d.ts +0 -0
  758. /package/{dist/types/ParallelCoordinates → ParallelCoordinates}/index.d.ts +0 -0
  759. /package/{dist/types/ParallelCoordinates → ParallelCoordinates}/mockdata/arrayValueData.d.ts +0 -0
  760. /package/{dist/types/ParallelCoordinates → ParallelCoordinates}/mockdata/sampleCarData.d.ts +0 -0
  761. /package/{dist/types/ParallelCoordinates → ParallelCoordinates}/mockdata/sampleCarNumericalData.d.ts +0 -0
  762. /package/{dist/types/ParallelCoordinates → ParallelCoordinates}/mockdata/sampleFoodData.d.ts +0 -0
  763. /package/{dist/types/ParallelCoordinates → ParallelCoordinates}/mockdata/sampleStringNumericalData.d.ts +0 -0
  764. /package/{dist/types/Pie → Pie}/Pie.d.ts +0 -0
  765. /package/{dist/types/Punchcard → Pie}/config.d.ts +0 -0
  766. /package/{dist/types/Pie → Pie}/index.d.ts +0 -0
  767. /package/{dist/types/Pie → Pie}/pieUtils.d.ts +0 -0
  768. /package/{dist/types/Punchcard → Punchcard}/Punchcard.d.ts +0 -0
  769. /package/{dist/types/Punchcard → Punchcard}/PurePunchcard/Punchcard.d.ts +0 -0
  770. /package/{dist/types/Punchcard → Punchcard}/PurePunchcard/src/PunchcardAxis.d.ts +0 -0
  771. /package/{dist/types/Punchcard → Punchcard}/PurePunchcard/src/PunchcardBubble.d.ts +0 -0
  772. /package/{dist/types/Punchcard → Punchcard}/PurePunchcard/src/PunchcardChartArea.d.ts +0 -0
  773. /package/{dist/types/Punchcard → Punchcard}/PurePunchcard/src/PunchcardGridLines.d.ts +0 -0
  774. /package/{dist/types/Punchcard → Punchcard}/PurePunchcard/src/PunchcardLegend.d.ts +0 -0
  775. /package/{dist/types/Punchcard → Punchcard}/PurePunchcard/src/PunchcardRow.d.ts +0 -0
  776. /package/{dist/types/Punchcard → Punchcard}/PurePunchcard/src/utils/punchcardUtils.d.ts +0 -0
  777. /package/{dist/types/Rectangle → Punchcard}/config.d.ts +0 -0
  778. /package/{dist/types/Punchcard → Punchcard}/index.d.ts +0 -0
  779. /package/{dist/types/Punchcard → Punchcard}/punchcardUtils.d.ts +0 -0
  780. /package/{dist/types/Rectangle → Rectangle}/Rectangle.d.ts +0 -0
  781. /package/{dist/types/Sankey → Rectangle}/config.d.ts +0 -0
  782. /package/{dist/types/Rectangle → Rectangle}/index.d.ts +0 -0
  783. /package/{dist/types/Sankey → Sankey}/PureSankey/PureSankey.d.ts +0 -0
  784. /package/{dist/types/Sankey → Sankey}/PureSankey/SankeyLink.d.ts +0 -0
  785. /package/{dist/types/Sankey → Sankey}/PureSankey/SankeyModels.d.ts +0 -0
  786. /package/{dist/types/Sankey → Sankey}/PureSankey/SankeyNode.d.ts +0 -0
  787. /package/{dist/types/Sankey → Sankey}/PureSankey/SankeyTooltip.d.ts +0 -0
  788. /package/{dist/types/Sankey → Sankey}/PureSankey/SankeyUtils.d.ts +0 -0
  789. /package/{dist/types/Sankey → Sankey}/PureSankey/mockdata/data.d.ts +0 -0
  790. /package/{dist/types/Sankey → Sankey}/Sankey.d.ts +0 -0
  791. /package/{dist/types/Scatter → Sankey}/config.d.ts +0 -0
  792. /package/{dist/types/Sankey → Sankey}/index.d.ts +0 -0
  793. /package/{dist/types/Scatter → Scatter}/Scatter.d.ts +0 -0
  794. /package/{dist/types/SingleValue → Scatter}/config.d.ts +0 -0
  795. /package/{dist/types/Scatter → Scatter}/index.d.ts +0 -0
  796. /package/{dist/types/Scatter → Scatter}/mockdata/data.d.ts +0 -0
  797. /package/{dist/types/Scatter → Scatter}/scatterUtils.d.ts +0 -0
  798. /package/{dist/types/SingleValue → SingleValue}/SingleValue.d.ts +0 -0
  799. /package/{dist/types/SingleValueIcon → SingleValue}/config.d.ts +0 -0
  800. /package/{dist/types/SingleValue → SingleValue}/index.d.ts +0 -0
  801. /package/{dist/types/SingleValueBasic → SingleValueBasic}/index.d.ts +0 -0
  802. /package/{dist/types/SingleValueIcon → SingleValueIcon}/SingleValueIcon.d.ts +0 -0
  803. /package/{dist/types/SingleValueRadial → SingleValueIcon}/config.d.ts +0 -0
  804. /package/{dist/types/SingleValueIcon → SingleValueIcon}/index.d.ts +0 -0
  805. /package/{dist/types/SingleValueRadial → SingleValueRadial}/PureSingleValueRadial/GaugeGraph.d.ts +0 -0
  806. /package/{dist/types/SingleValueRadial → SingleValueRadial}/SingleValueRadial.d.ts +0 -0
  807. /package/{dist/types/Table → SingleValueRadial}/config.d.ts +0 -0
  808. /package/{dist/types/SingleValueRadial → SingleValueRadial}/index.d.ts +0 -0
  809. /package/{dist/types/SparkLine → SparkLine}/index.d.ts +0 -0
  810. /package/{dist/types/Table → Table}/cells/ArrayCell.d.ts +0 -0
  811. /package/{dist/types/Table → Table}/cells/SparklineCell.d.ts +0 -0
  812. /package/{dist/types/Table → Table}/cells/SwitchTableCell.d.ts +0 -0
  813. /package/{dist/types/Table → Table}/cells/TextCell.d.ts +0 -0
  814. /package/{dist/types/Table → Table}/cells/index.d.ts +0 -0
  815. /package/{dist/types/Timeline → Table}/config.d.ts +0 -0
  816. /package/{dist/types/Table → Table}/index.d.ts +0 -0
  817. /package/{dist/types/Timeline → Timeline}/PureTimeline/PureTimeline.d.ts +0 -0
  818. /package/{dist/types/Timeline → Timeline}/PureTimeline/src/CursorPlugin.d.ts +0 -0
  819. /package/{dist/types/Timeline → Timeline}/PureTimeline/src/TimelineLegend.d.ts +0 -0
  820. /package/{dist/types/Timeline → Timeline}/PureTimeline/src/TimelineTooltip.d.ts +0 -0
  821. /package/{dist/types/Timeline → Timeline}/PureTimeline/src/TimelineUplot.d.ts +0 -0
  822. /package/{dist/types/Timeline → Timeline}/PureTimeline/src/TimelineYAxis.d.ts +0 -0
  823. /package/{dist/types/Timeline → Timeline}/Timeline.d.ts +0 -0
  824. /package/{dist/types/Timeline → Timeline}/index.d.ts +0 -0
  825. /package/{dist/types/Timeline → Timeline}/mockdata/basicTimelineData.d.ts +0 -0
  826. /package/{dist/types/Timeline → Timeline}/mockdata/categoricalTimelineData.d.ts +0 -0
  827. /package/{dist/types/Timeline → Timeline}/mockdata/timelineDataSource.d.ts +0 -0
  828. /package/{dist/types/common → common}/ChartingApi.d.ts +0 -0
  829. /package/{dist/types/common → common}/DocExampleWithVizSandbox.d.ts +0 -0
  830. /package/{dist/types/common → common}/OverviewDoc.d.ts +0 -0
  831. /package/{dist/types/common → common}/SplunkVisualization.d.ts +0 -0
  832. /package/{dist/types/common → common}/SplunkVisualizationApi.d.ts +0 -0
  833. /package/{dist/types/common → common}/ThemedDefaults.d.ts +0 -0
  834. /package/{dist/types/common → common}/components/IconPlaceholder.d.ts +0 -0
  835. /package/{dist/types/common → common}/components/MissingPropsMessage.d.ts +0 -0
  836. /package/{dist/types/common → common}/components/TrellisTitle.d.ts +0 -0
  837. /package/{dist/types/common → common}/configContext/singleValueContext.d.ts +0 -0
  838. /package/{dist/types/common → common}/docUtils.d.ts +0 -0
  839. /package/{dist/types/common → common}/editorConfig/AxesChartColorAndStyle.d.ts +0 -0
  840. /package/{dist/types/common → common}/editorConfig/AxesChartDataConfig.d.ts +0 -0
  841. /package/{dist/types/common → common}/editorConfig/AxesChartDataDisplay.d.ts +0 -0
  842. /package/{dist/types/common → common}/editorConfig/AxesChartLegend.d.ts +0 -0
  843. /package/{dist/types/common → common}/editorConfig/AxesChartXGridAndLabels.d.ts +0 -0
  844. /package/{dist/types/common → common}/editorConfig/AxesChartY2GridAndLabels.d.ts +0 -0
  845. /package/{dist/types/common → common}/editorConfig/AxesChartYGridAndLabels.d.ts +0 -0
  846. /package/{dist/types/common → common}/editorConfig/BackgroundColor.d.ts +0 -0
  847. /package/{dist/types/common → common}/editorConfig/DynamicFillColorEditor.d.ts +0 -0
  848. /package/{dist/types/common → common}/editorConfig/DynamicGaugeColorEditor.d.ts +0 -0
  849. /package/{dist/types/common → common}/editorConfig/DynamicStrokeColorEditor.d.ts +0 -0
  850. /package/{dist/types/common → common}/editorConfig/Gauge.d.ts +0 -0
  851. /package/{dist/types/common → common}/editorConfig/Legend.d.ts +0 -0
  852. /package/{dist/types/common → common}/editorConfig/RadialBackgroundColor.d.ts +0 -0
  853. /package/{dist/types/common → common}/editorConfig/StaticFillColorEditor.d.ts +0 -0
  854. /package/{dist/types/common → common}/editorConfig/StaticGaugeColorEditor.d.ts +0 -0
  855. /package/{dist/types/common → common}/editorConfig/StaticStrokeColorEditor.d.ts +0 -0
  856. /package/{dist/types/common → common}/editorConfig/TrellisEditors.d.ts +0 -0
  857. /package/{dist/types/common → common}/gaugeUtils.d.ts +0 -0
  858. /package/{dist/types/common → common}/hocs/FixedSizeContainer.d.ts +0 -0
  859. /package/{dist/types/common → common}/hocs/mockdata/trellisData.d.ts +0 -0
  860. /package/{dist/types/common → common}/hocs/withEditModeCover.d.ts +0 -0
  861. /package/{dist/types/common → common}/hocs/withPlaceholder.d.ts +0 -0
  862. /package/{dist/types/common → common}/hocs/withTrellis.d.ts +0 -0
  863. /package/{dist/types/common → common}/hooks/useDeepMemo.d.ts +0 -0
  864. /package/{dist/types/common → common}/hooks/useDownsampleDataSources.d.ts +0 -0
  865. /package/{dist/types/common → common}/hooks/useEventCallback.d.ts +0 -0
  866. /package/{dist/types/common → common}/hooks/useGetXAndYFields.d.ts +0 -0
  867. /package/{dist/types/common → common}/hooks/usePagination.d.ts +0 -0
  868. /package/{dist/types/common → common}/hooks/usePrevious.d.ts +0 -0
  869. /package/{dist/types/common → common}/hooks/useSorting.d.ts +0 -0
  870. /package/{dist/types/common → common}/hooks/useTrellisEnabled.d.ts +0 -0
  871. /package/{dist/types/common → common}/interfaces/ChartEvent.d.ts +0 -0
  872. /package/{dist/types/common → common}/interfaces/DataContract.d.ts +0 -0
  873. /package/{dist/types/common → common}/interfaces/DefaultContext.d.ts +0 -0
  874. /package/{dist/types/common → common}/interfaces/Editor.d.ts +0 -0
  875. /package/{dist/types/common → common}/interfaces/ExtendedDashViz.d.ts +0 -0
  876. /package/{dist/types/common → common}/interfaces/Object.d.ts +0 -0
  877. /package/{dist/types/common → common}/interfaces/Overview.d.ts +0 -0
  878. /package/{dist/types/common → common}/interfaces/ThemedDefaults.d.ts +0 -0
  879. /package/{dist/types/common → common}/interfaces/VizActionHandler.d.ts +0 -0
  880. /package/{dist/types/common → common}/interfaces/VizBehavior.d.ts +0 -0
  881. /package/{dist/types/common → common}/interfaces/VizCategory.d.ts +0 -0
  882. /package/{dist/types/common → common}/interfaces/VizConfig.d.ts +0 -0
  883. /package/{dist/types/common → common}/interfaces/VizEvent.d.ts +0 -0
  884. /package/{dist/types/common → common}/interfaces/VizProps.d.ts +0 -0
  885. /package/{dist/types/common → common}/interfaces/VizRegistry.d.ts +0 -0
  886. /package/{dist/types/common → common}/interfaces/VizSize.d.ts +0 -0
  887. /package/{dist/types/common → common}/interfaces/VizStatus.d.ts +0 -0
  888. /package/{dist/types/common → common}/interfaces/index.d.ts +0 -0
  889. /package/{dist/types/common → common}/shapeUtils.d.ts +0 -0
  890. /package/{dist/types/common → common}/utils/configUtils.d.ts +0 -0
  891. /package/{dist/types/common → common}/utils/dataUtils.d.ts +0 -0
  892. /package/{dist/types/common → common}/utils/hocUtils.d.ts +0 -0
  893. /package/{dist/types/common → common}/utils/mapUtils.d.ts +0 -0
  894. /package/{dist/types/common → common}/utils/trellisUtils.d.ts +0 -0
  895. /package/{dist/types/common → common}/utils/urlUtils.d.ts +0 -0
package/Events.js CHANGED
@@ -489,7 +489,7 @@ var Cover = styled_components_default.div`
489
489
  bottom: 0;
490
490
  `;
491
491
  var Blocker = styled_components_default.div.attrs({
492
- "data-splunk-visualization-version": "28.2.3 - f147a8bda"
492
+ "data-splunk-visualization-version": "28.4.0 - 002bd482f"
493
493
  })`
494
494
  position: relative;
495
495
  width: 100%;
@@ -588,7 +588,7 @@ var withFixedSizeContainer = (Viz) => {
588
588
  FixSizeItem,
589
589
  {
590
590
  "data-test": "fix-size-item",
591
- "data-splunk-visualization-version": "28.2.3 - f147a8bda",
591
+ "data-splunk-visualization-version": "28.4.0 - 002bd482f",
592
592
  width,
593
593
  height,
594
594
  backgroundColor
@@ -690,7 +690,7 @@ var convertToArrOfObjects = (columns, fields) => {
690
690
  for (let i = 0; i < columns[0].length; i += 1) {
691
691
  const newObj = {};
692
692
  fields.forEach((field, index) => {
693
- const fieldName = typeof field === "string" ? field : field.name;
693
+ const fieldName = getFieldName(field);
694
694
  if (columns[index][i] === "") {
695
695
  newObj[fieldName] = null;
696
696
  } else {
@@ -701,6 +701,7 @@ var convertToArrOfObjects = (columns, fields) => {
701
701
  }
702
702
  return data;
703
703
  };
704
+ var getFieldName = (field) => typeof field === "string" ? field : field.name;
704
705
  var largestTriangleThreeBuckets = (data, threshold, preferredDownsampleIndices) => {
705
706
  const dataLength = data.length;
706
707
  const downsampledIndices = [];
@@ -817,9 +818,9 @@ var tryToCoerceAllDisplayedFields = (ds, xField, yFields, fieldTypes, options) =
817
818
  let xColumn = [];
818
819
  const yColumns = [];
819
820
  const canDownsample = !ds.data.fields.some((field, index) => {
820
- var _a, _b;
821
- const fieldName = (_a = field.name) != null ? _a : field;
822
- const fieldType = (_b = fieldTypes[index]) != null ? _b : "unknown";
821
+ var _a;
822
+ const fieldName = getFieldName(field);
823
+ const fieldType = (_a = fieldTypes[index]) != null ? _a : "unknown";
823
824
  const column = ds.data.columns[index];
824
825
  let hasDisplayedColumnThatCantBeDownsampled = false;
825
826
  if (fieldName === xField) {
@@ -1159,14 +1160,29 @@ var getAnnotationsForCanvas = ({
1159
1160
  var StyledTriangle = styled_components_default(Triangle_default)`
1160
1161
  color: ${(props) => props.eventColor || variables_default.severityColorNotice(props)};
1161
1162
  `;
1162
- var triangleEventAnnotationRenderer = ({ event }) => {
1163
+ var triangleEventAnnotationRenderer = ({
1164
+ event,
1165
+ dimensions
1166
+ }) => {
1163
1167
  const eventWithColor = event;
1164
1168
  return react_default.createElement(StyledTriangle, {
1169
+ width: `${dimensions.width}px`,
1170
+ height: `${dimensions.height}px`,
1165
1171
  viewBox: "0 0 24 24",
1166
1172
  variant: "filled",
1167
1173
  eventColor: eventWithColor.color
1168
1174
  });
1169
1175
  };
1176
+ var shouldEnableSearchZoom = (eventHandlers = [], xField = "") => {
1177
+ const rangeSelectEventHandler = eventHandlers.find(
1178
+ (eventHandler) => {
1179
+ var _a;
1180
+ return (_a = eventHandler.options.events) == null ? void 0 : _a.includes("range.select");
1181
+ }
1182
+ );
1183
+ const xAxisIsTime = xField === "_time";
1184
+ return !!rangeSelectEventHandler && xAxisIsTime;
1185
+ };
1170
1186
  var canvasSupportedTimeSeriesCharts = ["splunk.line"];
1171
1187
  var isTimeSeriesCanvasRenderSupported = (vizConfigKey) => {
1172
1188
  return canvasSupportedTimeSeriesCharts.indexOf(vizConfigKey) > -1;
@@ -1187,16 +1203,31 @@ var filterChartDataFromInternalFields = (chartData) => {
1187
1203
  var convert2DArrayToNumbers = (arr) => {
1188
1204
  return arr.map((subArray) => subArray.map((element) => parseFloat(element)));
1189
1205
  };
1206
+ var parseAxisValue = (val) => {
1207
+ if (val === void 0 || val === null || val === "auto" || val === "") {
1208
+ return void 0;
1209
+ }
1210
+ const num = typeof val === "number" ? val : Number.parseFloat(val);
1211
+ return Number.isNaN(num) ? void 0 : num;
1212
+ };
1190
1213
  var SideLegendWidth = 75;
1191
- var commonLegendProps = { center: true, fontSize: 12, largerTiles: true, hideSeriesValue: true };
1214
+ var SeriesCompareLegendWidth = 200;
1192
1215
  var getLegend = (props) => {
1193
1216
  const legendPlacement = props == null ? void 0 : props.legendDisplay;
1217
+ const { isSeriesCompare } = props;
1218
+ const commonLegendProps = {
1219
+ center: true,
1220
+ fontSize: 12,
1221
+ largerTiles: true,
1222
+ hideSeriesValue: !isSeriesCompare
1223
+ // Show values if in seriesCompare mode
1224
+ };
1194
1225
  switch (legendPlacement) {
1195
1226
  case "off":
1196
1227
  return false;
1197
1228
  case "left":
1198
1229
  return (0, visualization_canvas_exports.LeftLegendFactory)(__spreadValues({
1199
- width: SideLegendWidth
1230
+ width: isSeriesCompare ? SeriesCompareLegendWidth : SideLegendWidth
1200
1231
  }, commonLegendProps));
1201
1232
  case "bottom":
1202
1233
  return (0, visualization_canvas_exports.BottomLegendFactory)(__spreadValues({
@@ -1208,7 +1239,7 @@ var getLegend = (props) => {
1208
1239
  }, commonLegendProps));
1209
1240
  default:
1210
1241
  return (0, visualization_canvas_exports.SideLegendFactory)(__spreadValues({
1211
- width: SideLegendWidth
1242
+ width: isSeriesCompare ? SeriesCompareLegendWidth : SideLegendWidth
1212
1243
  }, commonLegendProps));
1213
1244
  }
1214
1245
  };
@@ -1244,19 +1275,25 @@ var ellipsisAxisTitle = (axisTitle, containerSpacing, fontSize = 12) => {
1244
1275
  const end = axisTitle.slice(-halfChars);
1245
1276
  return `${start}...${end}`;
1246
1277
  };
1247
- var getFieldName = (field) => {
1278
+ var getFieldName2 = (field) => {
1248
1279
  const fieldName = typeof field === "object" ? field == null ? void 0 : field.name : field;
1249
1280
  return fieldName;
1250
1281
  };
1251
1282
  var getFieldNames = (fields) => {
1252
- return fields.map((field) => getFieldName(field));
1283
+ return fields.map((field) => getFieldName2(field));
1253
1284
  };
1254
- var getXScaleConfig = (label) => {
1285
+ var getXScaleConfig = (label, xAxisLabelVisibility, xAxisLabelRotation) => {
1255
1286
  const xConfig = { x: {} };
1256
1287
  xConfig.x.label = label;
1288
+ if (xAxisLabelVisibility === "hide") {
1289
+ xConfig.x.hideLabels = true;
1290
+ }
1291
+ if (xAxisLabelRotation !== void 0) {
1292
+ xConfig.x.labelRotation = xAxisLabelRotation;
1293
+ }
1257
1294
  return xConfig;
1258
1295
  };
1259
- var getYScaleConfig = (label, yAxisAbbreviation, yAxisScale) => {
1296
+ var getYScaleConfig = (label, yAxisAbbreviation, yAxisScale, yAxisLabelVisibility, yAxisMin, yAxisMax) => {
1260
1297
  const scaleType = yAxisScale != null ? yAxisScale : "linear";
1261
1298
  const yConfig = { y: {} };
1262
1299
  yConfig.y.label = label;
@@ -1269,23 +1306,42 @@ var getYScaleConfig = (label, yAxisAbbreviation, yAxisScale) => {
1269
1306
  } else {
1270
1307
  yConfig.y.width = label && label.length > 0 ? 30 : 10;
1271
1308
  }
1309
+ if (yAxisLabelVisibility === "hide") {
1310
+ yConfig.y.hideLabels = true;
1311
+ }
1312
+ if (yAxisMin !== void 0 || yAxisMax !== void 0) {
1313
+ yConfig.y.range = (u, dataMin, dataMax) => {
1314
+ const min = yAxisMin != null ? yAxisMin : dataMin;
1315
+ const max = yAxisMax != null ? yAxisMax : dataMax;
1316
+ return [min, max];
1317
+ };
1318
+ }
1272
1319
  return yConfig;
1273
1320
  };
1274
- var getY2ScaleConfig = (label, axisAbbreviation, axisScale, roundAxisLabelsToInteger) => {
1321
+ var getY2ScaleConfig = (label, axisAbbreviation, axisScale, roundAxisLabelsToInteger, y2AxisLabelVisibility, y2AxisMin, y2AxisMax) => {
1275
1322
  const y2Config = { y2: {} };
1276
1323
  const scaleType = axisScale != null ? axisScale : "linear";
1277
1324
  y2Config.y2.label = label;
1278
1325
  y2Config.y2.side = "right";
1279
- y2Config.y2.showGrid = false;
1280
1326
  y2Config.y2.type = scaleType;
1281
1327
  if (axisAbbreviation !== "none") {
1282
1328
  y2Config.y2.tickFmt = (v) => (0, visualization_canvas_exports.shortenNumber)(v, 1, roundAxisLabelsToInteger);
1283
1329
  } else if (roundAxisLabelsToInteger) {
1284
1330
  y2Config.y2.tickFmt = (v) => roundAxisLabelsToInteger ? Math.round(v).toString() : v.toString();
1285
1331
  }
1332
+ if (y2AxisLabelVisibility === "hide") {
1333
+ y2Config.y2.hideLabels = true;
1334
+ }
1335
+ if (y2AxisMin !== void 0 || y2AxisMax !== void 0) {
1336
+ y2Config.y2.range = (u, dataMin, dataMax) => {
1337
+ const min = y2AxisMin != null ? y2AxisMin : dataMin;
1338
+ const max = y2AxisMax != null ? y2AxisMax : dataMax;
1339
+ return [min, max];
1340
+ };
1341
+ }
1286
1342
  return y2Config;
1287
1343
  };
1288
- var getSeriesOverrides = (yfields, y2fields, lineWidth, overlayFields, y2Enabled, nullValueMode) => {
1344
+ var getSeriesOverrides = (yfields, y2fields, lineWidth, overlayFields, y2Enabled, nullValueMode, markerDisplay, lineDashStyle, lineDashStylesByField) => {
1289
1345
  const seriesConfig = {};
1290
1346
  let spanGaps;
1291
1347
  let replaceNullsWithZero;
@@ -1317,12 +1373,99 @@ var getSeriesOverrides = (yfields, y2fields, lineWidth, overlayFields, y2Enabled
1317
1373
  if (overlayFields == null ? void 0 : overlayFields.includes(field)) {
1318
1374
  seriesConfig[field].type = "line";
1319
1375
  }
1376
+ if (markerDisplay !== void 0) {
1377
+ seriesConfig[field].markerDisplay = markerDisplay;
1378
+ }
1379
+ const fieldDashStyle = (lineDashStylesByField == null ? void 0 : lineDashStylesByField[field]) || lineDashStyle;
1380
+ if (fieldDashStyle) {
1381
+ seriesConfig[field].lineDashStyle = fieldDashStyle;
1382
+ }
1320
1383
  if (replaceNullsWithZero !== void 0) {
1321
1384
  seriesConfig[field].replaceNullsWithZero = replaceNullsWithZero;
1322
1385
  }
1323
1386
  });
1324
1387
  return seriesConfig;
1325
1388
  };
1389
+ var findRangeIndices = (xData, startValue, endValue) => {
1390
+ let startXIndex = -1;
1391
+ let endXIndex = -1;
1392
+ const xDataEpoch = xData.map((val) => {
1393
+ if (typeof val === "string") {
1394
+ return new Date(val).getTime() / 1e3;
1395
+ }
1396
+ return val;
1397
+ });
1398
+ for (let i = 0; i < xDataEpoch.length; i += 1) {
1399
+ if (xDataEpoch[i] >= startValue) {
1400
+ startXIndex = i;
1401
+ break;
1402
+ }
1403
+ }
1404
+ if (startXIndex === -1 && xDataEpoch.length > 0) {
1405
+ startXIndex = xDataEpoch.length - 1;
1406
+ }
1407
+ for (let i = xDataEpoch.length - 1; i >= 0; i -= 1) {
1408
+ if (xDataEpoch[i] <= endValue) {
1409
+ endXIndex = i;
1410
+ break;
1411
+ }
1412
+ }
1413
+ if (endXIndex === -1 && xDataEpoch.length > 0) {
1414
+ endXIndex = 0;
1415
+ }
1416
+ return { startXIndex, endXIndex };
1417
+ };
1418
+
1419
+ // esm-externals:@splunk/visualization-schemas
1420
+ var visualization_schemas_exports = {};
1421
+ __export(visualization_schemas_exports, {
1422
+ default: () => visualization_schemas_default
1423
+ });
1424
+ var defaultImport27 = __toESM(require("@splunk/visualization-schemas"));
1425
+ __reExport(visualization_schemas_exports, require("@splunk/visualization-schemas"));
1426
+ var visualization_schemas_default = "default" in defaultImport27 ? defaultImport27.default : defaultImport27;
1427
+
1428
+ // src/common/hooks/useTrellisEnabled.ts
1429
+ var useTrellisFeatureFlagOn = () => {
1430
+ const context = (0, react_exports.useContext)(FeatureFlagContext_default);
1431
+ return Boolean(context == null ? void 0 : context.visualizations_enableTrellis);
1432
+ };
1433
+ var useTrellisEnabled = (layoutType = visualization_schemas_exports.LAYOUT_TYPE.Off) => {
1434
+ const trellisFeatureEnabled = useTrellisFeatureFlagOn();
1435
+ return trellisFeatureEnabled && layoutType === visualization_schemas_exports.LAYOUT_TYPE.Trellis;
1436
+ };
1437
+
1438
+ // src/common/components/TrellisTitle.tsx
1439
+ var TRELLIS_TITLE_HEIGHT = 28;
1440
+ var TrellisTitleText = styled_components_default.div`
1441
+ margin-left: 10px;
1442
+ margin-right: 10px;
1443
+ padding-top: 8px;
1444
+ text-overflow: ellipsis;
1445
+ white-space: nowrap;
1446
+ overflow: hidden;
1447
+ `;
1448
+ var TrellisTitleDiv = styled_components_default.div`
1449
+ height: ${TRELLIS_TITLE_HEIGHT}px;
1450
+ font-size: 14px;
1451
+ font-weight: 700;
1452
+ color: ${(props) => props.fontColor};
1453
+ background-color: ${(props) => props.backgroundColor};
1454
+ 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.
1455
+ `;
1456
+ var TrellisTitle = (props) => {
1457
+ const titleText = String(props.trellisKey).toString();
1458
+ return /* @__PURE__ */ react_exports.createElement(
1459
+ TrellisTitleDiv,
1460
+ {
1461
+ fontColor: props.fontColor,
1462
+ backgroundColor: props.backgroundColor,
1463
+ "data-test": "trellis-title",
1464
+ title: titleText
1465
+ },
1466
+ /* @__PURE__ */ react_exports.createElement(TrellisTitleText, null, titleText)
1467
+ );
1468
+ };
1326
1469
 
1327
1470
  // src/common/TimeSeriesChartWrapper.tsx
1328
1471
  var TimeSeriesChartContainer = styled_components_default.div`
@@ -1333,45 +1476,190 @@ var TimeSeriesChartContainer = styled_components_default.div`
1333
1476
  position: absolute !important; // This is needed for canvas element export pdf/png to work correctly
1334
1477
  }
1335
1478
  `;
1336
- var handleClick = (chartEvent, props) => {
1479
+ var appendTrellisToPayload = (payload, trellisKey, trellisSplitBy) => {
1480
+ const result = __spreadValues({}, payload);
1481
+ if (trellisSplitBy) {
1482
+ result["trellis.name"] = trellisSplitBy;
1483
+ }
1484
+ if (trellisKey) {
1485
+ result["trellis.value"] = trellisKey;
1486
+ }
1487
+ return result;
1488
+ };
1489
+ var hasMouseoverPayloadChanged = (currentPayload, previousPayload) => {
1490
+ if (!previousPayload) {
1491
+ return true;
1492
+ }
1493
+ if (currentPayload.index !== previousPayload.index) {
1494
+ return true;
1495
+ }
1496
+ if (currentPayload.seriesIndex !== previousPayload.seriesIndex) {
1497
+ return true;
1498
+ }
1499
+ if (currentPayload["trellis.name"] !== previousPayload["trellis.name"]) {
1500
+ return true;
1501
+ }
1502
+ if (currentPayload["trellis.value"] !== previousPayload["trellis.value"]) {
1503
+ return true;
1504
+ }
1505
+ return false;
1506
+ };
1507
+ var handleClick = (chartEvent, onClick, trellisKey, trellisSplitBy) => {
1337
1508
  const payload = __spreadProps(__spreadValues({}, (0, lodash_exports.pick)(chartEvent, "value", "seriesKey")), {
1338
1509
  name: chartEvent.seriesKey
1339
1510
  });
1340
1511
  delete payload.seriesKey;
1341
- const clickHandler = props == null ? void 0 : props.onClick;
1342
- if (clickHandler) {
1343
- clickHandler({
1512
+ if (chartEvent.rowContext) {
1513
+ Object.assign(
1514
+ payload,
1515
+ Object.keys(chartEvent.rowContext).reduce((acc, fieldName) => {
1516
+ acc[`row.${fieldName}.value`] = chartEvent.rowContext[fieldName];
1517
+ return acc;
1518
+ }, {})
1519
+ );
1520
+ }
1521
+ const updatedPayload = appendTrellisToPayload(payload, trellisKey, trellisSplitBy);
1522
+ if (onClick) {
1523
+ onClick({
1344
1524
  type: "point.click",
1345
1525
  originalEvent: chartEvent,
1346
- payload
1526
+ payload: updatedPayload
1347
1527
  });
1348
1528
  }
1349
1529
  };
1350
- var handleLegendClick = (chartEvent, props) => {
1530
+ var handleLegendClick = (chartEvent, onClick, trellisKey, trellisSplitBy) => {
1351
1531
  const payload = {
1352
1532
  name: chartEvent
1353
1533
  };
1354
- const clickHandler = props == null ? void 0 : props.onClick;
1355
- if (clickHandler) {
1356
- clickHandler({
1534
+ const updatedPayload = appendTrellisToPayload(payload, trellisKey, trellisSplitBy);
1535
+ if (onClick) {
1536
+ onClick({
1357
1537
  type: "legend.click",
1358
1538
  originalEvent: chartEvent,
1359
- payload
1539
+ payload: updatedPayload
1540
+ });
1541
+ }
1542
+ };
1543
+ var handleRangeSelection = (rangeEvent, onSelect, chartData, trellisKey, trellisSplitBy) => {
1544
+ var _a;
1545
+ if (!rangeEvent) {
1546
+ return;
1547
+ }
1548
+ const xData = ((_a = chartData == null ? void 0 : chartData.columns) == null ? void 0 : _a[0]) || [];
1549
+ const { startXIndex, endXIndex } = findRangeIndices(xData, rangeEvent.start, rangeEvent.end);
1550
+ const payload = {
1551
+ startXIndex,
1552
+ startXValue: rangeEvent.start,
1553
+ endXIndex,
1554
+ endXValue: rangeEvent.end
1555
+ };
1556
+ const updatedPayload = appendTrellisToPayload(payload, trellisKey, trellisSplitBy);
1557
+ if (onSelect) {
1558
+ onSelect({
1559
+ type: "range.selectBeforeZoom",
1560
+ originalEvent: rangeEvent,
1561
+ payload: updatedPayload
1360
1562
  });
1361
1563
  }
1362
1564
  };
1565
+ var handleRangeZoom = (rangeEvent, onSelect, chartData, trellisKey, trellisSplitBy) => {
1566
+ var _a;
1567
+ const xData = ((_a = chartData == null ? void 0 : chartData.columns) == null ? void 0 : _a[0]) || [];
1568
+ const { startXIndex, endXIndex } = findRangeIndices(xData, rangeEvent.start, rangeEvent.end);
1569
+ const payload = {
1570
+ startXIndex,
1571
+ startXValue: rangeEvent.start,
1572
+ endXIndex,
1573
+ endXValue: rangeEvent.end
1574
+ };
1575
+ const updatedPayload = appendTrellisToPayload(payload, trellisKey, trellisSplitBy);
1576
+ if (onSelect) {
1577
+ onSelect({
1578
+ type: "range.select",
1579
+ originalEvent: rangeEvent,
1580
+ payload: updatedPayload
1581
+ });
1582
+ }
1583
+ };
1584
+ var parseArrayOption = (value) => {
1585
+ if (Array.isArray(value)) {
1586
+ return value;
1587
+ }
1588
+ if (value) {
1589
+ return JSON.parse(value);
1590
+ }
1591
+ return void 0;
1592
+ };
1363
1593
  var TimeSeriesChartWrapper = (props) => {
1364
- const { width, height, chartData, options, userLocale, annotationX, annotationLabel, annotationColor } = props;
1365
- const {
1594
+ var _b, _c, _d;
1595
+ const _a = props, {
1596
+ width,
1597
+ height,
1598
+ chartData,
1599
+ options,
1600
+ userLocale,
1601
+ annotationX,
1602
+ annotationLabel,
1603
+ annotationColor,
1604
+ legendDisplay,
1605
+ markerDisplay,
1606
+ onClick,
1607
+ onPointMouseOver,
1608
+ onPointMouseOut,
1609
+ onSelect,
1610
+ splitByLayout,
1611
+ trellisKey,
1612
+ trellisSplitBy,
1366
1613
  backgroundColor,
1614
+ defaultFontColor,
1615
+ additionalTooltipValues,
1616
+ showYAxisWithZero: showYAxisWithZeroFromProps,
1617
+ showY2AxisWithZero: showY2AxisWithZeroFromProps
1618
+ } = _a, otherOptions = __objRest(_a, [
1619
+ "width",
1620
+ "height",
1621
+ "chartData",
1622
+ "options",
1623
+ "userLocale",
1624
+ "annotationX",
1625
+ "annotationLabel",
1626
+ "annotationColor",
1627
+ "legendDisplay",
1628
+ "markerDisplay",
1629
+ "onClick",
1630
+ "onPointMouseOver",
1631
+ "onPointMouseOut",
1632
+ "onSelect",
1633
+ "splitByLayout",
1634
+ "trellisKey",
1635
+ "trellisSplitBy",
1636
+ "backgroundColor",
1637
+ "defaultFontColor",
1638
+ "additionalTooltipValues",
1639
+ // Extract showYAxisWithZero directly from props for accelerated render mode
1640
+ "showYAxisWithZero",
1641
+ "showY2AxisWithZero"
1642
+ ]);
1643
+ const { eventHandlers, xField: xFieldFromProps } = otherOptions;
1644
+ const trellisEnabled = useTrellisEnabled(splitByLayout);
1645
+ const {
1646
+ backgroundColor: bgColorFromOptions,
1367
1647
  seriesColors: seriesColorsStr,
1368
1648
  fieldColors,
1649
+ legendLabels: legendLabelsStr,
1650
+ legendMode,
1369
1651
  "axisTitleX.text": xAxisTitleText,
1370
1652
  "axisTitleY.text": yAxisTitleText,
1371
1653
  "axisTitleY2.text": y2AxisTitleText,
1372
1654
  "axisTitleX.visibility": xAxisTitleVisibility,
1373
1655
  "axisTitleY.visibility": yAxisTitleVisibility,
1374
1656
  "axisTitleY2.visibility": y2AxisTitleVisibility,
1657
+ "axisLabelsX.majorLabelVisibility": xAxisLabelVisibility,
1658
+ "axisLabelsX.majorLabelStyle.rotation": xAxisLabelRotation,
1659
+ "axisLabelsY.majorLabelVisibility": yAxisLabelVisibility,
1660
+ "axisLabelsY.majorUnit": yAxisMajorUnitFromSimpleXML,
1661
+ "axisLabelsY2.majorLabelVisibility": y2AxisLabelVisibility,
1662
+ "axisLabelsY2.majorUnit": y2AxisMajorUnitFromSimpleXML,
1375
1663
  "axisY.abbreviation": yAxisAbbreviation,
1376
1664
  "axisY.scale": yAxisScale,
1377
1665
  "axisY2.abbreviation": y2AxisAbbreviation,
@@ -1381,10 +1669,63 @@ var TimeSeriesChartWrapper = (props) => {
1381
1669
  "axisLabelsY2.integerUnits": y2IntegerUnits,
1382
1670
  "chart.overlayFields": overlayFieldsStr,
1383
1671
  "chart.nullValueMode": nullValueMode,
1384
- lineWidth
1672
+ "chart.showDataLabels": showDataLabels,
1673
+ lineWidth,
1674
+ lineDashStyle,
1675
+ fieldDashStyles: lineDashStylesByFieldStr,
1676
+ yAxisMin: yAxisMinRaw,
1677
+ yAxisMax: yAxisMaxRaw,
1678
+ y2AxisMin: y2AxisMinRaw,
1679
+ y2AxisMax: y2AxisMaxRaw,
1680
+ showXMajorGridLines,
1681
+ showYMajorGridLines,
1682
+ showY2MajorGridLines,
1683
+ showYMinorGridLines,
1684
+ showY2MinorGridLines,
1685
+ showLineSmoothing,
1686
+ yAxisMajorTickVisibility,
1687
+ y2AxisMajorTickVisibility,
1688
+ yAxisMajorTickSize,
1689
+ y2AxisMajorTickSize,
1690
+ yAxisMajorTickInterval,
1691
+ y2AxisMajorTickInterval,
1692
+ yAxisMinorTickVisibility,
1693
+ y2AxisMinorTickVisibility,
1694
+ yAxisMinorTickSize,
1695
+ y2AxisMinorTickSize,
1696
+ showYAxisWithZero: showYAxisWithZeroFromOptions,
1697
+ showY2AxisWithZero: showY2AxisWithZeroFromOptions
1385
1698
  } = options;
1699
+ const dataValuesDisplay = showDataLabels === "none" ? "off" : showDataLabels;
1700
+ const showYAxisWithZero = showYAxisWithZeroFromProps != null ? showYAxisWithZeroFromProps : showYAxisWithZeroFromOptions;
1701
+ const showY2AxisWithZero = showY2AxisWithZeroFromProps != null ? showY2AxisWithZeroFromProps : showY2AxisWithZeroFromOptions;
1702
+ const showYMajorTicks = yAxisMajorTickVisibility === "show";
1703
+ const showY2MajorTicks = y2AxisMajorTickVisibility === "show";
1704
+ const showYMinorTicks = yAxisMinorTickVisibility === "show";
1705
+ const showY2MinorTicks = y2AxisMinorTickVisibility === "show";
1706
+ const yAxisMin = parseAxisValue(yAxisMinRaw);
1707
+ const yAxisMax = parseAxisValue(yAxisMaxRaw);
1708
+ const y2AxisMin = parseAxisValue(y2AxisMinRaw);
1709
+ const y2AxisMax = parseAxisValue(y2AxisMaxRaw);
1710
+ const parseTickInterval = (simpleXMLValue, canvasValue) => {
1711
+ if (simpleXMLValue) return Number(simpleXMLValue);
1712
+ if (canvasValue) return Number(canvasValue);
1713
+ return void 0;
1714
+ };
1715
+ const yAxisMajorTickIntervalNum = parseTickInterval(yAxisMajorUnitFromSimpleXML, yAxisMajorTickInterval);
1716
+ const y2AxisMajorTickIntervalNum = parseTickInterval(
1717
+ y2AxisMajorUnitFromSimpleXML,
1718
+ y2AxisMajorTickInterval
1719
+ );
1720
+ const yAxisMajorTickSizeNum = yAxisMajorTickSize ? Number(yAxisMajorTickSize) : void 0;
1721
+ const y2AxisMajorTickSizeNum = y2AxisMajorTickSize ? Number(y2AxisMajorTickSize) : void 0;
1722
+ const yAxisMinorTickSizeNum = yAxisMinorTickSize ? Number(yAxisMinorTickSize) : void 0;
1723
+ const y2AxisMinorTickSizeNum = y2AxisMinorTickSize ? Number(y2AxisMinorTickSize) : void 0;
1386
1724
  const seriesColors = seriesColorsStr ? JSON.parse(seriesColorsStr) : void 0;
1387
1725
  const seriesColorsByField = fieldColors ? JSON.parse(fieldColors) : void 0;
1726
+ const lineDashStylesByField = lineDashStylesByFieldStr ? JSON.parse(lineDashStylesByFieldStr) : void 0;
1727
+ const legendLabels = parseArrayOption(legendLabelsStr);
1728
+ const bgColor = backgroundColor || bgColorFromOptions;
1388
1729
  const [containerWidth, setContainerWidth] = react_exports.useState(Number(props.width));
1389
1730
  const [containerHeight, setContainerHeight] = react_exports.useState(Number(props.height));
1390
1731
  const cachedHandleResize = react_exports.useCallback((w, h) => {
@@ -1395,25 +1736,64 @@ var TimeSeriesChartWrapper = (props) => {
1395
1736
  fields: chartData.fields,
1396
1737
  columns: chartData.seriesList
1397
1738
  });
1398
- const xField = getFieldName(filteredChartData.fields[0]);
1739
+ const xField = getFieldName2(filteredChartData.fields[0]);
1399
1740
  const yFields = getFieldNames(
1400
1741
  filteredChartData.fields.length > 1 ? filteredChartData.fields.slice(1) : []
1401
1742
  );
1402
- const y2Fields = y2FieldsStr ? y2FieldsStr.split(",").map((f) => f.trim()) : [];
1403
- const overlayFields = overlayFieldsStr ? overlayFieldsStr.split(",").map((f) => f.trim()) : [];
1743
+ const y2Fields = (0, react_exports.useMemo)(
1744
+ () => y2FieldsStr ? y2FieldsStr.split(",").map((f) => f.trim()) : [],
1745
+ [y2FieldsStr]
1746
+ );
1747
+ const overlayFields = (0, react_exports.useMemo)(
1748
+ () => overlayFieldsStr ? overlayFieldsStr.split(",").map((f) => f.trim()) : [],
1749
+ [overlayFieldsStr]
1750
+ );
1404
1751
  let xAxisTitle = getComputedAxisTitles(xAxisTitleText, [xField], xAxisTitleVisibility);
1405
1752
  xAxisTitle = ellipsisAxisTitle(xAxisTitle, containerWidth);
1406
- let yAxisTitle = getComputedAxisTitles(yAxisTitleText, yFields, yAxisTitleVisibility);
1753
+ const yFieldsForTitle = y2Enabled ? yFields.filter((field) => !y2Fields.includes(field)) : yFields;
1754
+ let yAxisTitle = getComputedAxisTitles(yAxisTitleText, yFieldsForTitle, yAxisTitleVisibility);
1407
1755
  yAxisTitle = ellipsisAxisTitle(yAxisTitle, containerHeight);
1408
1756
  const fieldsForY2Axis = y2Fields.length > 0 ? y2Fields : overlayFields;
1409
1757
  let y2AxisTitle = getComputedAxisTitles(y2AxisTitleText, fieldsForY2Axis, y2AxisTitleVisibility);
1410
1758
  y2AxisTitle = ellipsisAxisTitle(y2AxisTitle, containerHeight);
1411
- const xScaleConfig = getXScaleConfig(xAxisTitle);
1412
- const yScaleConfig = getYScaleConfig(yAxisTitle, yAxisAbbreviation, yAxisScale);
1413
- let y2ScaleConfig = {};
1414
- if (y2Enabled) {
1415
- y2ScaleConfig = getY2ScaleConfig(y2AxisTitle, y2AxisAbbreviation, y2AxisScale, y2IntegerUnits);
1416
- }
1759
+ const xScaleConfig = (0, react_exports.useMemo)(
1760
+ () => getXScaleConfig(xAxisTitle, xAxisLabelVisibility, xAxisLabelRotation),
1761
+ [xAxisTitle, xAxisLabelVisibility, xAxisLabelRotation]
1762
+ );
1763
+ const yScaleConfig = (0, react_exports.useMemo)(
1764
+ () => getYScaleConfig(
1765
+ yAxisTitle,
1766
+ yAxisAbbreviation,
1767
+ yAxisScale,
1768
+ yAxisLabelVisibility,
1769
+ yAxisMin,
1770
+ yAxisMax
1771
+ ),
1772
+ [yAxisTitle, yAxisAbbreviation, yAxisScale, yAxisLabelVisibility, yAxisMin, yAxisMax]
1773
+ );
1774
+ const y2ScaleConfig = (0, react_exports.useMemo)(() => {
1775
+ if (y2Enabled) {
1776
+ return getY2ScaleConfig(
1777
+ y2AxisTitle,
1778
+ y2AxisAbbreviation,
1779
+ y2AxisScale,
1780
+ y2IntegerUnits,
1781
+ y2AxisLabelVisibility,
1782
+ y2AxisMin,
1783
+ y2AxisMax
1784
+ );
1785
+ }
1786
+ return {};
1787
+ }, [
1788
+ y2Enabled,
1789
+ y2AxisTitle,
1790
+ y2AxisAbbreviation,
1791
+ y2AxisScale,
1792
+ y2IntegerUnits,
1793
+ y2AxisLabelVisibility,
1794
+ y2AxisMin,
1795
+ y2AxisMax
1796
+ ]);
1417
1797
  const uplotContainerElement = (0, react_exports.useRef)(null);
1418
1798
  const seriesDataFormatted = [
1419
1799
  filteredChartData.columns[0],
@@ -1421,24 +1801,140 @@ var TimeSeriesChartWrapper = (props) => {
1421
1801
  ];
1422
1802
  chartData.fields = filteredChartData.fields;
1423
1803
  chartData.columns = seriesDataFormatted;
1424
- const seriesOverrides = getSeriesOverrides(
1425
- yFields,
1426
- y2Fields,
1427
- lineWidth,
1428
- overlayFields,
1429
- y2Enabled,
1430
- nullValueMode
1804
+ const seriesOverrides = (0, react_exports.useMemo)(
1805
+ () => getSeriesOverrides(
1806
+ yFields,
1807
+ y2Fields,
1808
+ lineWidth,
1809
+ overlayFields,
1810
+ y2Enabled,
1811
+ nullValueMode,
1812
+ markerDisplay,
1813
+ lineDashStyle,
1814
+ lineDashStylesByField
1815
+ ),
1816
+ [
1817
+ yFields,
1818
+ y2Fields,
1819
+ lineWidth,
1820
+ overlayFields,
1821
+ y2Enabled,
1822
+ nullValueMode,
1823
+ markerDisplay,
1824
+ lineDashStyle,
1825
+ lineDashStylesByField
1826
+ ]
1431
1827
  );
1432
- const chartingEventAnnotations = getAnnotationsForCanvas({
1433
- annotationX,
1434
- annotationColor,
1435
- annotationLabel
1436
- });
1437
- const MemoizedChart = react_exports.memo(visualization_canvas_exports.TimeSeriesChart);
1438
- const scaleConfig = __spreadValues(__spreadValues(__spreadValues({}, xScaleConfig), yScaleConfig), y2ScaleConfig);
1439
- const memoizedChart = (0, react_exports.useMemo)(
1440
- () => /* @__PURE__ */ react_exports.createElement(
1441
- MemoizedChart,
1828
+ const chartingEventAnnotations = (0, react_exports.useMemo)(
1829
+ () => getAnnotationsForCanvas({
1830
+ annotationX,
1831
+ annotationColor,
1832
+ annotationLabel
1833
+ }),
1834
+ [annotationX, annotationColor, annotationLabel]
1835
+ );
1836
+ const scaleConfig = (0, react_exports.useMemo)(
1837
+ () => __spreadValues(__spreadValues(__spreadValues({}, xScaleConfig), yScaleConfig), y2ScaleConfig),
1838
+ [xScaleConfig, yScaleConfig, y2ScaleConfig]
1839
+ );
1840
+ const legend = (0, react_exports.useMemo)(
1841
+ () => getLegend({ legendDisplay, isSeriesCompare: legendMode === "seriesCompare" }),
1842
+ [legendDisplay, legendMode]
1843
+ );
1844
+ const handleChartClick = react_exports.useCallback(
1845
+ (event) => {
1846
+ if (onClick) {
1847
+ handleClick(event, onClick, trellisKey, trellisSplitBy);
1848
+ }
1849
+ },
1850
+ [onClick, trellisKey, trellisSplitBy]
1851
+ );
1852
+ const handleChartLegendClick = react_exports.useCallback(
1853
+ (event) => {
1854
+ if (onClick) {
1855
+ handleLegendClick(event, onClick, trellisKey, trellisSplitBy);
1856
+ }
1857
+ },
1858
+ [onClick, trellisKey, trellisSplitBy]
1859
+ );
1860
+ const handleChartRangeSelection = react_exports.useCallback(
1861
+ (range2) => {
1862
+ if (onSelect) {
1863
+ handleRangeSelection(range2, onSelect, chartData, trellisKey, trellisSplitBy);
1864
+ }
1865
+ },
1866
+ [onSelect, chartData, trellisKey, trellisSplitBy]
1867
+ );
1868
+ const handleChartRangeZoom = react_exports.useCallback(
1869
+ (range2) => {
1870
+ if (onSelect) {
1871
+ handleRangeZoom(range2, onSelect, chartData, trellisKey, trellisSplitBy);
1872
+ }
1873
+ },
1874
+ [onSelect, chartData, trellisKey, trellisSplitBy]
1875
+ );
1876
+ const xFieldToUse = xFieldFromProps || xField;
1877
+ const enableSearchZoom = react_exports.useMemo(
1878
+ () => shouldEnableSearchZoom(eventHandlers, xFieldToUse),
1879
+ [eventHandlers, xFieldToUse]
1880
+ );
1881
+ const lastPayloadRef = react_exports.useRef(null);
1882
+ const lastOriginalEventRef = react_exports.useRef(null);
1883
+ const previousMouseoverPayloadRef = react_exports.useRef(null);
1884
+ const additionalTooltipValuesRef = react_exports.useRef(additionalTooltipValues);
1885
+ react_exports.useEffect(() => {
1886
+ additionalTooltipValuesRef.current = additionalTooltipValues;
1887
+ }, [additionalTooltipValues]);
1888
+ const handleChartCrosshairChange = react_exports.useCallback(
1889
+ (event) => {
1890
+ if (onPointMouseOver || onPointMouseOut) {
1891
+ if (!event) {
1892
+ if (onPointMouseOut && lastPayloadRef.current) {
1893
+ onPointMouseOut({
1894
+ type: "point.mouseout",
1895
+ originalEvent: lastOriginalEventRef.current,
1896
+ payload: lastPayloadRef.current
1897
+ });
1898
+ }
1899
+ previousMouseoverPayloadRef.current = null;
1900
+ return;
1901
+ }
1902
+ const payload = __spreadProps(__spreadValues({}, (0, lodash_exports.pick)(event, "value", "seriesKey", "time", "index", "seriesIndex")), {
1903
+ name: event.seriesKey
1904
+ });
1905
+ delete payload.seriesKey;
1906
+ if (event.rowContext) {
1907
+ Object.assign(
1908
+ payload,
1909
+ Object.keys(event.rowContext).reduce((acc, fieldName) => {
1910
+ acc[`row.${fieldName}.value`] = event.rowContext[fieldName];
1911
+ return acc;
1912
+ }, {})
1913
+ );
1914
+ }
1915
+ const updatedPayload = appendTrellisToPayload(payload, trellisKey, trellisSplitBy);
1916
+ if (!hasMouseoverPayloadChanged(updatedPayload, previousMouseoverPayloadRef.current)) {
1917
+ return;
1918
+ }
1919
+ lastPayloadRef.current = updatedPayload;
1920
+ lastOriginalEventRef.current = event;
1921
+ previousMouseoverPayloadRef.current = __spreadValues({}, updatedPayload);
1922
+ if (onPointMouseOver) {
1923
+ onPointMouseOver({
1924
+ type: "point.mouseover",
1925
+ originalEvent: event,
1926
+ payload: updatedPayload
1927
+ });
1928
+ }
1929
+ }
1930
+ },
1931
+ [onPointMouseOver, onPointMouseOut, trellisKey, trellisSplitBy]
1932
+ );
1933
+ 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}`;
1934
+ const memoizedChart = (0, react_exports.useMemo)(() => {
1935
+ const computedOnRangeZoom = onSelect ? handleChartRangeZoom : void 0;
1936
+ return /* @__PURE__ */ react_exports.createElement(visualization_canvas_exports.RangeSelectionProvider, { key: dataKey }, /* @__PURE__ */ react_exports.createElement(
1937
+ visualization_canvas_exports.TimeSeriesChart,
1442
1938
  {
1443
1939
  data: chartData,
1444
1940
  width: containerWidth,
@@ -1446,49 +1942,113 @@ var TimeSeriesChartWrapper = (props) => {
1446
1942
  seriesColors,
1447
1943
  seriesColorsByField,
1448
1944
  seriesConfig: seriesOverrides,
1449
- legend: getLegend(props),
1945
+ legend,
1946
+ legendLabels,
1947
+ isSeriesCompare: legendMode === "seriesCompare",
1948
+ maxSeriesFocus: legendMode === "seriesCompare" ? 0 : void 0,
1450
1949
  scaleConfig,
1451
1950
  timestampFormat: "expanded",
1452
- onCrosshairClick: (event) => handleClick(event, props),
1453
- onSeriesClick: (event) => handleLegendClick(event, props),
1951
+ onCrosshairClick: onClick ? handleChartClick : void 0,
1952
+ onCrosshairChange: onPointMouseOver || onPointMouseOut ? handleChartCrosshairChange : void 0,
1953
+ onSeriesClick: onClick ? handleChartLegendClick : void 0,
1954
+ onRangeSelection: handleChartRangeSelection,
1955
+ onRangeZoom: computedOnRangeZoom,
1956
+ serverSideZoom: enableSearchZoom,
1454
1957
  userLocale,
1455
1958
  events: chartingEventAnnotations,
1456
- eventsConfig: { renderer: triangleEventAnnotationRenderer }
1959
+ eventsConfig: { renderer: triangleEventAnnotationRenderer },
1960
+ additionalTooltipValuesRef,
1961
+ showXMajorGridLines,
1962
+ showYMajorGridLines,
1963
+ showY2MajorGridLines,
1964
+ showYMinorGridLines,
1965
+ showY2MinorGridLines,
1966
+ showLineSmoothing,
1967
+ dataValuesDisplay,
1968
+ showYMajorTicks,
1969
+ showY2MajorTicks,
1970
+ yAxisMajorTickSize: yAxisMajorTickSizeNum,
1971
+ y2AxisMajorTickSize: y2AxisMajorTickSizeNum,
1972
+ yAxisMajorTickInterval: yAxisMajorTickIntervalNum,
1973
+ y2AxisMajorTickInterval: y2AxisMajorTickIntervalNum,
1974
+ showYMinorTicks,
1975
+ showY2MinorTicks,
1976
+ yAxisMinorTickSize: yAxisMinorTickSizeNum,
1977
+ y2AxisMinorTickSize: y2AxisMinorTickSizeNum,
1978
+ showYAxisWithZero,
1979
+ showY2AxisWithZero
1457
1980
  }
1458
- ),
1459
- [
1460
- MemoizedChart,
1461
- chartData,
1462
- containerWidth,
1463
- containerHeight,
1464
- seriesColors,
1465
- seriesColorsByField,
1466
- seriesOverrides,
1467
- lineWidth,
1468
- props,
1469
- scaleConfig,
1470
- userLocale,
1471
- chartingEventAnnotations
1472
- ]
1473
- );
1981
+ ));
1982
+ }, [
1983
+ onSelect,
1984
+ handleChartRangeZoom,
1985
+ dataKey,
1986
+ chartData,
1987
+ containerWidth,
1988
+ containerHeight,
1989
+ seriesColors,
1990
+ seriesColorsByField,
1991
+ seriesOverrides,
1992
+ legend,
1993
+ legendLabels,
1994
+ scaleConfig,
1995
+ onClick,
1996
+ handleChartClick,
1997
+ onPointMouseOver,
1998
+ onPointMouseOut,
1999
+ handleChartCrosshairChange,
2000
+ handleChartLegendClick,
2001
+ handleChartRangeSelection,
2002
+ enableSearchZoom,
2003
+ userLocale,
2004
+ chartingEventAnnotations,
2005
+ showXMajorGridLines,
2006
+ showYMajorGridLines,
2007
+ showY2MajorGridLines,
2008
+ showYMinorGridLines,
2009
+ showY2MinorGridLines,
2010
+ showLineSmoothing,
2011
+ dataValuesDisplay,
2012
+ showYMajorTicks,
2013
+ showY2MajorTicks,
2014
+ yAxisMajorTickSizeNum,
2015
+ y2AxisMajorTickSizeNum,
2016
+ yAxisMajorTickIntervalNum,
2017
+ y2AxisMajorTickIntervalNum,
2018
+ showYMinorTicks,
2019
+ showY2MinorTicks,
2020
+ yAxisMinorTickSizeNum,
2021
+ y2AxisMinorTickSizeNum,
2022
+ showYAxisWithZero,
2023
+ showY2AxisWithZero,
2024
+ legendMode
2025
+ ]);
1474
2026
  const memoizedVisualization = (0, react_exports.useMemo)(() => {
1475
- return /* @__PURE__ */ react_exports.createElement(VizStyleWrapper_default, { backgroundColor }, memoizedChart);
1476
- }, [backgroundColor]);
1477
- return /* @__PURE__ */ react_exports.createElement(
2027
+ return /* @__PURE__ */ react_exports.createElement(VizStyleWrapper_default, { backgroundColor: bgColor }, memoizedChart);
2028
+ }, [bgColor, memoizedChart]);
2029
+ return /* @__PURE__ */ react_exports.createElement(react_exports.Fragment, null, trellisEnabled && /* @__PURE__ */ react_exports.createElement(
2030
+ TrellisTitle,
2031
+ {
2032
+ trellisKey,
2033
+ backgroundColor: bgColor,
2034
+ fontColor: defaultFontColor
2035
+ }
2036
+ ), /* @__PURE__ */ react_exports.createElement(
1478
2037
  TimeSeriesChartContainer,
1479
2038
  {
1480
- height,
2039
+ height: trellisEnabled ? Number(height) - TRELLIS_TITLE_HEIGHT : height,
1481
2040
  width,
1482
2041
  ref: uplotContainerElement,
1483
2042
  "data-test": "timeseries-chart-wrapper"
1484
2043
  },
1485
2044
  /* @__PURE__ */ react_exports.createElement(SizeAwareWrapper_default, { width, height, onResize: cachedHandleResize }),
1486
2045
  memoizedVisualization
1487
- );
2046
+ ));
1488
2047
  };
1489
2048
  var TimeSeriesChartWrapper_default = TimeSeriesChartWrapper;
1490
2049
 
1491
2050
  // src/common/withDashboardViz.tsx
2051
+ var SanitizedTimeSeriesChartWrapper = (0, SanitizeProps_exports.withSanitizedProps)(TimeSeriesChartWrapper_default);
1492
2052
  var withDashboardViz = (opts) => {
1493
2053
  const {
1494
2054
  ReactViz,
@@ -1497,6 +2057,7 @@ var withDashboardViz = (opts) => {
1497
2057
  },
1498
2058
  computeVizPropsBeforeEval = () => {
1499
2059
  },
2060
+ computeDataFrames,
1500
2061
  disableEditModeCover,
1501
2062
  useIconPlaceholder
1502
2063
  } = opts;
@@ -1625,11 +2186,19 @@ var withDashboardViz = (opts) => {
1625
2186
  );
1626
2187
  setDataFramesInState(dataFrames);
1627
2188
  }
2189
+ let mergedFrames = dataFrames;
2190
+ if (computeDataFrames && dataFrames) {
2191
+ const derivedFrames = computeDataFrames({
2192
+ dataSources: downsampledDataSources,
2193
+ options: optionsToEvaluate.options
2194
+ });
2195
+ mergedFrames = __spreadValues(__spreadValues({}, dataFrames), derivedFrames);
2196
+ }
1628
2197
  const result = Options_exports.Options.evaluate(
1629
2198
  optionsToEvaluate,
1630
2199
  downsampledDataSources,
1631
2200
  themeFunc,
1632
- dataFrames,
2201
+ mergedFrames,
1633
2202
  getFeatureFlag(featureFlagContext, "visualizations_bypassCloneDeepOptionScope")
1634
2203
  );
1635
2204
  return result;
@@ -1717,7 +2286,7 @@ var withDashboardViz = (opts) => {
1717
2286
  });
1718
2287
  }
1719
2288
  eventCallbackProps[eventCallbackPropName] = (ev) => {
1720
- if (ev && ev.payload) {
2289
+ if (ev == null ? void 0 : ev.payload) {
1721
2290
  payload = __spreadValues({}, ev.payload);
1722
2291
  }
1723
2292
  return onEventTrigger({
@@ -1741,10 +2310,7 @@ var withDashboardViz = (opts) => {
1741
2310
  if (useAsyncEvaluatedOptions && Object.keys(evaluatedOptionsToUse).length === 0) {
1742
2311
  return null;
1743
2312
  }
1744
- let SanitizedViz = SanitizedReactViz;
1745
- if (isAcceleratedRenderOn) {
1746
- SanitizedViz = (0, SanitizeProps_exports.withSanitizedProps)(TimeSeriesChartWrapper_default);
1747
- }
2313
+ const SanitizedViz = isAcceleratedRenderOn ? SanitizedTimeSeriesChartWrapper : SanitizedReactViz;
1748
2314
  return /* @__PURE__ */ react_exports.createElement(
1749
2315
  SanitizedViz,
1750
2316
  __spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadProps(__spreadValues({}, SplunkVisualization_default.defaults), {
@@ -1772,27 +2338,18 @@ var visualization_icons_exports = {};
1772
2338
  __export(visualization_icons_exports, {
1773
2339
  default: () => visualization_icons_default
1774
2340
  });
1775
- var defaultImport27 = __toESM(require("@splunk/visualization-icons"));
2341
+ var defaultImport28 = __toESM(require("@splunk/visualization-icons"));
1776
2342
  __reExport(visualization_icons_exports, require("@splunk/visualization-icons"));
1777
- var visualization_icons_default = "default" in defaultImport27 ? defaultImport27.default : defaultImport27;
2343
+ var visualization_icons_default = "default" in defaultImport28 ? defaultImport28.default : defaultImport28;
1778
2344
 
1779
2345
  // esm-externals:@splunk/visualization-icons/placeholders
1780
2346
  var placeholders_exports = {};
1781
2347
  __export(placeholders_exports, {
1782
2348
  default: () => placeholders_default
1783
2349
  });
1784
- var defaultImport28 = __toESM(require("@splunk/visualization-icons/placeholders"));
2350
+ var defaultImport29 = __toESM(require("@splunk/visualization-icons/placeholders"));
1785
2351
  __reExport(placeholders_exports, require("@splunk/visualization-icons/placeholders"));
1786
- var placeholders_default = "default" in defaultImport28 ? defaultImport28.default : defaultImport28;
1787
-
1788
- // esm-externals:@splunk/visualization-schemas
1789
- var visualization_schemas_exports = {};
1790
- __export(visualization_schemas_exports, {
1791
- default: () => visualization_schemas_default
1792
- });
1793
- var defaultImport29 = __toESM(require("@splunk/visualization-schemas"));
1794
- __reExport(visualization_schemas_exports, require("@splunk/visualization-schemas"));
1795
- var visualization_schemas_default = "default" in defaultImport29 ? defaultImport29.default : defaultImport29;
2352
+ var placeholders_default = "default" in defaultImport29 ? defaultImport29.default : defaultImport29;
1796
2353
 
1797
2354
  // esm-externals:@splunk/visualizations-shared/configUtils
1798
2355
  var configUtils_exports = {};
@@ -2641,6 +3198,33 @@ var SUIEventsViewerContainer = styled_components_default.div`
2641
3198
  });
2642
3199
  }};
2643
3200
  `;
3201
+ var handleMenuItemClick = (onMenuItemClick, e, fieldActionProps, tokenReplacementMap) => onMenuItemClick(e, fieldActionProps, tokenReplacementMap);
3202
+ var createFieldActionComponent = (fieldActionProps, dataSources, label, currentFieldName, onMenuItemClick) => {
3203
+ const { field, value, rowIndex, pageNumber, event } = fieldActionProps;
3204
+ const tokenReplacementMap = generateTokenReplacementMap({
3205
+ dataSources,
3206
+ rowIndex,
3207
+ pageNumber,
3208
+ field,
3209
+ value,
3210
+ event
3211
+ });
3212
+ const replacedLabel = replaceTokens({
3213
+ text: label,
3214
+ tokenReplacementMap,
3215
+ allowSpecialParametersEscape: false,
3216
+ allowFieldValuesEscape: false
3217
+ });
3218
+ const truncatedLabel = truncateString(replacedLabel);
3219
+ return /* @__PURE__ */ react_exports.createElement(
3220
+ Menu_default.Item,
3221
+ {
3222
+ key: `${currentFieldName}-field-action-${truncatedLabel}`,
3223
+ onClick: (e) => handleMenuItemClick(onMenuItemClick, e, fieldActionProps, tokenReplacementMap)
3224
+ },
3225
+ truncatedLabel
3226
+ );
3227
+ };
2644
3228
  var PureEvents = (props) => {
2645
3229
  const {
2646
3230
  width,
@@ -2673,6 +3257,7 @@ var PureEvents = (props) => {
2673
3257
  );
2674
3258
  return fieldSummaryMapping;
2675
3259
  } catch (e) {
3260
+ (0, lodash_exports.noop)(e);
2676
3261
  return {};
2677
3262
  }
2678
3263
  }, [dataSources, showFieldSummary]);
@@ -2683,6 +3268,51 @@ var PureEvents = (props) => {
2683
3268
  const [fieldSummaryAnchor, setFieldSummaryAnchor] = react_exports.useState(null);
2684
3269
  const [timeValue, setTimeValue] = react_exports.useState(null);
2685
3270
  const [timeFieldAnchor, setTimeFieldAnchor] = react_exports.useState(null);
3271
+ react_exports.useEffect(() => {
3272
+ const isPopoverOpen = fieldSummaryAnchor || timeFieldAnchor;
3273
+ if (!isPopoverOpen) return void 0;
3274
+ const handleScroll = () => {
3275
+ if (fieldSummaryAnchor) {
3276
+ setFieldSummaryField(null);
3277
+ setFieldSummaryAnchor(null);
3278
+ }
3279
+ if (timeFieldAnchor) {
3280
+ setTimeValue(null);
3281
+ setTimeFieldAnchor(null);
3282
+ }
3283
+ };
3284
+ window.addEventListener("scroll", handleScroll, { capture: true, passive: true });
3285
+ return () => {
3286
+ window.removeEventListener("scroll", handleScroll, { capture: true });
3287
+ };
3288
+ }, [fieldSummaryAnchor, timeFieldAnchor]);
3289
+ const createEventActionComponent = react_exports.useCallback(
3290
+ (eventActionProps, onMenuItemClick, label) => {
3291
+ const { rowIndex, pageNumber, event } = eventActionProps;
3292
+ const tokenReplacementMap = generateTokenReplacementMap({
3293
+ dataSources,
3294
+ rowIndex,
3295
+ pageNumber,
3296
+ event
3297
+ });
3298
+ const replacedLabel = replaceTokens({
3299
+ text: label,
3300
+ tokenReplacementMap,
3301
+ allowSpecialParametersEscape: false,
3302
+ allowFieldValuesEscape: false
3303
+ });
3304
+ const truncatedLabel = truncateString(replacedLabel);
3305
+ return /* @__PURE__ */ react_exports.createElement(
3306
+ Menu_default.Item,
3307
+ {
3308
+ key: `event-action-${truncatedLabel}`,
3309
+ onClick: (e) => onMenuItemClick(e, eventActionProps, tokenReplacementMap)
3310
+ },
3311
+ truncatedLabel
3312
+ );
3313
+ },
3314
+ [dataSources]
3315
+ );
2686
3316
  const renderEventActions = react_exports.useMemo(
2687
3317
  () => !Array.isArray(eventActions) ? [] : eventActions.map(({ eventType, label, eventtypeValues = [], fieldFilters = [] }) => {
2688
3318
  const onMenuItemClick = (e, eventActionProps, tokenReplacementMap) => {
@@ -2695,93 +3325,55 @@ var PureEvents = (props) => {
2695
3325
  payload
2696
3326
  });
2697
3327
  };
2698
- const eventActionComponent = (eventActionProps) => {
2699
- const { rowIndex, pageNumber, event } = eventActionProps;
2700
- const tokenReplacementMap = generateTokenReplacementMap({
2701
- dataSources,
2702
- rowIndex,
2703
- pageNumber,
2704
- event
3328
+ const eventActionComponent = (eventActionProps) => createEventActionComponent(eventActionProps, onMenuItemClick, label);
3329
+ return {
3330
+ eventtypeValues,
3331
+ fieldFilters,
3332
+ eventActionComponent
3333
+ };
3334
+ }),
3335
+ [eventActions, createEventActionComponent, onEventTrigger]
3336
+ );
3337
+ const setFieldActionsMapItem = react_exports.useCallback(
3338
+ (currentFieldActions, currentFieldName) => currentFieldActions.map(({ eventType, label, eventtypeValues = [] }) => {
3339
+ const onMenuItemClick = (e, fieldActionProps, tokenReplacementMap) => {
3340
+ const payload = convertToPayloadFormat(fieldActionProps.event, {
3341
+ name: fieldActionProps.field,
3342
+ value: fieldActionProps.value,
3343
+ tokenReplacementMap
2705
3344
  });
2706
- const replacedLabel = replaceTokens({
2707
- text: label,
2708
- tokenReplacementMap,
2709
- allowSpecialParametersEscape: false,
2710
- allowFieldValuesEscape: false
3345
+ onEventTrigger({
3346
+ originalEvent: e,
3347
+ type: eventType,
3348
+ payload
2711
3349
  });
2712
- const truncatedLabel = truncateString(replacedLabel);
2713
- return /* @__PURE__ */ react_exports.createElement(
2714
- Menu_default.Item,
2715
- {
2716
- key: `event-action-${truncatedLabel}`,
2717
- onClick: (e) => onMenuItemClick(e, eventActionProps, tokenReplacementMap)
2718
- },
2719
- truncatedLabel
2720
- );
2721
3350
  };
3351
+ const fieldActionComponent = (fieldActionProps) => createFieldActionComponent(
3352
+ fieldActionProps,
3353
+ dataSources,
3354
+ label,
3355
+ currentFieldName,
3356
+ onMenuItemClick
3357
+ );
2722
3358
  return {
2723
3359
  eventtypeValues,
2724
- fieldFilters,
2725
- eventActionComponent
3360
+ fieldActionComponent
2726
3361
  };
2727
3362
  }),
2728
- [eventActions]
3363
+ [dataSources, onEventTrigger]
2729
3364
  );
2730
3365
  const renderFieldActions = react_exports.useMemo(() => {
2731
- if (typeof fieldActions !== "object") return {};
2732
3366
  const fieldActionsMap = {};
2733
3367
  Object.entries(fieldActions).forEach(
2734
3368
  ([currentFieldName, currentFieldActions]) => {
2735
- fieldActionsMap[currentFieldName] = currentFieldActions.map(
2736
- ({ eventType, label, eventtypeValues = [] }) => {
2737
- const onMenuItemClick = (e, fieldActionProps, tokenReplacementMap) => {
2738
- const payload = convertToPayloadFormat(fieldActionProps.event, {
2739
- name: fieldActionProps.field,
2740
- value: fieldActionProps.value,
2741
- tokenReplacementMap
2742
- });
2743
- onEventTrigger({
2744
- originalEvent: e,
2745
- type: eventType,
2746
- payload
2747
- });
2748
- };
2749
- const fieldActionComponent = (fieldActionProps) => {
2750
- const { field, value, rowIndex, pageNumber, event } = fieldActionProps;
2751
- const tokenReplacementMap = generateTokenReplacementMap({
2752
- dataSources,
2753
- rowIndex,
2754
- pageNumber,
2755
- field,
2756
- value,
2757
- event
2758
- });
2759
- const replacedLabel = replaceTokens({
2760
- text: label,
2761
- tokenReplacementMap,
2762
- allowSpecialParametersEscape: false,
2763
- allowFieldValuesEscape: false
2764
- });
2765
- const truncatedLabel = truncateString(replacedLabel);
2766
- return /* @__PURE__ */ react_exports.createElement(
2767
- Menu_default.Item,
2768
- {
2769
- key: `${currentFieldName}-field-action-${truncatedLabel}`,
2770
- onClick: (e) => onMenuItemClick(e, fieldActionProps, tokenReplacementMap)
2771
- },
2772
- truncatedLabel
2773
- );
2774
- };
2775
- return {
2776
- eventtypeValues,
2777
- fieldActionComponent
2778
- };
2779
- }
3369
+ fieldActionsMap[currentFieldName] = setFieldActionsMapItem(
3370
+ currentFieldActions,
3371
+ currentFieldName
2780
3372
  );
2781
3373
  }
2782
3374
  );
2783
3375
  return fieldActionsMap;
2784
- }, [fieldActions]);
3376
+ }, [fieldActions, setFieldActionsMapItem]);
2785
3377
  const suiEventsViewerOptions = {
2786
3378
  renderEventActions,
2787
3379
  renderFieldActions,
@@ -2905,6 +3497,20 @@ var PureEvents = (props) => {
2905
3497
  ))
2906
3498
  );
2907
3499
  };
3500
+ var eventActionShape = prop_types_exports.exact({
3501
+ eventType: prop_types_exports.string.isRequired,
3502
+ label: prop_types_exports.string.isRequired,
3503
+ eventtypeValues: prop_types_exports.arrayOf(prop_types_exports.string),
3504
+ fieldFilters: prop_types_exports.arrayOf(prop_types_exports.string)
3505
+ });
3506
+ var eventActionsPropType = prop_types_exports.arrayOf(eventActionShape);
3507
+ var fieldActionShape = prop_types_exports.exact({
3508
+ eventType: prop_types_exports.string.isRequired,
3509
+ label: prop_types_exports.string.isRequired,
3510
+ eventtypeValues: prop_types_exports.arrayOf(prop_types_exports.string)
3511
+ });
3512
+ var fieldActionArrayPropType = prop_types_exports.arrayOf(fieldActionShape);
3513
+ var fieldActionsPropType = prop_types_exports.objectOf(fieldActionArrayPropType);
2908
3514
  PureEvents.propTypes = {
2909
3515
  width: prop_types_exports.oneOfType([prop_types_exports.string, prop_types_exports.number]),
2910
3516
  height: prop_types_exports.oneOfType([prop_types_exports.string, prop_types_exports.number]),
@@ -2912,27 +3518,8 @@ PureEvents.propTypes = {
2912
3518
  // eslint-disable-next-line react/no-unused-prop-types
2913
3519
  mode: prop_types_exports.string,
2914
3520
  backgroundColor: prop_types_exports.string,
2915
- eventActions: prop_types_exports.arrayOf(
2916
- prop_types_exports.shape({
2917
- // key to identify this event
2918
- eventType: prop_types_exports.string,
2919
- // label for the menu item
2920
- label: prop_types_exports.string,
2921
- eventtypeValues: prop_types_exports.arrayOf(prop_types_exports.string),
2922
- fieldFilters: prop_types_exports.arrayOf(prop_types_exports.string)
2923
- })
2924
- ),
2925
- fieldActions: prop_types_exports.objectOf(
2926
- prop_types_exports.arrayOf(
2927
- prop_types_exports.shape({
2928
- // key to identify this event
2929
- eventType: prop_types_exports.string,
2930
- // label for the menu item
2931
- label: prop_types_exports.string,
2932
- eventtypeValues: prop_types_exports.arrayOf(prop_types_exports.string)
2933
- })
2934
- )
2935
- ),
3521
+ eventActions: eventActionsPropType,
3522
+ fieldActions: fieldActionsPropType,
2936
3523
  showFieldSummary: prop_types_exports.bool,
2937
3524
  footerFields: prop_types_exports.array,
2938
3525
  highlightValuesByField: prop_types_exports.objectOf(prop_types_exports.oneOfType([prop_types_exports.string, prop_types_exports.arrayOf(prop_types_exports.string)])),