@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.
- package/Area.config.js +27 -0
- package/Area.config.js.map +2 -2
- package/Area.js +715 -354
- package/Area.js.map +4 -4
- package/Bar.config.js +27 -0
- package/Bar.config.js.map +2 -2
- package/Bar.js +747 -386
- package/Bar.js.map +4 -4
- package/Bubble.config.js +27 -0
- package/Bubble.config.js.map +2 -2
- package/Bubble.js +677 -320
- package/Bubble.js.map +4 -4
- package/CHANGELOG.external.md +49 -0
- package/ChoroplethSvg.js +563 -193
- package/ChoroplethSvg.js.map +4 -4
- package/Column.config.js +27 -0
- package/Column.config.js.map +2 -2
- package/Column.js +762 -401
- package/Column.js.map +4 -4
- package/Ellipse.js +586 -213
- package/Ellipse.js.map +4 -4
- package/Events.js +585 -200
- package/Events.js.map +4 -4
- package/FEATUREFLAGS.md +1 -0
- package/FillerGauge.js +558 -190
- package/FillerGauge.js.map +4 -4
- package/Image.js +583 -216
- package/Image.js.map +4 -4
- package/Line.config.js +28 -1
- package/Line.config.js.map +2 -2
- package/Line.js +730 -369
- package/Line.js.map +4 -4
- package/LinkGraph.js +1087 -690
- package/LinkGraph.js.map +4 -4
- package/Map.config.js +2 -0
- package/Map.config.js.map +2 -2
- package/Map.js +527 -141
- package/Map.js.map +4 -4
- package/Markdown.js +607 -229
- package/Markdown.js.map +4 -4
- package/MarkerGauge.js +537 -168
- package/MarkerGauge.js.map +4 -4
- package/ParallelCoordinates.js +558 -173
- package/ParallelCoordinates.js.map +4 -4
- package/Pie.js +644 -315
- package/Pie.js.map +4 -4
- package/Punchcard.js +582 -199
- package/Punchcard.js.map +4 -4
- package/Rectangle.js +597 -223
- package/Rectangle.js.map +4 -4
- package/Sankey.js +570 -200
- package/Sankey.js.map +4 -4
- package/Scatter.config.js +27 -0
- package/Scatter.config.js.map +2 -2
- package/Scatter.js +681 -325
- package/Scatter.js.map +4 -4
- package/SingleValue.js +534 -165
- package/SingleValue.js.map +4 -4
- package/SingleValueIcon.js +528 -159
- package/SingleValueIcon.js.map +4 -4
- package/SingleValueRadial.js +521 -152
- package/SingleValueRadial.js.map +4 -4
- package/Table.config.js +87 -32
- package/Table.config.js.map +4 -4
- package/Table.js +925 -441
- package/Table.js.map +4 -4
- package/Timeline.js +605 -272
- 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 +29 -28
- package/common/utils/tableUtils.js.map +2 -2
- package/common/withDashboardViz.js +545 -160
- 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 +32 -34
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
declare const iconLoader: {
|
|
2
|
+
Activity: () => Promise<typeof import("@splunk/react-icons/enterprise/Activity.js")>;
|
|
3
|
+
ArrowDown: () => Promise<typeof import("@splunk/react-icons/enterprise/ArrowDown.js")>;
|
|
4
|
+
ArrowLeft: () => Promise<typeof import("@splunk/react-icons/enterprise/ArrowLeft.js")>;
|
|
5
|
+
ArrowRight: () => Promise<typeof import("@splunk/react-icons/enterprise/ArrowRight.js")>;
|
|
6
|
+
ArrowUp: () => Promise<typeof import("@splunk/react-icons/enterprise/ArrowUp.js")>;
|
|
7
|
+
BarBeside: () => Promise<typeof import("@splunk/react-icons/enterprise/BarBeside.js")>;
|
|
8
|
+
BarStacked: () => Promise<typeof import("@splunk/react-icons/enterprise/BarStacked.js")>;
|
|
9
|
+
BarStacked100: () => Promise<typeof import("@splunk/react-icons/enterprise/BarStacked100.js")>;
|
|
10
|
+
Bell: () => Promise<typeof import("@splunk/react-icons/enterprise/Bell.js")>;
|
|
11
|
+
Bookmark: () => Promise<typeof import("@splunk/react-icons/enterprise/Bookmark.js")>;
|
|
12
|
+
Boolean: () => Promise<typeof import("@splunk/react-icons/enterprise/Boolean.js")>;
|
|
13
|
+
BoxChecked: () => Promise<typeof import("@splunk/react-icons/enterprise/BoxChecked.js")>;
|
|
14
|
+
BoxFilled: () => Promise<typeof import("@splunk/react-icons/enterprise/BoxFilled.js")>;
|
|
15
|
+
BoxUnchecked: () => Promise<typeof import("@splunk/react-icons/enterprise/BoxUnchecked.js")>;
|
|
16
|
+
Calendar: () => Promise<typeof import("@splunk/react-icons/enterprise/Calendar.js")>;
|
|
17
|
+
Cancel: () => Promise<typeof import("@splunk/react-icons/enterprise/Cancel.js")>;
|
|
18
|
+
Caret: () => Promise<typeof import("@splunk/react-icons/enterprise/Caret.js")>;
|
|
19
|
+
ChartArea: () => Promise<typeof import("@splunk/react-icons/enterprise/ChartArea.js")>;
|
|
20
|
+
ChartBar: () => Promise<typeof import("@splunk/react-icons/enterprise/ChartBar.js")>;
|
|
21
|
+
ChartBasic: () => Promise<typeof import("@splunk/react-icons/enterprise/ChartBasic.js")>;
|
|
22
|
+
ChartBubble: () => Promise<typeof import("@splunk/react-icons/enterprise/ChartBubble.js")>;
|
|
23
|
+
ChartColumn: () => Promise<typeof import("@splunk/react-icons/enterprise/ChartColumn.js")>;
|
|
24
|
+
ChartLine: () => Promise<typeof import("@splunk/react-icons/enterprise/ChartLine.js")>;
|
|
25
|
+
ChartPie: () => Promise<typeof import("@splunk/react-icons/enterprise/ChartPie.js")>;
|
|
26
|
+
ChartScatter: () => Promise<typeof import("@splunk/react-icons/enterprise/ChartScatter.js")>;
|
|
27
|
+
Check: () => Promise<typeof import("@splunk/react-icons/enterprise/Check.js")>;
|
|
28
|
+
ChevronDown: () => Promise<typeof import("@splunk/react-icons/enterprise/ChevronDown.js")>;
|
|
29
|
+
ChevronLeft: () => Promise<typeof import("@splunk/react-icons/enterprise/ChevronLeft.js")>;
|
|
30
|
+
ChevronRight: () => Promise<typeof import("@splunk/react-icons/enterprise/ChevronRight.js")>;
|
|
31
|
+
ChevronUp: () => Promise<typeof import("@splunk/react-icons/enterprise/ChevronUp.js")>;
|
|
32
|
+
ChoroplethMap: () => Promise<typeof import("@splunk/react-icons/enterprise/ChoroplethMap.js")>;
|
|
33
|
+
Circle: () => Promise<typeof import("@splunk/react-icons/enterprise/Circle.js")>;
|
|
34
|
+
CircleFilled: () => Promise<typeof import("@splunk/react-icons/enterprise/CircleFilled.js")>;
|
|
35
|
+
CircleHalfFilled: () => Promise<typeof import("@splunk/react-icons/enterprise/CircleHalfFilled.js")>;
|
|
36
|
+
CirclePlus: () => Promise<typeof import("@splunk/react-icons/enterprise/CirclePlus.js")>;
|
|
37
|
+
Clear: () => Promise<typeof import("@splunk/react-icons/enterprise/Clear.js")>;
|
|
38
|
+
Clipboard: () => Promise<typeof import("@splunk/react-icons/enterprise/Clipboard.js")>;
|
|
39
|
+
Clock: () => Promise<typeof import("@splunk/react-icons/enterprise/Clock.js")>;
|
|
40
|
+
Clone: () => Promise<typeof import("@splunk/react-icons/enterprise/Clone.js")>;
|
|
41
|
+
Close: () => Promise<typeof import("@splunk/react-icons/enterprise/Close.js")>;
|
|
42
|
+
Code: () => Promise<typeof import("@splunk/react-icons/enterprise/Code.js")>;
|
|
43
|
+
Connection: () => Promise<typeof import("@splunk/react-icons/enterprise/Connection.js")>;
|
|
44
|
+
Dashboard: () => Promise<typeof import("@splunk/react-icons/enterprise/Dashboard.js")>;
|
|
45
|
+
Data: () => Promise<typeof import("@splunk/react-icons/enterprise/Data.js")>;
|
|
46
|
+
DataInput: () => Promise<typeof import("@splunk/react-icons/enterprise/DataInput.js")>;
|
|
47
|
+
DataSource: () => Promise<typeof import("@splunk/react-icons/enterprise/DataSource.js")>;
|
|
48
|
+
DistributedEnvironment: () => Promise<typeof import("@splunk/react-icons/enterprise/DistributedEnvironment.js")>;
|
|
49
|
+
DistributionStream: () => Promise<typeof import("@splunk/react-icons/enterprise/DistributionStream.js")>;
|
|
50
|
+
Document: () => Promise<typeof import("@splunk/react-icons/enterprise/Document.js")>;
|
|
51
|
+
Download: () => Promise<typeof import("@splunk/react-icons/enterprise/Download.js")>;
|
|
52
|
+
Envelope: () => Promise<typeof import("@splunk/react-icons/enterprise/Envelope.js")>;
|
|
53
|
+
Error: () => Promise<typeof import("@splunk/react-icons/enterprise/Error.js")>;
|
|
54
|
+
Events: () => Promise<typeof import("@splunk/react-icons/enterprise/Events.js")>;
|
|
55
|
+
External: () => Promise<typeof import("@splunk/react-icons/enterprise/External.js")>;
|
|
56
|
+
ExternalViz: () => Promise<typeof import("@splunk/react-icons/enterprise/ExternalViz.js")>;
|
|
57
|
+
Filter: () => Promise<typeof import("@splunk/react-icons/enterprise/Filter.js")>;
|
|
58
|
+
FitToView: () => Promise<typeof import("@splunk/react-icons/enterprise/FitToView.js")>;
|
|
59
|
+
Flag: () => Promise<typeof import("@splunk/react-icons/enterprise/Flag.js")>;
|
|
60
|
+
Folder: () => Promise<typeof import("@splunk/react-icons/enterprise/Folder.js")>;
|
|
61
|
+
Fullscreen: () => Promise<typeof import("@splunk/react-icons/enterprise/Fullscreen.js")>;
|
|
62
|
+
FullscreenExit: () => Promise<typeof import("@splunk/react-icons/enterprise/FullscreenExit.js")>;
|
|
63
|
+
FullscreenExitLight: () => Promise<typeof import("@splunk/react-icons/enterprise/FullscreenExitLight.js")>;
|
|
64
|
+
FullscreenLight: () => Promise<typeof import("@splunk/react-icons/enterprise/FullscreenLight.js")>;
|
|
65
|
+
GaugeFiller: () => Promise<typeof import("@splunk/react-icons/enterprise/GaugeFiller.js")>;
|
|
66
|
+
GaugeMarker: () => Promise<typeof import("@splunk/react-icons/enterprise/GaugeMarker.js")>;
|
|
67
|
+
GaugeRadial: () => Promise<typeof import("@splunk/react-icons/enterprise/GaugeRadial.js")>;
|
|
68
|
+
Gear: () => Promise<typeof import("@splunk/react-icons/enterprise/Gear.js")>;
|
|
69
|
+
GearUnfilled: () => Promise<typeof import("@splunk/react-icons/enterprise/GearUnfilled.js")>;
|
|
70
|
+
Globe: () => Promise<typeof import("@splunk/react-icons/enterprise/Globe.js")>;
|
|
71
|
+
HamburgerMenu: () => Promise<typeof import("@splunk/react-icons/enterprise/HamburgerMenu.js")>;
|
|
72
|
+
Icons: () => Promise<typeof import("@splunk/react-icons/enterprise/Icons.js")>;
|
|
73
|
+
Images: () => Promise<typeof import("@splunk/react-icons/enterprise/Images.js")>;
|
|
74
|
+
Info: () => Promise<typeof import("@splunk/react-icons/enterprise/Info.js")>;
|
|
75
|
+
InfoCircle: () => Promise<typeof import("@splunk/react-icons/enterprise/InfoCircle.js")>;
|
|
76
|
+
Inputs: () => Promise<typeof import("@splunk/react-icons/enterprise/Inputs.js")>;
|
|
77
|
+
LabelRotation0: () => Promise<typeof import("@splunk/react-icons/enterprise/LabelRotation0.js")>;
|
|
78
|
+
LabelRotation45: () => Promise<typeof import("@splunk/react-icons/enterprise/LabelRotation45.js")>;
|
|
79
|
+
LabelRotation90: () => Promise<typeof import("@splunk/react-icons/enterprise/LabelRotation90.js")>;
|
|
80
|
+
LabelRotationMinus45: () => Promise<typeof import("@splunk/react-icons/enterprise/LabelRotationMinus45.js")>;
|
|
81
|
+
LabelRotationMinus90: () => Promise<typeof import("@splunk/react-icons/enterprise/LabelRotationMinus90.js")>;
|
|
82
|
+
Lightbulb: () => Promise<typeof import("@splunk/react-icons/enterprise/Lightbulb.js")>;
|
|
83
|
+
Lightning: () => Promise<typeof import("@splunk/react-icons/enterprise/Lightning.js")>;
|
|
84
|
+
Line: () => Promise<typeof import("@splunk/react-icons/enterprise/Line.js")>;
|
|
85
|
+
Link: () => Promise<typeof import("@splunk/react-icons/enterprise/Link.js")>;
|
|
86
|
+
List: () => Promise<typeof import("@splunk/react-icons/enterprise/List.js")>;
|
|
87
|
+
LocationMarker: () => Promise<typeof import("@splunk/react-icons/enterprise/LocationMarker.js")>;
|
|
88
|
+
Lock: () => Promise<typeof import("@splunk/react-icons/enterprise/Lock.js")>;
|
|
89
|
+
LockUnlocked: () => Promise<typeof import("@splunk/react-icons/enterprise/LockUnlocked.js")>;
|
|
90
|
+
Map: () => Promise<typeof import("@splunk/react-icons/enterprise/Map.js")>;
|
|
91
|
+
Metrics: () => Promise<typeof import("@splunk/react-icons/enterprise/Metrics.js")>;
|
|
92
|
+
Minus: () => Promise<typeof import("@splunk/react-icons/enterprise/Minus.js")>;
|
|
93
|
+
MinusCircle: () => Promise<typeof import("@splunk/react-icons/enterprise/MinusCircle.js")>;
|
|
94
|
+
MissingValueJoin: () => Promise<typeof import("@splunk/react-icons/enterprise/MissingValueJoin.js")>;
|
|
95
|
+
MissingValueSkipped: () => Promise<typeof import("@splunk/react-icons/enterprise/MissingValueSkipped.js")>;
|
|
96
|
+
MissingValueZero: () => Promise<typeof import("@splunk/react-icons/enterprise/MissingValueZero.js")>;
|
|
97
|
+
Model: () => Promise<typeof import("@splunk/react-icons/enterprise/Model.js")>;
|
|
98
|
+
Monitor: () => Promise<typeof import("@splunk/react-icons/enterprise/Monitor.js")>;
|
|
99
|
+
More: () => Promise<typeof import("@splunk/react-icons/enterprise/More.js")>;
|
|
100
|
+
MoreVertical: () => Promise<typeof import("@splunk/react-icons/enterprise/MoreVertical.js")>;
|
|
101
|
+
MultiShare: () => Promise<typeof import("@splunk/react-icons/enterprise/MultiShare.js")>;
|
|
102
|
+
NetworkDevice: () => Promise<typeof import("@splunk/react-icons/enterprise/NetworkDevice.js")>;
|
|
103
|
+
NotAllowed: () => Promise<typeof import("@splunk/react-icons/enterprise/NotAllowed.js")>;
|
|
104
|
+
Number: () => Promise<typeof import("@splunk/react-icons/enterprise/Number.js")>;
|
|
105
|
+
Paintbrush: () => Promise<typeof import("@splunk/react-icons/enterprise/Paintbrush.js")>;
|
|
106
|
+
Pan: () => Promise<typeof import("@splunk/react-icons/enterprise/Pan.js")>;
|
|
107
|
+
Pause: () => Promise<typeof import("@splunk/react-icons/enterprise/Pause.js")>;
|
|
108
|
+
Pencil: () => Promise<typeof import("@splunk/react-icons/enterprise/Pencil.js")>;
|
|
109
|
+
Pivot: () => Promise<typeof import("@splunk/react-icons/enterprise/Pivot.js")>;
|
|
110
|
+
Play: () => Promise<typeof import("@splunk/react-icons/enterprise/Play.js")>;
|
|
111
|
+
Plus: () => Promise<typeof import("@splunk/react-icons/enterprise/Plus.js")>;
|
|
112
|
+
Print: () => Promise<typeof import("@splunk/react-icons/enterprise/Print.js")>;
|
|
113
|
+
Puzzle: () => Promise<typeof import("@splunk/react-icons/enterprise/Puzzle.js")>;
|
|
114
|
+
Question: () => Promise<typeof import("@splunk/react-icons/enterprise/Question.js")>;
|
|
115
|
+
QuestionCircle: () => Promise<typeof import("@splunk/react-icons/enterprise/QuestionCircle.js")>;
|
|
116
|
+
Refresh: () => Promise<typeof import("@splunk/react-icons/enterprise/Refresh.js")>;
|
|
117
|
+
RefreshLight: () => Promise<typeof import("@splunk/react-icons/enterprise/RefreshLight.js")>;
|
|
118
|
+
Remove: () => Promise<typeof import("@splunk/react-icons/enterprise/Remove.js")>;
|
|
119
|
+
Report: () => Promise<typeof import("@splunk/react-icons/enterprise/Report.js")>;
|
|
120
|
+
ReportPivot: () => Promise<typeof import("@splunk/react-icons/enterprise/ReportPivot.js")>;
|
|
121
|
+
ReportSearch: () => Promise<typeof import("@splunk/react-icons/enterprise/ReportSearch.js")>;
|
|
122
|
+
Rollup: () => Promise<typeof import("@splunk/react-icons/enterprise/Rollup.js")>;
|
|
123
|
+
Rotate: () => Promise<typeof import("@splunk/react-icons/enterprise/Rotate.js")>;
|
|
124
|
+
RotateCounter: () => Promise<typeof import("@splunk/react-icons/enterprise/RotateCounter.js")>;
|
|
125
|
+
RotateCounterLight: () => Promise<typeof import("@splunk/react-icons/enterprise/RotateCounterLight.js")>;
|
|
126
|
+
RotateLight: () => Promise<typeof import("@splunk/react-icons/enterprise/RotateLight.js")>;
|
|
127
|
+
Save: () => Promise<typeof import("@splunk/react-icons/enterprise/Save.js")>;
|
|
128
|
+
Search: () => Promise<typeof import("@splunk/react-icons/enterprise/Search.js")>;
|
|
129
|
+
Select: () => Promise<typeof import("@splunk/react-icons/enterprise/Select.js")>;
|
|
130
|
+
Settings: () => Promise<typeof import("@splunk/react-icons/enterprise/Settings.js")>;
|
|
131
|
+
Shapes: () => Promise<typeof import("@splunk/react-icons/enterprise/Shapes.js")>;
|
|
132
|
+
Share: () => Promise<typeof import("@splunk/react-icons/enterprise/Share.js")>;
|
|
133
|
+
SingleValue: () => Promise<typeof import("@splunk/react-icons/enterprise/SingleValue.js")>;
|
|
134
|
+
Sort: () => Promise<typeof import("@splunk/react-icons/enterprise/Sort.js")>;
|
|
135
|
+
SortedDown: () => Promise<typeof import("@splunk/react-icons/enterprise/SortedDown.js")>;
|
|
136
|
+
SortedUp: () => Promise<typeof import("@splunk/react-icons/enterprise/SortedUp.js")>;
|
|
137
|
+
SpeechBubble: () => Promise<typeof import("@splunk/react-icons/enterprise/SpeechBubble.js")>;
|
|
138
|
+
SplitBy: () => Promise<typeof import("@splunk/react-icons/enterprise/SplitBy.js")>;
|
|
139
|
+
Star: () => Promise<typeof import("@splunk/react-icons/enterprise/Star.js")>;
|
|
140
|
+
Stop: () => Promise<typeof import("@splunk/react-icons/enterprise/Stop.js")>;
|
|
141
|
+
String: () => Promise<typeof import("@splunk/react-icons/enterprise/String.js")>;
|
|
142
|
+
Success: () => Promise<typeof import("@splunk/react-icons/enterprise/Success.js")>;
|
|
143
|
+
Table: () => Promise<typeof import("@splunk/react-icons/enterprise/Table.js")>;
|
|
144
|
+
Target: () => Promise<typeof import("@splunk/react-icons/enterprise/Target.js")>;
|
|
145
|
+
Text: () => Promise<typeof import("@splunk/react-icons/enterprise/Text.js")>;
|
|
146
|
+
TextLight: () => Promise<typeof import("@splunk/react-icons/enterprise/TextLight.js")>;
|
|
147
|
+
Tiles: () => Promise<typeof import("@splunk/react-icons/enterprise/Tiles.js")>;
|
|
148
|
+
Tool: () => Promise<typeof import("@splunk/react-icons/enterprise/Tool.js")>;
|
|
149
|
+
Topology: () => Promise<typeof import("@splunk/react-icons/enterprise/Topology.js")>;
|
|
150
|
+
Trash: () => Promise<typeof import("@splunk/react-icons/enterprise/Trash.js")>;
|
|
151
|
+
Tree: () => Promise<typeof import("@splunk/react-icons/enterprise/Tree.js")>;
|
|
152
|
+
TriangleDown: () => Promise<typeof import("@splunk/react-icons/enterprise/TriangleDown.js")>;
|
|
153
|
+
TriangleDownSmall: () => Promise<typeof import("@splunk/react-icons/enterprise/TriangleDownSmall.js")>;
|
|
154
|
+
TriangleLeft: () => Promise<typeof import("@splunk/react-icons/enterprise/TriangleLeft.js")>;
|
|
155
|
+
TriangleLeftSmall: () => Promise<typeof import("@splunk/react-icons/enterprise/TriangleLeftSmall.js")>;
|
|
156
|
+
TriangleRight: () => Promise<typeof import("@splunk/react-icons/enterprise/TriangleRight.js")>;
|
|
157
|
+
TriangleRightSmall: () => Promise<typeof import("@splunk/react-icons/enterprise/TriangleRightSmall.js")>;
|
|
158
|
+
TriangleUp: () => Promise<typeof import("@splunk/react-icons/enterprise/TriangleUp.js")>;
|
|
159
|
+
TriangleUpSmall: () => Promise<typeof import("@splunk/react-icons/enterprise/TriangleUpSmall.js")>;
|
|
160
|
+
Upload: () => Promise<typeof import("@splunk/react-icons/enterprise/Upload.js")>;
|
|
161
|
+
User: () => Promise<typeof import("@splunk/react-icons/enterprise/User.js")>;
|
|
162
|
+
Warning: () => Promise<typeof import("@splunk/react-icons/enterprise/Warning.js")>;
|
|
163
|
+
ZoomIn: () => Promise<typeof import("@splunk/react-icons/enterprise/ZoomIn.js")>;
|
|
164
|
+
ZoomOut: () => Promise<typeof import("@splunk/react-icons/enterprise/ZoomOut.js")>;
|
|
165
|
+
ZoomReset: () => Promise<typeof import("@splunk/react-icons/enterprise/ZoomReset.js")>;
|
|
166
|
+
};
|
|
167
|
+
export default iconLoader;
|
|
168
|
+
//# sourceMappingURL=iconLoader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"iconLoader.d.ts","sourceRoot":"","sources":["../../../../../src/LinkGraph/PureLinkGraph/utils/iconLoader.ts"],"names":[],"mappings":"AACA,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqKf,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../src/LinkGraph/config.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,SAAS,EAAE,MAAM,gCAAgC,CAAC;;AA6R3D,wBAAqC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/LinkGraph/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { DataSource } from '../common/interfaces/DataSource';
|
|
3
|
+
import PureMap from './PureMap/PureMap';
|
|
4
|
+
import config from './config';
|
|
5
|
+
export declare const computeVizProps: (props: {
|
|
6
|
+
themeFunc: any;
|
|
7
|
+
theme: any;
|
|
8
|
+
dataSources: any;
|
|
9
|
+
layers: any;
|
|
10
|
+
onOptionsChange?: any;
|
|
11
|
+
title?: string;
|
|
12
|
+
}) => any;
|
|
13
|
+
export declare function useIconPlaceholder(dataSources: {
|
|
14
|
+
[name: string]: DataSource;
|
|
15
|
+
}, loading: boolean): boolean;
|
|
16
|
+
declare const Map: {
|
|
17
|
+
({ dataSources, ...otherProps }: {
|
|
18
|
+
[x: string]: any;
|
|
19
|
+
dataSources: any;
|
|
20
|
+
}): React.JSX.Element;
|
|
21
|
+
propTypes: any;
|
|
22
|
+
defaultProps: any;
|
|
23
|
+
config: any;
|
|
24
|
+
};
|
|
25
|
+
declare const themes: any;
|
|
26
|
+
export default Map;
|
|
27
|
+
export { themes, config, PureMap };
|
|
28
|
+
//# sourceMappingURL=Map.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Map.d.ts","sourceRoot":"","sources":["../../../src/Map/Map.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAC7D,OAAO,OAAO,MAAM,mBAAmB,CAAC;AACxC,OAAO,MAAM,MAAM,UAAU,CAAC;AAoC9B,eAAO,MAAM,eAAe,GAAI,OAAO;IACnC,SAAS,EAAE,GAAG,CAAC;IACf,KAAK,EAAE,GAAG,CAAC;IACX,WAAW,EAAE,GAAG,CAAC;IACjB,MAAM,EAAE,GAAG,CAAC;IACZ,eAAe,CAAC,EAAE,GAAG,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB,KAAG,GA6BH,CAAC;AA+GF,wBAAgB,kBAAkB,CAAC,WAAW,EAAE;IAAE,CAAC,IAAI,EAAE,MAAM,GAAG,UAAU,CAAA;CAAE,EAAE,OAAO,EAAE,OAAO,GAAG,OAAO,CAEzG;AAED,QAAA,MAAM,GAAG;;;;;;;;CAYR,CAAC;AACF,QAAA,MAAQ,MAAM,KAAW,CAAC;AAC1B,eAAe,GAAG,CAAC;AACnB,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export declare const MAP_CONTEXT: {
|
|
2
|
+
DEFAULT_TILE_CONFIG: {
|
|
3
|
+
light: {
|
|
4
|
+
version: number;
|
|
5
|
+
sources: {
|
|
6
|
+
'base-tiles': {
|
|
7
|
+
type: string;
|
|
8
|
+
tiles: string[];
|
|
9
|
+
tileSize: number;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
layers: {
|
|
13
|
+
id: string;
|
|
14
|
+
type: string;
|
|
15
|
+
source: string;
|
|
16
|
+
minzoom: number;
|
|
17
|
+
maxzoom: number;
|
|
18
|
+
}[];
|
|
19
|
+
};
|
|
20
|
+
dark: {
|
|
21
|
+
version: number;
|
|
22
|
+
sources: {
|
|
23
|
+
'base-tiles': {
|
|
24
|
+
type: string;
|
|
25
|
+
tiles: string[];
|
|
26
|
+
tileSize: number;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
layers: {
|
|
30
|
+
id: string;
|
|
31
|
+
type: string;
|
|
32
|
+
source: string;
|
|
33
|
+
minzoom: number;
|
|
34
|
+
maxzoom: number;
|
|
35
|
+
}[];
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
//# sourceMappingURL=MapContextDefault.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MapContextDefault.d.ts","sourceRoot":"","sources":["../../../src/Map/MapContextDefault.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2CvB,CAAC"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { Map } from 'maplibre-gl';
|
|
3
|
+
import { BubbleLayerType } from './MapUtils';
|
|
4
|
+
import type { TooltipProps } from './Tooltip';
|
|
5
|
+
export declare const GEO_BOUND_PREFIX = "_geo_bounds_";
|
|
6
|
+
export declare const GEO_LAT_AND_LONG_FIELD: string[];
|
|
7
|
+
export declare const ICON_DISPLAY_CUTOFF = 16;
|
|
8
|
+
export interface PieSegmentProps {
|
|
9
|
+
start: number;
|
|
10
|
+
end: number;
|
|
11
|
+
radius: number;
|
|
12
|
+
color: string;
|
|
13
|
+
themeColor: string;
|
|
14
|
+
segmentMetadata?: {
|
|
15
|
+
name: string;
|
|
16
|
+
value: number;
|
|
17
|
+
color: string;
|
|
18
|
+
};
|
|
19
|
+
handleBubbleClick?: (e: Event, name: string, count: number) => void;
|
|
20
|
+
}
|
|
21
|
+
export declare const PieSegment: React.MemoExoticComponent<({ start, end, radius, color, themeColor, segmentMetadata, handleBubbleClick, }: PieSegmentProps) => JSX.Element>;
|
|
22
|
+
export interface BubbleProps {
|
|
23
|
+
originalValues: number[];
|
|
24
|
+
valueRange: number[];
|
|
25
|
+
colors: string[];
|
|
26
|
+
themeColor: string;
|
|
27
|
+
isPie: boolean;
|
|
28
|
+
latitude: number;
|
|
29
|
+
longitude: number;
|
|
30
|
+
bubbleSize: Required<TooltipProps['additionalFields'][number] & {
|
|
31
|
+
value: number;
|
|
32
|
+
}>[];
|
|
33
|
+
additionalFields?: TooltipProps['additionalFields'];
|
|
34
|
+
tooltipHeader?: TooltipProps['tooltipHeader'];
|
|
35
|
+
map: React.MutableRefObject<Map>;
|
|
36
|
+
handleMapClick?: any;
|
|
37
|
+
icon?: string;
|
|
38
|
+
showCoordinates?: boolean;
|
|
39
|
+
}
|
|
40
|
+
export declare const Bubble: React.MemoExoticComponent<({ originalValues, valueRange, colors, themeColor, isPie, latitude, longitude, bubbleSize, additionalFields, tooltipHeader, map, handleMapClick, icon, showCoordinates, }: BubbleProps) => JSX.Element>;
|
|
41
|
+
export interface BubbleLayerProps {
|
|
42
|
+
bubbleLayer: BubbleLayerType;
|
|
43
|
+
themeColorScheme: string;
|
|
44
|
+
zoom: number;
|
|
45
|
+
map: React.MutableRefObject<Map>;
|
|
46
|
+
onMapClick?: any;
|
|
47
|
+
showCoordinates?: boolean;
|
|
48
|
+
}
|
|
49
|
+
declare const BubbleLayer: (props: BubbleLayerProps) => JSX.Element;
|
|
50
|
+
export default BubbleLayer;
|
|
51
|
+
//# sourceMappingURL=BubbleLayer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BubbleLayer.d.ts","sourceRoot":"","sources":["../../../../src/Map/PureMap/BubbleLayer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,aAAa,CAAC;AAOvC,OAAO,EAEH,eAAe,EAMlB,MAAM,YAAY,CAAC;AAEpB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAE9C,eAAO,MAAM,gBAAgB,iBAAiB,CAAC;AAC/C,eAAO,MAAM,sBAAsB,UAAwC,CAAC;AAC5E,eAAO,MAAM,mBAAmB,KAAK,CAAC;AACtC,MAAM,WAAW,eAAe;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC;IACjE,iBAAiB,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACvE;AAED,eAAO,MAAM,UAAU,6GAShB,eAAe,KAAG,GAAG,CAAC,OAAO,CA+CnC,CAAC;AAQF,MAAM,WAAW,WAAW;IACxB,cAAc,EAAE,MAAM,EAAE,CAAC;IACzB,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,OAAO,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,QAAQ,CAAC,YAAY,CAAC,kBAAkB,CAAC,CAAC,MAAM,CAAC,GAAG;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,EAAE,CAAC;IACrF,gBAAgB,CAAC,EAAE,YAAY,CAAC,kBAAkB,CAAC,CAAC;IACpD,aAAa,CAAC,EAAE,YAAY,CAAC,eAAe,CAAC,CAAC;IAC9C,GAAG,EAAE,KAAK,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC;IACjC,cAAc,CAAC,EAAE,GAAG,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,eAAe,CAAC,EAAE,OAAO,CAAC;CAC7B;AAED,eAAO,MAAM,MAAM,uMAgBZ,WAAW,KAAG,GAAG,CAAC,OAAO,CA0G/B,CAAC;AAGF,MAAM,WAAW,gBAAgB;IAC7B,WAAW,EAAE,eAAe,CAAC;IAC7B,gBAAgB,EAAE,MAAM,CAAC;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,KAAK,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC;IACjC,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC7B;AAED,QAAA,MAAM,WAAW,GAAI,OAAO,gBAAgB,KAAG,GAAG,CAAC,OAsGlD,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { Map } from 'maplibre-gl';
|
|
3
|
+
import type { GeoJsonDataType } from '@splunk/visualizations-shared/mapUtils';
|
|
4
|
+
import { ChoroplethLayerType } from './MapUtils';
|
|
5
|
+
import type { TooltipProps } from './Tooltip';
|
|
6
|
+
export declare const compareGeom: (prev: GeoJsonDataType, next: GeoJsonDataType) => boolean;
|
|
7
|
+
export declare const compareChoropleth: (prevProps: ChoroplethProps, nextProps: ChoroplethProps) => boolean;
|
|
8
|
+
export declare const cleanupChoropleth: (shapeId: string, sourceId: string, strokeId: string, map: React.MutableRefObject<Map>) => void;
|
|
9
|
+
interface ChoroplethProps {
|
|
10
|
+
id: string;
|
|
11
|
+
map: React.MutableRefObject<Map>;
|
|
12
|
+
areaId: string;
|
|
13
|
+
areaValue: number;
|
|
14
|
+
geomData: GeoJsonDataType;
|
|
15
|
+
color: string;
|
|
16
|
+
opacity?: number;
|
|
17
|
+
strokeColor?: string;
|
|
18
|
+
isThemeChanged: boolean;
|
|
19
|
+
additionalFields?: TooltipProps['additionalFields'];
|
|
20
|
+
tooltipHeader?: TooltipProps['tooltipHeader'];
|
|
21
|
+
handleMapClick?: (e: any) => void;
|
|
22
|
+
}
|
|
23
|
+
export declare const Choropleth: React.MemoExoticComponent<({ id, areaId, areaValue, geomData, map, color, opacity, strokeColor, isThemeChanged, additionalFields, tooltipHeader, handleMapClick, }: ChoroplethProps) => JSX.Element>;
|
|
24
|
+
interface ChoroplethLayerProps {
|
|
25
|
+
choroplethLayer: ChoroplethLayerType;
|
|
26
|
+
map: React.MutableRefObject<Map>;
|
|
27
|
+
isThemeChanged: boolean;
|
|
28
|
+
setIsThemeChanged: (isThemeChanged: boolean) => void;
|
|
29
|
+
onMapClick?: ({ e, payload }: {
|
|
30
|
+
e: any;
|
|
31
|
+
payload: any;
|
|
32
|
+
}) => void;
|
|
33
|
+
}
|
|
34
|
+
declare const ChoroplethLayer: (props: ChoroplethLayerProps) => JSX.Element;
|
|
35
|
+
export default ChoroplethLayer;
|
|
36
|
+
//# sourceMappingURL=ChoroplethLayer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChoroplethLayer.d.ts","sourceRoot":"","sources":["../../../../src/Map/PureMap/ChoroplethLayer.tsx"],"names":[],"mappings":"AAAA,OAAO,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CAAC,GAAG,CAAC,CAAC;IACjC,cAAc,EAAE,OAAO,CAAC;IACxB,iBAAiB,EAAE,CAAC,cAAc,EAAE,OAAO,KAAK,IAAI,CAAC;IACrD,UAAU,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,OAAO,EAAE;;;KAAA,KAAK,IAAI,CAAC;CACzC;AAED,QAAA,MAAM,eAAe,GAAI,OAAO,oBAAoB,KAAG,GAAG,CAAC,OAoE1D,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { Map } from 'maplibre-gl';
|
|
3
|
+
import type { ClusterLayerType } from './MapUtils';
|
|
4
|
+
interface ClusterLayerProps {
|
|
5
|
+
clusterLayer: ClusterLayerType;
|
|
6
|
+
themeColorScheme: string;
|
|
7
|
+
map: React.MutableRefObject<Map>;
|
|
8
|
+
zoom?: number;
|
|
9
|
+
onMapClick?: ({ e, payload }: {
|
|
10
|
+
e: any;
|
|
11
|
+
payload: any;
|
|
12
|
+
}) => void;
|
|
13
|
+
showCoordinates?: boolean;
|
|
14
|
+
}
|
|
15
|
+
declare const ClusterLayer: ({ clusterLayer, themeColorScheme, zoom, map, onMapClick, showCoordinates, }: ClusterLayerProps) => JSX.Element;
|
|
16
|
+
export default ClusterLayer;
|
|
17
|
+
//# sourceMappingURL=ClusterLayer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ClusterLayer.d.ts","sourceRoot":"","sources":["../../../../src/Map/PureMap/ClusterLayer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,aAAa,CAAC;AAIvC,OAAO,KAAK,EAAE,gBAAgB,EAAoC,MAAM,YAAY,CAAC;AAErF,UAAU,iBAAiB;IACvB,YAAY,EAAE,gBAAgB,CAAC;IAC/B,gBAAgB,EAAE,MAAM,CAAC;IACzB,GAAG,EAAE,KAAK,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC;IACjC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,OAAO,EAAE;;;KAAA,KAAK,IAAI,CAAC;IACtC,eAAe,CAAC,EAAE,OAAO,CAAC;CAC7B;AAED,QAAA,MAAM,YAAY,GAAI,6EAOnB,iBAAiB,KAAG,GAAG,CAAC,OA+B1B,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { Map } from 'maplibre-gl';
|
|
3
|
+
import { ChoroplethLayerType } from './MapUtils';
|
|
4
|
+
interface ChoroplethLayerProps {
|
|
5
|
+
width: number | string;
|
|
6
|
+
height: number | string;
|
|
7
|
+
choroplethLayer: ChoroplethLayerType;
|
|
8
|
+
map: React.MutableRefObject<Map>;
|
|
9
|
+
isThemeChanged: boolean;
|
|
10
|
+
setIsThemeChanged: (isThemeChanged: boolean) => void;
|
|
11
|
+
onMapClick?: ({ e, payload }: {
|
|
12
|
+
e: any;
|
|
13
|
+
payload: any;
|
|
14
|
+
}) => void;
|
|
15
|
+
}
|
|
16
|
+
declare const LocalChoroplethLayer: (props: ChoroplethLayerProps) => JSX.Element;
|
|
17
|
+
export default LocalChoroplethLayer;
|
|
18
|
+
//# sourceMappingURL=LocalChoroplethLayer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LocalChoroplethLayer.d.ts","sourceRoot":"","sources":["../../../../src/Map/PureMap/LocalChoroplethLayer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,aAAa,CAAC;AAIvC,OAAO,EAAE,mBAAmB,EAAsC,MAAM,YAAY,CAAC;AAGrF,UAAU,oBAAoB;IAC1B,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,eAAe,EAAE,mBAAmB,CAAC;IACrC,GAAG,EAAE,KAAK,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC;IACjC,cAAc,EAAE,OAAO,CAAC;IACxB,iBAAiB,EAAE,CAAC,cAAc,EAAE,OAAO,KAAK,IAAI,CAAC;IACrD,UAAU,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,OAAO,EAAE;;;KAAA,KAAK,IAAI,CAAC;CACzC;AAED,QAAA,MAAM,oBAAoB,GAAI,OAAO,oBAAoB,KAAG,GAAG,CAAC,OAiK/D,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
import { LngLatBoundsLike } from 'maplibre-gl';
|
|
2
|
+
import type { MapContextInterface, BaseTileConfig } from '@splunk/visualization-context/MapContext';
|
|
3
|
+
import type { GeoJsonDataType } from '@splunk/visualizations-shared/mapUtils';
|
|
4
|
+
import { LAYER_TYPE } from '@splunk/visualization-schemas';
|
|
5
|
+
export declare const MAX_LATITUDE = 90;
|
|
6
|
+
export declare const MIN_LATITUDE = -90;
|
|
7
|
+
export declare const MAX_LONGITUDE = 180;
|
|
8
|
+
export declare const MIN_LONGITUDE = -180;
|
|
9
|
+
export declare const DEFAULT_RESULT_LIMIT = 1000;
|
|
10
|
+
export declare const DEFAULT_CLUSTER_COLOR = "#909090";
|
|
11
|
+
export declare const DEFAULT_SERIES_COLORS: any;
|
|
12
|
+
export declare const MAP_STYLE_VERSION_NUMBER = 8;
|
|
13
|
+
export declare const MIN_BUBBLE_RADIUS = 7.11;
|
|
14
|
+
export declare const MAX_BUBBLE_RADIUS = 45.26;
|
|
15
|
+
export declare const DEFAULT_OPACITY = 0.8;
|
|
16
|
+
interface GenericLayerType {
|
|
17
|
+
type: string;
|
|
18
|
+
latitude: number[];
|
|
19
|
+
longitude: number[];
|
|
20
|
+
dataColors?: string[] | '';
|
|
21
|
+
seriesColors: string[];
|
|
22
|
+
additionalTooltipFields?: string[];
|
|
23
|
+
tooltipHeaderField?: string[];
|
|
24
|
+
resultLimit: number;
|
|
25
|
+
metadata?: Array<{
|
|
26
|
+
[key: string]: number | string;
|
|
27
|
+
}>;
|
|
28
|
+
}
|
|
29
|
+
export interface MarkerLayerType extends GenericLayerType {
|
|
30
|
+
type: LAYER_TYPE.Marker;
|
|
31
|
+
}
|
|
32
|
+
export interface BubbleLayerType extends GenericLayerType {
|
|
33
|
+
type: LAYER_TYPE.Bubble;
|
|
34
|
+
bubbleSize?: number[][] | number[];
|
|
35
|
+
bubbleSizeFields: string[];
|
|
36
|
+
dataValuesField?: string;
|
|
37
|
+
tooltipHeaderFieldName?: string;
|
|
38
|
+
geobin?: string[];
|
|
39
|
+
icon?: string[];
|
|
40
|
+
tooltipFieldIcons?: string;
|
|
41
|
+
}
|
|
42
|
+
interface BubbleLayerDatumType {
|
|
43
|
+
zoom: number;
|
|
44
|
+
values: number[];
|
|
45
|
+
sanitizedValues: number[];
|
|
46
|
+
coordinates: number[];
|
|
47
|
+
}
|
|
48
|
+
export interface BubbleLayerDataType {
|
|
49
|
+
data: BubbleLayerDatumType[];
|
|
50
|
+
dataRange: number[];
|
|
51
|
+
isPie: boolean;
|
|
52
|
+
resultLimit: number;
|
|
53
|
+
bubbleSizeFields: string[];
|
|
54
|
+
}
|
|
55
|
+
export interface ChoroplethLayerType {
|
|
56
|
+
type: LAYER_TYPE.Choropleth;
|
|
57
|
+
areaIds: string[];
|
|
58
|
+
areaValues: number[];
|
|
59
|
+
dataColors: string[];
|
|
60
|
+
additionalTooltipFields?: string[];
|
|
61
|
+
tooltipHeaderField?: string[];
|
|
62
|
+
geom?: GeoJsonDataType;
|
|
63
|
+
resultLimit?: number;
|
|
64
|
+
metadata?: Array<{
|
|
65
|
+
[key: string]: number | string | GeoJsonDataType;
|
|
66
|
+
}>;
|
|
67
|
+
source?: string;
|
|
68
|
+
width?: string | number;
|
|
69
|
+
height?: string | number;
|
|
70
|
+
choroplethEmptyAreaColor?: string;
|
|
71
|
+
choroplethStrokeColor?: string;
|
|
72
|
+
choroplethOpacity?: number;
|
|
73
|
+
}
|
|
74
|
+
export interface MapLayerClickPayloadType {
|
|
75
|
+
name?: string;
|
|
76
|
+
value?: string | number;
|
|
77
|
+
[key: string]: string | number;
|
|
78
|
+
}
|
|
79
|
+
export type ClusterLayerType = BubbleLayerType | MarkerLayerType;
|
|
80
|
+
export type LayerType = ClusterLayerType | ChoroplethLayerType;
|
|
81
|
+
/**
|
|
82
|
+
* Construct a tile preset {key: config} by combining the default + custom tile configs
|
|
83
|
+
* Also returns the default tile config for each theme - light/dark
|
|
84
|
+
* @param {MapContextInterface} args
|
|
85
|
+
* @param {BaseTileConfig[]} args.defaultTileConfig
|
|
86
|
+
* @param {BaseTileConfig[]} args.customTileConfig
|
|
87
|
+
* @returns {Object} tile preset
|
|
88
|
+
*/
|
|
89
|
+
export declare const getTilePreset: ({ defaultTileConfig, customTileConfig, }: MapContextInterface) => {
|
|
90
|
+
tilePreset: Record<string, BaseTileConfig>;
|
|
91
|
+
defaultTileLight: BaseTileConfig;
|
|
92
|
+
defaultTileDark: BaseTileConfig;
|
|
93
|
+
};
|
|
94
|
+
/**
|
|
95
|
+
* Check if baseLayerTileServer is in tilePreset and config matches current theme, if yes, return.
|
|
96
|
+
* If no, construct a mapStyle with baseLayerTilerServer and baseLayerTileServerType
|
|
97
|
+
* Else return default tile config based on current theme
|
|
98
|
+
* @param {Object} args
|
|
99
|
+
* @param {BaseTileConfig[]} args.tilePreset
|
|
100
|
+
* @param {String} args.baseLayerTilerServer
|
|
101
|
+
* @param {String} args.baseLayerTileServerType
|
|
102
|
+
* @param {String} args.colorScheme
|
|
103
|
+
* @param {BaseTileConfig} args.defaultTileDark
|
|
104
|
+
* @param {BaseTileConfig} args.defaultTileLight
|
|
105
|
+
* @returns {BaseTileConfig} mapStyle
|
|
106
|
+
*/
|
|
107
|
+
export declare const getMapStyle: ({ showBaseLayer, baseLayerTileServer, baseLayerTileServerType, tilePreset, colorScheme, defaultTileLight, defaultTileDark, }: {
|
|
108
|
+
showBaseLayer: boolean;
|
|
109
|
+
baseLayerTileServer?: string;
|
|
110
|
+
baseLayerTileServerType?: string;
|
|
111
|
+
tilePreset?: Record<string, BaseTileConfig>;
|
|
112
|
+
colorScheme?: string;
|
|
113
|
+
defaultTileLight?: BaseTileConfig;
|
|
114
|
+
defaultTileDark?: BaseTileConfig;
|
|
115
|
+
}) => BaseTileConfig;
|
|
116
|
+
export interface ZoomConstraints {
|
|
117
|
+
minZoom: number;
|
|
118
|
+
maxZoom: number;
|
|
119
|
+
}
|
|
120
|
+
export declare const getZoomConstraintsFromTileConfig: (tileConfig: BaseTileConfig, baseLayerTileServer?: string) => ZoomConstraints;
|
|
121
|
+
export declare const getZoomLevelFromGeobin: (geobinStr: string) => number;
|
|
122
|
+
export declare const getStaticColors: (colorCount: number, colorArray: string[]) => string[];
|
|
123
|
+
export declare const matchBubbleSize: (dataRange: number[], data: number) => any;
|
|
124
|
+
export declare const transposeArray: (array: number[][]) => number[][];
|
|
125
|
+
export declare const sanitizeValues: (values: number[] | number[][]) => any;
|
|
126
|
+
export declare const sortByValuesField: (bubbleLayer: BubbleLayerType) => BubbleLayerType;
|
|
127
|
+
export declare const bakeBubbleData: (layer: BubbleLayerType) => BubbleLayerDataType;
|
|
128
|
+
export declare const isValidLatLon: (latlon: Array<number | string>) => boolean;
|
|
129
|
+
/**
|
|
130
|
+
* Returns the min and max LongLat pairs to determine the layer boundaries to fit all markers/bubbles
|
|
131
|
+
* @param {LayerType[]} layers
|
|
132
|
+
* @returns {LngLatBoundsLike}
|
|
133
|
+
*/
|
|
134
|
+
export declare const getGlobalLayerBoundaries: (layers: LayerType[]) => LngLatBoundsLike;
|
|
135
|
+
export declare const getScaledOpacities: (colors: string[], cfgOpacity: number) => number[];
|
|
136
|
+
export declare const compareBaseStyles: (curr: any, next: any) => boolean;
|
|
137
|
+
export declare const formatMetadata: (choroplethLayer: ChoroplethLayerType, i: number) => {
|
|
138
|
+
[key: string]: string;
|
|
139
|
+
};
|
|
140
|
+
export {};
|
|
141
|
+
//# sourceMappingURL=MapUtils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MapUtils.d.ts","sourceRoot":"","sources":["../../../../src/Map/PureMap/MapUtils.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAG/C,OAAO,KAAK,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,0CAA0C,CAAC;AAIpG,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wCAAwC,CAAC;AAC9E,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAE3D,eAAO,MAAM,YAAY,KAAK,CAAC;AAC/B,eAAO,MAAM,YAAY,MAAM,CAAC;AAChC,eAAO,MAAM,aAAa,MAAM,CAAC;AACjC,eAAO,MAAM,aAAa,OAAO,CAAC;AAClC,eAAO,MAAM,oBAAoB,OAAO,CAAC;AACzC,eAAO,MAAM,qBAAqB,YAAY,CAAC;AAC/C,eAAO,MAAM,qBAAqB,KAAkB,CAAC;AAErD,eAAO,MAAM,wBAAwB,IAAI,CAAC;AAG1C,eAAO,MAAM,iBAAiB,OAAO,CAAC;AACtC,eAAO,MAAM,iBAAiB,QAAQ,CAAC;AACvC,eAAO,MAAM,eAAe,MAAM,CAAC;AAGnC,UAAU,gBAAgB;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC;IAC3B,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,uBAAuB,CAAC,EAAE,MAAM,EAAE,CAAC;IACnC,kBAAkB,CAAC,EAAE,MAAM,EAAE,CAAC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AiB,mBAAmB,EACpC,GAAG,MAAM,KACV;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;CAczB,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { Map } from 'maplibre-gl';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import type { MarkerLayerType } from './MapUtils';
|
|
4
|
+
import type { TooltipProps } from './Tooltip';
|
|
5
|
+
interface MarkerIconProps extends React.HTMLAttributes<HTMLOrSVGElement> {
|
|
6
|
+
theme: string;
|
|
7
|
+
color: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const MarkerIcon: ({ theme, color, ...otherProps }: MarkerIconProps) => JSX.Element;
|
|
10
|
+
interface MarkerProps {
|
|
11
|
+
latitude: number;
|
|
12
|
+
longitude: number;
|
|
13
|
+
color: string;
|
|
14
|
+
themeColorScheme: string;
|
|
15
|
+
additionalFields?: TooltipProps['additionalFields'];
|
|
16
|
+
tooltipHeader?: TooltipProps['tooltipHeader'];
|
|
17
|
+
map: React.MutableRefObject<Map>;
|
|
18
|
+
handleLayerClick?: (e: any) => void;
|
|
19
|
+
showCoordinates: boolean;
|
|
20
|
+
}
|
|
21
|
+
export declare const generateMarkerWrapperProps: (markerLayer: MarkerLayerType, showCoordinates?: boolean, onMapClick?: ({ e, payload }: any) => void) => Omit<MarkerProps, "themeColorScheme" | "map">[];
|
|
22
|
+
export interface MarkerLayerProps {
|
|
23
|
+
markerLayer: MarkerLayerType;
|
|
24
|
+
themeColorScheme: string;
|
|
25
|
+
map: React.MutableRefObject<Map>;
|
|
26
|
+
onMapClick?: ({ e, payload }: {
|
|
27
|
+
e: any;
|
|
28
|
+
payload: any;
|
|
29
|
+
}) => void;
|
|
30
|
+
showCoordinates?: boolean;
|
|
31
|
+
}
|
|
32
|
+
declare const MarkerLayer: (props: MarkerLayerProps) => JSX.Element;
|
|
33
|
+
export default MarkerLayer;
|
|
34
|
+
//# sourceMappingURL=MarkerLayer.d.ts.map
|
|
@@ -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AAC;IACzB,GAAG,EAAE,KAAK,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC;IACjC,UAAU,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,OAAO,EAAE;;;KAAA,KAAK,IAAI,CAAC;IACtC,eAAe,CAAC,EAAE,OAAO,CAAC;CAC7B;AAED,QAAA,MAAM,WAAW,GAAI,OAAO,gBAAgB,KAAG,GAAG,CAAC,OAsBlD,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { Map } from 'maplibre-gl';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import type { TooltipProps } from './Tooltip';
|
|
4
|
+
export interface MarkerWrapperProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
5
|
+
latitude: number;
|
|
6
|
+
longitude: number;
|
|
7
|
+
areaId?: string;
|
|
8
|
+
areaValue?: number;
|
|
9
|
+
additionalFields?: TooltipProps['additionalFields'];
|
|
10
|
+
tooltipHeader?: TooltipProps['tooltipHeader'];
|
|
11
|
+
map: React.MutableRefObject<Map>;
|
|
12
|
+
isChoroplethTooltipOpen?: boolean;
|
|
13
|
+
showCoordinates?: boolean;
|
|
14
|
+
}
|
|
15
|
+
declare const MarkerWrapper: ({ longitude, latitude, areaId, areaValue, additionalFields, tooltipHeader, map, isChoroplethTooltipOpen, children, showCoordinates, ...otherProps }: MarkerWrapperProps) => JSX.Element;
|
|
16
|
+
export default MarkerWrapper;
|
|
17
|
+
//# sourceMappingURL=MarkerWrapper.d.ts.map
|