@splunk/visualizations 28.1.0 → 28.2.1

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 (579) hide show
  1. package/Area.config.js +27 -0
  2. package/Area.config.js.map +2 -2
  3. package/Area.js +715 -354
  4. package/Area.js.map +4 -4
  5. package/Bar.config.js +27 -0
  6. package/Bar.config.js.map +2 -2
  7. package/Bar.js +747 -386
  8. package/Bar.js.map +4 -4
  9. package/Bubble.config.js +27 -0
  10. package/Bubble.config.js.map +2 -2
  11. package/Bubble.js +677 -320
  12. package/Bubble.js.map +4 -4
  13. package/CHANGELOG.external.md +49 -0
  14. package/ChoroplethSvg.js +563 -193
  15. package/ChoroplethSvg.js.map +4 -4
  16. package/Column.config.js +27 -0
  17. package/Column.config.js.map +2 -2
  18. package/Column.js +762 -401
  19. package/Column.js.map +4 -4
  20. package/Ellipse.js +586 -213
  21. package/Ellipse.js.map +4 -4
  22. package/Events.js +585 -200
  23. package/Events.js.map +4 -4
  24. package/FEATUREFLAGS.md +1 -0
  25. package/FillerGauge.js +558 -190
  26. package/FillerGauge.js.map +4 -4
  27. package/Image.js +583 -216
  28. package/Image.js.map +4 -4
  29. package/Line.config.js +28 -1
  30. package/Line.config.js.map +2 -2
  31. package/Line.js +730 -369
  32. package/Line.js.map +4 -4
  33. package/LinkGraph.js +1087 -690
  34. package/LinkGraph.js.map +4 -4
  35. package/Map.config.js +2 -0
  36. package/Map.config.js.map +2 -2
  37. package/Map.js +527 -141
  38. package/Map.js.map +4 -4
  39. package/Markdown.js +607 -229
  40. package/Markdown.js.map +4 -4
  41. package/MarkerGauge.js +537 -168
  42. package/MarkerGauge.js.map +4 -4
  43. package/ParallelCoordinates.js +558 -173
  44. package/ParallelCoordinates.js.map +4 -4
  45. package/Pie.js +644 -315
  46. package/Pie.js.map +4 -4
  47. package/Punchcard.js +582 -199
  48. package/Punchcard.js.map +4 -4
  49. package/Rectangle.js +597 -223
  50. package/Rectangle.js.map +4 -4
  51. package/Sankey.js +570 -200
  52. package/Sankey.js.map +4 -4
  53. package/Scatter.config.js +27 -0
  54. package/Scatter.config.js.map +2 -2
  55. package/Scatter.js +681 -325
  56. package/Scatter.js.map +4 -4
  57. package/SingleValue.js +534 -165
  58. package/SingleValue.js.map +4 -4
  59. package/SingleValueIcon.js +528 -159
  60. package/SingleValueIcon.js.map +4 -4
  61. package/SingleValueRadial.js +521 -152
  62. package/SingleValueRadial.js.map +4 -4
  63. package/Table.config.js +87 -32
  64. package/Table.config.js.map +4 -4
  65. package/Table.js +925 -441
  66. package/Table.js.map +4 -4
  67. package/Timeline.js +605 -272
  68. package/Timeline.js.map +4 -4
  69. package/common/Charting.js +49 -111
  70. package/common/Charting.js.map +4 -4
  71. package/common/GaugeMajorTicks.js +6 -14
  72. package/common/GaugeMajorTicks.js.map +2 -2
  73. package/common/GaugeValueMarker.js +6 -14
  74. package/common/GaugeValueMarker.js.map +2 -2
  75. package/common/OptionsDoc.js +3 -2
  76. package/common/OptionsDoc.js.map +2 -2
  77. package/common/SplunkVisualization.js +1 -1
  78. package/common/SplunkVisualization.js.map +2 -2
  79. package/common/TimeSeriesChartWrapper.js +485 -0
  80. package/common/TimeSeriesChartWrapper.js.map +7 -0
  81. package/common/chartingUtils.js +252 -1
  82. package/common/chartingUtils.js.map +4 -4
  83. package/common/shapeUtils.js.map +1 -1
  84. package/common/utils/hocUtils.js +1 -1
  85. package/common/utils/hocUtils.js.map +2 -2
  86. package/common/utils/mapUtils.js.map +1 -1
  87. package/common/utils/tableUtils.js +29 -28
  88. package/common/utils/tableUtils.js.map +2 -2
  89. package/common/withDashboardViz.js +545 -160
  90. package/common/withDashboardViz.js.map +4 -4
  91. package/dist/types/Area/Area.d.ts +13 -0
  92. package/dist/types/Area/Area.d.ts.map +1 -0
  93. package/dist/types/Area/areaUtils.d.ts +15 -0
  94. package/dist/types/Area/areaUtils.d.ts.map +1 -0
  95. package/dist/types/Area/config.d.ts +4 -0
  96. package/dist/types/Area/config.d.ts.map +1 -0
  97. package/dist/types/Area/index.d.ts +3 -0
  98. package/dist/types/Area/index.d.ts.map +1 -0
  99. package/dist/types/Bar/Bar.d.ts +13 -0
  100. package/dist/types/Bar/Bar.d.ts.map +1 -0
  101. package/dist/types/Bar/barUtils.d.ts +30 -0
  102. package/dist/types/Bar/barUtils.d.ts.map +1 -0
  103. package/dist/types/Bar/config.d.ts +4 -0
  104. package/dist/types/Bar/config.d.ts.map +1 -0
  105. package/dist/types/Bar/index.d.ts +3 -0
  106. package/dist/types/Bar/index.d.ts.map +1 -0
  107. package/dist/types/Bubble/Bubble.d.ts +9 -0
  108. package/dist/types/Bubble/Bubble.d.ts.map +1 -0
  109. package/dist/types/Bubble/bubbleUtils.d.ts +47 -0
  110. package/dist/types/Bubble/bubbleUtils.d.ts.map +1 -0
  111. package/dist/types/Bubble/config.d.ts +4 -0
  112. package/dist/types/Bubble/config.d.ts.map +1 -0
  113. package/dist/types/Bubble/index.d.ts +3 -0
  114. package/dist/types/Bubble/index.d.ts.map +1 -0
  115. package/dist/types/ChoroplethSvg/ChoroplethSvg.d.ts +24 -0
  116. package/dist/types/ChoroplethSvg/ChoroplethSvg.d.ts.map +1 -0
  117. package/dist/types/ChoroplethSvg/ErrorMessage/ErrorMessage.d.ts +6 -0
  118. package/dist/types/ChoroplethSvg/ErrorMessage/ErrorMessage.d.ts.map +1 -0
  119. package/dist/types/ChoroplethSvg/PureChoroplethSvg/PureChoroplethSvg.d.ts +29 -0
  120. package/dist/types/ChoroplethSvg/PureChoroplethSvg/PureChoroplethSvg.d.ts.map +1 -0
  121. package/dist/types/ChoroplethSvg/PureChoroplethSvg/SvgChoroplethDynamic.d.ts +34 -0
  122. package/dist/types/ChoroplethSvg/PureChoroplethSvg/SvgChoroplethDynamic.d.ts.map +1 -0
  123. package/dist/types/ChoroplethSvg/PureChoroplethSvg/SvgMutator.d.ts +144 -0
  124. package/dist/types/ChoroplethSvg/PureChoroplethSvg/SvgMutator.d.ts.map +1 -0
  125. package/dist/types/ChoroplethSvg/config.d.ts +4 -0
  126. package/dist/types/ChoroplethSvg/config.d.ts.map +1 -0
  127. package/dist/types/ChoroplethSvg/index.d.ts +3 -0
  128. package/dist/types/ChoroplethSvg/index.d.ts.map +1 -0
  129. package/dist/types/Column/Column.d.ts +11 -0
  130. package/dist/types/Column/Column.d.ts.map +1 -0
  131. package/dist/types/Column/columnUtils.d.ts +82 -0
  132. package/dist/types/Column/columnUtils.d.ts.map +1 -0
  133. package/dist/types/Column/config.d.ts +4 -0
  134. package/dist/types/Column/config.d.ts.map +1 -0
  135. package/dist/types/Column/index.d.ts +3 -0
  136. package/dist/types/Column/index.d.ts.map +1 -0
  137. package/dist/types/Ellipse/Ellipse.d.ts +7 -0
  138. package/dist/types/Ellipse/Ellipse.d.ts.map +1 -0
  139. package/dist/types/Ellipse/config.d.ts +4 -0
  140. package/dist/types/Ellipse/config.d.ts.map +1 -0
  141. package/dist/types/Ellipse/index.d.ts +3 -0
  142. package/dist/types/Ellipse/index.d.ts.map +1 -0
  143. package/dist/types/Events/EventUtils.d.ts +137 -0
  144. package/dist/types/Events/EventUtils.d.ts.map +1 -0
  145. package/dist/types/Events/Events.d.ts +19 -0
  146. package/dist/types/Events/Events.d.ts.map +1 -0
  147. package/dist/types/Events/PureEvents/FieldSummaryTooltip.d.ts +50 -0
  148. package/dist/types/Events/PureEvents/FieldSummaryTooltip.d.ts.map +1 -0
  149. package/dist/types/Events/PureEvents/PureEvents.d.ts +34 -0
  150. package/dist/types/Events/PureEvents/PureEvents.d.ts.map +1 -0
  151. package/dist/types/Events/PureEvents/TimeControlsPopover.d.ts +33 -0
  152. package/dist/types/Events/PureEvents/TimeControlsPopover.d.ts.map +1 -0
  153. package/dist/types/Events/config.d.ts +4 -0
  154. package/dist/types/Events/config.d.ts.map +1 -0
  155. package/dist/types/Events/index.d.ts +3 -0
  156. package/dist/types/Events/index.d.ts.map +1 -0
  157. package/dist/types/FillerGauge/FillerGauge.d.ts +13 -0
  158. package/dist/types/FillerGauge/FillerGauge.d.ts.map +1 -0
  159. package/dist/types/FillerGauge/PureFillerGauge/FillerGauge.d.ts +32 -0
  160. package/dist/types/FillerGauge/PureFillerGauge/FillerGauge.d.ts.map +1 -0
  161. package/dist/types/FillerGauge/config.d.ts +4 -0
  162. package/dist/types/FillerGauge/config.d.ts.map +1 -0
  163. package/dist/types/FillerGauge/index.d.ts +3 -0
  164. package/dist/types/FillerGauge/index.d.ts.map +1 -0
  165. package/dist/types/Image/Image.d.ts +13 -0
  166. package/dist/types/Image/Image.d.ts.map +1 -0
  167. package/dist/types/Image/ImageApi.d.ts +15 -0
  168. package/dist/types/Image/ImageApi.d.ts.map +1 -0
  169. package/dist/types/Image/config.d.ts +4 -0
  170. package/dist/types/Image/config.d.ts.map +1 -0
  171. package/dist/types/Image/index.d.ts +3 -0
  172. package/dist/types/Image/index.d.ts.map +1 -0
  173. package/dist/types/Line/Line.d.ts +13 -0
  174. package/dist/types/Line/Line.d.ts.map +1 -0
  175. package/dist/types/Line/config.d.ts +4 -0
  176. package/dist/types/Line/config.d.ts.map +1 -0
  177. package/dist/types/Line/index.d.ts +3 -0
  178. package/dist/types/Line/index.d.ts.map +1 -0
  179. package/dist/types/Line/lineUtils.d.ts +22 -0
  180. package/dist/types/Line/lineUtils.d.ts.map +1 -0
  181. package/dist/types/Line/mockdata/LineData.d.ts +184 -0
  182. package/dist/types/Line/mockdata/LineData.d.ts.map +1 -0
  183. package/dist/types/LinkGraph/ESTestDataSources.d.ts +32 -0
  184. package/dist/types/LinkGraph/ESTestDataSources.d.ts.map +1 -0
  185. package/dist/types/LinkGraph/ESTestTemplate.d.ts +2 -0
  186. package/dist/types/LinkGraph/ESTestTemplate.d.ts.map +1 -0
  187. package/dist/types/LinkGraph/LinkGraph.d.ts +22 -0
  188. package/dist/types/LinkGraph/LinkGraph.d.ts.map +1 -0
  189. package/dist/types/LinkGraph/PureLinkGraph/PureLinkGraph.d.ts +89 -0
  190. package/dist/types/LinkGraph/PureLinkGraph/PureLinkGraph.d.ts.map +1 -0
  191. package/dist/types/LinkGraph/PureLinkGraph/PureLinkGraphUtils.d.ts +74 -0
  192. package/dist/types/LinkGraph/PureLinkGraph/PureLinkGraphUtils.d.ts.map +1 -0
  193. package/dist/types/LinkGraph/PureLinkGraph/components/Edges.d.ts +9 -0
  194. package/dist/types/LinkGraph/PureLinkGraph/components/Edges.d.ts.map +1 -0
  195. package/dist/types/LinkGraph/PureLinkGraph/components/Field.d.ts +14 -0
  196. package/dist/types/LinkGraph/PureLinkGraph/components/Field.d.ts.map +1 -0
  197. package/dist/types/LinkGraph/PureLinkGraph/components/FieldStyles.d.ts +5 -0
  198. package/dist/types/LinkGraph/PureLinkGraph/components/FieldStyles.d.ts.map +1 -0
  199. package/dist/types/LinkGraph/PureLinkGraph/components/Graph.d.ts +49 -0
  200. package/dist/types/LinkGraph/PureLinkGraph/components/Graph.d.ts.map +1 -0
  201. package/dist/types/LinkGraph/PureLinkGraph/components/GraphStyles.d.ts +11 -0
  202. package/dist/types/LinkGraph/PureLinkGraph/components/GraphStyles.d.ts.map +1 -0
  203. package/dist/types/LinkGraph/PureLinkGraph/components/Node.d.ts +24 -0
  204. package/dist/types/LinkGraph/PureLinkGraph/components/Node.d.ts.map +1 -0
  205. package/dist/types/LinkGraph/PureLinkGraph/components/Nodes.d.ts +16 -0
  206. package/dist/types/LinkGraph/PureLinkGraph/components/Nodes.d.ts.map +1 -0
  207. package/dist/types/LinkGraph/PureLinkGraph/utils/iconLoader.d.ts +168 -0
  208. package/dist/types/LinkGraph/PureLinkGraph/utils/iconLoader.d.ts.map +1 -0
  209. package/dist/types/LinkGraph/config.d.ts +4 -0
  210. package/dist/types/LinkGraph/config.d.ts.map +1 -0
  211. package/dist/types/LinkGraph/index.d.ts +3 -0
  212. package/dist/types/LinkGraph/index.d.ts.map +1 -0
  213. package/dist/types/Map/Map.d.ts +28 -0
  214. package/dist/types/Map/Map.d.ts.map +1 -0
  215. package/dist/types/Map/MapContextDefault.d.ts +39 -0
  216. package/dist/types/Map/MapContextDefault.d.ts.map +1 -0
  217. package/dist/types/Map/PureMap/BubbleLayer.d.ts +51 -0
  218. package/dist/types/Map/PureMap/BubbleLayer.d.ts.map +1 -0
  219. package/dist/types/Map/PureMap/ChoroplethLayer.d.ts +36 -0
  220. package/dist/types/Map/PureMap/ChoroplethLayer.d.ts.map +1 -0
  221. package/dist/types/Map/PureMap/ClusterLayer.d.ts +17 -0
  222. package/dist/types/Map/PureMap/ClusterLayer.d.ts.map +1 -0
  223. package/dist/types/Map/PureMap/LocalChoroplethLayer.d.ts +18 -0
  224. package/dist/types/Map/PureMap/LocalChoroplethLayer.d.ts.map +1 -0
  225. package/dist/types/Map/PureMap/MapUtils.d.ts +141 -0
  226. package/dist/types/Map/PureMap/MapUtils.d.ts.map +1 -0
  227. package/dist/types/Map/PureMap/MarkerLayer.d.ts +34 -0
  228. package/dist/types/Map/PureMap/MarkerLayer.d.ts.map +1 -0
  229. package/dist/types/Map/PureMap/MarkerWrapper.d.ts +17 -0
  230. package/dist/types/Map/PureMap/MarkerWrapper.d.ts.map +1 -0
  231. package/dist/types/Map/PureMap/PureMap.d.ts +102 -0
  232. package/dist/types/Map/PureMap/PureMap.d.ts.map +1 -0
  233. package/dist/types/Map/PureMap/PureMapContainer.d.ts +15 -0
  234. package/dist/types/Map/PureMap/PureMapContainer.d.ts.map +1 -0
  235. package/dist/types/Map/PureMap/Tooltip.d.ts +20 -0
  236. package/dist/types/Map/PureMap/Tooltip.d.ts.map +1 -0
  237. package/dist/types/Map/PureMap/mockdata/data.d.ts +90 -0
  238. package/dist/types/Map/PureMap/mockdata/data.d.ts.map +1 -0
  239. package/dist/types/Map/config.d.ts +4 -0
  240. package/dist/types/Map/config.d.ts.map +1 -0
  241. package/dist/types/Map/index.d.ts +3 -0
  242. package/dist/types/Map/index.d.ts.map +1 -0
  243. package/dist/types/Markdown/Markdown.d.ts +31 -0
  244. package/dist/types/Markdown/Markdown.d.ts.map +1 -0
  245. package/dist/types/Markdown/config.d.ts +4 -0
  246. package/dist/types/Markdown/config.d.ts.map +1 -0
  247. package/dist/types/Markdown/index.d.ts +3 -0
  248. package/dist/types/Markdown/index.d.ts.map +1 -0
  249. package/dist/types/MarkerGauge/MarkerGauge.d.ts +55 -0
  250. package/dist/types/MarkerGauge/MarkerGauge.d.ts.map +1 -0
  251. package/dist/types/MarkerGauge/PureMarkerGauge/MarkerGauge.d.ts +72 -0
  252. package/dist/types/MarkerGauge/PureMarkerGauge/MarkerGauge.d.ts.map +1 -0
  253. package/dist/types/MarkerGauge/config.d.ts +4 -0
  254. package/dist/types/MarkerGauge/config.d.ts.map +1 -0
  255. package/dist/types/MarkerGauge/index.d.ts +3 -0
  256. package/dist/types/MarkerGauge/index.d.ts.map +1 -0
  257. package/dist/types/ParallelCoordinates/ParallelCoordinates.d.ts +58 -0
  258. package/dist/types/ParallelCoordinates/ParallelCoordinates.d.ts.map +1 -0
  259. package/dist/types/ParallelCoordinates/PureParallelCoordinates/PureParallelCoordinates.d.ts +69 -0
  260. package/dist/types/ParallelCoordinates/PureParallelCoordinates/PureParallelCoordinates.d.ts.map +1 -0
  261. package/dist/types/ParallelCoordinates/PureParallelCoordinates/src/ParallelCoordinatesCanvas.d.ts +30 -0
  262. package/dist/types/ParallelCoordinates/PureParallelCoordinates/src/ParallelCoordinatesCanvas.d.ts.map +1 -0
  263. package/dist/types/ParallelCoordinates/PureParallelCoordinates/src/ParallelCoordinatesChart.d.ts +42 -0
  264. package/dist/types/ParallelCoordinates/PureParallelCoordinates/src/ParallelCoordinatesChart.d.ts.map +1 -0
  265. package/dist/types/ParallelCoordinates/PureParallelCoordinates/src/ParallelCoordinatesPrompt.d.ts +22 -0
  266. package/dist/types/ParallelCoordinates/PureParallelCoordinates/src/ParallelCoordinatesPrompt.d.ts.map +1 -0
  267. package/dist/types/ParallelCoordinates/config.d.ts +4 -0
  268. package/dist/types/ParallelCoordinates/config.d.ts.map +1 -0
  269. package/dist/types/ParallelCoordinates/index.d.ts +3 -0
  270. package/dist/types/ParallelCoordinates/index.d.ts.map +1 -0
  271. package/dist/types/ParallelCoordinates/mockdata/arrayValueData.d.ts +6 -0
  272. package/dist/types/ParallelCoordinates/mockdata/arrayValueData.d.ts.map +1 -0
  273. package/dist/types/ParallelCoordinates/mockdata/sampleCarData.d.ts +6 -0
  274. package/dist/types/ParallelCoordinates/mockdata/sampleCarData.d.ts.map +1 -0
  275. package/dist/types/ParallelCoordinates/mockdata/sampleCarNumericalData.d.ts +6 -0
  276. package/dist/types/ParallelCoordinates/mockdata/sampleCarNumericalData.d.ts.map +1 -0
  277. package/dist/types/ParallelCoordinates/mockdata/sampleFoodData.d.ts +6 -0
  278. package/dist/types/ParallelCoordinates/mockdata/sampleFoodData.d.ts.map +1 -0
  279. package/dist/types/ParallelCoordinates/mockdata/sampleStringNumericalData.d.ts +6 -0
  280. package/dist/types/ParallelCoordinates/mockdata/sampleStringNumericalData.d.ts.map +1 -0
  281. package/dist/types/Pie/Pie.d.ts +15 -0
  282. package/dist/types/Pie/Pie.d.ts.map +1 -0
  283. package/dist/types/Pie/config.d.ts +4 -0
  284. package/dist/types/Pie/config.d.ts.map +1 -0
  285. package/dist/types/Pie/index.d.ts +3 -0
  286. package/dist/types/Pie/index.d.ts.map +1 -0
  287. package/dist/types/Pie/pieUtils.d.ts +78 -0
  288. package/dist/types/Pie/pieUtils.d.ts.map +1 -0
  289. package/dist/types/Punchcard/Punchcard.d.ts +13 -0
  290. package/dist/types/Punchcard/Punchcard.d.ts.map +1 -0
  291. package/dist/types/Punchcard/PurePunchcard/Punchcard.d.ts +40 -0
  292. package/dist/types/Punchcard/PurePunchcard/Punchcard.d.ts.map +1 -0
  293. package/dist/types/Punchcard/PurePunchcard/src/PunchcardAxis.d.ts +20 -0
  294. package/dist/types/Punchcard/PurePunchcard/src/PunchcardAxis.d.ts.map +1 -0
  295. package/dist/types/Punchcard/PurePunchcard/src/PunchcardBubble.d.ts +27 -0
  296. package/dist/types/Punchcard/PurePunchcard/src/PunchcardBubble.d.ts.map +1 -0
  297. package/dist/types/Punchcard/PurePunchcard/src/PunchcardChartArea.d.ts +40 -0
  298. package/dist/types/Punchcard/PurePunchcard/src/PunchcardChartArea.d.ts.map +1 -0
  299. package/dist/types/Punchcard/PurePunchcard/src/PunchcardGridLines.d.ts +17 -0
  300. package/dist/types/Punchcard/PurePunchcard/src/PunchcardGridLines.d.ts.map +1 -0
  301. package/dist/types/Punchcard/PurePunchcard/src/PunchcardLegend.d.ts +21 -0
  302. package/dist/types/Punchcard/PurePunchcard/src/PunchcardLegend.d.ts.map +1 -0
  303. package/dist/types/Punchcard/PurePunchcard/src/PunchcardRow.d.ts +10 -0
  304. package/dist/types/Punchcard/PurePunchcard/src/PunchcardRow.d.ts.map +1 -0
  305. package/dist/types/Punchcard/PurePunchcard/src/utils/punchcardUtils.d.ts +285 -0
  306. package/dist/types/Punchcard/PurePunchcard/src/utils/punchcardUtils.d.ts.map +1 -0
  307. package/dist/types/Punchcard/config.d.ts +4 -0
  308. package/dist/types/Punchcard/config.d.ts.map +1 -0
  309. package/dist/types/Punchcard/index.d.ts +3 -0
  310. package/dist/types/Punchcard/index.d.ts.map +1 -0
  311. package/dist/types/Punchcard/punchcardUtils.d.ts +32 -0
  312. package/dist/types/Punchcard/punchcardUtils.d.ts.map +1 -0
  313. package/dist/types/Rectangle/Rectangle.d.ts +14 -0
  314. package/dist/types/Rectangle/Rectangle.d.ts.map +1 -0
  315. package/dist/types/Rectangle/config.d.ts +4 -0
  316. package/dist/types/Rectangle/config.d.ts.map +1 -0
  317. package/dist/types/Rectangle/index.d.ts +3 -0
  318. package/dist/types/Rectangle/index.d.ts.map +1 -0
  319. package/dist/types/Sankey/PureSankey/PureSankey.d.ts +98 -0
  320. package/dist/types/Sankey/PureSankey/PureSankey.d.ts.map +1 -0
  321. package/dist/types/Sankey/PureSankey/SankeyLink.d.ts +33 -0
  322. package/dist/types/Sankey/PureSankey/SankeyLink.d.ts.map +1 -0
  323. package/dist/types/Sankey/PureSankey/SankeyModels.d.ts +48 -0
  324. package/dist/types/Sankey/PureSankey/SankeyModels.d.ts.map +1 -0
  325. package/dist/types/Sankey/PureSankey/SankeyNode.d.ts +38 -0
  326. package/dist/types/Sankey/PureSankey/SankeyNode.d.ts.map +1 -0
  327. package/dist/types/Sankey/PureSankey/SankeyTooltip.d.ts +43 -0
  328. package/dist/types/Sankey/PureSankey/SankeyTooltip.d.ts.map +1 -0
  329. package/dist/types/Sankey/PureSankey/SankeyUtils.d.ts +20 -0
  330. package/dist/types/Sankey/PureSankey/SankeyUtils.d.ts.map +1 -0
  331. package/dist/types/Sankey/PureSankey/mockdata/data.d.ts +35 -0
  332. package/dist/types/Sankey/PureSankey/mockdata/data.d.ts.map +1 -0
  333. package/dist/types/Sankey/Sankey.d.ts +31 -0
  334. package/dist/types/Sankey/Sankey.d.ts.map +1 -0
  335. package/dist/types/Sankey/config.d.ts +4 -0
  336. package/dist/types/Sankey/config.d.ts.map +1 -0
  337. package/dist/types/Sankey/index.d.ts +3 -0
  338. package/dist/types/Sankey/index.d.ts.map +1 -0
  339. package/dist/types/Scatter/Scatter.d.ts +11 -0
  340. package/dist/types/Scatter/Scatter.d.ts.map +1 -0
  341. package/dist/types/Scatter/config.d.ts +4 -0
  342. package/dist/types/Scatter/config.d.ts.map +1 -0
  343. package/dist/types/Scatter/index.d.ts +3 -0
  344. package/dist/types/Scatter/index.d.ts.map +1 -0
  345. package/dist/types/Scatter/mockdata/data.d.ts +35 -0
  346. package/dist/types/Scatter/mockdata/data.d.ts.map +1 -0
  347. package/dist/types/Scatter/scatterUtils.d.ts +47 -0
  348. package/dist/types/Scatter/scatterUtils.d.ts.map +1 -0
  349. package/dist/types/SingleValue/SingleValue.d.ts +16 -0
  350. package/dist/types/SingleValue/SingleValue.d.ts.map +1 -0
  351. package/dist/types/SingleValue/config.d.ts +4 -0
  352. package/dist/types/SingleValue/config.d.ts.map +1 -0
  353. package/dist/types/SingleValue/index.d.ts +3 -0
  354. package/dist/types/SingleValue/index.d.ts.map +1 -0
  355. package/dist/types/SingleValueBasic/index.d.ts +3 -0
  356. package/dist/types/SingleValueBasic/index.d.ts.map +1 -0
  357. package/dist/types/SingleValueIcon/SingleValueIcon.d.ts +29 -0
  358. package/dist/types/SingleValueIcon/SingleValueIcon.d.ts.map +1 -0
  359. package/dist/types/SingleValueIcon/config.d.ts +4 -0
  360. package/dist/types/SingleValueIcon/config.d.ts.map +1 -0
  361. package/dist/types/SingleValueIcon/index.d.ts +3 -0
  362. package/dist/types/SingleValueIcon/index.d.ts.map +1 -0
  363. package/dist/types/SingleValueRadial/PureSingleValueRadial/GaugeGraph.d.ts +20 -0
  364. package/dist/types/SingleValueRadial/PureSingleValueRadial/GaugeGraph.d.ts.map +1 -0
  365. package/dist/types/SingleValueRadial/PureSingleValueRadial/utils/gaugeUtils.d.ts +82 -0
  366. package/dist/types/SingleValueRadial/PureSingleValueRadial/utils/gaugeUtils.d.ts.map +1 -0
  367. package/dist/types/SingleValueRadial/SingleValueRadial.d.ts +17 -0
  368. package/dist/types/SingleValueRadial/SingleValueRadial.d.ts.map +1 -0
  369. package/dist/types/SingleValueRadial/config.d.ts +4 -0
  370. package/dist/types/SingleValueRadial/config.d.ts.map +1 -0
  371. package/dist/types/SingleValueRadial/index.d.ts +3 -0
  372. package/dist/types/SingleValueRadial/index.d.ts.map +1 -0
  373. package/dist/types/SparkLine/index.d.ts +2 -0
  374. package/dist/types/SparkLine/index.d.ts.map +1 -0
  375. package/dist/types/Table/PureTable.d.ts +50 -0
  376. package/dist/types/Table/PureTable.d.ts.map +1 -0
  377. package/dist/types/Table/Table.d.ts +10 -0
  378. package/dist/types/Table/Table.d.ts.map +1 -0
  379. package/dist/types/Table/cells/ArrayCell.d.ts +12 -0
  380. package/dist/types/Table/cells/ArrayCell.d.ts.map +1 -0
  381. package/dist/types/Table/cells/SparklineCell.d.ts +13 -0
  382. package/dist/types/Table/cells/SparklineCell.d.ts.map +1 -0
  383. package/dist/types/Table/cells/SwitchTableCell.d.ts +5 -0
  384. package/dist/types/Table/cells/SwitchTableCell.d.ts.map +1 -0
  385. package/dist/types/Table/cells/TextCell.d.ts +12 -0
  386. package/dist/types/Table/cells/TextCell.d.ts.map +1 -0
  387. package/dist/types/Table/cells/index.d.ts +5 -0
  388. package/dist/types/Table/cells/index.d.ts.map +1 -0
  389. package/dist/types/Table/config.d.ts +4 -0
  390. package/dist/types/Table/config.d.ts.map +1 -0
  391. package/dist/types/Table/hooks.d.ts +130 -0
  392. package/dist/types/Table/hooks.d.ts.map +1 -0
  393. package/dist/types/Table/index.d.ts +3 -0
  394. package/dist/types/Table/index.d.ts.map +1 -0
  395. package/dist/types/Timeline/PureTimeline/PureTimeline.d.ts +81 -0
  396. package/dist/types/Timeline/PureTimeline/PureTimeline.d.ts.map +1 -0
  397. package/dist/types/Timeline/PureTimeline/src/CursorPlugin.d.ts +8 -0
  398. package/dist/types/Timeline/PureTimeline/src/CursorPlugin.d.ts.map +1 -0
  399. package/dist/types/Timeline/PureTimeline/src/TimelineLegend.d.ts +28 -0
  400. package/dist/types/Timeline/PureTimeline/src/TimelineLegend.d.ts.map +1 -0
  401. package/dist/types/Timeline/PureTimeline/src/TimelinePlugin.d.ts +16 -0
  402. package/dist/types/Timeline/PureTimeline/src/TimelinePlugin.d.ts.map +1 -0
  403. package/dist/types/Timeline/PureTimeline/src/TimelineTooltip.d.ts +11 -0
  404. package/dist/types/Timeline/PureTimeline/src/TimelineTooltip.d.ts.map +1 -0
  405. package/dist/types/Timeline/PureTimeline/src/TimelineUplot.d.ts +22 -0
  406. package/dist/types/Timeline/PureTimeline/src/TimelineUplot.d.ts.map +1 -0
  407. package/dist/types/Timeline/PureTimeline/src/TimelineYAxis.d.ts +20 -0
  408. package/dist/types/Timeline/PureTimeline/src/TimelineYAxis.d.ts.map +1 -0
  409. package/dist/types/Timeline/PureTimeline/src/XAxisPlugin.d.ts +18 -0
  410. package/dist/types/Timeline/PureTimeline/src/XAxisPlugin.d.ts.map +1 -0
  411. package/dist/types/Timeline/PureTimeline/src/utils/timelineUtils.d.ts +34 -0
  412. package/dist/types/Timeline/PureTimeline/src/utils/timelineUtils.d.ts.map +1 -0
  413. package/dist/types/Timeline/Timeline.d.ts +22 -0
  414. package/dist/types/Timeline/Timeline.d.ts.map +1 -0
  415. package/dist/types/Timeline/config.d.ts +4 -0
  416. package/dist/types/Timeline/config.d.ts.map +1 -0
  417. package/dist/types/Timeline/index.d.ts +3 -0
  418. package/dist/types/Timeline/index.d.ts.map +1 -0
  419. package/dist/types/Timeline/mockdata/basicTimelineData.d.ts +76 -0
  420. package/dist/types/Timeline/mockdata/basicTimelineData.d.ts.map +1 -0
  421. package/dist/types/Timeline/mockdata/categoricalTimelineData.d.ts +31 -0
  422. package/dist/types/Timeline/mockdata/categoricalTimelineData.d.ts.map +1 -0
  423. package/dist/types/Timeline/mockdata/timelineDataSource.d.ts +52 -0
  424. package/dist/types/Timeline/mockdata/timelineDataSource.d.ts.map +1 -0
  425. package/dist/types/common/Charting.d.ts +46 -0
  426. package/dist/types/common/Charting.d.ts.map +1 -0
  427. package/dist/types/common/ChartingApi.d.ts +36 -0
  428. package/dist/types/common/ChartingApi.d.ts.map +1 -0
  429. package/dist/types/common/DocExampleWithVizSandbox.d.ts +22 -0
  430. package/dist/types/common/DocExampleWithVizSandbox.d.ts.map +1 -0
  431. package/dist/types/common/OverviewDoc.d.ts +20 -0
  432. package/dist/types/common/OverviewDoc.d.ts.map +1 -0
  433. package/dist/types/common/SplunkVisualization.d.ts +16 -0
  434. package/dist/types/common/SplunkVisualization.d.ts.map +1 -0
  435. package/dist/types/common/SplunkVisualizationApi.d.ts +16 -0
  436. package/dist/types/common/SplunkVisualizationApi.d.ts.map +1 -0
  437. package/dist/types/common/ThemedDefaults.d.ts +2 -0
  438. package/dist/types/common/ThemedDefaults.d.ts.map +1 -0
  439. package/dist/types/common/TimeSeriesChartWrapper.d.ts +7 -0
  440. package/dist/types/common/TimeSeriesChartWrapper.d.ts.map +1 -0
  441. package/dist/types/common/chartingUtils.d.ts +164 -0
  442. package/dist/types/common/chartingUtils.d.ts.map +1 -0
  443. package/dist/types/common/components/IconPlaceholder.d.ts +21 -0
  444. package/dist/types/common/components/IconPlaceholder.d.ts.map +1 -0
  445. package/dist/types/common/components/MissingPropsMessage.d.ts +28 -0
  446. package/dist/types/common/components/MissingPropsMessage.d.ts.map +1 -0
  447. package/dist/types/common/components/TrellisTitle.d.ts +10 -0
  448. package/dist/types/common/components/TrellisTitle.d.ts.map +1 -0
  449. package/dist/types/common/configContext/singleValueContext.d.ts +3 -0
  450. package/dist/types/common/configContext/singleValueContext.d.ts.map +1 -0
  451. package/dist/types/common/docUtils.d.ts +24 -0
  452. package/dist/types/common/docUtils.d.ts.map +1 -0
  453. package/dist/types/common/editorConfig/AxesChartColorAndStyle.d.ts +5 -0
  454. package/dist/types/common/editorConfig/AxesChartColorAndStyle.d.ts.map +1 -0
  455. package/dist/types/common/editorConfig/AxesChartDataConfig.d.ts +31 -0
  456. package/dist/types/common/editorConfig/AxesChartDataConfig.d.ts.map +1 -0
  457. package/dist/types/common/editorConfig/AxesChartDataDisplay.d.ts +14 -0
  458. package/dist/types/common/editorConfig/AxesChartDataDisplay.d.ts.map +1 -0
  459. package/dist/types/common/editorConfig/AxesChartLegend.d.ts +8 -0
  460. package/dist/types/common/editorConfig/AxesChartLegend.d.ts.map +1 -0
  461. package/dist/types/common/editorConfig/AxesChartXGridAndLabels.d.ts +6 -0
  462. package/dist/types/common/editorConfig/AxesChartXGridAndLabels.d.ts.map +1 -0
  463. package/dist/types/common/editorConfig/AxesChartY2GridAndLabels.d.ts +11 -0
  464. package/dist/types/common/editorConfig/AxesChartY2GridAndLabels.d.ts.map +1 -0
  465. package/dist/types/common/editorConfig/AxesChartYGridAndLabels.d.ts +4 -0
  466. package/dist/types/common/editorConfig/AxesChartYGridAndLabels.d.ts.map +1 -0
  467. package/dist/types/common/editorConfig/BackgroundColor.d.ts +10 -0
  468. package/dist/types/common/editorConfig/BackgroundColor.d.ts.map +1 -0
  469. package/dist/types/common/editorConfig/DynamicFillColorEditor.d.ts +29 -0
  470. package/dist/types/common/editorConfig/DynamicFillColorEditor.d.ts.map +1 -0
  471. package/dist/types/common/editorConfig/DynamicGaugeColorEditor.d.ts +29 -0
  472. package/dist/types/common/editorConfig/DynamicGaugeColorEditor.d.ts.map +1 -0
  473. package/dist/types/common/editorConfig/DynamicStrokeColorEditor.d.ts +29 -0
  474. package/dist/types/common/editorConfig/DynamicStrokeColorEditor.d.ts.map +1 -0
  475. package/dist/types/common/editorConfig/Gauge.d.ts +4 -0
  476. package/dist/types/common/editorConfig/Gauge.d.ts.map +1 -0
  477. package/dist/types/common/editorConfig/Legend.d.ts +4 -0
  478. package/dist/types/common/editorConfig/Legend.d.ts.map +1 -0
  479. package/dist/types/common/editorConfig/RadialBackgroundColor.d.ts +10 -0
  480. package/dist/types/common/editorConfig/RadialBackgroundColor.d.ts.map +1 -0
  481. package/dist/types/common/editorConfig/StaticFillColorEditor.d.ts +10 -0
  482. package/dist/types/common/editorConfig/StaticFillColorEditor.d.ts.map +1 -0
  483. package/dist/types/common/editorConfig/StaticGaugeColorEditor.d.ts +10 -0
  484. package/dist/types/common/editorConfig/StaticGaugeColorEditor.d.ts.map +1 -0
  485. package/dist/types/common/editorConfig/StaticStrokeColorEditor.d.ts +10 -0
  486. package/dist/types/common/editorConfig/StaticStrokeColorEditor.d.ts.map +1 -0
  487. package/dist/types/common/editorConfig/TrellisEditors.d.ts +66 -0
  488. package/dist/types/common/editorConfig/TrellisEditors.d.ts.map +1 -0
  489. package/dist/types/common/gaugeUtils.d.ts +387 -0
  490. package/dist/types/common/gaugeUtils.d.ts.map +1 -0
  491. package/dist/types/common/hocs/FixedSizeContainer.d.ts +9 -0
  492. package/dist/types/common/hocs/FixedSizeContainer.d.ts.map +1 -0
  493. package/dist/types/common/hocs/mockdata/trellisData.d.ts +1288 -0
  494. package/dist/types/common/hocs/mockdata/trellisData.d.ts.map +1 -0
  495. package/dist/types/common/hocs/withEditModeCover.d.ts +10 -0
  496. package/dist/types/common/hocs/withEditModeCover.d.ts.map +1 -0
  497. package/dist/types/common/hocs/withPlaceholder.d.ts +8 -0
  498. package/dist/types/common/hocs/withPlaceholder.d.ts.map +1 -0
  499. package/dist/types/common/hocs/withTrellis.d.ts +18 -0
  500. package/dist/types/common/hocs/withTrellis.d.ts.map +1 -0
  501. package/dist/types/common/hooks/useDeepMemo.d.ts +15 -0
  502. package/dist/types/common/hooks/useDeepMemo.d.ts.map +1 -0
  503. package/dist/types/common/hooks/useDownsampleDataSources.d.ts +7 -0
  504. package/dist/types/common/hooks/useDownsampleDataSources.d.ts.map +1 -0
  505. package/dist/types/common/hooks/useEventCallback.d.ts +9 -0
  506. package/dist/types/common/hooks/useEventCallback.d.ts.map +1 -0
  507. package/dist/types/common/hooks/useGetXAndYFields.d.ts +10 -0
  508. package/dist/types/common/hooks/useGetXAndYFields.d.ts.map +1 -0
  509. package/dist/types/common/hooks/usePagination.d.ts +21 -0
  510. package/dist/types/common/hooks/usePagination.d.ts.map +1 -0
  511. package/dist/types/common/hooks/usePrevious.d.ts +2 -0
  512. package/dist/types/common/hooks/usePrevious.d.ts.map +1 -0
  513. package/dist/types/common/hooks/useSorting.d.ts +17 -0
  514. package/dist/types/common/hooks/useSorting.d.ts.map +1 -0
  515. package/dist/types/common/hooks/useTrellisEnabled.d.ts +4 -0
  516. package/dist/types/common/hooks/useTrellisEnabled.d.ts.map +1 -0
  517. package/dist/types/common/interfaces/ChartEvent.d.ts +26 -0
  518. package/dist/types/common/interfaces/ChartEvent.d.ts.map +1 -0
  519. package/dist/types/common/interfaces/DashboardVizProps.d.ts +27 -0
  520. package/dist/types/common/interfaces/DashboardVizProps.d.ts.map +1 -0
  521. package/dist/types/common/interfaces/DataContract.d.ts +19 -0
  522. package/dist/types/common/interfaces/DataContract.d.ts.map +1 -0
  523. package/dist/types/common/interfaces/DataSource.d.ts +45 -0
  524. package/dist/types/common/interfaces/DataSource.d.ts.map +1 -0
  525. package/dist/types/common/interfaces/DefaultContext.d.ts +30 -0
  526. package/dist/types/common/interfaces/DefaultContext.d.ts.map +1 -0
  527. package/dist/types/common/interfaces/Editor.d.ts +23 -0
  528. package/dist/types/common/interfaces/Editor.d.ts.map +1 -0
  529. package/dist/types/common/interfaces/ExtendedDashViz.d.ts +7 -0
  530. package/dist/types/common/interfaces/ExtendedDashViz.d.ts.map +1 -0
  531. package/dist/types/common/interfaces/Object.d.ts +4 -0
  532. package/dist/types/common/interfaces/Object.d.ts.map +1 -0
  533. package/dist/types/common/interfaces/Overview.d.ts +14 -0
  534. package/dist/types/common/interfaces/Overview.d.ts.map +1 -0
  535. package/dist/types/common/interfaces/ThemedDefaults.d.ts +5 -0
  536. package/dist/types/common/interfaces/ThemedDefaults.d.ts.map +1 -0
  537. package/dist/types/common/interfaces/VizActionHandler.d.ts +15 -0
  538. package/dist/types/common/interfaces/VizActionHandler.d.ts.map +1 -0
  539. package/dist/types/common/interfaces/VizBehavior.d.ts +25 -0
  540. package/dist/types/common/interfaces/VizBehavior.d.ts.map +1 -0
  541. package/dist/types/common/interfaces/VizCategory.d.ts +16 -0
  542. package/dist/types/common/interfaces/VizCategory.d.ts.map +1 -0
  543. package/dist/types/common/interfaces/VizConfig.d.ts +34 -0
  544. package/dist/types/common/interfaces/VizConfig.d.ts.map +1 -0
  545. package/dist/types/common/interfaces/VizEvent.d.ts +13 -0
  546. package/dist/types/common/interfaces/VizEvent.d.ts.map +1 -0
  547. package/dist/types/common/interfaces/VizProps.d.ts +8 -0
  548. package/dist/types/common/interfaces/VizProps.d.ts.map +1 -0
  549. package/dist/types/common/interfaces/VizRegistry.d.ts +7 -0
  550. package/dist/types/common/interfaces/VizRegistry.d.ts.map +1 -0
  551. package/dist/types/common/interfaces/VizSize.d.ts +8 -0
  552. package/dist/types/common/interfaces/VizSize.d.ts.map +1 -0
  553. package/dist/types/common/interfaces/VizStatus.d.ts +2 -0
  554. package/dist/types/common/interfaces/VizStatus.d.ts.map +1 -0
  555. package/dist/types/common/interfaces/index.d.ts +19 -0
  556. package/dist/types/common/interfaces/index.d.ts.map +1 -0
  557. package/dist/types/common/shapeUtils.d.ts +26 -0
  558. package/dist/types/common/shapeUtils.d.ts.map +1 -0
  559. package/dist/types/common/utils/configUtils.d.ts +59 -0
  560. package/dist/types/common/utils/configUtils.d.ts.map +1 -0
  561. package/dist/types/common/utils/dataUtils.d.ts +31 -0
  562. package/dist/types/common/utils/dataUtils.d.ts.map +1 -0
  563. package/dist/types/common/utils/featureFlagUtils.d.ts +3 -0
  564. package/dist/types/common/utils/featureFlagUtils.d.ts.map +1 -0
  565. package/dist/types/common/utils/hocUtils.d.ts +12 -0
  566. package/dist/types/common/utils/hocUtils.d.ts.map +1 -0
  567. package/dist/types/common/utils/mapUtils.d.ts +2 -0
  568. package/dist/types/common/utils/mapUtils.d.ts.map +1 -0
  569. package/dist/types/common/utils/styleUtils.d.ts +2 -0
  570. package/dist/types/common/utils/styleUtils.d.ts.map +1 -0
  571. package/dist/types/common/utils/tableUtils.d.ts +3 -0
  572. package/dist/types/common/utils/tableUtils.d.ts.map +1 -0
  573. package/dist/types/common/utils/trellisUtils.d.ts +60 -0
  574. package/dist/types/common/utils/trellisUtils.d.ts.map +1 -0
  575. package/dist/types/common/utils/urlUtils.d.ts +2 -0
  576. package/dist/types/common/utils/urlUtils.d.ts.map +1 -0
  577. package/dist/types/common/withDashboardViz.d.ts +22 -0
  578. package/dist/types/common/withDashboardViz.d.ts.map +1 -0
  579. package/package.json +32 -34
@@ -0,0 +1,387 @@
1
+ export declare const GAUGE_THICKNESS = 50;
2
+ export declare const FILL_THICKNESS = 38;
3
+ /**
4
+ * get width for the whole gauge viz for horizontal or vertical view
5
+ * @method getGaugeWidth
6
+ * @param {Object} input
7
+ * @param {Number} containerWidth
8
+ * @param {String} orientation
9
+ * @return {Number} width
10
+ */
11
+ export declare const getGaugeWidth: ({ containerWidth, orientation }: {
12
+ containerWidth: any;
13
+ orientation: any;
14
+ }) => number;
15
+ /**
16
+ * get height for the whole gauge viz for horizontal or vertical view
17
+ * @method getGaugeHeight
18
+ * @param {Object} input
19
+ * @param {Number} containerHeight
20
+ * @param {String} orientation
21
+ * @return {Number} height
22
+ */
23
+ export declare const getGaugeHeight: ({ containerHeight, orientation }: {
24
+ containerHeight: any;
25
+ orientation: any;
26
+ }) => number;
27
+ /**
28
+ * get how long the gauge shoud be.
29
+ * In horizontal view, gauge length equals to gauge width. In vertical view, it equals to gauge height.
30
+ * @method getGaugeLength
31
+ * @param {Object} input
32
+ * @param {Number} input.containerWidth
33
+ * @param {Number} input.containerHeight
34
+ * @param {String} input.orientation
35
+ * @return {Number} gaugeLength
36
+ */
37
+ export declare const getGaugeLength: ({ containerWidth, containerHeight, orientation }: {
38
+ containerWidth: any;
39
+ containerHeight: any;
40
+ orientation: any;
41
+ }) => number;
42
+ /**
43
+ * get start x and y for rendering gauge
44
+ * @method getGaugeStartPosition
45
+ * @param {Object} input
46
+ * @param {Number} containerWidth
47
+ * @param {Number} containerHeight
48
+ * @param {Number} gaugeLength
49
+ * @param {String} orientation
50
+ * @return {Object} position
51
+ * @return {Number} position.gaugeStartX
52
+ * @return {Number} position.gaugeStartY
53
+ */
54
+ export declare const getGaugeStartPosition: ({ containerWidth, containerHeight, gaugeLength, orientation }: {
55
+ containerWidth: any;
56
+ containerHeight: any;
57
+ gaugeLength: any;
58
+ orientation: any;
59
+ }) => {
60
+ gaugeStartX: number;
61
+ gaugeStartY: number;
62
+ };
63
+ /**
64
+ * get dimensions for the whole gauge viz,
65
+ * which can be useful to calculate background bar and major ticks positions.
66
+ * @method getGaugeDimensions
67
+ * @param {Object} input
68
+ * @param {Number} input.containerWidth
69
+ * @param {Number} input.containerHeight
70
+ * @param {String} input.orientation 'horizontal' or 'vertical'
71
+ * @return {Object} gaugeDimensions
72
+ * @return {Number} gaugeDimensions.gaugeLength how long the gauge shoud be in horizontal or vertical orientation.
73
+ * @return {Number} gaugeDimensions.gaugeStartX start x to render gauge
74
+ * @return {Number} gaugeDimensions.gaugeStartY start y to render gauge
75
+ * @return {Number} gaugeDimensions.gaugeWidth natural width of gauge
76
+ * @return {Number} gaugeDimensions.gaugeHeight natural height of gauge
77
+ */
78
+ export declare const getGaugeDimensions: ({ containerWidth, containerHeight, orientation }: {
79
+ containerWidth: any;
80
+ containerHeight: any;
81
+ orientation: any;
82
+ }) => {
83
+ gaugeLength: number;
84
+ gaugeStartX: number;
85
+ gaugeStartY: number;
86
+ gaugeWidth: number;
87
+ gaugeHeight: number;
88
+ };
89
+ /**
90
+ * if gaugeColor is not specified, auto assign a gauge color to the fill bar
91
+ * based on how much percentage the value is taken between min and max
92
+ * @method assignGaugeColor
93
+ * @params
94
+ * */
95
+ export declare const assignGaugeColor: ({ value, min, max }: {
96
+ value: any;
97
+ min: any;
98
+ max: any;
99
+ }) => any;
100
+ /**
101
+ * get inner bar length in gauge
102
+ * @method getGaugeBarLength
103
+ * @param {Object} input
104
+ * @param {Number} input.gaugeLength
105
+ * @param {Number} input.value
106
+ * @param {Number} input.min
107
+ * @param {Number} input.max
108
+ * @return {Number} gaugeBarLength
109
+ */
110
+ export declare const getGaugeBarLength: ({ gaugeLength, value, min, max }: {
111
+ gaugeLength: any;
112
+ value: any;
113
+ min: any;
114
+ max: any;
115
+ }) => any;
116
+ /**
117
+ * get x and y position for rendering inner bar in gauge
118
+ * @method getGaugeBarStartPositions
119
+ * @param {Object} input
120
+ * @param {Number} input.gaugeStartX
121
+ * @param {Number} input.gaugeStartY
122
+ * @param {Number} input.gaugeWidth
123
+ * @param {Number} input.gaugeHeight
124
+ * @param {Number} input.gaugeBarLength
125
+ * @param {String} input.orientation
126
+ * @return {Object} position
127
+ * @return {Number} position.gaugeBarX
128
+ * @return {Number} position.gaugeBarY
129
+ */
130
+ export declare const getGaugeBarStartPositions: ({ gaugeStartX, gaugeStartY, gaugeWidth, gaugeHeight, gaugeBarLength, orientation, }: {
131
+ gaugeStartX: any;
132
+ gaugeStartY: any;
133
+ gaugeWidth: any;
134
+ gaugeHeight: any;
135
+ gaugeBarLength: any;
136
+ orientation: any;
137
+ }) => {
138
+ gaugeBarX: any;
139
+ gaugeBarY: any;
140
+ };
141
+ /**
142
+ * get width of inner bar in gauge
143
+ * @method getGaugeBarWidth
144
+ * @param {Object} input
145
+ * @param {Number} input.gaugeBarLength
146
+ * @param {String} orientation
147
+ * @return {Number} gaugeBarWidth
148
+ */
149
+ export declare const getGaugeBarWidth: ({ gaugeBarLength, orientation }: {
150
+ gaugeBarLength: any;
151
+ orientation: any;
152
+ }) => any;
153
+ /**
154
+ * get height of inner bar in gauge
155
+ * @method getGaugeBarWidth
156
+ * @param {Object} input
157
+ * @param {Number} input.gaugeBarLength
158
+ * @param {String} orientation
159
+ * @return {Number} gaugeBarHeight
160
+ */
161
+ export declare const getGaugeBarHeight: ({ gaugeBarLength, orientation }: {
162
+ gaugeBarLength: any;
163
+ orientation: any;
164
+ }) => any;
165
+ /**
166
+ * get dimensions for the fill bar in the gauge
167
+ * @method getFillBarDimensions
168
+ * @param {Object} input
169
+ * @param {Number} input.gaugeLength
170
+ * @param {Number} input.gaugeStartX
171
+ * @param {Number} input.gaugeStartY
172
+ * @param {Number} input.gaugeWidth,
173
+ * @param {Number} input.gaugeHeight,
174
+ * @param {Number} input.value,
175
+ * @param {Number} input.min,
176
+ * @param {Number} input.max,
177
+ * @param {String} input.orientation
178
+ * @return {Object} fillBarDimensions
179
+ * @return {Number} fillBarDimensions.fillBarLength
180
+ * @return {Number} fillBarDimensions.fillBarX
181
+ * @return {Number} fillBarDimensions.fillBarY
182
+ * @return {Number} fillBarDimensions.fillBarWidth
183
+ * @return {Number} fillBarDimensions.fillBarHeight
184
+ */
185
+ export declare const getFillBarDimensions: ({ gaugeLength, gaugeStartX, gaugeStartY, gaugeWidth, gaugeHeight, value, min, max, orientation, }: {
186
+ gaugeLength: any;
187
+ gaugeStartX: any;
188
+ gaugeStartY: any;
189
+ gaugeWidth: any;
190
+ gaugeHeight: any;
191
+ value: any;
192
+ min: any;
193
+ max: any;
194
+ orientation: any;
195
+ }) => {
196
+ fillBarLength: any;
197
+ fillBarX: any;
198
+ fillBarY: any;
199
+ fillBarWidth: any;
200
+ fillBarHeight: any;
201
+ };
202
+ /**
203
+ * get position x and y for value marker in filler gauge
204
+ * @method getFillerGaugeValueMarkerPositions
205
+ * @param {Object} input
206
+ * @param {Number} input.fillBarX
207
+ * @param {Number} input.fillBarY
208
+ * @param {Number} input.fillBarLength
209
+ * @param {String} input.orientation
210
+ * @return {Object} position
211
+ * @return {Number} position.valueMarkerX
212
+ * @return {Number} position.valueMarkerY
213
+ */
214
+ export declare const getFillerGaugeValueMarkerPositions: ({ fillBarX, fillBarY, fillBarLength, orientation }: {
215
+ fillBarX: any;
216
+ fillBarY: any;
217
+ fillBarLength: any;
218
+ orientation: any;
219
+ }) => {
220
+ valueMarkerX: any;
221
+ valueMarkerY: any;
222
+ };
223
+ /**
224
+ * get dimensions for the marker bar in the gauge
225
+ * @method getMarkerBarDimensions
226
+ * @param {Object} input
227
+ * @param {Number} input.gaugeLength
228
+ * @param {Number} input.gaugeStartX
229
+ * @param {Number} input.gaugeStartY
230
+ * @param {Number} input.gaugeWidth,
231
+ * @param {Number} input.gaugeHeight,
232
+ * @param {String} input.orientation
233
+ * @return {Object} markerBarDimensions
234
+ * @return {Number} markerBarDimensions.markerBarLength
235
+ * @return {Number} markerBarDimensions.markerBarX
236
+ * @return {Number} markerBarDimensions.markerBarY
237
+ * @return {Number} markerBarDimensions.markerBarWidth
238
+ * @return {Number} markerBarDimensions.markerBarHeight
239
+ */
240
+ export declare const getMarkerBarDimensions: ({ gaugeLength, gaugeStartX, gaugeStartY, gaugeWidth, gaugeHeight, orientation, }: {
241
+ gaugeLength: any;
242
+ gaugeStartX: any;
243
+ gaugeStartY: any;
244
+ gaugeWidth: any;
245
+ gaugeHeight: any;
246
+ orientation: any;
247
+ }) => {
248
+ markerBarLength: any;
249
+ markerBarX: any;
250
+ markerBarY: any;
251
+ markerBarWidth: any;
252
+ markerBarHeight: any;
253
+ };
254
+ /**
255
+ * get position x and y for value marker in marker gauge
256
+ * @method getMarkerGaugeValueMarkerPositions
257
+ * @param {Object} input
258
+ * @param {Number} input.markerBarX
259
+ * @param {Number} input.markerBarY
260
+ * @param {Number} input.markerBarHeight
261
+ * @param {Number} input.markerBarLength
262
+ * @param {Number} input.value
263
+ * @param {Number} input.min
264
+ * @param {Number} input.max
265
+ * @param {String} input.orientation
266
+ * @return {Object} position
267
+ * @return {Number} position.valueMarkerX
268
+ * @return {Number} position.valueMarkerY
269
+ */
270
+ export declare const getMarkerGaugeValueMarkerPositions: ({ markerBarX, markerBarY, markerBarHeight, markerBarLength: gaugeLength, orientation, value, min, max, }: {
271
+ markerBarX: any;
272
+ markerBarY: any;
273
+ markerBarHeight: any;
274
+ markerBarLength: any;
275
+ orientation: any;
276
+ value: any;
277
+ min: any;
278
+ max: any;
279
+ }) => {
280
+ valueMarkerX: any;
281
+ valueMarkerY: any;
282
+ };
283
+ /**
284
+ * sort the ranges in ascending order
285
+ * @method getSortedRanges
286
+ * @param {Array} ranges
287
+ * @return {Array} sortedRanges
288
+ */
289
+ export declare const getSortedRanges: (ranges: any) => any;
290
+ /**
291
+ * validate whether ranges prop is valid - continuous ranges, range.to < range.from, range.from != range.to
292
+ * @method validateRanges
293
+ * @param {Array} ranges
294
+ * @return {String} error
295
+ */
296
+ export declare const validateRanges: (ranges: any) => any;
297
+ /**
298
+ * calculate min and max value of gauge
299
+ * @method getGaugeRange
300
+ * @param {Array} ranges
301
+ * @return {Object} gaugeRange
302
+ * @return {Number} gaugeRange.min
303
+ * @return {Number} gaugeRange.max
304
+ */
305
+ export declare const getGaugeRange: (ranges: any) => {
306
+ min: number;
307
+ max: number;
308
+ };
309
+ /**
310
+ * calculate stop offsets for linear gradient
311
+ * @method getGradientStopOffsets
312
+ * @param {Array} ranges
313
+ * @param {String} orientation
314
+ * @return {Array} cumulativeOffsets
315
+ */
316
+ export declare const getGradientStopOffsets: ({ ranges, orientation }: {
317
+ ranges: any;
318
+ orientation: any;
319
+ }) => any[];
320
+ /**
321
+ * calculate stop colors for linear gradient
322
+ * @method getGradientStopColors
323
+ * @param {Array} ranges
324
+ * @param {String} orientation
325
+ * @return {Array} stopColors
326
+ */
327
+ export declare const getGradientStopColors: ({ ranges, orientation }: {
328
+ ranges: any;
329
+ orientation: any;
330
+ }) => any;
331
+ /**
332
+ * calculate linear gradient stops from ranges
333
+ * @method getGradientStops
334
+ * @param {Object} input
335
+ * @param {Array} ranges
336
+ * @param {String} orientation
337
+ * @return {Array} stops
338
+ */
339
+ export declare const getGradientStops: ({ ranges, orientation }: {
340
+ ranges: any;
341
+ orientation: any;
342
+ }) => any[];
343
+ /**
344
+ * calculate linear gradient dimensions
345
+ * @method getGradientDimensions
346
+ * @param {String} orientation
347
+ * @return {Object} dimensions
348
+ * @return {String} dimensions.x1
349
+ * @return {String} dimensions.y1
350
+ * @return {String} dimensions.x2
351
+ * @return {String} dimensions.y2
352
+ */
353
+ export declare const getGradientDimensions: (orientation: any) => {
354
+ x1: string;
355
+ y1: string;
356
+ x2: string;
357
+ y2: string;
358
+ };
359
+ interface GaugeOptions {
360
+ [key: string]: any;
361
+ }
362
+ /**
363
+ * Helper method to update the option names which can be mapped to pure component options
364
+ * @method mapToOldKey
365
+ * @param {Object} options
366
+ * @returns {Object}
367
+ */
368
+ export declare const mapToOldKey: (options: GaugeOptions) => GaugeOptions;
369
+ type LabelOrValue = 'label' | 'value';
370
+ /**
371
+ * Helper method to map labelDisplay and valueDisplay options to pure component option names
372
+ * @method mapToOldKey
373
+ * @param {string} labelOrValue
374
+ * @param {Object} options
375
+ * @returns {Object}
376
+ */
377
+ export declare const mapValueLabelDisplay: (labelOrValue: LabelOrValue, options: GaugeOptions) => GaugeOptions;
378
+ /**
379
+ * Chained helper for mapping the option properties (and values) we expose in config.ts into property values that pure component accepts
380
+ * This is for options that has new key name and can not directly be mapped with pure component props
381
+ * @method convertToGaugeProperties
382
+ * @param {Object} originalOptions
383
+ * @returns {Object}
384
+ */
385
+ export declare const convertToGaugeProperties: (originalOptions: GaugeOptions) => GaugeOptions;
386
+ export {};
387
+ //# sourceMappingURL=gaugeUtils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gaugeUtils.d.ts","sourceRoot":"","sources":["../../../src/common/gaugeUtils.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,eAAe,KAAK,CAAC;AAClC,eAAO,MAAM,cAAc,KAAK,CAAC;AAIjC;;;;;;;GAOG;AACH,eAAO,MAAM,aAAa,GAAI;;;CAA+B,WACU,CAAC;AAExE;;;;;;;GAOG;AACH,eAAO,MAAM,cAAc,GAAI;;;CAAgC,WACS,CAAC;AAEzE;;;;;;;;;GASG;AACH,eAAO,MAAM,cAAc,GAAI;;;;CAAgD,WAGvB,CAAC;AAEzD;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,qBAAqB,GAAI;;;;;CAA6D;;;CAWlG,CAAC;AAEF;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,kBAAkB,GAAI;;;;CAAgD;;;;;;CAsBlF,CAAC;AAEF;;;;;KAKK;AACL,eAAO,MAAM,gBAAgB,GAAI;;;;CAAmB,QAWnD,CAAC;AAEF;;;;;;;;;GASG;AACH,eAAO,MAAM,iBAAiB,GAAI;;;;;CAAgC,QAcjE,CAAC;AAEF;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,yBAAyB,GAAI;;;;;;;CAOzC;;;CAeA,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,gBAAgB,GAAI;;;CAA+B,QACA,CAAC;AAEjE;;;;;;;GAOG;AACH,eAAO,MAAM,iBAAiB,GAAI;;;CAA+B,QACD,CAAC;AAEjE;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,oBAAoB,GAAI;;;;;;;;;;CAUpC;;;;;;CAoBA,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,kCAAkC,GAAI;;;;;CAAkD;;;CAepG,CAAC;AAEF;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,sBAAsB,GAAI;;;;;;;CAOtC;;;;;;CAoBA,CAAC;AAEF;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,kCAAkC,GAAI;;;;;;;;;CASlD;;;CAeA,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,eAAe,GAAG,WAAM,QAA0C,CAAC;AAEhF;;;;;GAKG;AACH,eAAO,MAAM,cAAc,GAAG,WAAM,QAyBnC,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,aAAa,GAAG,WAAM;;;CAIlC,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,sBAAsB,GAAI;;;CAAuB,UAY7D,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,qBAAqB,GAAI;;;CAAuB,QAI5D,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,gBAAgB,GAAI;;;CAAuB,UAYvD,CAAC;AAEF;;;;;;;;;GASG;AACH,eAAO,MAAM,qBAAqB,GAAG,gBAAW;;;;;CAM/C,CAAC;AAEF,UAAU,YAAY;IAClB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACtB;AAQD;;;;;GAKG;AACH,eAAO,MAAM,WAAW,GAAI,SAAS,YAAY,KAAG,YAC2C,CAAC;AAEhG,KAAK,YAAY,GAAG,OAAO,GAAG,OAAO,CAAC;AAEtC;;;;;;GAMG;AACH,eAAO,MAAM,oBAAoB,GAAI,cAAc,YAAY,EAAE,SAAS,YAAY,KAAG,YAmBxF,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,wBAAwB,GAAI,iBAAiB,YAAY,KAAG,YAIzD,CAAC"}
@@ -0,0 +1,9 @@
1
+ import * as React from 'react';
2
+ interface HeightAndWidthProps {
3
+ width?: string | number;
4
+ height?: string | number;
5
+ backgroundColor?: string;
6
+ }
7
+ declare const withFixedSizeContainer: <P extends HeightAndWidthProps>(Viz: React.ComponentType<P>) => React.ComponentType<P>;
8
+ export default withFixedSizeContainer;
9
+ //# sourceMappingURL=FixedSizeContainer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FixedSizeContainer.d.ts","sourceRoot":"","sources":["../../../../src/common/hocs/FixedSizeContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAkE/B,UAAU,mBAAmB;IACzB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,QAAA,MAAM,sBAAsB,GAAI,CAAC,SAAS,mBAAmB,EACzD,KAAK,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,KAC5B,KAAK,CAAC,aAAa,CAAC,CAAC,CAmCvB,CAAC;AAEF,eAAe,sBAAsB,CAAC"}