@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
@@ -25,6 +25,18 @@ var __spreadValues = (a, b) => {
25
25
  return a;
26
26
  };
27
27
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
28
+ var __objRest = (source, exclude) => {
29
+ var target = {};
30
+ for (var prop in source)
31
+ if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
32
+ target[prop] = source[prop];
33
+ if (source != null && __getOwnPropSymbols)
34
+ for (var prop of __getOwnPropSymbols(source)) {
35
+ if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
36
+ target[prop] = source[prop];
37
+ }
38
+ return target;
39
+ };
28
40
  var __export = (target, all) => {
29
41
  for (var name in all)
30
42
  __defProp(target, name, { get: all[name], enumerable: true });
@@ -51,9 +63,15 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
51
63
  // src/common/TimeSeriesChartWrapper.tsx
52
64
  var TimeSeriesChartWrapper_exports = {};
53
65
  __export(TimeSeriesChartWrapper_exports, {
66
+ appendTrellisToPayload: () => appendTrellisToPayload,
54
67
  default: () => TimeSeriesChartWrapper_default,
55
68
  handleClick: () => handleClick,
56
- handleLegendClick: () => handleLegendClick
69
+ handleCrosshairChange: () => handleCrosshairChange,
70
+ handleLegendClick: () => handleLegendClick,
71
+ handleRangeSelection: () => handleRangeSelection,
72
+ handleRangeZoom: () => handleRangeZoom,
73
+ hasMouseoverPayloadChanged: () => hasMouseoverPayloadChanged,
74
+ parseArrayOption: () => parseArrayOption
57
75
  });
58
76
  module.exports = __toCommonJS(TimeSeriesChartWrapper_exports);
59
77
 
@@ -158,14 +176,29 @@ var getAnnotationsForCanvas = ({
158
176
  var StyledTriangle = styled_components_default(Triangle_default)`
159
177
  color: ${(props) => props.eventColor || variables_default.severityColorNotice(props)};
160
178
  `;
161
- var triangleEventAnnotationRenderer = ({ event }) => {
179
+ var triangleEventAnnotationRenderer = ({
180
+ event,
181
+ dimensions
182
+ }) => {
162
183
  const eventWithColor = event;
163
184
  return react_default.createElement(StyledTriangle, {
185
+ width: `${dimensions.width}px`,
186
+ height: `${dimensions.height}px`,
164
187
  viewBox: "0 0 24 24",
165
188
  variant: "filled",
166
189
  eventColor: eventWithColor.color
167
190
  });
168
191
  };
192
+ var shouldEnableSearchZoom = (eventHandlers = [], xField = "") => {
193
+ const rangeSelectEventHandler = eventHandlers.find(
194
+ (eventHandler) => {
195
+ var _a;
196
+ return (_a = eventHandler.options.events) == null ? void 0 : _a.includes("range.select");
197
+ }
198
+ );
199
+ const xAxisIsTime = xField === "_time";
200
+ return !!rangeSelectEventHandler && xAxisIsTime;
201
+ };
169
202
  var filterChartDataFromInternalFields = (chartData) => {
170
203
  const { fields, columns } = chartData;
171
204
  const keepIndexes = fields.reduce((acc, field, index) => {
@@ -182,16 +215,31 @@ var filterChartDataFromInternalFields = (chartData) => {
182
215
  var convert2DArrayToNumbers = (arr) => {
183
216
  return arr.map((subArray) => subArray.map((element) => parseFloat(element)));
184
217
  };
218
+ var parseAxisValue = (val) => {
219
+ if (val === void 0 || val === null || val === "auto" || val === "") {
220
+ return void 0;
221
+ }
222
+ const num = typeof val === "number" ? val : Number.parseFloat(val);
223
+ return Number.isNaN(num) ? void 0 : num;
224
+ };
185
225
  var SideLegendWidth = 75;
186
- var commonLegendProps = { center: true, fontSize: 12, largerTiles: true, hideSeriesValue: true };
226
+ var SeriesCompareLegendWidth = 200;
187
227
  var getLegend = (props) => {
188
228
  const legendPlacement = props == null ? void 0 : props.legendDisplay;
229
+ const { isSeriesCompare } = props;
230
+ const commonLegendProps = {
231
+ center: true,
232
+ fontSize: 12,
233
+ largerTiles: true,
234
+ hideSeriesValue: !isSeriesCompare
235
+ // Show values if in seriesCompare mode
236
+ };
189
237
  switch (legendPlacement) {
190
238
  case "off":
191
239
  return false;
192
240
  case "left":
193
241
  return (0, visualization_canvas_exports.LeftLegendFactory)(__spreadValues({
194
- width: SideLegendWidth
242
+ width: isSeriesCompare ? SeriesCompareLegendWidth : SideLegendWidth
195
243
  }, commonLegendProps));
196
244
  case "bottom":
197
245
  return (0, visualization_canvas_exports.BottomLegendFactory)(__spreadValues({
@@ -203,7 +251,7 @@ var getLegend = (props) => {
203
251
  }, commonLegendProps));
204
252
  default:
205
253
  return (0, visualization_canvas_exports.SideLegendFactory)(__spreadValues({
206
- width: SideLegendWidth
254
+ width: isSeriesCompare ? SeriesCompareLegendWidth : SideLegendWidth
207
255
  }, commonLegendProps));
208
256
  }
209
257
  };
@@ -246,12 +294,18 @@ var getFieldName = (field) => {
246
294
  var getFieldNames = (fields) => {
247
295
  return fields.map((field) => getFieldName(field));
248
296
  };
249
- var getXScaleConfig = (label) => {
297
+ var getXScaleConfig = (label, xAxisLabelVisibility, xAxisLabelRotation) => {
250
298
  const xConfig = { x: {} };
251
299
  xConfig.x.label = label;
300
+ if (xAxisLabelVisibility === "hide") {
301
+ xConfig.x.hideLabels = true;
302
+ }
303
+ if (xAxisLabelRotation !== void 0) {
304
+ xConfig.x.labelRotation = xAxisLabelRotation;
305
+ }
252
306
  return xConfig;
253
307
  };
254
- var getYScaleConfig = (label, yAxisAbbreviation, yAxisScale) => {
308
+ var getYScaleConfig = (label, yAxisAbbreviation, yAxisScale, yAxisLabelVisibility, yAxisMin, yAxisMax) => {
255
309
  const scaleType = yAxisScale != null ? yAxisScale : "linear";
256
310
  const yConfig = { y: {} };
257
311
  yConfig.y.label = label;
@@ -264,23 +318,42 @@ var getYScaleConfig = (label, yAxisAbbreviation, yAxisScale) => {
264
318
  } else {
265
319
  yConfig.y.width = label && label.length > 0 ? 30 : 10;
266
320
  }
321
+ if (yAxisLabelVisibility === "hide") {
322
+ yConfig.y.hideLabels = true;
323
+ }
324
+ if (yAxisMin !== void 0 || yAxisMax !== void 0) {
325
+ yConfig.y.range = (u, dataMin, dataMax) => {
326
+ const min = yAxisMin != null ? yAxisMin : dataMin;
327
+ const max = yAxisMax != null ? yAxisMax : dataMax;
328
+ return [min, max];
329
+ };
330
+ }
267
331
  return yConfig;
268
332
  };
269
- var getY2ScaleConfig = (label, axisAbbreviation, axisScale, roundAxisLabelsToInteger) => {
333
+ var getY2ScaleConfig = (label, axisAbbreviation, axisScale, roundAxisLabelsToInteger, y2AxisLabelVisibility, y2AxisMin, y2AxisMax) => {
270
334
  const y2Config = { y2: {} };
271
335
  const scaleType = axisScale != null ? axisScale : "linear";
272
336
  y2Config.y2.label = label;
273
337
  y2Config.y2.side = "right";
274
- y2Config.y2.showGrid = false;
275
338
  y2Config.y2.type = scaleType;
276
339
  if (axisAbbreviation !== "none") {
277
340
  y2Config.y2.tickFmt = (v) => (0, visualization_canvas_exports.shortenNumber)(v, 1, roundAxisLabelsToInteger);
278
341
  } else if (roundAxisLabelsToInteger) {
279
342
  y2Config.y2.tickFmt = (v) => roundAxisLabelsToInteger ? Math.round(v).toString() : v.toString();
280
343
  }
344
+ if (y2AxisLabelVisibility === "hide") {
345
+ y2Config.y2.hideLabels = true;
346
+ }
347
+ if (y2AxisMin !== void 0 || y2AxisMax !== void 0) {
348
+ y2Config.y2.range = (u, dataMin, dataMax) => {
349
+ const min = y2AxisMin != null ? y2AxisMin : dataMin;
350
+ const max = y2AxisMax != null ? y2AxisMax : dataMax;
351
+ return [min, max];
352
+ };
353
+ }
281
354
  return y2Config;
282
355
  };
283
- var getSeriesOverrides = (yfields, y2fields, lineWidth, overlayFields, y2Enabled, nullValueMode) => {
356
+ var getSeriesOverrides = (yfields, y2fields, lineWidth, overlayFields, y2Enabled, nullValueMode, markerDisplay, lineDashStyle, lineDashStylesByField) => {
284
357
  const seriesConfig = {};
285
358
  let spanGaps;
286
359
  let replaceNullsWithZero;
@@ -312,12 +385,108 @@ var getSeriesOverrides = (yfields, y2fields, lineWidth, overlayFields, y2Enabled
312
385
  if (overlayFields == null ? void 0 : overlayFields.includes(field)) {
313
386
  seriesConfig[field].type = "line";
314
387
  }
388
+ if (markerDisplay !== void 0) {
389
+ seriesConfig[field].markerDisplay = markerDisplay;
390
+ }
391
+ const fieldDashStyle = (lineDashStylesByField == null ? void 0 : lineDashStylesByField[field]) || lineDashStyle;
392
+ if (fieldDashStyle) {
393
+ seriesConfig[field].lineDashStyle = fieldDashStyle;
394
+ }
315
395
  if (replaceNullsWithZero !== void 0) {
316
396
  seriesConfig[field].replaceNullsWithZero = replaceNullsWithZero;
317
397
  }
318
398
  });
319
399
  return seriesConfig;
320
400
  };
401
+ var findRangeIndices = (xData, startValue, endValue) => {
402
+ let startXIndex = -1;
403
+ let endXIndex = -1;
404
+ const xDataEpoch = xData.map((val) => {
405
+ if (typeof val === "string") {
406
+ return new Date(val).getTime() / 1e3;
407
+ }
408
+ return val;
409
+ });
410
+ for (let i = 0; i < xDataEpoch.length; i += 1) {
411
+ if (xDataEpoch[i] >= startValue) {
412
+ startXIndex = i;
413
+ break;
414
+ }
415
+ }
416
+ if (startXIndex === -1 && xDataEpoch.length > 0) {
417
+ startXIndex = xDataEpoch.length - 1;
418
+ }
419
+ for (let i = xDataEpoch.length - 1; i >= 0; i -= 1) {
420
+ if (xDataEpoch[i] <= endValue) {
421
+ endXIndex = i;
422
+ break;
423
+ }
424
+ }
425
+ if (endXIndex === -1 && xDataEpoch.length > 0) {
426
+ endXIndex = 0;
427
+ }
428
+ return { startXIndex, endXIndex };
429
+ };
430
+
431
+ // esm-externals:@splunk/visualization-context/FeatureFlagContext
432
+ var FeatureFlagContext_exports = {};
433
+ __export(FeatureFlagContext_exports, {
434
+ default: () => FeatureFlagContext_default
435
+ });
436
+ var defaultImport9 = __toESM(require("@splunk/visualization-context/FeatureFlagContext"));
437
+ __reExport(FeatureFlagContext_exports, require("@splunk/visualization-context/FeatureFlagContext"));
438
+ var FeatureFlagContext_default = "default" in defaultImport9 ? defaultImport9.default : defaultImport9;
439
+
440
+ // esm-externals:@splunk/visualization-schemas
441
+ var visualization_schemas_exports = {};
442
+ __export(visualization_schemas_exports, {
443
+ default: () => visualization_schemas_default
444
+ });
445
+ var defaultImport10 = __toESM(require("@splunk/visualization-schemas"));
446
+ __reExport(visualization_schemas_exports, require("@splunk/visualization-schemas"));
447
+ var visualization_schemas_default = "default" in defaultImport10 ? defaultImport10.default : defaultImport10;
448
+
449
+ // src/common/hooks/useTrellisEnabled.ts
450
+ var useTrellisFeatureFlagOn = () => {
451
+ const context = (0, react_exports.useContext)(FeatureFlagContext_default);
452
+ return Boolean(context == null ? void 0 : context.visualizations_enableTrellis);
453
+ };
454
+ var useTrellisEnabled = (layoutType = visualization_schemas_exports.LAYOUT_TYPE.Off) => {
455
+ const trellisFeatureEnabled = useTrellisFeatureFlagOn();
456
+ return trellisFeatureEnabled && layoutType === visualization_schemas_exports.LAYOUT_TYPE.Trellis;
457
+ };
458
+
459
+ // src/common/components/TrellisTitle.tsx
460
+ var TRELLIS_TITLE_HEIGHT = 28;
461
+ var TrellisTitleText = styled_components_default.div`
462
+ margin-left: 10px;
463
+ margin-right: 10px;
464
+ padding-top: 8px;
465
+ text-overflow: ellipsis;
466
+ white-space: nowrap;
467
+ overflow: hidden;
468
+ `;
469
+ var TrellisTitleDiv = styled_components_default.div`
470
+ height: ${TRELLIS_TITLE_HEIGHT}px;
471
+ font-size: 14px;
472
+ font-weight: 700;
473
+ color: ${(props) => props.fontColor};
474
+ background-color: ${(props) => props.backgroundColor};
475
+ 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.
476
+ `;
477
+ var TrellisTitle = (props) => {
478
+ const titleText = String(props.trellisKey).toString();
479
+ return /* @__PURE__ */ react_exports.createElement(
480
+ TrellisTitleDiv,
481
+ {
482
+ fontColor: props.fontColor,
483
+ backgroundColor: props.backgroundColor,
484
+ "data-test": "trellis-title",
485
+ title: titleText
486
+ },
487
+ /* @__PURE__ */ react_exports.createElement(TrellisTitleText, null, titleText)
488
+ );
489
+ };
321
490
 
322
491
  // src/common/TimeSeriesChartWrapper.tsx
323
492
  var TimeSeriesChartContainer = styled_components_default.div`
@@ -328,45 +497,224 @@ var TimeSeriesChartContainer = styled_components_default.div`
328
497
  position: absolute !important; // This is needed for canvas element export pdf/png to work correctly
329
498
  }
330
499
  `;
331
- var handleClick = (chartEvent, props) => {
500
+ var appendTrellisToPayload = (payload, trellisKey, trellisSplitBy) => {
501
+ const result = __spreadValues({}, payload);
502
+ if (trellisSplitBy) {
503
+ result["trellis.name"] = trellisSplitBy;
504
+ }
505
+ if (trellisKey) {
506
+ result["trellis.value"] = trellisKey;
507
+ }
508
+ return result;
509
+ };
510
+ var hasMouseoverPayloadChanged = (currentPayload, previousPayload) => {
511
+ if (!previousPayload) {
512
+ return true;
513
+ }
514
+ if (currentPayload.index !== previousPayload.index) {
515
+ return true;
516
+ }
517
+ if (currentPayload.seriesIndex !== previousPayload.seriesIndex) {
518
+ return true;
519
+ }
520
+ if (currentPayload["trellis.name"] !== previousPayload["trellis.name"]) {
521
+ return true;
522
+ }
523
+ if (currentPayload["trellis.value"] !== previousPayload["trellis.value"]) {
524
+ return true;
525
+ }
526
+ return false;
527
+ };
528
+ var handleClick = (chartEvent, onClick, trellisKey, trellisSplitBy) => {
332
529
  const payload = __spreadProps(__spreadValues({}, (0, lodash_exports.pick)(chartEvent, "value", "seriesKey")), {
333
530
  name: chartEvent.seriesKey
334
531
  });
335
532
  delete payload.seriesKey;
336
- const clickHandler = props == null ? void 0 : props.onClick;
337
- if (clickHandler) {
338
- clickHandler({
533
+ if (chartEvent.rowContext) {
534
+ Object.assign(
535
+ payload,
536
+ Object.keys(chartEvent.rowContext).reduce((acc, fieldName) => {
537
+ acc[`row.${fieldName}.value`] = chartEvent.rowContext[fieldName];
538
+ return acc;
539
+ }, {})
540
+ );
541
+ }
542
+ const updatedPayload = appendTrellisToPayload(payload, trellisKey, trellisSplitBy);
543
+ if (onClick) {
544
+ onClick({
339
545
  type: "point.click",
340
546
  originalEvent: chartEvent,
341
- payload
547
+ payload: updatedPayload
342
548
  });
343
549
  }
344
550
  };
345
- var handleLegendClick = (chartEvent, props) => {
551
+ var handleLegendClick = (chartEvent, onClick, trellisKey, trellisSplitBy) => {
346
552
  const payload = {
347
553
  name: chartEvent
348
554
  };
349
- const clickHandler = props == null ? void 0 : props.onClick;
350
- if (clickHandler) {
351
- clickHandler({
555
+ const updatedPayload = appendTrellisToPayload(payload, trellisKey, trellisSplitBy);
556
+ if (onClick) {
557
+ onClick({
352
558
  type: "legend.click",
353
559
  originalEvent: chartEvent,
354
- payload
560
+ payload: updatedPayload
561
+ });
562
+ }
563
+ };
564
+ var handleRangeSelection = (rangeEvent, onSelect, chartData, trellisKey, trellisSplitBy) => {
565
+ var _a;
566
+ if (!rangeEvent) {
567
+ return;
568
+ }
569
+ const xData = ((_a = chartData == null ? void 0 : chartData.columns) == null ? void 0 : _a[0]) || [];
570
+ const { startXIndex, endXIndex } = findRangeIndices(xData, rangeEvent.start, rangeEvent.end);
571
+ const payload = {
572
+ startXIndex,
573
+ startXValue: rangeEvent.start,
574
+ endXIndex,
575
+ endXValue: rangeEvent.end
576
+ };
577
+ const updatedPayload = appendTrellisToPayload(payload, trellisKey, trellisSplitBy);
578
+ if (onSelect) {
579
+ onSelect({
580
+ type: "range.selectBeforeZoom",
581
+ originalEvent: rangeEvent,
582
+ payload: updatedPayload
583
+ });
584
+ }
585
+ };
586
+ var handleRangeZoom = (rangeEvent, onSelect, chartData, trellisKey, trellisSplitBy) => {
587
+ var _a;
588
+ const xData = ((_a = chartData == null ? void 0 : chartData.columns) == null ? void 0 : _a[0]) || [];
589
+ const { startXIndex, endXIndex } = findRangeIndices(xData, rangeEvent.start, rangeEvent.end);
590
+ const payload = {
591
+ startXIndex,
592
+ startXValue: rangeEvent.start,
593
+ endXIndex,
594
+ endXValue: rangeEvent.end
595
+ };
596
+ const updatedPayload = appendTrellisToPayload(payload, trellisKey, trellisSplitBy);
597
+ if (onSelect) {
598
+ onSelect({
599
+ type: "range.select",
600
+ originalEvent: rangeEvent,
601
+ payload: updatedPayload
355
602
  });
356
603
  }
357
604
  };
605
+ var handleCrosshairChange = (chartEvent, onPointMouseOver, onPointMouseOut, trellisKey, trellisSplitBy, lastPayload = null, lastOriginalEvent = null) => {
606
+ if (!chartEvent) {
607
+ if (onPointMouseOut && lastPayload) {
608
+ onPointMouseOut({
609
+ type: "point.mouseout",
610
+ originalEvent: lastOriginalEvent,
611
+ payload: lastPayload
612
+ });
613
+ }
614
+ return { payload: null, originalEvent: null };
615
+ }
616
+ const payload = __spreadProps(__spreadValues({}, (0, lodash_exports.pick)(chartEvent, "value", "seriesKey", "time", "index", "seriesIndex")), {
617
+ name: chartEvent.seriesKey
618
+ });
619
+ delete payload.seriesKey;
620
+ if (chartEvent.rowContext) {
621
+ Object.assign(
622
+ payload,
623
+ Object.keys(chartEvent.rowContext).reduce((acc, fieldName) => {
624
+ acc[`row.${fieldName}.value`] = chartEvent.rowContext[fieldName];
625
+ return acc;
626
+ }, {})
627
+ );
628
+ }
629
+ const updatedPayload = appendTrellisToPayload(payload, trellisKey, trellisSplitBy);
630
+ if (onPointMouseOver) {
631
+ onPointMouseOver({
632
+ type: "point.mouseover",
633
+ originalEvent: chartEvent,
634
+ payload: updatedPayload
635
+ });
636
+ }
637
+ return { payload: updatedPayload, originalEvent: chartEvent };
638
+ };
639
+ var parseArrayOption = (value) => {
640
+ if (Array.isArray(value)) {
641
+ return value;
642
+ }
643
+ if (value) {
644
+ return JSON.parse(value);
645
+ }
646
+ return void 0;
647
+ };
358
648
  var TimeSeriesChartWrapper = (props) => {
359
- const { width, height, chartData, options, userLocale, annotationX, annotationLabel, annotationColor } = props;
360
- const {
649
+ var _b, _c, _d;
650
+ const _a = props, {
651
+ width,
652
+ height,
653
+ chartData,
654
+ options,
655
+ userLocale,
656
+ annotationX,
657
+ annotationLabel,
658
+ annotationColor,
659
+ legendDisplay,
660
+ markerDisplay,
661
+ onClick,
662
+ onPointMouseOver,
663
+ onPointMouseOut,
664
+ onSelect,
665
+ splitByLayout,
666
+ trellisKey,
667
+ trellisSplitBy,
361
668
  backgroundColor,
669
+ defaultFontColor,
670
+ additionalTooltipValues,
671
+ showYAxisWithZero: showYAxisWithZeroFromProps,
672
+ showY2AxisWithZero: showY2AxisWithZeroFromProps
673
+ } = _a, otherOptions = __objRest(_a, [
674
+ "width",
675
+ "height",
676
+ "chartData",
677
+ "options",
678
+ "userLocale",
679
+ "annotationX",
680
+ "annotationLabel",
681
+ "annotationColor",
682
+ "legendDisplay",
683
+ "markerDisplay",
684
+ "onClick",
685
+ "onPointMouseOver",
686
+ "onPointMouseOut",
687
+ "onSelect",
688
+ "splitByLayout",
689
+ "trellisKey",
690
+ "trellisSplitBy",
691
+ "backgroundColor",
692
+ "defaultFontColor",
693
+ "additionalTooltipValues",
694
+ // Extract showYAxisWithZero directly from props for accelerated render mode
695
+ "showYAxisWithZero",
696
+ "showY2AxisWithZero"
697
+ ]);
698
+ const { eventHandlers, xField: xFieldFromProps } = otherOptions;
699
+ const trellisEnabled = useTrellisEnabled(splitByLayout);
700
+ const {
701
+ backgroundColor: bgColorFromOptions,
362
702
  seriesColors: seriesColorsStr,
363
703
  fieldColors,
704
+ legendLabels: legendLabelsStr,
705
+ legendMode,
364
706
  "axisTitleX.text": xAxisTitleText,
365
707
  "axisTitleY.text": yAxisTitleText,
366
708
  "axisTitleY2.text": y2AxisTitleText,
367
709
  "axisTitleX.visibility": xAxisTitleVisibility,
368
710
  "axisTitleY.visibility": yAxisTitleVisibility,
369
711
  "axisTitleY2.visibility": y2AxisTitleVisibility,
712
+ "axisLabelsX.majorLabelVisibility": xAxisLabelVisibility,
713
+ "axisLabelsX.majorLabelStyle.rotation": xAxisLabelRotation,
714
+ "axisLabelsY.majorLabelVisibility": yAxisLabelVisibility,
715
+ "axisLabelsY.majorUnit": yAxisMajorUnitFromSimpleXML,
716
+ "axisLabelsY2.majorLabelVisibility": y2AxisLabelVisibility,
717
+ "axisLabelsY2.majorUnit": y2AxisMajorUnitFromSimpleXML,
370
718
  "axisY.abbreviation": yAxisAbbreviation,
371
719
  "axisY.scale": yAxisScale,
372
720
  "axisY2.abbreviation": y2AxisAbbreviation,
@@ -376,10 +724,63 @@ var TimeSeriesChartWrapper = (props) => {
376
724
  "axisLabelsY2.integerUnits": y2IntegerUnits,
377
725
  "chart.overlayFields": overlayFieldsStr,
378
726
  "chart.nullValueMode": nullValueMode,
379
- lineWidth
727
+ "chart.showDataLabels": showDataLabels,
728
+ lineWidth,
729
+ lineDashStyle,
730
+ fieldDashStyles: lineDashStylesByFieldStr,
731
+ yAxisMin: yAxisMinRaw,
732
+ yAxisMax: yAxisMaxRaw,
733
+ y2AxisMin: y2AxisMinRaw,
734
+ y2AxisMax: y2AxisMaxRaw,
735
+ showXMajorGridLines,
736
+ showYMajorGridLines,
737
+ showY2MajorGridLines,
738
+ showYMinorGridLines,
739
+ showY2MinorGridLines,
740
+ showLineSmoothing,
741
+ yAxisMajorTickVisibility,
742
+ y2AxisMajorTickVisibility,
743
+ yAxisMajorTickSize,
744
+ y2AxisMajorTickSize,
745
+ yAxisMajorTickInterval,
746
+ y2AxisMajorTickInterval,
747
+ yAxisMinorTickVisibility,
748
+ y2AxisMinorTickVisibility,
749
+ yAxisMinorTickSize,
750
+ y2AxisMinorTickSize,
751
+ showYAxisWithZero: showYAxisWithZeroFromOptions,
752
+ showY2AxisWithZero: showY2AxisWithZeroFromOptions
380
753
  } = options;
754
+ const dataValuesDisplay = showDataLabels === "none" ? "off" : showDataLabels;
755
+ const showYAxisWithZero = showYAxisWithZeroFromProps != null ? showYAxisWithZeroFromProps : showYAxisWithZeroFromOptions;
756
+ const showY2AxisWithZero = showY2AxisWithZeroFromProps != null ? showY2AxisWithZeroFromProps : showY2AxisWithZeroFromOptions;
757
+ const showYMajorTicks = yAxisMajorTickVisibility === "show";
758
+ const showY2MajorTicks = y2AxisMajorTickVisibility === "show";
759
+ const showYMinorTicks = yAxisMinorTickVisibility === "show";
760
+ const showY2MinorTicks = y2AxisMinorTickVisibility === "show";
761
+ const yAxisMin = parseAxisValue(yAxisMinRaw);
762
+ const yAxisMax = parseAxisValue(yAxisMaxRaw);
763
+ const y2AxisMin = parseAxisValue(y2AxisMinRaw);
764
+ const y2AxisMax = parseAxisValue(y2AxisMaxRaw);
765
+ const parseTickInterval = (simpleXMLValue, canvasValue) => {
766
+ if (simpleXMLValue) return Number(simpleXMLValue);
767
+ if (canvasValue) return Number(canvasValue);
768
+ return void 0;
769
+ };
770
+ const yAxisMajorTickIntervalNum = parseTickInterval(yAxisMajorUnitFromSimpleXML, yAxisMajorTickInterval);
771
+ const y2AxisMajorTickIntervalNum = parseTickInterval(
772
+ y2AxisMajorUnitFromSimpleXML,
773
+ y2AxisMajorTickInterval
774
+ );
775
+ const yAxisMajorTickSizeNum = yAxisMajorTickSize ? Number(yAxisMajorTickSize) : void 0;
776
+ const y2AxisMajorTickSizeNum = y2AxisMajorTickSize ? Number(y2AxisMajorTickSize) : void 0;
777
+ const yAxisMinorTickSizeNum = yAxisMinorTickSize ? Number(yAxisMinorTickSize) : void 0;
778
+ const y2AxisMinorTickSizeNum = y2AxisMinorTickSize ? Number(y2AxisMinorTickSize) : void 0;
381
779
  const seriesColors = seriesColorsStr ? JSON.parse(seriesColorsStr) : void 0;
382
780
  const seriesColorsByField = fieldColors ? JSON.parse(fieldColors) : void 0;
781
+ const lineDashStylesByField = lineDashStylesByFieldStr ? JSON.parse(lineDashStylesByFieldStr) : void 0;
782
+ const legendLabels = parseArrayOption(legendLabelsStr);
783
+ const bgColor = backgroundColor || bgColorFromOptions;
383
784
  const [containerWidth, setContainerWidth] = react_exports.useState(Number(props.width));
384
785
  const [containerHeight, setContainerHeight] = react_exports.useState(Number(props.height));
385
786
  const cachedHandleResize = react_exports.useCallback((w, h) => {
@@ -394,21 +795,60 @@ var TimeSeriesChartWrapper = (props) => {
394
795
  const yFields = getFieldNames(
395
796
  filteredChartData.fields.length > 1 ? filteredChartData.fields.slice(1) : []
396
797
  );
397
- const y2Fields = y2FieldsStr ? y2FieldsStr.split(",").map((f) => f.trim()) : [];
398
- const overlayFields = overlayFieldsStr ? overlayFieldsStr.split(",").map((f) => f.trim()) : [];
798
+ const y2Fields = (0, react_exports.useMemo)(
799
+ () => y2FieldsStr ? y2FieldsStr.split(",").map((f) => f.trim()) : [],
800
+ [y2FieldsStr]
801
+ );
802
+ const overlayFields = (0, react_exports.useMemo)(
803
+ () => overlayFieldsStr ? overlayFieldsStr.split(",").map((f) => f.trim()) : [],
804
+ [overlayFieldsStr]
805
+ );
399
806
  let xAxisTitle = getComputedAxisTitles(xAxisTitleText, [xField], xAxisTitleVisibility);
400
807
  xAxisTitle = ellipsisAxisTitle(xAxisTitle, containerWidth);
401
- let yAxisTitle = getComputedAxisTitles(yAxisTitleText, yFields, yAxisTitleVisibility);
808
+ const yFieldsForTitle = y2Enabled ? yFields.filter((field) => !y2Fields.includes(field)) : yFields;
809
+ let yAxisTitle = getComputedAxisTitles(yAxisTitleText, yFieldsForTitle, yAxisTitleVisibility);
402
810
  yAxisTitle = ellipsisAxisTitle(yAxisTitle, containerHeight);
403
811
  const fieldsForY2Axis = y2Fields.length > 0 ? y2Fields : overlayFields;
404
812
  let y2AxisTitle = getComputedAxisTitles(y2AxisTitleText, fieldsForY2Axis, y2AxisTitleVisibility);
405
813
  y2AxisTitle = ellipsisAxisTitle(y2AxisTitle, containerHeight);
406
- const xScaleConfig = getXScaleConfig(xAxisTitle);
407
- const yScaleConfig = getYScaleConfig(yAxisTitle, yAxisAbbreviation, yAxisScale);
408
- let y2ScaleConfig = {};
409
- if (y2Enabled) {
410
- y2ScaleConfig = getY2ScaleConfig(y2AxisTitle, y2AxisAbbreviation, y2AxisScale, y2IntegerUnits);
411
- }
814
+ const xScaleConfig = (0, react_exports.useMemo)(
815
+ () => getXScaleConfig(xAxisTitle, xAxisLabelVisibility, xAxisLabelRotation),
816
+ [xAxisTitle, xAxisLabelVisibility, xAxisLabelRotation]
817
+ );
818
+ const yScaleConfig = (0, react_exports.useMemo)(
819
+ () => getYScaleConfig(
820
+ yAxisTitle,
821
+ yAxisAbbreviation,
822
+ yAxisScale,
823
+ yAxisLabelVisibility,
824
+ yAxisMin,
825
+ yAxisMax
826
+ ),
827
+ [yAxisTitle, yAxisAbbreviation, yAxisScale, yAxisLabelVisibility, yAxisMin, yAxisMax]
828
+ );
829
+ const y2ScaleConfig = (0, react_exports.useMemo)(() => {
830
+ if (y2Enabled) {
831
+ return getY2ScaleConfig(
832
+ y2AxisTitle,
833
+ y2AxisAbbreviation,
834
+ y2AxisScale,
835
+ y2IntegerUnits,
836
+ y2AxisLabelVisibility,
837
+ y2AxisMin,
838
+ y2AxisMax
839
+ );
840
+ }
841
+ return {};
842
+ }, [
843
+ y2Enabled,
844
+ y2AxisTitle,
845
+ y2AxisAbbreviation,
846
+ y2AxisScale,
847
+ y2IntegerUnits,
848
+ y2AxisLabelVisibility,
849
+ y2AxisMin,
850
+ y2AxisMax
851
+ ]);
412
852
  const uplotContainerElement = (0, react_exports.useRef)(null);
413
853
  const seriesDataFormatted = [
414
854
  filteredChartData.columns[0],
@@ -416,24 +856,140 @@ var TimeSeriesChartWrapper = (props) => {
416
856
  ];
417
857
  chartData.fields = filteredChartData.fields;
418
858
  chartData.columns = seriesDataFormatted;
419
- const seriesOverrides = getSeriesOverrides(
420
- yFields,
421
- y2Fields,
422
- lineWidth,
423
- overlayFields,
424
- y2Enabled,
425
- nullValueMode
859
+ const seriesOverrides = (0, react_exports.useMemo)(
860
+ () => getSeriesOverrides(
861
+ yFields,
862
+ y2Fields,
863
+ lineWidth,
864
+ overlayFields,
865
+ y2Enabled,
866
+ nullValueMode,
867
+ markerDisplay,
868
+ lineDashStyle,
869
+ lineDashStylesByField
870
+ ),
871
+ [
872
+ yFields,
873
+ y2Fields,
874
+ lineWidth,
875
+ overlayFields,
876
+ y2Enabled,
877
+ nullValueMode,
878
+ markerDisplay,
879
+ lineDashStyle,
880
+ lineDashStylesByField
881
+ ]
426
882
  );
427
- const chartingEventAnnotations = getAnnotationsForCanvas({
428
- annotationX,
429
- annotationColor,
430
- annotationLabel
431
- });
432
- const MemoizedChart = react_exports.memo(visualization_canvas_exports.TimeSeriesChart);
433
- const scaleConfig = __spreadValues(__spreadValues(__spreadValues({}, xScaleConfig), yScaleConfig), y2ScaleConfig);
434
- const memoizedChart = (0, react_exports.useMemo)(
435
- () => /* @__PURE__ */ react_exports.createElement(
436
- MemoizedChart,
883
+ const chartingEventAnnotations = (0, react_exports.useMemo)(
884
+ () => getAnnotationsForCanvas({
885
+ annotationX,
886
+ annotationColor,
887
+ annotationLabel
888
+ }),
889
+ [annotationX, annotationColor, annotationLabel]
890
+ );
891
+ const scaleConfig = (0, react_exports.useMemo)(
892
+ () => __spreadValues(__spreadValues(__spreadValues({}, xScaleConfig), yScaleConfig), y2ScaleConfig),
893
+ [xScaleConfig, yScaleConfig, y2ScaleConfig]
894
+ );
895
+ const legend = (0, react_exports.useMemo)(
896
+ () => getLegend({ legendDisplay, isSeriesCompare: legendMode === "seriesCompare" }),
897
+ [legendDisplay, legendMode]
898
+ );
899
+ const handleChartClick = react_exports.useCallback(
900
+ (event) => {
901
+ if (onClick) {
902
+ handleClick(event, onClick, trellisKey, trellisSplitBy);
903
+ }
904
+ },
905
+ [onClick, trellisKey, trellisSplitBy]
906
+ );
907
+ const handleChartLegendClick = react_exports.useCallback(
908
+ (event) => {
909
+ if (onClick) {
910
+ handleLegendClick(event, onClick, trellisKey, trellisSplitBy);
911
+ }
912
+ },
913
+ [onClick, trellisKey, trellisSplitBy]
914
+ );
915
+ const handleChartRangeSelection = react_exports.useCallback(
916
+ (range) => {
917
+ if (onSelect) {
918
+ handleRangeSelection(range, onSelect, chartData, trellisKey, trellisSplitBy);
919
+ }
920
+ },
921
+ [onSelect, chartData, trellisKey, trellisSplitBy]
922
+ );
923
+ const handleChartRangeZoom = react_exports.useCallback(
924
+ (range) => {
925
+ if (onSelect) {
926
+ handleRangeZoom(range, onSelect, chartData, trellisKey, trellisSplitBy);
927
+ }
928
+ },
929
+ [onSelect, chartData, trellisKey, trellisSplitBy]
930
+ );
931
+ const xFieldToUse = xFieldFromProps || xField;
932
+ const enableSearchZoom = react_exports.useMemo(
933
+ () => shouldEnableSearchZoom(eventHandlers, xFieldToUse),
934
+ [eventHandlers, xFieldToUse]
935
+ );
936
+ const lastPayloadRef = react_exports.useRef(null);
937
+ const lastOriginalEventRef = react_exports.useRef(null);
938
+ const previousMouseoverPayloadRef = react_exports.useRef(null);
939
+ const additionalTooltipValuesRef = react_exports.useRef(additionalTooltipValues);
940
+ react_exports.useEffect(() => {
941
+ additionalTooltipValuesRef.current = additionalTooltipValues;
942
+ }, [additionalTooltipValues]);
943
+ const handleChartCrosshairChange = react_exports.useCallback(
944
+ (event) => {
945
+ if (onPointMouseOver || onPointMouseOut) {
946
+ if (!event) {
947
+ if (onPointMouseOut && lastPayloadRef.current) {
948
+ onPointMouseOut({
949
+ type: "point.mouseout",
950
+ originalEvent: lastOriginalEventRef.current,
951
+ payload: lastPayloadRef.current
952
+ });
953
+ }
954
+ previousMouseoverPayloadRef.current = null;
955
+ return;
956
+ }
957
+ const payload = __spreadProps(__spreadValues({}, (0, lodash_exports.pick)(event, "value", "seriesKey", "time", "index", "seriesIndex")), {
958
+ name: event.seriesKey
959
+ });
960
+ delete payload.seriesKey;
961
+ if (event.rowContext) {
962
+ Object.assign(
963
+ payload,
964
+ Object.keys(event.rowContext).reduce((acc, fieldName) => {
965
+ acc[`row.${fieldName}.value`] = event.rowContext[fieldName];
966
+ return acc;
967
+ }, {})
968
+ );
969
+ }
970
+ const updatedPayload = appendTrellisToPayload(payload, trellisKey, trellisSplitBy);
971
+ if (!hasMouseoverPayloadChanged(updatedPayload, previousMouseoverPayloadRef.current)) {
972
+ return;
973
+ }
974
+ lastPayloadRef.current = updatedPayload;
975
+ lastOriginalEventRef.current = event;
976
+ previousMouseoverPayloadRef.current = __spreadValues({}, updatedPayload);
977
+ if (onPointMouseOver) {
978
+ onPointMouseOver({
979
+ type: "point.mouseover",
980
+ originalEvent: event,
981
+ payload: updatedPayload
982
+ });
983
+ }
984
+ }
985
+ },
986
+ [onPointMouseOver, onPointMouseOut, trellisKey, trellisSplitBy]
987
+ );
988
+ 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}`;
989
+ const memoizedChart = (0, react_exports.useMemo)(() => {
990
+ const computedOnRangeZoom = onSelect ? handleChartRangeZoom : void 0;
991
+ return /* @__PURE__ */ react_exports.createElement(visualization_canvas_exports.RangeSelectionProvider, { key: dataKey }, /* @__PURE__ */ react_exports.createElement(
992
+ visualization_canvas_exports.TimeSeriesChart,
437
993
  {
438
994
  data: chartData,
439
995
  width: containerWidth,
@@ -441,45 +997,108 @@ var TimeSeriesChartWrapper = (props) => {
441
997
  seriesColors,
442
998
  seriesColorsByField,
443
999
  seriesConfig: seriesOverrides,
444
- legend: getLegend(props),
1000
+ legend,
1001
+ legendLabels,
1002
+ isSeriesCompare: legendMode === "seriesCompare",
1003
+ maxSeriesFocus: legendMode === "seriesCompare" ? 0 : void 0,
445
1004
  scaleConfig,
446
1005
  timestampFormat: "expanded",
447
- onCrosshairClick: (event) => handleClick(event, props),
448
- onSeriesClick: (event) => handleLegendClick(event, props),
1006
+ onCrosshairClick: onClick ? handleChartClick : void 0,
1007
+ onCrosshairChange: onPointMouseOver || onPointMouseOut ? handleChartCrosshairChange : void 0,
1008
+ onSeriesClick: onClick ? handleChartLegendClick : void 0,
1009
+ onRangeSelection: handleChartRangeSelection,
1010
+ onRangeZoom: computedOnRangeZoom,
1011
+ serverSideZoom: enableSearchZoom,
449
1012
  userLocale,
450
1013
  events: chartingEventAnnotations,
451
- eventsConfig: { renderer: triangleEventAnnotationRenderer }
1014
+ eventsConfig: { renderer: triangleEventAnnotationRenderer },
1015
+ additionalTooltipValuesRef,
1016
+ showXMajorGridLines,
1017
+ showYMajorGridLines,
1018
+ showY2MajorGridLines,
1019
+ showYMinorGridLines,
1020
+ showY2MinorGridLines,
1021
+ showLineSmoothing,
1022
+ dataValuesDisplay,
1023
+ showYMajorTicks,
1024
+ showY2MajorTicks,
1025
+ yAxisMajorTickSize: yAxisMajorTickSizeNum,
1026
+ y2AxisMajorTickSize: y2AxisMajorTickSizeNum,
1027
+ yAxisMajorTickInterval: yAxisMajorTickIntervalNum,
1028
+ y2AxisMajorTickInterval: y2AxisMajorTickIntervalNum,
1029
+ showYMinorTicks,
1030
+ showY2MinorTicks,
1031
+ yAxisMinorTickSize: yAxisMinorTickSizeNum,
1032
+ y2AxisMinorTickSize: y2AxisMinorTickSizeNum,
1033
+ showYAxisWithZero,
1034
+ showY2AxisWithZero
452
1035
  }
453
- ),
454
- [
455
- MemoizedChart,
456
- chartData,
457
- containerWidth,
458
- containerHeight,
459
- seriesColors,
460
- seriesColorsByField,
461
- seriesOverrides,
462
- lineWidth,
463
- props,
464
- scaleConfig,
465
- userLocale,
466
- chartingEventAnnotations
467
- ]
468
- );
1036
+ ));
1037
+ }, [
1038
+ onSelect,
1039
+ handleChartRangeZoom,
1040
+ dataKey,
1041
+ chartData,
1042
+ containerWidth,
1043
+ containerHeight,
1044
+ seriesColors,
1045
+ seriesColorsByField,
1046
+ seriesOverrides,
1047
+ legend,
1048
+ legendLabels,
1049
+ scaleConfig,
1050
+ onClick,
1051
+ handleChartClick,
1052
+ onPointMouseOver,
1053
+ onPointMouseOut,
1054
+ handleChartCrosshairChange,
1055
+ handleChartLegendClick,
1056
+ handleChartRangeSelection,
1057
+ enableSearchZoom,
1058
+ userLocale,
1059
+ chartingEventAnnotations,
1060
+ showXMajorGridLines,
1061
+ showYMajorGridLines,
1062
+ showY2MajorGridLines,
1063
+ showYMinorGridLines,
1064
+ showY2MinorGridLines,
1065
+ showLineSmoothing,
1066
+ dataValuesDisplay,
1067
+ showYMajorTicks,
1068
+ showY2MajorTicks,
1069
+ yAxisMajorTickSizeNum,
1070
+ y2AxisMajorTickSizeNum,
1071
+ yAxisMajorTickIntervalNum,
1072
+ y2AxisMajorTickIntervalNum,
1073
+ showYMinorTicks,
1074
+ showY2MinorTicks,
1075
+ yAxisMinorTickSizeNum,
1076
+ y2AxisMinorTickSizeNum,
1077
+ showYAxisWithZero,
1078
+ showY2AxisWithZero,
1079
+ legendMode
1080
+ ]);
469
1081
  const memoizedVisualization = (0, react_exports.useMemo)(() => {
470
- return /* @__PURE__ */ react_exports.createElement(VizStyleWrapper_default, { backgroundColor }, memoizedChart);
471
- }, [backgroundColor]);
472
- return /* @__PURE__ */ react_exports.createElement(
1082
+ return /* @__PURE__ */ react_exports.createElement(VizStyleWrapper_default, { backgroundColor: bgColor }, memoizedChart);
1083
+ }, [bgColor, memoizedChart]);
1084
+ return /* @__PURE__ */ react_exports.createElement(react_exports.Fragment, null, trellisEnabled && /* @__PURE__ */ react_exports.createElement(
1085
+ TrellisTitle,
1086
+ {
1087
+ trellisKey,
1088
+ backgroundColor: bgColor,
1089
+ fontColor: defaultFontColor
1090
+ }
1091
+ ), /* @__PURE__ */ react_exports.createElement(
473
1092
  TimeSeriesChartContainer,
474
1093
  {
475
- height,
1094
+ height: trellisEnabled ? Number(height) - TRELLIS_TITLE_HEIGHT : height,
476
1095
  width,
477
1096
  ref: uplotContainerElement,
478
1097
  "data-test": "timeseries-chart-wrapper"
479
1098
  },
480
1099
  /* @__PURE__ */ react_exports.createElement(SizeAwareWrapper_default, { width, height, onResize: cachedHandleResize }),
481
1100
  memoizedVisualization
482
- );
1101
+ ));
483
1102
  };
484
1103
  var TimeSeriesChartWrapper_default = TimeSeriesChartWrapper;
485
1104
  //# sourceMappingURL=TimeSeriesChartWrapper.js.map