@splunk/visualizations 28.0.0 → 28.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Area.config.js +27 -0
- package/Area.config.js.map +2 -2
- package/Area.js +722 -355
- package/Area.js.map +4 -4
- package/Bar.config.js +27 -0
- package/Bar.config.js.map +2 -2
- package/Bar.js +754 -387
- package/Bar.js.map +4 -4
- package/Bubble.config.js +27 -0
- package/Bubble.config.js.map +2 -2
- package/Bubble.js +684 -321
- package/Bubble.js.map +4 -4
- package/CHANGELOG.external.md +63 -2
- package/ChoroplethSvg.js +582 -202
- package/ChoroplethSvg.js.map +4 -4
- package/Column.config.js +27 -0
- package/Column.config.js.map +2 -2
- package/Column.js +769 -402
- package/Column.js.map +4 -4
- package/Ellipse.js +593 -214
- package/Ellipse.js.map +4 -4
- package/Events.js +592 -201
- package/Events.js.map +4 -4
- package/FEATUREFLAGS.md +1 -0
- package/FillerGauge.config.js +124 -3
- package/FillerGauge.config.js.map +3 -3
- package/FillerGauge.js +1371 -256
- package/FillerGauge.js.map +4 -4
- package/Image.js +590 -217
- package/Image.js.map +4 -4
- package/Line.config.js +28 -1
- package/Line.config.js.map +2 -2
- package/Line.js +737 -370
- package/Line.js.map +4 -4
- package/LinkGraph.js +1095 -692
- package/LinkGraph.js.map +4 -4
- package/Map.config.js +49 -3
- package/Map.config.js.map +2 -2
- package/Map.js +581 -145
- package/Map.js.map +4 -4
- package/Markdown.js +617 -230
- package/Markdown.js.map +4 -4
- package/MarkerGauge.js +544 -169
- package/MarkerGauge.js.map +4 -4
- package/ParallelCoordinates.js +565 -174
- package/ParallelCoordinates.js.map +4 -4
- package/Pie.js +651 -316
- package/Pie.js.map +4 -4
- package/Punchcard.js +589 -200
- package/Punchcard.js.map +4 -4
- package/Rectangle.js +604 -224
- package/Rectangle.js.map +4 -4
- package/Sankey.js +577 -201
- package/Sankey.js.map +4 -4
- package/Scatter.config.js +27 -0
- package/Scatter.config.js.map +2 -2
- package/Scatter.js +688 -326
- package/Scatter.js.map +4 -4
- package/SingleValue.js +543 -166
- package/SingleValue.js.map +4 -4
- package/SingleValueIcon.js +535 -160
- package/SingleValueIcon.js.map +4 -4
- package/SingleValueRadial.js +528 -153
- package/SingleValueRadial.js.map +4 -4
- package/TRELLIS.md +2 -2
- package/Table.config.js +109 -33
- package/Table.config.js.map +4 -4
- package/Table.js +986 -322
- package/Table.js.map +4 -4
- package/Timeline.js +626 -247
- package/Timeline.js.map +4 -4
- package/common/Charting.js +49 -111
- package/common/Charting.js.map +4 -4
- package/common/GaugeMajorTicks.js +6 -14
- package/common/GaugeMajorTicks.js.map +2 -2
- package/common/GaugeValueMarker.js +6 -14
- package/common/GaugeValueMarker.js.map +2 -2
- package/common/OptionsDoc.js +3 -2
- package/common/OptionsDoc.js.map +2 -2
- package/common/SplunkVisualization.js +1 -1
- package/common/SplunkVisualization.js.map +2 -2
- package/common/TimeSeriesChartWrapper.js +485 -0
- package/common/TimeSeriesChartWrapper.js.map +7 -0
- package/common/chartingUtils.js +252 -1
- package/common/chartingUtils.js.map +4 -4
- package/common/shapeUtils.js.map +1 -1
- package/common/utils/hocUtils.js +1 -1
- package/common/utils/hocUtils.js.map +2 -2
- package/common/utils/mapUtils.js.map +1 -1
- package/common/utils/tableUtils.js +60 -0
- package/common/utils/tableUtils.js.map +7 -0
- package/common/withDashboardViz.js +552 -161
- package/common/withDashboardViz.js.map +4 -4
- package/dist/types/Area/Area.d.ts +13 -0
- package/dist/types/Area/Area.d.ts.map +1 -0
- package/dist/types/Area/areaUtils.d.ts +15 -0
- package/dist/types/Area/areaUtils.d.ts.map +1 -0
- package/dist/types/Area/config.d.ts +4 -0
- package/dist/types/Area/config.d.ts.map +1 -0
- package/dist/types/Area/index.d.ts +3 -0
- package/dist/types/Area/index.d.ts.map +1 -0
- package/dist/types/Bar/Bar.d.ts +13 -0
- package/dist/types/Bar/Bar.d.ts.map +1 -0
- package/dist/types/Bar/barUtils.d.ts +30 -0
- package/dist/types/Bar/barUtils.d.ts.map +1 -0
- package/dist/types/Bar/config.d.ts +4 -0
- package/dist/types/Bar/config.d.ts.map +1 -0
- package/dist/types/Bar/index.d.ts +3 -0
- package/dist/types/Bar/index.d.ts.map +1 -0
- package/dist/types/Bubble/Bubble.d.ts +9 -0
- package/dist/types/Bubble/Bubble.d.ts.map +1 -0
- package/dist/types/Bubble/bubbleUtils.d.ts +47 -0
- package/dist/types/Bubble/bubbleUtils.d.ts.map +1 -0
- package/dist/types/Bubble/config.d.ts +4 -0
- package/dist/types/Bubble/config.d.ts.map +1 -0
- package/dist/types/Bubble/index.d.ts +3 -0
- package/dist/types/Bubble/index.d.ts.map +1 -0
- package/dist/types/ChoroplethSvg/ChoroplethSvg.d.ts +24 -0
- package/dist/types/ChoroplethSvg/ChoroplethSvg.d.ts.map +1 -0
- package/dist/types/ChoroplethSvg/ErrorMessage/ErrorMessage.d.ts +6 -0
- package/dist/types/ChoroplethSvg/ErrorMessage/ErrorMessage.d.ts.map +1 -0
- package/dist/types/ChoroplethSvg/PureChoroplethSvg/PureChoroplethSvg.d.ts +29 -0
- package/dist/types/ChoroplethSvg/PureChoroplethSvg/PureChoroplethSvg.d.ts.map +1 -0
- package/dist/types/ChoroplethSvg/PureChoroplethSvg/SvgChoroplethDynamic.d.ts +34 -0
- package/dist/types/ChoroplethSvg/PureChoroplethSvg/SvgChoroplethDynamic.d.ts.map +1 -0
- package/dist/types/ChoroplethSvg/PureChoroplethSvg/SvgMutator.d.ts +144 -0
- package/dist/types/ChoroplethSvg/PureChoroplethSvg/SvgMutator.d.ts.map +1 -0
- package/dist/types/ChoroplethSvg/config.d.ts +4 -0
- package/dist/types/ChoroplethSvg/config.d.ts.map +1 -0
- package/dist/types/ChoroplethSvg/index.d.ts +3 -0
- package/dist/types/ChoroplethSvg/index.d.ts.map +1 -0
- package/dist/types/Column/Column.d.ts +11 -0
- package/dist/types/Column/Column.d.ts.map +1 -0
- package/dist/types/Column/columnUtils.d.ts +82 -0
- package/dist/types/Column/columnUtils.d.ts.map +1 -0
- package/dist/types/Column/config.d.ts +4 -0
- package/dist/types/Column/config.d.ts.map +1 -0
- package/dist/types/Column/index.d.ts +3 -0
- package/dist/types/Column/index.d.ts.map +1 -0
- package/dist/types/Ellipse/Ellipse.d.ts +7 -0
- package/dist/types/Ellipse/Ellipse.d.ts.map +1 -0
- package/dist/types/Ellipse/config.d.ts +4 -0
- package/dist/types/Ellipse/config.d.ts.map +1 -0
- package/dist/types/Ellipse/index.d.ts +3 -0
- package/dist/types/Ellipse/index.d.ts.map +1 -0
- package/dist/types/Events/EventUtils.d.ts +137 -0
- package/dist/types/Events/EventUtils.d.ts.map +1 -0
- package/dist/types/Events/Events.d.ts +19 -0
- package/dist/types/Events/Events.d.ts.map +1 -0
- package/dist/types/Events/PureEvents/FieldSummaryTooltip.d.ts +50 -0
- package/dist/types/Events/PureEvents/FieldSummaryTooltip.d.ts.map +1 -0
- package/dist/types/Events/PureEvents/PureEvents.d.ts +34 -0
- package/dist/types/Events/PureEvents/PureEvents.d.ts.map +1 -0
- package/dist/types/Events/PureEvents/TimeControlsPopover.d.ts +33 -0
- package/dist/types/Events/PureEvents/TimeControlsPopover.d.ts.map +1 -0
- package/dist/types/Events/config.d.ts +4 -0
- package/dist/types/Events/config.d.ts.map +1 -0
- package/dist/types/Events/index.d.ts +3 -0
- package/dist/types/Events/index.d.ts.map +1 -0
- package/dist/types/FillerGauge/FillerGauge.d.ts +13 -0
- package/dist/types/FillerGauge/FillerGauge.d.ts.map +1 -0
- package/dist/types/FillerGauge/PureFillerGauge/FillerGauge.d.ts +32 -0
- package/dist/types/FillerGauge/PureFillerGauge/FillerGauge.d.ts.map +1 -0
- package/dist/types/FillerGauge/config.d.ts +4 -0
- package/dist/types/FillerGauge/config.d.ts.map +1 -0
- package/dist/types/FillerGauge/index.d.ts +3 -0
- package/dist/types/FillerGauge/index.d.ts.map +1 -0
- package/dist/types/Image/Image.d.ts +13 -0
- package/dist/types/Image/Image.d.ts.map +1 -0
- package/dist/types/Image/ImageApi.d.ts +15 -0
- package/dist/types/Image/ImageApi.d.ts.map +1 -0
- package/dist/types/Image/config.d.ts +4 -0
- package/dist/types/Image/config.d.ts.map +1 -0
- package/dist/types/Image/index.d.ts +3 -0
- package/dist/types/Image/index.d.ts.map +1 -0
- package/dist/types/Line/Line.d.ts +13 -0
- package/dist/types/Line/Line.d.ts.map +1 -0
- package/dist/types/Line/config.d.ts +4 -0
- package/dist/types/Line/config.d.ts.map +1 -0
- package/dist/types/Line/index.d.ts +3 -0
- package/dist/types/Line/index.d.ts.map +1 -0
- package/dist/types/Line/lineUtils.d.ts +22 -0
- package/dist/types/Line/lineUtils.d.ts.map +1 -0
- package/dist/types/Line/mockdata/LineData.d.ts +184 -0
- package/dist/types/Line/mockdata/LineData.d.ts.map +1 -0
- package/dist/types/LinkGraph/ESTestDataSources.d.ts +32 -0
- package/dist/types/LinkGraph/ESTestDataSources.d.ts.map +1 -0
- package/dist/types/LinkGraph/ESTestTemplate.d.ts +2 -0
- package/dist/types/LinkGraph/ESTestTemplate.d.ts.map +1 -0
- package/dist/types/LinkGraph/LinkGraph.d.ts +22 -0
- package/dist/types/LinkGraph/LinkGraph.d.ts.map +1 -0
- package/dist/types/LinkGraph/PureLinkGraph/PureLinkGraph.d.ts +89 -0
- package/dist/types/LinkGraph/PureLinkGraph/PureLinkGraph.d.ts.map +1 -0
- package/dist/types/LinkGraph/PureLinkGraph/PureLinkGraphUtils.d.ts +74 -0
- package/dist/types/LinkGraph/PureLinkGraph/PureLinkGraphUtils.d.ts.map +1 -0
- package/dist/types/LinkGraph/PureLinkGraph/components/Edges.d.ts +9 -0
- package/dist/types/LinkGraph/PureLinkGraph/components/Edges.d.ts.map +1 -0
- package/dist/types/LinkGraph/PureLinkGraph/components/Field.d.ts +14 -0
- package/dist/types/LinkGraph/PureLinkGraph/components/Field.d.ts.map +1 -0
- package/dist/types/LinkGraph/PureLinkGraph/components/FieldStyles.d.ts +5 -0
- package/dist/types/LinkGraph/PureLinkGraph/components/FieldStyles.d.ts.map +1 -0
- package/dist/types/LinkGraph/PureLinkGraph/components/Graph.d.ts +49 -0
- package/dist/types/LinkGraph/PureLinkGraph/components/Graph.d.ts.map +1 -0
- package/dist/types/LinkGraph/PureLinkGraph/components/GraphStyles.d.ts +11 -0
- package/dist/types/LinkGraph/PureLinkGraph/components/GraphStyles.d.ts.map +1 -0
- package/dist/types/LinkGraph/PureLinkGraph/components/Node.d.ts +24 -0
- package/dist/types/LinkGraph/PureLinkGraph/components/Node.d.ts.map +1 -0
- package/dist/types/LinkGraph/PureLinkGraph/components/Nodes.d.ts +16 -0
- package/dist/types/LinkGraph/PureLinkGraph/components/Nodes.d.ts.map +1 -0
- package/dist/types/LinkGraph/PureLinkGraph/utils/iconLoader.d.ts +168 -0
- package/dist/types/LinkGraph/PureLinkGraph/utils/iconLoader.d.ts.map +1 -0
- package/dist/types/LinkGraph/config.d.ts +4 -0
- package/dist/types/LinkGraph/config.d.ts.map +1 -0
- package/dist/types/LinkGraph/index.d.ts +3 -0
- package/dist/types/LinkGraph/index.d.ts.map +1 -0
- package/dist/types/Map/Map.d.ts +28 -0
- package/dist/types/Map/Map.d.ts.map +1 -0
- package/dist/types/Map/MapContextDefault.d.ts +39 -0
- package/dist/types/Map/MapContextDefault.d.ts.map +1 -0
- package/dist/types/Map/PureMap/BubbleLayer.d.ts +51 -0
- package/dist/types/Map/PureMap/BubbleLayer.d.ts.map +1 -0
- package/dist/types/Map/PureMap/ChoroplethLayer.d.ts +36 -0
- package/dist/types/Map/PureMap/ChoroplethLayer.d.ts.map +1 -0
- package/dist/types/Map/PureMap/ClusterLayer.d.ts +17 -0
- package/dist/types/Map/PureMap/ClusterLayer.d.ts.map +1 -0
- package/dist/types/Map/PureMap/LocalChoroplethLayer.d.ts +18 -0
- package/dist/types/Map/PureMap/LocalChoroplethLayer.d.ts.map +1 -0
- package/dist/types/Map/PureMap/MapUtils.d.ts +141 -0
- package/dist/types/Map/PureMap/MapUtils.d.ts.map +1 -0
- package/dist/types/Map/PureMap/MarkerLayer.d.ts +34 -0
- package/dist/types/Map/PureMap/MarkerLayer.d.ts.map +1 -0
- package/dist/types/Map/PureMap/MarkerWrapper.d.ts +17 -0
- package/dist/types/Map/PureMap/MarkerWrapper.d.ts.map +1 -0
- package/dist/types/Map/PureMap/PureMap.d.ts +102 -0
- package/dist/types/Map/PureMap/PureMap.d.ts.map +1 -0
- package/dist/types/Map/PureMap/PureMapContainer.d.ts +15 -0
- package/dist/types/Map/PureMap/PureMapContainer.d.ts.map +1 -0
- package/dist/types/Map/PureMap/Tooltip.d.ts +20 -0
- package/dist/types/Map/PureMap/Tooltip.d.ts.map +1 -0
- package/dist/types/Map/PureMap/mockdata/data.d.ts +90 -0
- package/dist/types/Map/PureMap/mockdata/data.d.ts.map +1 -0
- package/dist/types/Map/config.d.ts +4 -0
- package/dist/types/Map/config.d.ts.map +1 -0
- package/dist/types/Map/index.d.ts +3 -0
- package/dist/types/Map/index.d.ts.map +1 -0
- package/dist/types/Markdown/Markdown.d.ts +31 -0
- package/dist/types/Markdown/Markdown.d.ts.map +1 -0
- package/dist/types/Markdown/config.d.ts +4 -0
- package/dist/types/Markdown/config.d.ts.map +1 -0
- package/dist/types/Markdown/index.d.ts +3 -0
- package/dist/types/Markdown/index.d.ts.map +1 -0
- package/dist/types/MarkerGauge/MarkerGauge.d.ts +55 -0
- package/dist/types/MarkerGauge/MarkerGauge.d.ts.map +1 -0
- package/dist/types/MarkerGauge/PureMarkerGauge/MarkerGauge.d.ts +72 -0
- package/dist/types/MarkerGauge/PureMarkerGauge/MarkerGauge.d.ts.map +1 -0
- package/dist/types/MarkerGauge/config.d.ts +4 -0
- package/dist/types/MarkerGauge/config.d.ts.map +1 -0
- package/dist/types/MarkerGauge/index.d.ts +3 -0
- package/dist/types/MarkerGauge/index.d.ts.map +1 -0
- package/dist/types/ParallelCoordinates/ParallelCoordinates.d.ts +58 -0
- package/dist/types/ParallelCoordinates/ParallelCoordinates.d.ts.map +1 -0
- package/dist/types/ParallelCoordinates/PureParallelCoordinates/PureParallelCoordinates.d.ts +69 -0
- package/dist/types/ParallelCoordinates/PureParallelCoordinates/PureParallelCoordinates.d.ts.map +1 -0
- package/dist/types/ParallelCoordinates/PureParallelCoordinates/src/ParallelCoordinatesCanvas.d.ts +30 -0
- package/dist/types/ParallelCoordinates/PureParallelCoordinates/src/ParallelCoordinatesCanvas.d.ts.map +1 -0
- package/dist/types/ParallelCoordinates/PureParallelCoordinates/src/ParallelCoordinatesChart.d.ts +42 -0
- package/dist/types/ParallelCoordinates/PureParallelCoordinates/src/ParallelCoordinatesChart.d.ts.map +1 -0
- package/dist/types/ParallelCoordinates/PureParallelCoordinates/src/ParallelCoordinatesPrompt.d.ts +22 -0
- package/dist/types/ParallelCoordinates/PureParallelCoordinates/src/ParallelCoordinatesPrompt.d.ts.map +1 -0
- package/dist/types/ParallelCoordinates/config.d.ts +4 -0
- package/dist/types/ParallelCoordinates/config.d.ts.map +1 -0
- package/dist/types/ParallelCoordinates/index.d.ts +3 -0
- package/dist/types/ParallelCoordinates/index.d.ts.map +1 -0
- package/dist/types/ParallelCoordinates/mockdata/arrayValueData.d.ts +6 -0
- package/dist/types/ParallelCoordinates/mockdata/arrayValueData.d.ts.map +1 -0
- package/dist/types/ParallelCoordinates/mockdata/sampleCarData.d.ts +6 -0
- package/dist/types/ParallelCoordinates/mockdata/sampleCarData.d.ts.map +1 -0
- package/dist/types/ParallelCoordinates/mockdata/sampleCarNumericalData.d.ts +6 -0
- package/dist/types/ParallelCoordinates/mockdata/sampleCarNumericalData.d.ts.map +1 -0
- package/dist/types/ParallelCoordinates/mockdata/sampleFoodData.d.ts +6 -0
- package/dist/types/ParallelCoordinates/mockdata/sampleFoodData.d.ts.map +1 -0
- package/dist/types/ParallelCoordinates/mockdata/sampleStringNumericalData.d.ts +6 -0
- package/dist/types/ParallelCoordinates/mockdata/sampleStringNumericalData.d.ts.map +1 -0
- package/dist/types/Pie/Pie.d.ts +15 -0
- package/dist/types/Pie/Pie.d.ts.map +1 -0
- package/dist/types/Pie/config.d.ts +4 -0
- package/dist/types/Pie/config.d.ts.map +1 -0
- package/dist/types/Pie/index.d.ts +3 -0
- package/dist/types/Pie/index.d.ts.map +1 -0
- package/dist/types/Pie/pieUtils.d.ts +78 -0
- package/dist/types/Pie/pieUtils.d.ts.map +1 -0
- package/dist/types/Punchcard/Punchcard.d.ts +13 -0
- package/dist/types/Punchcard/Punchcard.d.ts.map +1 -0
- package/dist/types/Punchcard/PurePunchcard/Punchcard.d.ts +40 -0
- package/dist/types/Punchcard/PurePunchcard/Punchcard.d.ts.map +1 -0
- package/dist/types/Punchcard/PurePunchcard/src/PunchcardAxis.d.ts +20 -0
- package/dist/types/Punchcard/PurePunchcard/src/PunchcardAxis.d.ts.map +1 -0
- package/dist/types/Punchcard/PurePunchcard/src/PunchcardBubble.d.ts +27 -0
- package/dist/types/Punchcard/PurePunchcard/src/PunchcardBubble.d.ts.map +1 -0
- package/dist/types/Punchcard/PurePunchcard/src/PunchcardChartArea.d.ts +40 -0
- package/dist/types/Punchcard/PurePunchcard/src/PunchcardChartArea.d.ts.map +1 -0
- package/dist/types/Punchcard/PurePunchcard/src/PunchcardGridLines.d.ts +17 -0
- package/dist/types/Punchcard/PurePunchcard/src/PunchcardGridLines.d.ts.map +1 -0
- package/dist/types/Punchcard/PurePunchcard/src/PunchcardLegend.d.ts +21 -0
- package/dist/types/Punchcard/PurePunchcard/src/PunchcardLegend.d.ts.map +1 -0
- package/dist/types/Punchcard/PurePunchcard/src/PunchcardRow.d.ts +10 -0
- package/dist/types/Punchcard/PurePunchcard/src/PunchcardRow.d.ts.map +1 -0
- package/dist/types/Punchcard/PurePunchcard/src/utils/punchcardUtils.d.ts +285 -0
- package/dist/types/Punchcard/PurePunchcard/src/utils/punchcardUtils.d.ts.map +1 -0
- package/dist/types/Punchcard/config.d.ts +4 -0
- package/dist/types/Punchcard/config.d.ts.map +1 -0
- package/dist/types/Punchcard/index.d.ts +3 -0
- package/dist/types/Punchcard/index.d.ts.map +1 -0
- package/dist/types/Punchcard/punchcardUtils.d.ts +32 -0
- package/dist/types/Punchcard/punchcardUtils.d.ts.map +1 -0
- package/dist/types/Rectangle/Rectangle.d.ts +14 -0
- package/dist/types/Rectangle/Rectangle.d.ts.map +1 -0
- package/dist/types/Rectangle/config.d.ts +4 -0
- package/dist/types/Rectangle/config.d.ts.map +1 -0
- package/dist/types/Rectangle/index.d.ts +3 -0
- package/dist/types/Rectangle/index.d.ts.map +1 -0
- package/dist/types/Sankey/PureSankey/PureSankey.d.ts +98 -0
- package/dist/types/Sankey/PureSankey/PureSankey.d.ts.map +1 -0
- package/dist/types/Sankey/PureSankey/SankeyLink.d.ts +33 -0
- package/dist/types/Sankey/PureSankey/SankeyLink.d.ts.map +1 -0
- package/dist/types/Sankey/PureSankey/SankeyModels.d.ts +48 -0
- package/dist/types/Sankey/PureSankey/SankeyModels.d.ts.map +1 -0
- package/dist/types/Sankey/PureSankey/SankeyNode.d.ts +38 -0
- package/dist/types/Sankey/PureSankey/SankeyNode.d.ts.map +1 -0
- package/dist/types/Sankey/PureSankey/SankeyTooltip.d.ts +43 -0
- package/dist/types/Sankey/PureSankey/SankeyTooltip.d.ts.map +1 -0
- package/dist/types/Sankey/PureSankey/SankeyUtils.d.ts +20 -0
- package/dist/types/Sankey/PureSankey/SankeyUtils.d.ts.map +1 -0
- package/dist/types/Sankey/PureSankey/mockdata/data.d.ts +35 -0
- package/dist/types/Sankey/PureSankey/mockdata/data.d.ts.map +1 -0
- package/dist/types/Sankey/Sankey.d.ts +31 -0
- package/dist/types/Sankey/Sankey.d.ts.map +1 -0
- package/dist/types/Sankey/config.d.ts +4 -0
- package/dist/types/Sankey/config.d.ts.map +1 -0
- package/dist/types/Sankey/index.d.ts +3 -0
- package/dist/types/Sankey/index.d.ts.map +1 -0
- package/dist/types/Scatter/Scatter.d.ts +11 -0
- package/dist/types/Scatter/Scatter.d.ts.map +1 -0
- package/dist/types/Scatter/config.d.ts +4 -0
- package/dist/types/Scatter/config.d.ts.map +1 -0
- package/dist/types/Scatter/index.d.ts +3 -0
- package/dist/types/Scatter/index.d.ts.map +1 -0
- package/dist/types/Scatter/mockdata/data.d.ts +35 -0
- package/dist/types/Scatter/mockdata/data.d.ts.map +1 -0
- package/dist/types/Scatter/scatterUtils.d.ts +47 -0
- package/dist/types/Scatter/scatterUtils.d.ts.map +1 -0
- package/dist/types/SingleValue/SingleValue.d.ts +16 -0
- package/dist/types/SingleValue/SingleValue.d.ts.map +1 -0
- package/dist/types/SingleValue/config.d.ts +4 -0
- package/dist/types/SingleValue/config.d.ts.map +1 -0
- package/dist/types/SingleValue/index.d.ts +3 -0
- package/dist/types/SingleValue/index.d.ts.map +1 -0
- package/dist/types/SingleValueBasic/index.d.ts +3 -0
- package/dist/types/SingleValueBasic/index.d.ts.map +1 -0
- package/dist/types/SingleValueIcon/SingleValueIcon.d.ts +29 -0
- package/dist/types/SingleValueIcon/SingleValueIcon.d.ts.map +1 -0
- package/dist/types/SingleValueIcon/config.d.ts +4 -0
- package/dist/types/SingleValueIcon/config.d.ts.map +1 -0
- package/dist/types/SingleValueIcon/index.d.ts +3 -0
- package/dist/types/SingleValueIcon/index.d.ts.map +1 -0
- package/dist/types/SingleValueRadial/PureSingleValueRadial/GaugeGraph.d.ts +20 -0
- package/dist/types/SingleValueRadial/PureSingleValueRadial/GaugeGraph.d.ts.map +1 -0
- package/dist/types/SingleValueRadial/PureSingleValueRadial/utils/gaugeUtils.d.ts +82 -0
- package/dist/types/SingleValueRadial/PureSingleValueRadial/utils/gaugeUtils.d.ts.map +1 -0
- package/dist/types/SingleValueRadial/SingleValueRadial.d.ts +17 -0
- package/dist/types/SingleValueRadial/SingleValueRadial.d.ts.map +1 -0
- package/dist/types/SingleValueRadial/config.d.ts +4 -0
- package/dist/types/SingleValueRadial/config.d.ts.map +1 -0
- package/dist/types/SingleValueRadial/index.d.ts +3 -0
- package/dist/types/SingleValueRadial/index.d.ts.map +1 -0
- package/dist/types/SparkLine/index.d.ts +2 -0
- package/dist/types/SparkLine/index.d.ts.map +1 -0
- package/dist/types/Table/PureTable.d.ts +50 -0
- package/dist/types/Table/PureTable.d.ts.map +1 -0
- package/dist/types/Table/Table.d.ts +10 -0
- package/dist/types/Table/Table.d.ts.map +1 -0
- package/dist/types/Table/cells/ArrayCell.d.ts +12 -0
- package/dist/types/Table/cells/ArrayCell.d.ts.map +1 -0
- package/dist/types/Table/cells/SparklineCell.d.ts +13 -0
- package/dist/types/Table/cells/SparklineCell.d.ts.map +1 -0
- package/dist/types/Table/cells/SwitchTableCell.d.ts +5 -0
- package/dist/types/Table/cells/SwitchTableCell.d.ts.map +1 -0
- package/dist/types/Table/cells/TextCell.d.ts +12 -0
- package/dist/types/Table/cells/TextCell.d.ts.map +1 -0
- package/dist/types/Table/cells/index.d.ts +5 -0
- package/dist/types/Table/cells/index.d.ts.map +1 -0
- package/dist/types/Table/config.d.ts +4 -0
- package/dist/types/Table/config.d.ts.map +1 -0
- package/dist/types/Table/hooks.d.ts +130 -0
- package/dist/types/Table/hooks.d.ts.map +1 -0
- package/dist/types/Table/index.d.ts +3 -0
- package/dist/types/Table/index.d.ts.map +1 -0
- package/dist/types/Timeline/PureTimeline/PureTimeline.d.ts +81 -0
- package/dist/types/Timeline/PureTimeline/PureTimeline.d.ts.map +1 -0
- package/dist/types/Timeline/PureTimeline/src/CursorPlugin.d.ts +8 -0
- package/dist/types/Timeline/PureTimeline/src/CursorPlugin.d.ts.map +1 -0
- package/dist/types/Timeline/PureTimeline/src/TimelineLegend.d.ts +28 -0
- package/dist/types/Timeline/PureTimeline/src/TimelineLegend.d.ts.map +1 -0
- package/dist/types/Timeline/PureTimeline/src/TimelinePlugin.d.ts +16 -0
- package/dist/types/Timeline/PureTimeline/src/TimelinePlugin.d.ts.map +1 -0
- package/dist/types/Timeline/PureTimeline/src/TimelineTooltip.d.ts +11 -0
- package/dist/types/Timeline/PureTimeline/src/TimelineTooltip.d.ts.map +1 -0
- package/dist/types/Timeline/PureTimeline/src/TimelineUplot.d.ts +22 -0
- package/dist/types/Timeline/PureTimeline/src/TimelineUplot.d.ts.map +1 -0
- package/dist/types/Timeline/PureTimeline/src/TimelineYAxis.d.ts +20 -0
- package/dist/types/Timeline/PureTimeline/src/TimelineYAxis.d.ts.map +1 -0
- package/dist/types/Timeline/PureTimeline/src/XAxisPlugin.d.ts +18 -0
- package/dist/types/Timeline/PureTimeline/src/XAxisPlugin.d.ts.map +1 -0
- package/dist/types/Timeline/PureTimeline/src/utils/timelineUtils.d.ts +34 -0
- package/dist/types/Timeline/PureTimeline/src/utils/timelineUtils.d.ts.map +1 -0
- package/dist/types/Timeline/Timeline.d.ts +22 -0
- package/dist/types/Timeline/Timeline.d.ts.map +1 -0
- package/dist/types/Timeline/config.d.ts +4 -0
- package/dist/types/Timeline/config.d.ts.map +1 -0
- package/dist/types/Timeline/index.d.ts +3 -0
- package/dist/types/Timeline/index.d.ts.map +1 -0
- package/dist/types/Timeline/mockdata/basicTimelineData.d.ts +76 -0
- package/dist/types/Timeline/mockdata/basicTimelineData.d.ts.map +1 -0
- package/dist/types/Timeline/mockdata/categoricalTimelineData.d.ts +31 -0
- package/dist/types/Timeline/mockdata/categoricalTimelineData.d.ts.map +1 -0
- package/dist/types/Timeline/mockdata/timelineDataSource.d.ts +52 -0
- package/dist/types/Timeline/mockdata/timelineDataSource.d.ts.map +1 -0
- package/dist/types/common/Charting.d.ts +46 -0
- package/dist/types/common/Charting.d.ts.map +1 -0
- package/dist/types/common/ChartingApi.d.ts +36 -0
- package/dist/types/common/ChartingApi.d.ts.map +1 -0
- package/dist/types/common/DocExampleWithVizSandbox.d.ts +22 -0
- package/dist/types/common/DocExampleWithVizSandbox.d.ts.map +1 -0
- package/dist/types/common/OverviewDoc.d.ts +20 -0
- package/dist/types/common/OverviewDoc.d.ts.map +1 -0
- package/dist/types/common/SplunkVisualization.d.ts +16 -0
- package/dist/types/common/SplunkVisualization.d.ts.map +1 -0
- package/dist/types/common/SplunkVisualizationApi.d.ts +16 -0
- package/dist/types/common/SplunkVisualizationApi.d.ts.map +1 -0
- package/dist/types/common/ThemedDefaults.d.ts +2 -0
- package/dist/types/common/ThemedDefaults.d.ts.map +1 -0
- package/dist/types/common/TimeSeriesChartWrapper.d.ts +7 -0
- package/dist/types/common/TimeSeriesChartWrapper.d.ts.map +1 -0
- package/dist/types/common/chartingUtils.d.ts +164 -0
- package/dist/types/common/chartingUtils.d.ts.map +1 -0
- package/dist/types/common/components/IconPlaceholder.d.ts +21 -0
- package/dist/types/common/components/IconPlaceholder.d.ts.map +1 -0
- package/dist/types/common/components/MissingPropsMessage.d.ts +28 -0
- package/dist/types/common/components/MissingPropsMessage.d.ts.map +1 -0
- package/dist/types/common/components/TrellisTitle.d.ts +10 -0
- package/dist/types/common/components/TrellisTitle.d.ts.map +1 -0
- package/dist/types/common/configContext/singleValueContext.d.ts +3 -0
- package/dist/types/common/configContext/singleValueContext.d.ts.map +1 -0
- package/dist/types/common/docUtils.d.ts +24 -0
- package/dist/types/common/docUtils.d.ts.map +1 -0
- package/dist/types/common/editorConfig/AxesChartColorAndStyle.d.ts +5 -0
- package/dist/types/common/editorConfig/AxesChartColorAndStyle.d.ts.map +1 -0
- package/dist/types/common/editorConfig/AxesChartDataConfig.d.ts +31 -0
- package/dist/types/common/editorConfig/AxesChartDataConfig.d.ts.map +1 -0
- package/dist/types/common/editorConfig/AxesChartDataDisplay.d.ts +14 -0
- package/dist/types/common/editorConfig/AxesChartDataDisplay.d.ts.map +1 -0
- package/dist/types/common/editorConfig/AxesChartLegend.d.ts +8 -0
- package/dist/types/common/editorConfig/AxesChartLegend.d.ts.map +1 -0
- package/dist/types/common/editorConfig/AxesChartXGridAndLabels.d.ts +6 -0
- package/dist/types/common/editorConfig/AxesChartXGridAndLabels.d.ts.map +1 -0
- package/dist/types/common/editorConfig/AxesChartY2GridAndLabels.d.ts +11 -0
- package/dist/types/common/editorConfig/AxesChartY2GridAndLabels.d.ts.map +1 -0
- package/dist/types/common/editorConfig/AxesChartYGridAndLabels.d.ts +4 -0
- package/dist/types/common/editorConfig/AxesChartYGridAndLabels.d.ts.map +1 -0
- package/dist/types/common/editorConfig/BackgroundColor.d.ts +10 -0
- package/dist/types/common/editorConfig/BackgroundColor.d.ts.map +1 -0
- package/dist/types/common/editorConfig/DynamicFillColorEditor.d.ts +29 -0
- package/dist/types/common/editorConfig/DynamicFillColorEditor.d.ts.map +1 -0
- package/dist/types/common/editorConfig/DynamicGaugeColorEditor.d.ts +29 -0
- package/dist/types/common/editorConfig/DynamicGaugeColorEditor.d.ts.map +1 -0
- package/dist/types/common/editorConfig/DynamicStrokeColorEditor.d.ts +29 -0
- package/dist/types/common/editorConfig/DynamicStrokeColorEditor.d.ts.map +1 -0
- package/dist/types/common/editorConfig/Gauge.d.ts +4 -0
- package/dist/types/common/editorConfig/Gauge.d.ts.map +1 -0
- package/dist/types/common/editorConfig/Legend.d.ts +4 -0
- package/dist/types/common/editorConfig/Legend.d.ts.map +1 -0
- package/dist/types/common/editorConfig/RadialBackgroundColor.d.ts +10 -0
- package/dist/types/common/editorConfig/RadialBackgroundColor.d.ts.map +1 -0
- package/dist/types/common/editorConfig/StaticFillColorEditor.d.ts +10 -0
- package/dist/types/common/editorConfig/StaticFillColorEditor.d.ts.map +1 -0
- package/dist/types/common/editorConfig/StaticGaugeColorEditor.d.ts +10 -0
- package/dist/types/common/editorConfig/StaticGaugeColorEditor.d.ts.map +1 -0
- package/dist/types/common/editorConfig/StaticStrokeColorEditor.d.ts +10 -0
- package/dist/types/common/editorConfig/StaticStrokeColorEditor.d.ts.map +1 -0
- package/dist/types/common/editorConfig/TrellisEditors.d.ts +66 -0
- package/dist/types/common/editorConfig/TrellisEditors.d.ts.map +1 -0
- package/dist/types/common/gaugeUtils.d.ts +387 -0
- package/dist/types/common/gaugeUtils.d.ts.map +1 -0
- package/dist/types/common/hocs/FixedSizeContainer.d.ts +9 -0
- package/dist/types/common/hocs/FixedSizeContainer.d.ts.map +1 -0
- package/dist/types/common/hocs/mockdata/trellisData.d.ts +1288 -0
- package/dist/types/common/hocs/mockdata/trellisData.d.ts.map +1 -0
- package/dist/types/common/hocs/withEditModeCover.d.ts +10 -0
- package/dist/types/common/hocs/withEditModeCover.d.ts.map +1 -0
- package/dist/types/common/hocs/withPlaceholder.d.ts +8 -0
- package/dist/types/common/hocs/withPlaceholder.d.ts.map +1 -0
- package/dist/types/common/hocs/withTrellis.d.ts +18 -0
- package/dist/types/common/hocs/withTrellis.d.ts.map +1 -0
- package/dist/types/common/hooks/useDeepMemo.d.ts +15 -0
- package/dist/types/common/hooks/useDeepMemo.d.ts.map +1 -0
- package/dist/types/common/hooks/useDownsampleDataSources.d.ts +7 -0
- package/dist/types/common/hooks/useDownsampleDataSources.d.ts.map +1 -0
- package/dist/types/common/hooks/useEventCallback.d.ts +9 -0
- package/dist/types/common/hooks/useEventCallback.d.ts.map +1 -0
- package/dist/types/common/hooks/useGetXAndYFields.d.ts +10 -0
- package/dist/types/common/hooks/useGetXAndYFields.d.ts.map +1 -0
- package/dist/types/common/hooks/usePagination.d.ts +21 -0
- package/dist/types/common/hooks/usePagination.d.ts.map +1 -0
- package/dist/types/common/hooks/usePrevious.d.ts +2 -0
- package/dist/types/common/hooks/usePrevious.d.ts.map +1 -0
- package/dist/types/common/hooks/useSorting.d.ts +17 -0
- package/dist/types/common/hooks/useSorting.d.ts.map +1 -0
- package/dist/types/common/hooks/useTrellisEnabled.d.ts +4 -0
- package/dist/types/common/hooks/useTrellisEnabled.d.ts.map +1 -0
- package/dist/types/common/interfaces/ChartEvent.d.ts +26 -0
- package/dist/types/common/interfaces/ChartEvent.d.ts.map +1 -0
- package/dist/types/common/interfaces/DashboardVizProps.d.ts +27 -0
- package/dist/types/common/interfaces/DashboardVizProps.d.ts.map +1 -0
- package/dist/types/common/interfaces/DataContract.d.ts +19 -0
- package/dist/types/common/interfaces/DataContract.d.ts.map +1 -0
- package/dist/types/common/interfaces/DataSource.d.ts +45 -0
- package/dist/types/common/interfaces/DataSource.d.ts.map +1 -0
- package/dist/types/common/interfaces/DefaultContext.d.ts +30 -0
- package/dist/types/common/interfaces/DefaultContext.d.ts.map +1 -0
- package/dist/types/common/interfaces/Editor.d.ts +23 -0
- package/dist/types/common/interfaces/Editor.d.ts.map +1 -0
- package/dist/types/common/interfaces/ExtendedDashViz.d.ts +7 -0
- package/dist/types/common/interfaces/ExtendedDashViz.d.ts.map +1 -0
- package/dist/types/common/interfaces/Object.d.ts +4 -0
- package/dist/types/common/interfaces/Object.d.ts.map +1 -0
- package/dist/types/common/interfaces/Overview.d.ts +14 -0
- package/dist/types/common/interfaces/Overview.d.ts.map +1 -0
- package/dist/types/common/interfaces/ThemedDefaults.d.ts +5 -0
- package/dist/types/common/interfaces/ThemedDefaults.d.ts.map +1 -0
- package/dist/types/common/interfaces/VizActionHandler.d.ts +15 -0
- package/dist/types/common/interfaces/VizActionHandler.d.ts.map +1 -0
- package/dist/types/common/interfaces/VizBehavior.d.ts +25 -0
- package/dist/types/common/interfaces/VizBehavior.d.ts.map +1 -0
- package/dist/types/common/interfaces/VizCategory.d.ts +16 -0
- package/dist/types/common/interfaces/VizCategory.d.ts.map +1 -0
- package/dist/types/common/interfaces/VizConfig.d.ts +34 -0
- package/dist/types/common/interfaces/VizConfig.d.ts.map +1 -0
- package/dist/types/common/interfaces/VizEvent.d.ts +13 -0
- package/dist/types/common/interfaces/VizEvent.d.ts.map +1 -0
- package/dist/types/common/interfaces/VizProps.d.ts +8 -0
- package/dist/types/common/interfaces/VizProps.d.ts.map +1 -0
- package/dist/types/common/interfaces/VizRegistry.d.ts +7 -0
- package/dist/types/common/interfaces/VizRegistry.d.ts.map +1 -0
- package/dist/types/common/interfaces/VizSize.d.ts +8 -0
- package/dist/types/common/interfaces/VizSize.d.ts.map +1 -0
- package/dist/types/common/interfaces/VizStatus.d.ts +2 -0
- package/dist/types/common/interfaces/VizStatus.d.ts.map +1 -0
- package/dist/types/common/interfaces/index.d.ts +19 -0
- package/dist/types/common/interfaces/index.d.ts.map +1 -0
- package/dist/types/common/shapeUtils.d.ts +26 -0
- package/dist/types/common/shapeUtils.d.ts.map +1 -0
- package/dist/types/common/utils/configUtils.d.ts +59 -0
- package/dist/types/common/utils/configUtils.d.ts.map +1 -0
- package/dist/types/common/utils/dataUtils.d.ts +31 -0
- package/dist/types/common/utils/dataUtils.d.ts.map +1 -0
- package/dist/types/common/utils/featureFlagUtils.d.ts +3 -0
- package/dist/types/common/utils/featureFlagUtils.d.ts.map +1 -0
- package/dist/types/common/utils/hocUtils.d.ts +12 -0
- package/dist/types/common/utils/hocUtils.d.ts.map +1 -0
- package/dist/types/common/utils/mapUtils.d.ts +2 -0
- package/dist/types/common/utils/mapUtils.d.ts.map +1 -0
- package/dist/types/common/utils/styleUtils.d.ts +2 -0
- package/dist/types/common/utils/styleUtils.d.ts.map +1 -0
- package/dist/types/common/utils/tableUtils.d.ts +3 -0
- package/dist/types/common/utils/tableUtils.d.ts.map +1 -0
- package/dist/types/common/utils/trellisUtils.d.ts +60 -0
- package/dist/types/common/utils/trellisUtils.d.ts.map +1 -0
- package/dist/types/common/utils/urlUtils.d.ts +2 -0
- package/dist/types/common/utils/urlUtils.d.ts.map +1 -0
- package/dist/types/common/withDashboardViz.d.ts +22 -0
- package/dist/types/common/withDashboardViz.d.ts.map +1 -0
- package/package.json +37 -39
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"trellisData.d.ts","sourceRoot":"","sources":["../../../../../src/common/hocs/mockdata/trellisData.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2D3C,CAAC;AAGF,eAAO,MAAM,6CAA6C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6HzD,CAAC;AAGF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6CrC,CAAC;AAGF,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2C3C,CAAC;AAGF,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkEjD,CAAC;AAGF,eAAO,MAAM,oDAAoD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwFhE,CAAC;AAGF,eAAO,MAAM,0DAA0D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqFtE,CAAC;AAGF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;CAoBrC,CAAC;AAGF,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+H3C,CAAC;AAGF,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;CA4CzC,CAAC;AAGF,eAAO,MAAM,sDAAsD;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8ClE,CAAC;AAGF,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;;;;;;;CAwBlD,CAAC;AAGF,eAAO,MAAM,oDAAoD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqEhE,CAAC;AAGF,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;CAgB1C,CAAC;AAGF,eAAO,MAAM,0CAA0C;;;;;;;;;;;;;;;;;;;;CA6BtD,CAAC;AAGF,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;;;;;;;CAwBlD,CAAC;AAGF,eAAO,MAAM,oDAAoD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqEhE,CAAC;AAGF,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;CAyBzC,CAAC;AAGF,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4L7C,CAAC;AAGF,eAAO,MAAM,+CAA+C;;;;;;;;;;;;;;;;;;;;;;CAsB3D,CAAC;AAIF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;CAatC,CAAC;AAGF,eAAO,MAAM,4CAA4C;;;;;;;;;;;;;;;;;;CAexD,CAAC;AAEF;;;;;;GAMG;AAEH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;CAmBvC,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;CAuB7C,CAAC;AAGF,eAAO,MAAM,uCAAuC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2CnD,CAAC;AAGF,eAAO,MAAM,+CAA+C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6B3D,CAAC;AAEF;;;;GAIG;AAEH,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;CAkCzC,CAAC;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;CAkBnC,CAAC;AAEF,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkE7C,CAAC;AAEF,eAAO,MAAM,wCAAwC;;;;;;;;;;;;;;;;;;;;;;;;;;CA4CpD,CAAC;AAEF,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;CAgBjD,CAAC;AASF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;CA8BpC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ExtendedDashViz } from '../interfaces/ExtendedDashViz';
|
|
2
|
+
/**
|
|
3
|
+
* HOC that renders a cover layer in edit mode
|
|
4
|
+
* @method withEditModeCover
|
|
5
|
+
* @param {ExtendedDashViz} Visualization
|
|
6
|
+
* @returns {ExtendedDashViz} Wrapper
|
|
7
|
+
*/
|
|
8
|
+
declare const withEditModeCover: (Visualization: ExtendedDashViz, disableEditModeCover?: boolean) => ExtendedDashViz;
|
|
9
|
+
export default withEditModeCover;
|
|
10
|
+
//# sourceMappingURL=withEditModeCover.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"withEditModeCover.d.ts","sourceRoot":"","sources":["../../../../src/common/hocs/withEditModeCover.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAuBhE;;;;;GAKG;AACH,QAAA,MAAM,iBAAiB,GACnB,eAAe,eAAe,EAC9B,uBAAuB,OAAO,KAC/B,eAcF,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DataSource } from '../interfaces/DataSource';
|
|
2
|
+
import { ExtendedDashViz } from '../interfaces/ExtendedDashViz';
|
|
3
|
+
type useIconPlaceholderType = (dataSources: {
|
|
4
|
+
[name: string]: DataSource;
|
|
5
|
+
}, loading: boolean, options: Record<string, unknown>) => boolean;
|
|
6
|
+
declare const withPlaceholder: (Visualization: ExtendedDashViz, useIconPlaceholder?: useIconPlaceholderType) => ExtendedDashViz;
|
|
7
|
+
export default withPlaceholder;
|
|
8
|
+
//# sourceMappingURL=withPlaceholder.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"withPlaceholder.d.ts","sourceRoot":"","sources":["../../../../src/common/hocs/withPlaceholder.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAIhE,KAAK,sBAAsB,GAAG,CAC1B,WAAW,EAAE;IAAE,CAAC,IAAI,EAAE,MAAM,GAAG,UAAU,CAAA;CAAE,EAC3C,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAC/B,OAAO,CAAC;AAEb,QAAA,MAAM,eAAe,GACjB,eAAe,eAAe,EAC9B,qBAAoB,sBAAkD,KACvE,eAqCF,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { DataSource } from '../interfaces/DataSource';
|
|
2
|
+
import { KV } from '../interfaces/Object';
|
|
3
|
+
export interface VizWithTrellisProps {
|
|
4
|
+
options?: KV;
|
|
5
|
+
dataSources: {
|
|
6
|
+
[name: string]: DataSource;
|
|
7
|
+
};
|
|
8
|
+
height: number | string;
|
|
9
|
+
width: number | string;
|
|
10
|
+
theme?: unknown;
|
|
11
|
+
}
|
|
12
|
+
declare const withTrellis: (Viz: any) => {
|
|
13
|
+
(opts: VizWithTrellisProps): JSX.Element;
|
|
14
|
+
propTypes: any;
|
|
15
|
+
config: any;
|
|
16
|
+
};
|
|
17
|
+
export default withTrellis;
|
|
18
|
+
//# sourceMappingURL=withTrellis.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"withTrellis.d.ts","sourceRoot":"","sources":["../../../../src/common/hocs/withTrellis.tsx"],"names":[],"mappings":"AAoBA,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAE,EAAE,EAAE,MAAM,sBAAsB,CAAC;AAgE1C,MAAM,WAAW,mBAAmB;IAChC,OAAO,CAAC,EAAE,EAAE,CAAC;IACb,WAAW,EAAE;QAAE,CAAC,IAAI,EAAE,MAAM,GAAG,UAAU,CAAA;KAAE,CAAC;IAC5C,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,KAAK,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,QAAA,MAAM,WAAW,GAAG,QAAG;WACW,mBAAmB,GAAG,GAAG,CAAC,OAAO;;;CA6MlE,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This hook evaluates and stores the result of a passed function and only
|
|
3
|
+
* re-evaluates the function when passed dependencies change.
|
|
4
|
+
*
|
|
5
|
+
* It is different from the internal React useMemo in the following aspects:
|
|
6
|
+
* - it only stores the last evaluated result
|
|
7
|
+
* - it uses a deep equality check to determine if dependencies have changed
|
|
8
|
+
*
|
|
9
|
+
* Inspired by apollo-client's useDeepMemo
|
|
10
|
+
*
|
|
11
|
+
* @param fn the function to be executed and
|
|
12
|
+
* @param dependencies an array of dependencies
|
|
13
|
+
*/
|
|
14
|
+
export declare const useDeepMemo: <FnReturnType, DepType>(fn: () => FnReturnType, dependencies: DepType) => FnReturnType;
|
|
15
|
+
//# sourceMappingURL=useDeepMemo.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useDeepMemo.d.ts","sourceRoot":"","sources":["../../../../src/common/hooks/useDeepMemo.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,WAAW,GAAI,YAAY,EAAE,OAAO,EAC7C,IAAI,MAAM,YAAY,EACtB,cAAc,OAAO,KACtB,YASF,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { DashboardVizProps } from '../interfaces';
|
|
2
|
+
declare const useDownsampleDataSources: ({ dataSources, options, context, threshold, isDownsamplingEnabled, }: Pick<DashboardVizProps, "dataSources" | "options" | "context"> & {
|
|
3
|
+
threshold: number;
|
|
4
|
+
isDownsamplingEnabled?: boolean;
|
|
5
|
+
}) => Record<string, import("../interfaces").DataSource>;
|
|
6
|
+
export default useDownsampleDataSources;
|
|
7
|
+
//# sourceMappingURL=useDownsampleDataSources.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useDownsampleDataSources.d.ts","sourceRoot":"","sources":["../../../../src/common/hooks/useDownsampleDataSources.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AASvD,QAAA,MAAM,wBAAwB,GAAI,sEAM/B,IAAI,CAAC,iBAAiB,EAAE,aAAa,GAAG,SAAS,GAAG,SAAS,CAAC,GAAG;IAChE,SAAS,EAAE,MAAM,CAAC;IAClB,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACnC,uDAwFA,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This is an escape hatch for the case where an event handler function depends on some states that changes too often thus the event handle is recreated frequently which causes bugs in some edge cases.
|
|
3
|
+
*
|
|
4
|
+
* For example if an old callback is called, it may not use the most recent props, but the previous props when that callback was created.
|
|
5
|
+
*/
|
|
6
|
+
type Fn<ARGS extends any[], R> = (...args: ARGS) => R;
|
|
7
|
+
declare const useEventCallback: <A extends any[], R>(fn: Fn<A, R>) => Fn<A, R>;
|
|
8
|
+
export default useEventCallback;
|
|
9
|
+
//# sourceMappingURL=useEventCallback.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useEventCallback.d.ts","sourceRoot":"","sources":["../../../../src/common/hooks/useEventCallback.tsx"],"names":[],"mappings":"AAEA;;;;GAIG;AAEH,KAAK,EAAE,CAAC,IAAI,SAAS,GAAG,EAAE,EAAE,CAAC,IAAI,CAAC,GAAG,IAAI,EAAE,IAAI,KAAK,CAAC,CAAC;AACtD,QAAA,MAAM,gBAAgB,GAAI,CAAC,SAAS,GAAG,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,KAAG,EAAE,CAAC,CAAC,EAAE,CAAC,CAMnE,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { DashboardVizProps } from '../interfaces';
|
|
2
|
+
/**
|
|
3
|
+
* Hook that evaluates the DSL for subset of a viz's options needed to determine
|
|
4
|
+
* its x and y fields as well as the types of all its fields.
|
|
5
|
+
*/
|
|
6
|
+
declare const useGetXAndYFields: ({ shouldEvaluateDSL, options, context, dataSources, }: Pick<DashboardVizProps, "dataSources" | "options" | "context"> & {
|
|
7
|
+
shouldEvaluateDSL: boolean;
|
|
8
|
+
}) => import("../interfaces").KV;
|
|
9
|
+
export default useGetXAndYFields;
|
|
10
|
+
//# sourceMappingURL=useGetXAndYFields.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useGetXAndYFields.d.ts","sourceRoot":"","sources":["../../../../src/common/hooks/useGetXAndYFields.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAEvD;;;GAGG;AACH,QAAA,MAAM,iBAAiB,GAAI,uDAKxB,IAAI,CAAC,iBAAiB,EAAE,aAAa,GAAG,SAAS,GAAG,SAAS,CAAC,GAAG;IAChE,iBAAiB,EAAE,OAAO,CAAC;CAC9B,+BAmFA,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as T from 'prop-types';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { DataSourceMeta } from '../interfaces/DataSource';
|
|
4
|
+
export interface OnChangeParams {
|
|
5
|
+
page?: number;
|
|
6
|
+
count?: number;
|
|
7
|
+
}
|
|
8
|
+
export interface PaginatorParams {
|
|
9
|
+
isPaging?: boolean;
|
|
10
|
+
current?: number;
|
|
11
|
+
totalPages?: number;
|
|
12
|
+
onChange?: (event: React.MouseEvent<HTMLButtonElement>, data: OnChangeParams) => void;
|
|
13
|
+
}
|
|
14
|
+
export declare const PaginatorParamsPropTypes: T.Requireable<T.InferProps<{
|
|
15
|
+
isPaging: T.Requireable<boolean>;
|
|
16
|
+
current: T.Requireable<number>;
|
|
17
|
+
totalPages: T.Requireable<number>;
|
|
18
|
+
onChange: T.Requireable<(...args: any[]) => any>;
|
|
19
|
+
}>>;
|
|
20
|
+
export declare const usePaginationParams: ({ requestParams, meta, onRequestParamsChange, }: DataSourceMeta) => PaginatorParams;
|
|
21
|
+
//# sourceMappingURL=usePagination.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usePagination.d.ts","sourceRoot":"","sources":["../../../../src/common/hooks/usePagination.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,YAAY,CAAC;AAEhC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,cAAc,EAAiB,MAAM,0BAA0B,CAAC;AAEzE,MAAM,WAAW,cAAc;IAC3B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AACD,MAAM,WAAW,eAAe;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB,CAAC,EAAE,IAAI,EAAE,cAAc,KAAK,IAAI,CAAC;CACzF;AAED,eAAO,MAAM,wBAAwB;;;;;GAKnC,CAAC;AAEH,eAAO,MAAM,mBAAmB,GAAI,iDAIjC,cAAc,KAAG,eA+BnB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usePrevious.d.ts","sourceRoot":"","sources":["../../../../src/common/hooks/usePrevious.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,GAAG,CAAC,GAAG,SAAS,CAM9D"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as T from 'prop-types';
|
|
2
|
+
import { DataSourceMeta, SortDirType } from '../interfaces/DataSource';
|
|
3
|
+
export interface SortParams {
|
|
4
|
+
currentSortKey?: undefined | string;
|
|
5
|
+
currentSortDir?: undefined | SortDirType;
|
|
6
|
+
onSort?: (e: MouseEvent, { sortKey, sortDir }: {
|
|
7
|
+
sortKey: string;
|
|
8
|
+
sortDir: SortDirType;
|
|
9
|
+
}) => void;
|
|
10
|
+
}
|
|
11
|
+
export declare const SortParamsPropTypes: T.Requireable<T.InferProps<{
|
|
12
|
+
currentSortKey: T.Requireable<string>;
|
|
13
|
+
currentSortDir: T.Requireable<"asc" | "desc" | "none">;
|
|
14
|
+
onSort: T.Requireable<(...args: any[]) => any>;
|
|
15
|
+
}>>;
|
|
16
|
+
export declare const useSortingParams: ({ requestParams, onRequestParamsChange }: DataSourceMeta) => SortParams;
|
|
17
|
+
//# sourceMappingURL=useSorting.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useSorting.d.ts","sourceRoot":"","sources":["../../../../src/common/hooks/useSorting.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,YAAY,CAAC;AAEhC,OAAO,EAAE,cAAc,EAAE,WAAW,EAAiB,MAAM,0BAA0B,CAAC;AAEtF,MAAM,WAAW,UAAU;IACvB,cAAc,CAAC,EAAE,SAAS,GAAG,MAAM,CAAC;IACpC,cAAc,CAAC,EAAE,SAAS,GAAG,WAAW,CAAC;IACzC,MAAM,CAAC,EAAE,CAAC,CAAC,EAAE,UAAU,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,WAAW,CAAA;KAAE,KAAK,IAAI,CAAC;CACrG;AAED,eAAO,MAAM,mBAAmB;;;;GAI9B,CAAC;AAEH,eAAO,MAAM,gBAAgB,GAAI,0CAA0C,cAAc,KAAG,UAoC3F,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useTrellisEnabled.d.ts","sourceRoot":"","sources":["../../../../src/common/hooks/useTrellisEnabled.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAE5D,eAAO,MAAM,uBAAuB,QAAO,OAG1C,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,wBAA4B,KAAG,OAGhE,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { FieldEntry } from '@splunk/visualizations-shared/dataSourceUtils';
|
|
2
|
+
type ChartEventType = 'pointClick' | 'pointMouseOver' | 'pointMouseOut' | 'chartRangeSelect' | 'legendClick';
|
|
3
|
+
interface ChartData {
|
|
4
|
+
fields: FieldEntry[] | string[];
|
|
5
|
+
seriesList: string[][];
|
|
6
|
+
fieldMetadata: Record<string, unknown>;
|
|
7
|
+
annotations: unknown[];
|
|
8
|
+
length: number;
|
|
9
|
+
}
|
|
10
|
+
interface ChartEventTarget extends EventTarget {
|
|
11
|
+
dataSet?: ChartData;
|
|
12
|
+
}
|
|
13
|
+
export interface ChartEvent<T extends ChartEventType> extends Event {
|
|
14
|
+
endXIndex?: number;
|
|
15
|
+
startXIndex?: number;
|
|
16
|
+
name: string;
|
|
17
|
+
name2: string;
|
|
18
|
+
value?: unknown;
|
|
19
|
+
value2?: unknown;
|
|
20
|
+
rowContext?: Record<string, any>;
|
|
21
|
+
span?: number;
|
|
22
|
+
type: T;
|
|
23
|
+
currentTarget: ChartEventTarget;
|
|
24
|
+
}
|
|
25
|
+
export {};
|
|
26
|
+
//# sourceMappingURL=ChartEvent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChartEvent.d.ts","sourceRoot":"","sources":["../../../../src/common/interfaces/ChartEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,+CAA+C,CAAC;AAE3E,KAAK,cAAc,GAAG,YAAY,GAAG,gBAAgB,GAAG,eAAe,GAAG,kBAAkB,GAAG,aAAa,CAAC;AAE7G,UAAU,SAAS;IACf,MAAM,EAAE,UAAU,EAAE,GAAG,MAAM,EAAE,CAAC;IAChC,UAAU,EAAE,MAAM,EAAE,EAAE,CAAC;IACvB,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACvC,WAAW,EAAE,OAAO,EAAE,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;CAClB;AAED,UAAU,gBAAiB,SAAQ,WAAW;IAC1C,OAAO,CAAC,EAAE,SAAS,CAAC;CACvB;AAED,MAAM,WAAW,UAAU,CAAC,CAAC,SAAS,cAAc,CAAE,SAAQ,KAAK;IAC/D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACjC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,CAAC,CAAC;IACR,aAAa,EAAE,gBAAgB,CAAC;CACnC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { DataSource } from './DataSource';
|
|
2
|
+
import { VizActionHandler } from './VizActionHandler';
|
|
3
|
+
import { KV } from './Object';
|
|
4
|
+
/**
|
|
5
|
+
* FIXME TODO need clear documentation on the not-to-obvious fields
|
|
6
|
+
*/
|
|
7
|
+
export interface DashboardVizProps {
|
|
8
|
+
mode?: string;
|
|
9
|
+
width: number | string;
|
|
10
|
+
height: number | string;
|
|
11
|
+
options?: KV;
|
|
12
|
+
context?: KV;
|
|
13
|
+
onOptionsChange?: (options: Record<string, unknown>) => void;
|
|
14
|
+
dataSources: Record<string, DataSource>;
|
|
15
|
+
onEventTrigger?: ({ type, payload, originalEvent }: {
|
|
16
|
+
type: any;
|
|
17
|
+
payload: any;
|
|
18
|
+
originalEvent: any;
|
|
19
|
+
}) => Record<string, unknown>;
|
|
20
|
+
hasEventHandlers?: boolean;
|
|
21
|
+
vizActionHandlerRef?: (actionHandler: VizActionHandler) => void;
|
|
22
|
+
onComputedProps?: (...args: any) => void;
|
|
23
|
+
loading?: boolean;
|
|
24
|
+
theme?: Record<string, any>;
|
|
25
|
+
onRequestParamsChange?: (dataSourceKey: string, payload: any) => void;
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=DashboardVizProps.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DashboardVizProps.d.ts","sourceRoot":"","sources":["../../../../src/common/interfaces/DashboardVizProps.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,EAAE,EAAE,MAAM,UAAU,CAAC;AAE9B;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAC9B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,OAAO,CAAC,EAAE,EAAE,CAAC;IACb,OAAO,CAAC,EAAE,EAAE,CAAC;IACb,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,CAAC;IAC7D,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;IACxC,cAAc,CAAC,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,aAAa,EAAE;;;;KAAA,KAAK,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC/E,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,mBAAmB,CAAC,EAAE,CAAC,aAAa,EAAE,gBAAgB,KAAK,IAAI,CAAC;IAChE,eAAe,CAAC,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,KAAK,IAAI,CAAC;IACzC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC5B,qBAAqB,CAAC,EAAE,CAAC,aAAa,EAAE,MAAM,EAAE,OAAO,KAAA,KAAK,IAAI,CAAC;CACpE"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A data structure used at runtime to wire up a visualization.
|
|
3
|
+
*/
|
|
4
|
+
interface InitialRequestParams {
|
|
5
|
+
[key: string]: Record<string, unknown> | ((options?: Record<string, unknown>) => Record<string, unknown>);
|
|
6
|
+
}
|
|
7
|
+
export interface DataContract {
|
|
8
|
+
requiredDataSources: {
|
|
9
|
+
name: string;
|
|
10
|
+
description: string;
|
|
11
|
+
}[];
|
|
12
|
+
optionalDataSources?: {
|
|
13
|
+
name: string;
|
|
14
|
+
description: string;
|
|
15
|
+
}[];
|
|
16
|
+
initialRequestParams: InitialRequestParams;
|
|
17
|
+
}
|
|
18
|
+
export {};
|
|
19
|
+
//# sourceMappingURL=DataContract.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataContract.d.ts","sourceRoot":"","sources":["../../../../src/common/interfaces/DataContract.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,UAAU,oBAAoB;IAC1B,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;CAC7G;AACD,MAAM,WAAW,YAAY;IACzB,mBAAmB,EAAE;QACjB,IAAI,EAAE,MAAM,CAAC;QACb,WAAW,EAAE,MAAM,CAAC;KACvB,EAAE,CAAC;IACJ,mBAAmB,CAAC,EAAE;QAClB,IAAI,EAAE,MAAM,CAAC;QACb,WAAW,EAAE,MAAM,CAAC;KACvB,EAAE,CAAC;IACJ,oBAAoB,EAAE,oBAAoB,CAAC;CAC9C"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { FieldEntry } from '@splunk/visualizations-shared/dataSourceUtils';
|
|
2
|
+
import { validSegmentationModes } from '@splunk/visualization-schemas';
|
|
3
|
+
export interface JsonColumnData {
|
|
4
|
+
fields: FieldEntry[] | string[];
|
|
5
|
+
columns: (string | number)[][];
|
|
6
|
+
}
|
|
7
|
+
export type HighlightedSourceMap = Record<string, Record<string, boolean>>;
|
|
8
|
+
export type TagsMap = Record<string, Record<string, string[]>>;
|
|
9
|
+
export interface Meta {
|
|
10
|
+
totalCount: number;
|
|
11
|
+
sid: string;
|
|
12
|
+
app: string;
|
|
13
|
+
highlighted?: HighlightedSourceMap;
|
|
14
|
+
tags?: TagsMap;
|
|
15
|
+
}
|
|
16
|
+
export declare const validSortDirs: readonly ["asc", "desc", "none"];
|
|
17
|
+
export type SortDirType = (typeof validSortDirs)[number];
|
|
18
|
+
export type SegmentationType = (typeof validSegmentationModes)[number];
|
|
19
|
+
export declare const validOutputModes: readonly ["json_cols", "json"];
|
|
20
|
+
export type OutputModeType = (typeof validOutputModes)[number];
|
|
21
|
+
export interface RequestParams {
|
|
22
|
+
count?: number;
|
|
23
|
+
offset?: number;
|
|
24
|
+
sort?: {
|
|
25
|
+
[sortKey: string]: SortDirType;
|
|
26
|
+
};
|
|
27
|
+
segmentation?: SegmentationType;
|
|
28
|
+
output_mode?: OutputModeType;
|
|
29
|
+
}
|
|
30
|
+
export interface DataSource {
|
|
31
|
+
requestParams: Partial<RequestParams>;
|
|
32
|
+
onRequestParamsChange?: (p: Record<string, unknown>) => void;
|
|
33
|
+
data: JsonColumnData;
|
|
34
|
+
error?: {
|
|
35
|
+
level: string;
|
|
36
|
+
message: string;
|
|
37
|
+
};
|
|
38
|
+
meta: Partial<Meta>;
|
|
39
|
+
}
|
|
40
|
+
export interface DataSourceMeta {
|
|
41
|
+
requestParams: Partial<RequestParams>;
|
|
42
|
+
meta: Partial<Meta>;
|
|
43
|
+
onRequestParamsChange: (payload: RequestParams) => void;
|
|
44
|
+
}
|
|
45
|
+
//# sourceMappingURL=DataSource.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataSource.d.ts","sourceRoot":"","sources":["../../../../src/common/interfaces/DataSource.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,+CAA+C,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AAEvE,MAAM,WAAW,cAAc;IAC3B,MAAM,EAAE,UAAU,EAAE,GAAG,MAAM,EAAE,CAAC;IAChC,OAAO,EAAE,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,EAAE,CAAC;CAClC;AAED,MAAM,MAAM,oBAAoB,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;AAC3E,MAAM,MAAM,OAAO,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC;AAE/D,MAAM,WAAW,IAAI;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,CAAC,EAAE,oBAAoB,CAAC;IACnC,IAAI,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,eAAO,MAAM,aAAa,kCAAmC,CAAC;AAC9D,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,aAAa,CAAC,CAAC,MAAM,CAAC,CAAC;AACzD,MAAM,MAAM,gBAAgB,GAAG,CAAC,OAAO,sBAAsB,CAAC,CAAC,MAAM,CAAC,CAAC;AACvE,eAAO,MAAM,gBAAgB,gCAAiC,CAAC;AAC/D,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,CAAC,CAAC;AAE/D,MAAM,WAAW,aAAa;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE;QACH,CAAC,OAAO,EAAE,MAAM,GAAG,WAAW,CAAC;KAClC,CAAC;IACF,YAAY,CAAC,EAAE,gBAAgB,CAAC;IAEhC,WAAW,CAAC,EAAE,cAAc,CAAC;CAChC;AAED,MAAM,WAAW,UAAU;IACvB,aAAa,EAAE,OAAO,CAAC,aAAa,CAAC,CAAC;IACtC,qBAAqB,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,CAAC;IAC7D,IAAI,EAAE,cAAc,CAAC;IACrB,KAAK,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC;IAC3C,IAAI,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;CACvB;AAED,MAAM,WAAW,cAAc;IAC3B,aAAa,EAAE,OAAO,CAAC,aAAa,CAAC,CAAC;IACtC,IAAI,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;IACpB,qBAAqB,EAAE,CAAC,OAAO,EAAE,aAAa,KAAK,IAAI,CAAC;CAC3D"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
interface Threshold {
|
|
2
|
+
from?: number;
|
|
3
|
+
to?: number;
|
|
4
|
+
value: string | number;
|
|
5
|
+
}
|
|
6
|
+
interface Gradient {
|
|
7
|
+
stops?: number[];
|
|
8
|
+
colors: string[];
|
|
9
|
+
}
|
|
10
|
+
interface MatchValue {
|
|
11
|
+
match: string;
|
|
12
|
+
value: string;
|
|
13
|
+
}
|
|
14
|
+
type Pick = string | number;
|
|
15
|
+
interface SetColorChannel {
|
|
16
|
+
channel: string;
|
|
17
|
+
value: string | number;
|
|
18
|
+
}
|
|
19
|
+
interface MaxContrast {
|
|
20
|
+
colors: string[];
|
|
21
|
+
default?: string;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* represents the default context if any. Currently, the default context is range formatting
|
|
25
|
+
*/
|
|
26
|
+
export interface DefaultContext {
|
|
27
|
+
[key: string]: Threshold[] | MatchValue[] | Gradient | Pick[] | SetColorChannel | MaxContrast | string;
|
|
28
|
+
}
|
|
29
|
+
export {};
|
|
30
|
+
//# sourceMappingURL=DefaultContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DefaultContext.d.ts","sourceRoot":"","sources":["../../../../src/common/interfaces/DefaultContext.ts"],"names":[],"mappings":"AAAA,UAAU,SAAS;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;CAC1B;AAED,UAAU,QAAQ;IACd,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB,MAAM,EAAE,MAAM,EAAE,CAAC;CACpB;AAED,UAAU,UAAU;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACjB;AAED,KAAK,IAAI,GAAG,MAAM,GAAG,MAAM,CAAC;AAE5B,UAAU,eAAe;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;CAC1B;AAED,UAAU,WAAW;IACjB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB;AACD;;GAEG;AACH,MAAM,WAAW,cAAc;IAC3B,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,EAAE,GAAG,UAAU,EAAE,GAAG,QAAQ,GAAG,IAAI,EAAE,GAAG,eAAe,GAAG,WAAW,GAAG,MAAM,CAAC;CAC1G"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Provides the two dimensional layout in terms of rows of editable dimensions
|
|
3
|
+
*/
|
|
4
|
+
export interface EditorConfig {
|
|
5
|
+
label: string;
|
|
6
|
+
layout: EditorLayoutConfig[][];
|
|
7
|
+
open?: boolean;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Provides the info needed at runtime for an editor to make an option
|
|
11
|
+
* configurable via an editor
|
|
12
|
+
*/
|
|
13
|
+
interface EditorLayoutObj {
|
|
14
|
+
label?: string;
|
|
15
|
+
key?: string;
|
|
16
|
+
option?: string;
|
|
17
|
+
context?: string;
|
|
18
|
+
editor: string;
|
|
19
|
+
editorProps?: Record<string, unknown>;
|
|
20
|
+
}
|
|
21
|
+
export type EditorLayoutConfig = EditorLayoutObj | Record<string, unknown>;
|
|
22
|
+
export {};
|
|
23
|
+
//# sourceMappingURL=Editor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Editor.d.ts","sourceRoot":"","sources":["../../../../src/common/interfaces/Editor.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,YAAY;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,kBAAkB,EAAE,EAAE,CAAC;IAC/B,IAAI,CAAC,EAAE,OAAO,CAAC;CAClB;AAED;;;GAGG;AACH,UAAU,eAAe;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACzC;AAED,MAAM,MAAM,kBAAkB,GAAG,eAAe,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { DashboardVizProps } from './DashboardVizProps';
|
|
2
|
+
import { VizConfig } from './VizConfig';
|
|
3
|
+
export interface ExtendedDashViz extends React.FunctionComponent<DashboardVizProps> {
|
|
4
|
+
config?: VizConfig;
|
|
5
|
+
propTypes: any;
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=ExtendedDashViz.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExtendedDashViz.d.ts","sourceRoot":"","sources":["../../../../src/common/interfaces/ExtendedDashViz.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,MAAM,WAAW,eAAgB,SAAQ,KAAK,CAAC,iBAAiB,CAAC,iBAAiB,CAAC;IAC/E,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,SAAS,EAAE,GAAG,CAAC;CAClB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Object.d.ts","sourceRoot":"","sources":["../../../../src/common/interfaces/Object.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,EAAE;IACf,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACtB"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface Variation {
|
|
2
|
+
title: string;
|
|
3
|
+
description: string;
|
|
4
|
+
key: string;
|
|
5
|
+
hideSandbox?: boolean;
|
|
6
|
+
}
|
|
7
|
+
export interface Overview {
|
|
8
|
+
type?: string;
|
|
9
|
+
typeOfViz: string;
|
|
10
|
+
overview: string;
|
|
11
|
+
tips: string[];
|
|
12
|
+
variations: Variation[];
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=Overview.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Overview.d.ts","sourceRoot":"","sources":["../../../../src/common/interfaces/Overview.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,SAAS;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,MAAM,WAAW,QAAQ;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,UAAU,EAAE,SAAS,EAAE,CAAC;CAC3B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThemedDefaults.d.ts","sourceRoot":"","sources":["../../../../src/common/interfaces/ThemedDefaults.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,UAAU,CAAC;AAE9B,MAAM,WAAW,cAAc;IAC3B,CAAC,KAAK,EAAE,MAAM,GAAG,EAAE,CAAC;CACvB"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface VizActionHandler {
|
|
2
|
+
/**
|
|
3
|
+
* put focus on the visualization
|
|
4
|
+
*/
|
|
5
|
+
focus(): void;
|
|
6
|
+
/**
|
|
7
|
+
* compute snapshot of this visualization
|
|
8
|
+
*/
|
|
9
|
+
snapshot(): Record<string, unknown>;
|
|
10
|
+
}
|
|
11
|
+
export declare class DefaultVizActionHandler {
|
|
12
|
+
focus(): void;
|
|
13
|
+
snapshot(): Record<string, unknown>;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=VizActionHandler.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VizActionHandler.d.ts","sourceRoot":"","sources":["../../../../src/common/interfaces/VizActionHandler.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,gBAAgB;IAC7B;;OAEG;IACH,KAAK,IAAI,IAAI,CAAC;IAEd;;OAEG;IACH,QAAQ,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACvC;AAED,qBAAa,uBAAuB;IAChC,KAAK,IAAI,IAAI;IAIb,QAAQ,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;CAGtC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export declare enum VizBehavior {
|
|
2
|
+
/**
|
|
3
|
+
* Dynamic Options Behavior.
|
|
4
|
+
* This allows visualization options to be powered by data
|
|
5
|
+
*
|
|
6
|
+
* **Example**
|
|
7
|
+
*
|
|
8
|
+
* sparklineValues: ">primary|seriesByIndex(0)"
|
|
9
|
+
* would configure sparklineValues with an array of data points
|
|
10
|
+
* coming from the first series in the primary datasource
|
|
11
|
+
*
|
|
12
|
+
*/
|
|
13
|
+
DYNAMIC_OPTIONS = "dynamic-options",
|
|
14
|
+
EVENTS = "events",
|
|
15
|
+
DOWNSAMPLING = "downsampling",
|
|
16
|
+
/**
|
|
17
|
+
* Placeholder behavior: visualization will display a placeholder rather than fail if any of the `requiredProps` is
|
|
18
|
+
* missing.
|
|
19
|
+
* @type {string}
|
|
20
|
+
*/
|
|
21
|
+
PLACEHOLDER = "placeholder",
|
|
22
|
+
PAGE_AND_SORT = "page-and-sort",
|
|
23
|
+
TRELLIS = "trellis"
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=VizBehavior.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VizBehavior.d.ts","sourceRoot":"","sources":["../../../../src/common/interfaces/VizBehavior.ts"],"names":[],"mappings":"AAAA,oBAAY,WAAW;IACnB;;;;;;;;;;OAUG;IACH,eAAe,oBAAoB;IACnC,MAAM,WAAW;IACjB,YAAY,iBAAiB;IAC7B;;;;OAIG;IACH,WAAW,gBAAgB;IAC3B,aAAa,kBAAkB;IAC/B,OAAO,YAAY;CACtB"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare enum VizCategory {
|
|
2
|
+
SINGLE_VALUE = "Single Value",
|
|
3
|
+
TRENDS = "Trends",
|
|
4
|
+
COMPARISONS = "Comparisons",
|
|
5
|
+
TABLE = "Table",
|
|
6
|
+
TIMELINE = "Timeline",
|
|
7
|
+
GAUGE = "Gauge",
|
|
8
|
+
DISTRIBUTIONS = "Distributions",
|
|
9
|
+
CHOROPLETH = "Choropleth Maps",
|
|
10
|
+
SHAPES = "Shapes",
|
|
11
|
+
MISC = "misc",
|
|
12
|
+
FLOW = "Flow",
|
|
13
|
+
CORRELATION = "Correlation",
|
|
14
|
+
SPATIAL = "Spatial"
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=VizCategory.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VizCategory.d.ts","sourceRoot":"","sources":["../../../../src/common/interfaces/VizCategory.ts"],"names":[],"mappings":"AAAA,oBAAY,WAAW;IACnB,YAAY,iBAAiB;IAC7B,MAAM,WAAW;IACjB,WAAW,gBAAgB;IAC3B,KAAK,UAAU;IACf,QAAQ,aAAa;IACrB,KAAK,UAAU;IACf,aAAa,kBAAkB;IAC/B,UAAU,oBAAoB;IAC9B,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,IAAI,SAAS;IACb,WAAW,gBAAgB;IAC3B,OAAO,YAAY;CACtB"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { OptionsSchema } from '@splunk/visualization-schemas';
|
|
2
|
+
import { DataContract } from './DataContract';
|
|
3
|
+
import { VizSize } from './VizSize';
|
|
4
|
+
import { DefaultContext } from './DefaultContext';
|
|
5
|
+
import { EditorConfig } from './Editor';
|
|
6
|
+
import { VizEvent } from './VizEvent';
|
|
7
|
+
import { VizBehavior } from './VizBehavior';
|
|
8
|
+
import { VizStatus } from './VizStatus';
|
|
9
|
+
import { VizCategory } from './VizCategory';
|
|
10
|
+
/**
|
|
11
|
+
* A static descriptor for a visualization
|
|
12
|
+
*/
|
|
13
|
+
export interface VizConfig {
|
|
14
|
+
key: string;
|
|
15
|
+
name: string;
|
|
16
|
+
category: VizCategory;
|
|
17
|
+
/**
|
|
18
|
+
* Reflects whether the visualization is new (with the 'preview' value). This property allows us to
|
|
19
|
+
* surface a message about the visualization in the visualization docs.
|
|
20
|
+
*/
|
|
21
|
+
status?: VizStatus;
|
|
22
|
+
icon?: React.ComponentType | null;
|
|
23
|
+
placeholderIcon?: React.ComponentType;
|
|
24
|
+
dataContract: DataContract;
|
|
25
|
+
size: VizSize;
|
|
26
|
+
defaultContext?: DefaultContext;
|
|
27
|
+
optionsSchema: OptionsSchema;
|
|
28
|
+
editorConfig: EditorConfig[];
|
|
29
|
+
events?: VizEvent;
|
|
30
|
+
supports: VizBehavior[];
|
|
31
|
+
themes: any;
|
|
32
|
+
requiredProps?: string[];
|
|
33
|
+
}
|
|
34
|
+
//# sourceMappingURL=VizConfig.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VizConfig.d.ts","sourceRoot":"","sources":["../../../../src/common/interfaces/VizConfig.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C;;GAEG;AACH,MAAM,WAAW,SAAS;IACtB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,WAAW,CAAC;IACtB;;;OAGG;IACH,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,IAAI,CAAC,EAAE,KAAK,CAAC,aAAa,GAAG,IAAI,CAAC;IAClC,eAAe,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACtC,YAAY,EAAE,YAAY,CAAC;IAC3B,IAAI,EAAE,OAAO,CAAC;IACd,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC,aAAa,EAAE,aAAa,CAAC;IAC7B,YAAY,EAAE,YAAY,EAAE,CAAC;IAC7B,MAAM,CAAC,EAAE,QAAQ,CAAC;IAClB,QAAQ,EAAE,WAAW,EAAE,CAAC;IACxB,MAAM,EAAE,GAAG,CAAC;IAGZ,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;CAC5B"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface VizEvent {
|
|
2
|
+
[key: string]: {
|
|
3
|
+
description: string;
|
|
4
|
+
payloadKeys?: string[];
|
|
5
|
+
/**
|
|
6
|
+
* Array of keys used to create nested parent object for event
|
|
7
|
+
*
|
|
8
|
+
* Example: [ 'a', 'b' ] -> { a: { b: event } }
|
|
9
|
+
*/
|
|
10
|
+
parentKeys?: string[];
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=VizEvent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VizEvent.d.ts","sourceRoot":"","sources":["../../../../src/common/interfaces/VizEvent.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,QAAQ;IACrB,CAAC,GAAG,EAAE,MAAM,GAAG;QACX,WAAW,EAAE,MAAM,CAAC;QACpB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;QACvB;;;;WAIG;QACH,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;KACzB,CAAC;CACL"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VizProps.d.ts","sourceRoot":"","sources":["../../../../src/common/interfaces/VizProps.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD,MAAM,WAAW,QAAQ;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,mBAAmB,CAAC,EAAE,CAAC,aAAa,EAAE,gBAAgB,KAAK,IAAI,CAAC;CACnE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VizRegistry.d.ts","sourceRoot":"","sources":["../../../../src/common/interfaces/VizRegistry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,MAAM,WAAW,WAAW;IACxB,cAAc,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,CAAA;KAAE,CAAC;CAChD"}
|