@splunk/visualizations 28.2.2 → 28.3.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/Area.d.ts.map +1 -0
- package/Area/areaUtils.d.ts.map +1 -0
- package/Area/config.d.ts.map +1 -0
- package/Area/index.d.ts.map +1 -0
- package/Area.js +261 -130
- package/Area.js.map +4 -4
- package/Bar/Bar.d.ts.map +1 -0
- package/Bar/barUtils.d.ts.map +1 -0
- package/Bar/config.d.ts.map +1 -0
- package/Bar/index.d.ts.map +1 -0
- package/Bar.js +261 -130
- package/Bar.js.map +4 -4
- package/Bubble/Bubble.d.ts.map +1 -0
- package/Bubble/bubbleUtils.d.ts.map +1 -0
- package/Bubble/config.d.ts.map +1 -0
- package/Bubble/index.d.ts.map +1 -0
- package/Bubble.js +257 -126
- package/Bubble.js.map +4 -4
- package/CHANGELOG.external.md +37 -0
- package/ChoroplethSvg/ChoroplethSvg.d.ts.map +1 -0
- package/ChoroplethSvg/ErrorMessage/ErrorMessage.d.ts.map +1 -0
- package/ChoroplethSvg/PureChoroplethSvg/PureChoroplethSvg.d.ts.map +1 -0
- package/ChoroplethSvg/PureChoroplethSvg/SvgChoroplethDynamic.d.ts.map +1 -0
- package/ChoroplethSvg/PureChoroplethSvg/SvgMutator.d.ts.map +1 -0
- package/ChoroplethSvg/config.d.ts.map +1 -0
- package/ChoroplethSvg/index.d.ts.map +1 -0
- package/ChoroplethSvg.js +167 -51
- package/ChoroplethSvg.js.map +2 -2
- package/Column/Column.d.ts.map +1 -0
- package/Column/columnUtils.d.ts.map +1 -0
- package/Column/config.d.ts.map +1 -0
- package/Column/index.d.ts.map +1 -0
- package/Column.js +261 -130
- package/Column.js.map +4 -4
- package/Ellipse/Ellipse.d.ts.map +1 -0
- package/Ellipse/config.d.ts.map +1 -0
- package/Ellipse/index.d.ts.map +1 -0
- package/Ellipse.js +166 -48
- package/Ellipse.js.map +2 -2
- package/Events/EventUtils.d.ts.map +1 -0
- package/Events/Events.d.ts.map +1 -0
- package/Events/PureEvents/FieldSummaryTooltip.d.ts.map +1 -0
- package/Events/PureEvents/PureEvents.d.ts.map +1 -0
- package/Events/PureEvents/TimeControlsPopover.d.ts.map +1 -0
- package/Events/config.d.ts.map +1 -0
- package/Events/index.d.ts.map +1 -0
- package/Events.js +263 -139
- package/Events.js.map +2 -2
- package/FillerGauge/FillerGauge.d.ts.map +1 -0
- package/FillerGauge/PureFillerGauge/FillerGauge.d.ts.map +1 -0
- package/FillerGauge/config.d.ts.map +1 -0
- package/FillerGauge/index.d.ts.map +1 -0
- package/FillerGauge.js +166 -48
- package/FillerGauge.js.map +2 -2
- package/Image/Image.d.ts.map +1 -0
- package/Image/ImageApi.d.ts.map +1 -0
- package/Image/config.d.ts.map +1 -0
- package/Image/index.d.ts.map +1 -0
- package/Image.js +169 -51
- package/Image.js.map +2 -2
- package/LICENSE.md +0 -1
- package/Line/Line.d.ts.map +1 -0
- package/Line/config.d.ts.map +1 -0
- package/Line/index.d.ts.map +1 -0
- package/Line/lineUtils.d.ts.map +1 -0
- package/Line/mockdata/LineData.d.ts.map +1 -0
- package/Line.js +261 -130
- package/Line.js.map +4 -4
- package/LinkGraph/ESTestDataSources.d.ts.map +1 -0
- package/LinkGraph/ESTestTemplate.d.ts.map +1 -0
- package/LinkGraph/LinkGraph.d.ts.map +1 -0
- package/LinkGraph/PureLinkGraph/PureLinkGraph.d.ts.map +1 -0
- package/LinkGraph/PureLinkGraph/PureLinkGraphUtils.d.ts.map +1 -0
- package/LinkGraph/PureLinkGraph/components/Edges.d.ts.map +1 -0
- package/LinkGraph/PureLinkGraph/components/Field.d.ts.map +1 -0
- package/LinkGraph/PureLinkGraph/components/FieldStyles.d.ts.map +1 -0
- package/LinkGraph/PureLinkGraph/components/Graph.d.ts.map +1 -0
- package/LinkGraph/PureLinkGraph/components/GraphStyles.d.ts.map +1 -0
- package/LinkGraph/PureLinkGraph/components/Node.d.ts.map +1 -0
- package/LinkGraph/PureLinkGraph/components/Nodes.d.ts.map +1 -0
- package/{dist/types/LinkGraph → LinkGraph}/PureLinkGraph/utils/iconLoader.d.ts.map +1 -1
- package/LinkGraph/config.d.ts.map +1 -0
- package/LinkGraph/index.d.ts.map +1 -0
- package/LinkGraph.js +166 -48
- package/LinkGraph.js.map +2 -2
- package/Map/Map.d.ts.map +1 -0
- package/Map/PureMap/BubbleLayer.d.ts.map +1 -0
- package/Map/PureMap/ChoroplethLayer.d.ts.map +1 -0
- package/Map/PureMap/ClusterLayer.d.ts.map +1 -0
- package/Map/PureMap/LocalChoroplethLayer.d.ts.map +1 -0
- package/{dist/types/Map → Map}/PureMap/MapUtils.d.ts +10 -6
- package/Map/PureMap/MapUtils.d.ts.map +1 -0
- package/Map/PureMap/MarkerLayer.d.ts.map +1 -0
- package/Map/PureMap/MarkerWrapper.d.ts.map +1 -0
- package/Map/PureMap/PureMap.d.ts.map +1 -0
- package/Map/PureMap/PureMapContainer.d.ts.map +1 -0
- package/Map/PureMap/Tooltip.d.ts.map +1 -0
- package/{dist/types/Map → Map}/PureMap/mockdata/data.d.ts +21 -17
- package/Map/PureMap/mockdata/data.d.ts.map +1 -0
- package/Map/config.d.ts.map +1 -0
- package/Map/index.d.ts.map +1 -0
- package/Map.js +313 -136
- package/Map.js.map +3 -3
- package/Markdown/Markdown.d.ts.map +1 -0
- package/Markdown/config.d.ts.map +1 -0
- package/Markdown/index.d.ts.map +1 -0
- package/Markdown.js +166 -48
- package/Markdown.js.map +2 -2
- package/MarkerGauge/MarkerGauge.d.ts.map +1 -0
- package/MarkerGauge/PureMarkerGauge/MarkerGauge.d.ts.map +1 -0
- package/MarkerGauge/config.d.ts.map +1 -0
- package/MarkerGauge/index.d.ts.map +1 -0
- package/MarkerGauge.js +166 -48
- package/MarkerGauge.js.map +2 -2
- package/ParallelCoordinates/ParallelCoordinates.d.ts.map +1 -0
- package/ParallelCoordinates/PureParallelCoordinates/PureParallelCoordinates.d.ts.map +1 -0
- package/ParallelCoordinates/PureParallelCoordinates/src/ParallelCoordinatesCanvas.d.ts.map +1 -0
- package/ParallelCoordinates/PureParallelCoordinates/src/ParallelCoordinatesChart.d.ts.map +1 -0
- package/ParallelCoordinates/PureParallelCoordinates/src/ParallelCoordinatesPrompt.d.ts.map +1 -0
- package/ParallelCoordinates/config.d.ts.map +1 -0
- package/ParallelCoordinates/index.d.ts.map +1 -0
- package/ParallelCoordinates/mockdata/arrayValueData.d.ts.map +1 -0
- package/ParallelCoordinates/mockdata/sampleCarData.d.ts.map +1 -0
- package/ParallelCoordinates/mockdata/sampleCarNumericalData.d.ts.map +1 -0
- package/ParallelCoordinates/mockdata/sampleFoodData.d.ts.map +1 -0
- package/ParallelCoordinates/mockdata/sampleStringNumericalData.d.ts.map +1 -0
- package/ParallelCoordinates.js +179 -51
- package/ParallelCoordinates.js.map +2 -2
- package/Pie/Pie.d.ts.map +1 -0
- package/Pie/config.d.ts.map +1 -0
- package/Pie/index.d.ts.map +1 -0
- package/Pie/pieUtils.d.ts.map +1 -0
- package/Pie.config.js +13 -0
- package/Pie.config.js.map +2 -2
- package/Pie.js +279 -132
- package/Pie.js.map +4 -4
- package/Punchcard/Punchcard.d.ts.map +1 -0
- package/Punchcard/PurePunchcard/Punchcard.d.ts.map +1 -0
- package/Punchcard/PurePunchcard/src/PunchcardAxis.d.ts.map +1 -0
- package/Punchcard/PurePunchcard/src/PunchcardBubble.d.ts.map +1 -0
- package/Punchcard/PurePunchcard/src/PunchcardChartArea.d.ts.map +1 -0
- package/Punchcard/PurePunchcard/src/PunchcardGridLines.d.ts.map +1 -0
- package/Punchcard/PurePunchcard/src/PunchcardLegend.d.ts.map +1 -0
- package/Punchcard/PurePunchcard/src/PunchcardRow.d.ts.map +1 -0
- package/Punchcard/PurePunchcard/src/utils/punchcardUtils.d.ts.map +1 -0
- package/Punchcard/config.d.ts.map +1 -0
- package/Punchcard/index.d.ts.map +1 -0
- package/Punchcard/punchcardUtils.d.ts.map +1 -0
- package/Punchcard.js +185 -70
- package/Punchcard.js.map +4 -4
- package/README.md +1 -1
- package/Rectangle/Rectangle.d.ts.map +1 -0
- package/Rectangle/config.d.ts.map +1 -0
- package/Rectangle/index.d.ts.map +1 -0
- package/Rectangle.config.js +13 -22
- package/Rectangle.config.js.map +4 -4
- package/Rectangle.js +181 -72
- package/Rectangle.js.map +4 -4
- package/Sankey/PureSankey/PureSankey.d.ts.map +1 -0
- package/Sankey/PureSankey/SankeyLink.d.ts.map +1 -0
- package/Sankey/PureSankey/SankeyModels.d.ts.map +1 -0
- package/Sankey/PureSankey/SankeyNode.d.ts.map +1 -0
- package/Sankey/PureSankey/SankeyTooltip.d.ts.map +1 -0
- package/Sankey/PureSankey/SankeyUtils.d.ts.map +1 -0
- package/Sankey/PureSankey/mockdata/data.d.ts.map +1 -0
- package/Sankey/Sankey.d.ts.map +1 -0
- package/Sankey/config.d.ts.map +1 -0
- package/Sankey/index.d.ts.map +1 -0
- package/Sankey.js +166 -48
- package/Sankey.js.map +2 -2
- package/Scatter/Scatter.d.ts.map +1 -0
- package/Scatter/config.d.ts.map +1 -0
- package/Scatter/index.d.ts.map +1 -0
- package/Scatter/mockdata/data.d.ts.map +1 -0
- package/Scatter/scatterUtils.d.ts.map +1 -0
- package/Scatter.js +261 -130
- package/Scatter.js.map +4 -4
- package/SingleValue/SingleValue.d.ts.map +1 -0
- package/SingleValue/config.d.ts.map +1 -0
- package/SingleValue/index.d.ts.map +1 -0
- package/SingleValue.js +253 -98
- package/SingleValue.js.map +2 -2
- package/SingleValueBasic/index.d.ts.map +1 -0
- package/SingleValueBasic.js +22 -13
- package/SingleValueBasic.js.map +2 -2
- package/SingleValueIcon/SingleValueIcon.d.ts.map +1 -0
- package/SingleValueIcon/config.d.ts.map +1 -0
- package/SingleValueIcon/index.d.ts.map +1 -0
- package/SingleValueIcon.js +194 -63
- package/SingleValueIcon.js.map +2 -2
- package/SingleValueRadial/PureSingleValueRadial/GaugeGraph.d.ts.map +1 -0
- package/SingleValueRadial/PureSingleValueRadial/utils/gaugeUtils.d.ts.map +1 -0
- package/SingleValueRadial/SingleValueRadial.d.ts.map +1 -0
- package/SingleValueRadial/config.d.ts.map +1 -0
- package/SingleValueRadial/index.d.ts.map +1 -0
- package/SingleValueRadial.js +188 -61
- package/SingleValueRadial.js.map +2 -2
- package/SparkLine/index.d.ts.map +1 -0
- package/SparkLine.js +65 -37
- package/SparkLine.js.map +2 -2
- package/Table/PureTable.d.ts.map +1 -0
- package/Table/Table.d.ts +18 -0
- package/Table/Table.d.ts.map +1 -0
- package/Table/cells/ArrayCell.d.ts.map +1 -0
- package/Table/cells/SparklineCell.d.ts.map +1 -0
- package/Table/cells/SwitchTableCell.d.ts.map +1 -0
- package/Table/cells/TextCell.d.ts.map +1 -0
- package/Table/cells/index.d.ts.map +1 -0
- package/Table/config.d.ts.map +1 -0
- package/{dist/types/Table → Table}/hooks.d.ts +1 -5
- package/Table/hooks.d.ts.map +1 -0
- package/Table/index.d.ts.map +1 -0
- package/Table.js +401 -198
- package/Table.js.map +4 -4
- package/Timeline/PureTimeline/PureTimeline.d.ts.map +1 -0
- package/Timeline/PureTimeline/src/CursorPlugin.d.ts.map +1 -0
- package/Timeline/PureTimeline/src/TimelineLegend.d.ts.map +1 -0
- package/{dist/types/Timeline → Timeline}/PureTimeline/src/TimelinePlugin.d.ts +3 -1
- package/Timeline/PureTimeline/src/TimelinePlugin.d.ts.map +1 -0
- package/Timeline/PureTimeline/src/TimelineTooltip.d.ts.map +1 -0
- package/Timeline/PureTimeline/src/TimelineUplot.d.ts.map +1 -0
- package/Timeline/PureTimeline/src/TimelineYAxis.d.ts.map +1 -0
- package/{dist/types/Timeline → Timeline}/PureTimeline/src/XAxisPlugin.d.ts +2 -1
- package/Timeline/PureTimeline/src/XAxisPlugin.d.ts.map +1 -0
- package/{dist/types/Timeline → Timeline}/PureTimeline/src/utils/timelineUtils.d.ts +26 -2
- package/Timeline/PureTimeline/src/utils/timelineUtils.d.ts.map +1 -0
- package/Timeline/Timeline.d.ts.map +1 -0
- package/Timeline/config.d.ts.map +1 -0
- package/Timeline/index.d.ts.map +1 -0
- package/Timeline/mockdata/basicTimelineData.d.ts.map +1 -0
- package/Timeline/mockdata/categoricalTimelineData.d.ts.map +1 -0
- package/Timeline/mockdata/timelineDataSource.d.ts.map +1 -0
- package/Timeline.config.js +13 -23
- package/Timeline.config.js.map +4 -4
- package/Timeline.js +784 -402
- package/Timeline.js.map +4 -4
- package/{dist/types/common → common}/Charting.d.ts +2 -0
- package/common/Charting.d.ts.map +1 -0
- package/common/Charting.js +47 -34
- package/common/Charting.js.map +4 -4
- package/common/ChartingApi.d.ts.map +1 -0
- package/common/DocExampleWithVizSandbox.d.ts.map +1 -0
- package/common/DocExampleWithVizSandbox.js.map +1 -1
- package/common/OverviewDoc.d.ts.map +1 -0
- package/common/OverviewDoc.js.map +1 -1
- package/common/SplunkVisualization.d.ts.map +1 -0
- package/common/SplunkVisualizationApi.d.ts.map +1 -0
- package/common/ThemedDefaults.d.ts.map +1 -0
- package/common/TimeSeriesChartWrapper.d.ts +18 -0
- package/common/TimeSeriesChartWrapper.d.ts.map +1 -0
- package/common/TimeSeriesChartWrapper.js +181 -40
- package/common/TimeSeriesChartWrapper.js.map +2 -2
- package/{dist/types/common → common}/chartingUtils.d.ts +14 -4
- package/common/chartingUtils.d.ts.map +1 -0
- package/common/chartingUtils.js +22 -5
- package/common/chartingUtils.js.map +2 -2
- package/common/components/IconPlaceholder.d.ts.map +1 -0
- package/common/components/MissingPropsMessage.d.ts.map +1 -0
- package/common/components/TrellisTitle.d.ts.map +1 -0
- package/common/configContext/singleValueContext.d.ts.map +1 -0
- package/common/docUtils.d.ts.map +1 -0
- package/common/docUtils.js +1 -1
- package/common/docUtils.js.map +2 -2
- package/common/editorConfig/AxesChartColorAndStyle.d.ts.map +1 -0
- package/common/editorConfig/AxesChartDataConfig.d.ts.map +1 -0
- package/common/editorConfig/AxesChartDataDisplay.d.ts.map +1 -0
- package/common/editorConfig/AxesChartLegend.d.ts.map +1 -0
- package/common/editorConfig/AxesChartXGridAndLabels.d.ts.map +1 -0
- package/common/editorConfig/AxesChartY2GridAndLabels.d.ts.map +1 -0
- package/common/editorConfig/AxesChartYGridAndLabels.d.ts.map +1 -0
- package/common/editorConfig/BackgroundColor.d.ts.map +1 -0
- package/common/editorConfig/DynamicFillColorEditor.d.ts.map +1 -0
- package/common/editorConfig/DynamicGaugeColorEditor.d.ts.map +1 -0
- package/common/editorConfig/DynamicStrokeColorEditor.d.ts.map +1 -0
- package/common/editorConfig/Gauge.d.ts.map +1 -0
- package/common/editorConfig/Legend.d.ts.map +1 -0
- package/common/editorConfig/RadialBackgroundColor.d.ts.map +1 -0
- package/common/editorConfig/StaticFillColorEditor.d.ts.map +1 -0
- package/common/editorConfig/StaticGaugeColorEditor.d.ts.map +1 -0
- package/common/editorConfig/StaticStrokeColorEditor.d.ts.map +1 -0
- package/common/editorConfig/TrellisEditors.d.ts.map +1 -0
- package/common/gaugeUtils.d.ts.map +1 -0
- package/common/hocs/FixedSizeContainer.d.ts.map +1 -0
- package/common/hocs/mockdata/trellisData.d.ts.map +1 -0
- package/common/hocs/withEditModeCover.d.ts.map +1 -0
- package/common/hocs/withPlaceholder.d.ts.map +1 -0
- package/common/hocs/withTrellis.d.ts.map +1 -0
- package/common/hooks/useDeepMemo.d.ts.map +1 -0
- package/common/hooks/useDownsampleDataSources.d.ts.map +1 -0
- package/common/hooks/useEventCallback.d.ts.map +1 -0
- package/common/hooks/useGetXAndYFields.d.ts.map +1 -0
- package/common/hooks/usePagination.d.ts.map +1 -0
- package/common/hooks/usePrevious.d.ts.map +1 -0
- package/common/hooks/useSorting.d.ts.map +1 -0
- package/common/hooks/useTrellisEnabled.d.ts.map +1 -0
- package/common/interfaces/ChartEvent.d.ts.map +1 -0
- package/common/interfaces/DashboardVizProps.d.ts.map +1 -0
- package/common/interfaces/DataContract.d.ts.map +1 -0
- package/common/interfaces/DataSource.d.ts.map +1 -0
- package/common/interfaces/DefaultContext.d.ts.map +1 -0
- package/common/interfaces/Editor.d.ts.map +1 -0
- package/common/interfaces/ExtendedDashViz.d.ts.map +1 -0
- package/common/interfaces/Object.d.ts.map +1 -0
- package/common/interfaces/Overview.d.ts.map +1 -0
- package/common/interfaces/ThemedDefaults.d.ts.map +1 -0
- package/common/interfaces/VizActionHandler.d.ts.map +1 -0
- package/common/interfaces/VizBehavior.d.ts.map +1 -0
- package/common/interfaces/VizCategory.d.ts.map +1 -0
- package/common/interfaces/VizConfig.d.ts.map +1 -0
- package/common/interfaces/VizEvent.d.ts.map +1 -0
- package/common/interfaces/VizProps.d.ts.map +1 -0
- package/common/interfaces/VizRegistry.d.ts.map +1 -0
- package/common/interfaces/VizSize.d.ts.map +1 -0
- package/common/interfaces/VizStatus.d.ts.map +1 -0
- package/common/interfaces/index.d.ts.map +1 -0
- package/common/shapeUtils.d.ts.map +1 -0
- package/common/utils/configUtils.d.ts.map +1 -0
- package/common/utils/dataUtils.d.ts.map +1 -0
- package/common/utils/featureFlagUtils.d.ts +4 -0
- package/common/utils/featureFlagUtils.d.ts.map +1 -0
- package/common/utils/featureFlagUtils.js.map +2 -2
- package/common/utils/hocUtils.d.ts.map +1 -0
- package/common/utils/mapUtils.d.ts.map +1 -0
- package/common/utils/mapUtils.js.map +2 -2
- package/common/utils/styleUtils.d.ts.map +1 -0
- package/common/utils/tableUtils.d.ts +10 -0
- package/common/utils/tableUtils.d.ts.map +1 -0
- package/common/utils/tableUtils.js +20 -8
- package/common/utils/tableUtils.js.map +2 -2
- package/common/utils/trellisUtils.d.ts.map +1 -0
- package/common/utils/urlUtils.d.ts.map +1 -0
- package/{dist/types/common → common}/withDashboardViz.d.ts +7 -0
- package/common/withDashboardViz.d.ts.map +1 -0
- package/common/withDashboardViz.js +166 -48
- package/common/withDashboardViz.js.map +2 -2
- package/package.json +21 -22
- package/dist/types/Area/Area.d.ts.map +0 -1
- package/dist/types/Area/areaUtils.d.ts.map +0 -1
- package/dist/types/Area/config.d.ts.map +0 -1
- package/dist/types/Area/index.d.ts.map +0 -1
- package/dist/types/Bar/Bar.d.ts.map +0 -1
- package/dist/types/Bar/barUtils.d.ts.map +0 -1
- package/dist/types/Bar/config.d.ts.map +0 -1
- package/dist/types/Bar/index.d.ts.map +0 -1
- package/dist/types/Bubble/Bubble.d.ts.map +0 -1
- package/dist/types/Bubble/bubbleUtils.d.ts.map +0 -1
- package/dist/types/Bubble/config.d.ts.map +0 -1
- package/dist/types/Bubble/index.d.ts.map +0 -1
- package/dist/types/ChoroplethSvg/ChoroplethSvg.d.ts.map +0 -1
- package/dist/types/ChoroplethSvg/ErrorMessage/ErrorMessage.d.ts.map +0 -1
- package/dist/types/ChoroplethSvg/PureChoroplethSvg/PureChoroplethSvg.d.ts.map +0 -1
- package/dist/types/ChoroplethSvg/PureChoroplethSvg/SvgChoroplethDynamic.d.ts.map +0 -1
- package/dist/types/ChoroplethSvg/PureChoroplethSvg/SvgMutator.d.ts.map +0 -1
- package/dist/types/ChoroplethSvg/config.d.ts.map +0 -1
- package/dist/types/ChoroplethSvg/index.d.ts.map +0 -1
- package/dist/types/Column/Column.d.ts.map +0 -1
- package/dist/types/Column/columnUtils.d.ts.map +0 -1
- package/dist/types/Column/config.d.ts.map +0 -1
- package/dist/types/Column/index.d.ts.map +0 -1
- package/dist/types/Ellipse/Ellipse.d.ts.map +0 -1
- package/dist/types/Ellipse/config.d.ts.map +0 -1
- package/dist/types/Ellipse/index.d.ts.map +0 -1
- package/dist/types/Events/EventUtils.d.ts.map +0 -1
- package/dist/types/Events/Events.d.ts.map +0 -1
- package/dist/types/Events/PureEvents/FieldSummaryTooltip.d.ts.map +0 -1
- package/dist/types/Events/PureEvents/PureEvents.d.ts.map +0 -1
- package/dist/types/Events/PureEvents/TimeControlsPopover.d.ts.map +0 -1
- package/dist/types/Events/config.d.ts.map +0 -1
- package/dist/types/Events/index.d.ts.map +0 -1
- package/dist/types/FillerGauge/FillerGauge.d.ts.map +0 -1
- package/dist/types/FillerGauge/PureFillerGauge/FillerGauge.d.ts.map +0 -1
- package/dist/types/FillerGauge/config.d.ts.map +0 -1
- package/dist/types/FillerGauge/index.d.ts.map +0 -1
- package/dist/types/Image/Image.d.ts.map +0 -1
- package/dist/types/Image/ImageApi.d.ts.map +0 -1
- package/dist/types/Image/config.d.ts.map +0 -1
- package/dist/types/Image/index.d.ts.map +0 -1
- package/dist/types/Line/Line.d.ts.map +0 -1
- package/dist/types/Line/config.d.ts.map +0 -1
- package/dist/types/Line/index.d.ts.map +0 -1
- package/dist/types/Line/lineUtils.d.ts.map +0 -1
- package/dist/types/Line/mockdata/LineData.d.ts.map +0 -1
- package/dist/types/LinkGraph/ESTestDataSources.d.ts.map +0 -1
- package/dist/types/LinkGraph/ESTestTemplate.d.ts.map +0 -1
- package/dist/types/LinkGraph/LinkGraph.d.ts.map +0 -1
- package/dist/types/LinkGraph/PureLinkGraph/PureLinkGraph.d.ts.map +0 -1
- package/dist/types/LinkGraph/PureLinkGraph/PureLinkGraphUtils.d.ts.map +0 -1
- package/dist/types/LinkGraph/PureLinkGraph/components/Edges.d.ts.map +0 -1
- package/dist/types/LinkGraph/PureLinkGraph/components/Field.d.ts.map +0 -1
- package/dist/types/LinkGraph/PureLinkGraph/components/FieldStyles.d.ts.map +0 -1
- package/dist/types/LinkGraph/PureLinkGraph/components/Graph.d.ts.map +0 -1
- package/dist/types/LinkGraph/PureLinkGraph/components/GraphStyles.d.ts.map +0 -1
- package/dist/types/LinkGraph/PureLinkGraph/components/Node.d.ts.map +0 -1
- package/dist/types/LinkGraph/PureLinkGraph/components/Nodes.d.ts.map +0 -1
- package/dist/types/LinkGraph/config.d.ts.map +0 -1
- package/dist/types/LinkGraph/index.d.ts.map +0 -1
- package/dist/types/Map/Map.d.ts.map +0 -1
- package/dist/types/Map/MapContextDefault.d.ts +0 -39
- package/dist/types/Map/MapContextDefault.d.ts.map +0 -1
- package/dist/types/Map/PureMap/BubbleLayer.d.ts.map +0 -1
- package/dist/types/Map/PureMap/ChoroplethLayer.d.ts.map +0 -1
- package/dist/types/Map/PureMap/ClusterLayer.d.ts.map +0 -1
- package/dist/types/Map/PureMap/LocalChoroplethLayer.d.ts.map +0 -1
- package/dist/types/Map/PureMap/MapUtils.d.ts.map +0 -1
- package/dist/types/Map/PureMap/MarkerLayer.d.ts.map +0 -1
- package/dist/types/Map/PureMap/MarkerWrapper.d.ts.map +0 -1
- package/dist/types/Map/PureMap/PureMap.d.ts.map +0 -1
- package/dist/types/Map/PureMap/PureMapContainer.d.ts.map +0 -1
- package/dist/types/Map/PureMap/Tooltip.d.ts.map +0 -1
- package/dist/types/Map/PureMap/mockdata/data.d.ts.map +0 -1
- package/dist/types/Map/config.d.ts.map +0 -1
- package/dist/types/Map/index.d.ts.map +0 -1
- package/dist/types/Markdown/Markdown.d.ts.map +0 -1
- package/dist/types/Markdown/config.d.ts.map +0 -1
- package/dist/types/Markdown/index.d.ts.map +0 -1
- package/dist/types/MarkerGauge/MarkerGauge.d.ts.map +0 -1
- package/dist/types/MarkerGauge/PureMarkerGauge/MarkerGauge.d.ts.map +0 -1
- package/dist/types/MarkerGauge/config.d.ts.map +0 -1
- package/dist/types/MarkerGauge/index.d.ts.map +0 -1
- package/dist/types/ParallelCoordinates/ParallelCoordinates.d.ts.map +0 -1
- package/dist/types/ParallelCoordinates/PureParallelCoordinates/PureParallelCoordinates.d.ts.map +0 -1
- package/dist/types/ParallelCoordinates/PureParallelCoordinates/src/ParallelCoordinatesCanvas.d.ts.map +0 -1
- package/dist/types/ParallelCoordinates/PureParallelCoordinates/src/ParallelCoordinatesChart.d.ts.map +0 -1
- package/dist/types/ParallelCoordinates/PureParallelCoordinates/src/ParallelCoordinatesPrompt.d.ts.map +0 -1
- package/dist/types/ParallelCoordinates/config.d.ts.map +0 -1
- package/dist/types/ParallelCoordinates/index.d.ts.map +0 -1
- package/dist/types/ParallelCoordinates/mockdata/arrayValueData.d.ts.map +0 -1
- package/dist/types/ParallelCoordinates/mockdata/sampleCarData.d.ts.map +0 -1
- package/dist/types/ParallelCoordinates/mockdata/sampleCarNumericalData.d.ts.map +0 -1
- package/dist/types/ParallelCoordinates/mockdata/sampleFoodData.d.ts.map +0 -1
- package/dist/types/ParallelCoordinates/mockdata/sampleStringNumericalData.d.ts.map +0 -1
- package/dist/types/Pie/Pie.d.ts.map +0 -1
- package/dist/types/Pie/config.d.ts.map +0 -1
- package/dist/types/Pie/index.d.ts.map +0 -1
- package/dist/types/Pie/pieUtils.d.ts.map +0 -1
- package/dist/types/Punchcard/Punchcard.d.ts.map +0 -1
- package/dist/types/Punchcard/PurePunchcard/Punchcard.d.ts.map +0 -1
- package/dist/types/Punchcard/PurePunchcard/src/PunchcardAxis.d.ts.map +0 -1
- package/dist/types/Punchcard/PurePunchcard/src/PunchcardBubble.d.ts.map +0 -1
- package/dist/types/Punchcard/PurePunchcard/src/PunchcardChartArea.d.ts.map +0 -1
- package/dist/types/Punchcard/PurePunchcard/src/PunchcardGridLines.d.ts.map +0 -1
- package/dist/types/Punchcard/PurePunchcard/src/PunchcardLegend.d.ts.map +0 -1
- package/dist/types/Punchcard/PurePunchcard/src/PunchcardRow.d.ts.map +0 -1
- package/dist/types/Punchcard/PurePunchcard/src/utils/punchcardUtils.d.ts.map +0 -1
- package/dist/types/Punchcard/config.d.ts.map +0 -1
- package/dist/types/Punchcard/index.d.ts.map +0 -1
- package/dist/types/Punchcard/punchcardUtils.d.ts.map +0 -1
- package/dist/types/Rectangle/Rectangle.d.ts.map +0 -1
- package/dist/types/Rectangle/config.d.ts.map +0 -1
- package/dist/types/Rectangle/index.d.ts.map +0 -1
- package/dist/types/Sankey/PureSankey/PureSankey.d.ts.map +0 -1
- package/dist/types/Sankey/PureSankey/SankeyLink.d.ts.map +0 -1
- package/dist/types/Sankey/PureSankey/SankeyModels.d.ts.map +0 -1
- package/dist/types/Sankey/PureSankey/SankeyNode.d.ts.map +0 -1
- package/dist/types/Sankey/PureSankey/SankeyTooltip.d.ts.map +0 -1
- package/dist/types/Sankey/PureSankey/SankeyUtils.d.ts.map +0 -1
- package/dist/types/Sankey/PureSankey/mockdata/data.d.ts.map +0 -1
- package/dist/types/Sankey/Sankey.d.ts.map +0 -1
- package/dist/types/Sankey/config.d.ts.map +0 -1
- package/dist/types/Sankey/index.d.ts.map +0 -1
- package/dist/types/Scatter/Scatter.d.ts.map +0 -1
- package/dist/types/Scatter/config.d.ts.map +0 -1
- package/dist/types/Scatter/index.d.ts.map +0 -1
- package/dist/types/Scatter/mockdata/data.d.ts.map +0 -1
- package/dist/types/Scatter/scatterUtils.d.ts.map +0 -1
- package/dist/types/SingleValue/SingleValue.d.ts.map +0 -1
- package/dist/types/SingleValue/config.d.ts.map +0 -1
- package/dist/types/SingleValue/index.d.ts.map +0 -1
- package/dist/types/SingleValueBasic/index.d.ts.map +0 -1
- package/dist/types/SingleValueIcon/SingleValueIcon.d.ts.map +0 -1
- package/dist/types/SingleValueIcon/config.d.ts.map +0 -1
- package/dist/types/SingleValueIcon/index.d.ts.map +0 -1
- package/dist/types/SingleValueRadial/PureSingleValueRadial/GaugeGraph.d.ts.map +0 -1
- package/dist/types/SingleValueRadial/PureSingleValueRadial/utils/gaugeUtils.d.ts.map +0 -1
- package/dist/types/SingleValueRadial/SingleValueRadial.d.ts.map +0 -1
- package/dist/types/SingleValueRadial/config.d.ts.map +0 -1
- package/dist/types/SingleValueRadial/index.d.ts.map +0 -1
- package/dist/types/SparkLine/index.d.ts.map +0 -1
- package/dist/types/Table/PureTable.d.ts.map +0 -1
- package/dist/types/Table/Table.d.ts +0 -10
- package/dist/types/Table/Table.d.ts.map +0 -1
- package/dist/types/Table/cells/ArrayCell.d.ts.map +0 -1
- package/dist/types/Table/cells/SparklineCell.d.ts.map +0 -1
- package/dist/types/Table/cells/SwitchTableCell.d.ts.map +0 -1
- package/dist/types/Table/cells/TextCell.d.ts.map +0 -1
- package/dist/types/Table/cells/index.d.ts.map +0 -1
- package/dist/types/Table/config.d.ts.map +0 -1
- package/dist/types/Table/hooks.d.ts.map +0 -1
- package/dist/types/Table/index.d.ts.map +0 -1
- package/dist/types/Timeline/PureTimeline/PureTimeline.d.ts.map +0 -1
- package/dist/types/Timeline/PureTimeline/src/CursorPlugin.d.ts.map +0 -1
- package/dist/types/Timeline/PureTimeline/src/TimelineLegend.d.ts.map +0 -1
- package/dist/types/Timeline/PureTimeline/src/TimelinePlugin.d.ts.map +0 -1
- package/dist/types/Timeline/PureTimeline/src/TimelineTooltip.d.ts.map +0 -1
- package/dist/types/Timeline/PureTimeline/src/TimelineUplot.d.ts.map +0 -1
- package/dist/types/Timeline/PureTimeline/src/TimelineYAxis.d.ts.map +0 -1
- package/dist/types/Timeline/PureTimeline/src/XAxisPlugin.d.ts.map +0 -1
- package/dist/types/Timeline/PureTimeline/src/utils/timelineUtils.d.ts.map +0 -1
- package/dist/types/Timeline/Timeline.d.ts.map +0 -1
- package/dist/types/Timeline/config.d.ts.map +0 -1
- package/dist/types/Timeline/index.d.ts.map +0 -1
- package/dist/types/Timeline/mockdata/basicTimelineData.d.ts.map +0 -1
- package/dist/types/Timeline/mockdata/categoricalTimelineData.d.ts.map +0 -1
- package/dist/types/Timeline/mockdata/timelineDataSource.d.ts.map +0 -1
- package/dist/types/common/Charting.d.ts.map +0 -1
- package/dist/types/common/ChartingApi.d.ts.map +0 -1
- package/dist/types/common/DocExampleWithVizSandbox.d.ts.map +0 -1
- package/dist/types/common/OverviewDoc.d.ts.map +0 -1
- package/dist/types/common/SplunkVisualization.d.ts.map +0 -1
- package/dist/types/common/SplunkVisualizationApi.d.ts.map +0 -1
- package/dist/types/common/ThemedDefaults.d.ts.map +0 -1
- package/dist/types/common/TimeSeriesChartWrapper.d.ts +0 -7
- package/dist/types/common/TimeSeriesChartWrapper.d.ts.map +0 -1
- package/dist/types/common/chartingUtils.d.ts.map +0 -1
- package/dist/types/common/components/IconPlaceholder.d.ts.map +0 -1
- package/dist/types/common/components/MissingPropsMessage.d.ts.map +0 -1
- package/dist/types/common/components/TrellisTitle.d.ts.map +0 -1
- package/dist/types/common/configContext/singleValueContext.d.ts.map +0 -1
- package/dist/types/common/docUtils.d.ts.map +0 -1
- package/dist/types/common/editorConfig/AxesChartColorAndStyle.d.ts.map +0 -1
- package/dist/types/common/editorConfig/AxesChartDataConfig.d.ts.map +0 -1
- package/dist/types/common/editorConfig/AxesChartDataDisplay.d.ts.map +0 -1
- package/dist/types/common/editorConfig/AxesChartLegend.d.ts.map +0 -1
- package/dist/types/common/editorConfig/AxesChartXGridAndLabels.d.ts.map +0 -1
- package/dist/types/common/editorConfig/AxesChartY2GridAndLabels.d.ts.map +0 -1
- package/dist/types/common/editorConfig/AxesChartYGridAndLabels.d.ts.map +0 -1
- package/dist/types/common/editorConfig/BackgroundColor.d.ts.map +0 -1
- package/dist/types/common/editorConfig/DynamicFillColorEditor.d.ts.map +0 -1
- package/dist/types/common/editorConfig/DynamicGaugeColorEditor.d.ts.map +0 -1
- package/dist/types/common/editorConfig/DynamicStrokeColorEditor.d.ts.map +0 -1
- package/dist/types/common/editorConfig/Gauge.d.ts.map +0 -1
- package/dist/types/common/editorConfig/Legend.d.ts.map +0 -1
- package/dist/types/common/editorConfig/RadialBackgroundColor.d.ts.map +0 -1
- package/dist/types/common/editorConfig/StaticFillColorEditor.d.ts.map +0 -1
- package/dist/types/common/editorConfig/StaticGaugeColorEditor.d.ts.map +0 -1
- package/dist/types/common/editorConfig/StaticStrokeColorEditor.d.ts.map +0 -1
- package/dist/types/common/editorConfig/TrellisEditors.d.ts.map +0 -1
- package/dist/types/common/gaugeUtils.d.ts.map +0 -1
- package/dist/types/common/hocs/FixedSizeContainer.d.ts.map +0 -1
- package/dist/types/common/hocs/mockdata/trellisData.d.ts.map +0 -1
- package/dist/types/common/hocs/withEditModeCover.d.ts.map +0 -1
- package/dist/types/common/hocs/withPlaceholder.d.ts.map +0 -1
- package/dist/types/common/hocs/withTrellis.d.ts.map +0 -1
- package/dist/types/common/hooks/useDeepMemo.d.ts.map +0 -1
- package/dist/types/common/hooks/useDownsampleDataSources.d.ts.map +0 -1
- package/dist/types/common/hooks/useEventCallback.d.ts.map +0 -1
- package/dist/types/common/hooks/useGetXAndYFields.d.ts.map +0 -1
- package/dist/types/common/hooks/usePagination.d.ts.map +0 -1
- package/dist/types/common/hooks/usePrevious.d.ts.map +0 -1
- package/dist/types/common/hooks/useSorting.d.ts.map +0 -1
- package/dist/types/common/hooks/useTrellisEnabled.d.ts.map +0 -1
- package/dist/types/common/interfaces/ChartEvent.d.ts.map +0 -1
- package/dist/types/common/interfaces/DashboardVizProps.d.ts.map +0 -1
- package/dist/types/common/interfaces/DataContract.d.ts.map +0 -1
- package/dist/types/common/interfaces/DataSource.d.ts.map +0 -1
- package/dist/types/common/interfaces/DefaultContext.d.ts.map +0 -1
- package/dist/types/common/interfaces/Editor.d.ts.map +0 -1
- package/dist/types/common/interfaces/ExtendedDashViz.d.ts.map +0 -1
- package/dist/types/common/interfaces/Object.d.ts.map +0 -1
- package/dist/types/common/interfaces/Overview.d.ts.map +0 -1
- package/dist/types/common/interfaces/ThemedDefaults.d.ts.map +0 -1
- package/dist/types/common/interfaces/VizActionHandler.d.ts.map +0 -1
- package/dist/types/common/interfaces/VizBehavior.d.ts.map +0 -1
- package/dist/types/common/interfaces/VizCategory.d.ts.map +0 -1
- package/dist/types/common/interfaces/VizConfig.d.ts.map +0 -1
- package/dist/types/common/interfaces/VizEvent.d.ts.map +0 -1
- package/dist/types/common/interfaces/VizProps.d.ts.map +0 -1
- package/dist/types/common/interfaces/VizRegistry.d.ts.map +0 -1
- package/dist/types/common/interfaces/VizSize.d.ts.map +0 -1
- package/dist/types/common/interfaces/VizStatus.d.ts.map +0 -1
- package/dist/types/common/interfaces/index.d.ts.map +0 -1
- package/dist/types/common/shapeUtils.d.ts.map +0 -1
- package/dist/types/common/utils/configUtils.d.ts.map +0 -1
- package/dist/types/common/utils/dataUtils.d.ts.map +0 -1
- package/dist/types/common/utils/featureFlagUtils.d.ts +0 -3
- package/dist/types/common/utils/featureFlagUtils.d.ts.map +0 -1
- package/dist/types/common/utils/hocUtils.d.ts.map +0 -1
- package/dist/types/common/utils/mapUtils.d.ts.map +0 -1
- package/dist/types/common/utils/styleUtils.d.ts.map +0 -1
- package/dist/types/common/utils/tableUtils.d.ts +0 -3
- package/dist/types/common/utils/tableUtils.d.ts.map +0 -1
- package/dist/types/common/utils/trellisUtils.d.ts.map +0 -1
- package/dist/types/common/utils/urlUtils.d.ts.map +0 -1
- package/dist/types/common/withDashboardViz.d.ts.map +0 -1
- /package/{dist/types/Area → Area}/Area.d.ts +0 -0
- /package/{dist/types/Area → Area}/areaUtils.d.ts +0 -0
- /package/{dist/types/Area → Area}/config.d.ts +0 -0
- /package/{dist/types/Area → Area}/index.d.ts +0 -0
- /package/{dist/types/Bar → Bar}/Bar.d.ts +0 -0
- /package/{dist/types/Bar → Bar}/barUtils.d.ts +0 -0
- /package/{dist/types/Bar → Bar}/config.d.ts +0 -0
- /package/{dist/types/Bar → Bar}/index.d.ts +0 -0
- /package/{dist/types/Bubble → Bubble}/Bubble.d.ts +0 -0
- /package/{dist/types/Bubble → Bubble}/bubbleUtils.d.ts +0 -0
- /package/{dist/types/Bubble → Bubble}/config.d.ts +0 -0
- /package/{dist/types/Bubble → Bubble}/index.d.ts +0 -0
- /package/{dist/types/ChoroplethSvg → ChoroplethSvg}/ChoroplethSvg.d.ts +0 -0
- /package/{dist/types/ChoroplethSvg → ChoroplethSvg}/ErrorMessage/ErrorMessage.d.ts +0 -0
- /package/{dist/types/ChoroplethSvg → ChoroplethSvg}/PureChoroplethSvg/PureChoroplethSvg.d.ts +0 -0
- /package/{dist/types/ChoroplethSvg → ChoroplethSvg}/PureChoroplethSvg/SvgChoroplethDynamic.d.ts +0 -0
- /package/{dist/types/ChoroplethSvg → ChoroplethSvg}/PureChoroplethSvg/SvgMutator.d.ts +0 -0
- /package/{dist/types/ChoroplethSvg → ChoroplethSvg}/config.d.ts +0 -0
- /package/{dist/types/ChoroplethSvg → ChoroplethSvg}/index.d.ts +0 -0
- /package/{dist/types/Column → Column}/Column.d.ts +0 -0
- /package/{dist/types/Column → Column}/columnUtils.d.ts +0 -0
- /package/{dist/types/Column → Column}/config.d.ts +0 -0
- /package/{dist/types/Column → Column}/index.d.ts +0 -0
- /package/{dist/types/Ellipse → Ellipse}/Ellipse.d.ts +0 -0
- /package/{dist/types/Ellipse → Ellipse}/config.d.ts +0 -0
- /package/{dist/types/Ellipse → Ellipse}/index.d.ts +0 -0
- /package/{dist/types/Events → Events}/EventUtils.d.ts +0 -0
- /package/{dist/types/Events → Events}/Events.d.ts +0 -0
- /package/{dist/types/Events → Events}/PureEvents/FieldSummaryTooltip.d.ts +0 -0
- /package/{dist/types/Events → Events}/PureEvents/PureEvents.d.ts +0 -0
- /package/{dist/types/Events → Events}/PureEvents/TimeControlsPopover.d.ts +0 -0
- /package/{dist/types/Events → Events}/config.d.ts +0 -0
- /package/{dist/types/Events → Events}/index.d.ts +0 -0
- /package/{dist/types/FillerGauge → FillerGauge}/FillerGauge.d.ts +0 -0
- /package/{dist/types/FillerGauge → FillerGauge}/PureFillerGauge/FillerGauge.d.ts +0 -0
- /package/{dist/types/FillerGauge → FillerGauge}/config.d.ts +0 -0
- /package/{dist/types/FillerGauge → FillerGauge}/index.d.ts +0 -0
- /package/{dist/types/Image → Image}/Image.d.ts +0 -0
- /package/{dist/types/Image → Image}/ImageApi.d.ts +0 -0
- /package/{dist/types/Image → Image}/config.d.ts +0 -0
- /package/{dist/types/Image → Image}/index.d.ts +0 -0
- /package/{dist/types/Line → Line}/Line.d.ts +0 -0
- /package/{dist/types/Line → Line}/config.d.ts +0 -0
- /package/{dist/types/Line → Line}/index.d.ts +0 -0
- /package/{dist/types/Line → Line}/lineUtils.d.ts +0 -0
- /package/{dist/types/Line → Line}/mockdata/LineData.d.ts +0 -0
- /package/{dist/types/LinkGraph → LinkGraph}/ESTestDataSources.d.ts +0 -0
- /package/{dist/types/LinkGraph → LinkGraph}/ESTestTemplate.d.ts +0 -0
- /package/{dist/types/LinkGraph → LinkGraph}/LinkGraph.d.ts +0 -0
- /package/{dist/types/LinkGraph → LinkGraph}/PureLinkGraph/PureLinkGraph.d.ts +0 -0
- /package/{dist/types/LinkGraph → LinkGraph}/PureLinkGraph/PureLinkGraphUtils.d.ts +0 -0
- /package/{dist/types/LinkGraph → LinkGraph}/PureLinkGraph/components/Edges.d.ts +0 -0
- /package/{dist/types/LinkGraph → LinkGraph}/PureLinkGraph/components/Field.d.ts +0 -0
- /package/{dist/types/LinkGraph → LinkGraph}/PureLinkGraph/components/FieldStyles.d.ts +0 -0
- /package/{dist/types/LinkGraph → LinkGraph}/PureLinkGraph/components/Graph.d.ts +0 -0
- /package/{dist/types/LinkGraph → LinkGraph}/PureLinkGraph/components/GraphStyles.d.ts +0 -0
- /package/{dist/types/LinkGraph → LinkGraph}/PureLinkGraph/components/Node.d.ts +0 -0
- /package/{dist/types/LinkGraph → LinkGraph}/PureLinkGraph/components/Nodes.d.ts +0 -0
- /package/{dist/types/LinkGraph → LinkGraph}/PureLinkGraph/utils/iconLoader.d.ts +0 -0
- /package/{dist/types/LinkGraph → LinkGraph}/config.d.ts +0 -0
- /package/{dist/types/LinkGraph → LinkGraph}/index.d.ts +0 -0
- /package/{dist/types/Map → Map}/Map.d.ts +0 -0
- /package/{dist/types/Map → Map}/PureMap/BubbleLayer.d.ts +0 -0
- /package/{dist/types/Map → Map}/PureMap/ChoroplethLayer.d.ts +0 -0
- /package/{dist/types/Map → Map}/PureMap/ClusterLayer.d.ts +0 -0
- /package/{dist/types/Map → Map}/PureMap/LocalChoroplethLayer.d.ts +0 -0
- /package/{dist/types/Map → Map}/PureMap/MarkerLayer.d.ts +0 -0
- /package/{dist/types/Map → Map}/PureMap/MarkerWrapper.d.ts +0 -0
- /package/{dist/types/Map → Map}/PureMap/PureMap.d.ts +0 -0
- /package/{dist/types/Map → Map}/PureMap/PureMapContainer.d.ts +0 -0
- /package/{dist/types/Map → Map}/PureMap/Tooltip.d.ts +0 -0
- /package/{dist/types/Map → Map}/config.d.ts +0 -0
- /package/{dist/types/Map → Map}/index.d.ts +0 -0
- /package/{dist/types/Markdown → Markdown}/Markdown.d.ts +0 -0
- /package/{dist/types/Markdown → Markdown}/config.d.ts +0 -0
- /package/{dist/types/Markdown → Markdown}/index.d.ts +0 -0
- /package/{dist/types/MarkerGauge → MarkerGauge}/MarkerGauge.d.ts +0 -0
- /package/{dist/types/MarkerGauge → MarkerGauge}/PureMarkerGauge/MarkerGauge.d.ts +0 -0
- /package/{dist/types/MarkerGauge → MarkerGauge}/config.d.ts +0 -0
- /package/{dist/types/MarkerGauge → MarkerGauge}/index.d.ts +0 -0
- /package/{dist/types/ParallelCoordinates → ParallelCoordinates}/ParallelCoordinates.d.ts +0 -0
- /package/{dist/types/ParallelCoordinates → ParallelCoordinates}/PureParallelCoordinates/PureParallelCoordinates.d.ts +0 -0
- /package/{dist/types/ParallelCoordinates → ParallelCoordinates}/PureParallelCoordinates/src/ParallelCoordinatesCanvas.d.ts +0 -0
- /package/{dist/types/ParallelCoordinates → ParallelCoordinates}/PureParallelCoordinates/src/ParallelCoordinatesChart.d.ts +0 -0
- /package/{dist/types/ParallelCoordinates → ParallelCoordinates}/PureParallelCoordinates/src/ParallelCoordinatesPrompt.d.ts +0 -0
- /package/{dist/types/ParallelCoordinates → ParallelCoordinates}/config.d.ts +0 -0
- /package/{dist/types/ParallelCoordinates → ParallelCoordinates}/index.d.ts +0 -0
- /package/{dist/types/ParallelCoordinates → ParallelCoordinates}/mockdata/arrayValueData.d.ts +0 -0
- /package/{dist/types/ParallelCoordinates → ParallelCoordinates}/mockdata/sampleCarData.d.ts +0 -0
- /package/{dist/types/ParallelCoordinates → ParallelCoordinates}/mockdata/sampleCarNumericalData.d.ts +0 -0
- /package/{dist/types/ParallelCoordinates → ParallelCoordinates}/mockdata/sampleFoodData.d.ts +0 -0
- /package/{dist/types/ParallelCoordinates → ParallelCoordinates}/mockdata/sampleStringNumericalData.d.ts +0 -0
- /package/{dist/types/Pie → Pie}/Pie.d.ts +0 -0
- /package/{dist/types/Pie → Pie}/config.d.ts +0 -0
- /package/{dist/types/Pie → Pie}/index.d.ts +0 -0
- /package/{dist/types/Pie → Pie}/pieUtils.d.ts +0 -0
- /package/{dist/types/Punchcard → Punchcard}/Punchcard.d.ts +0 -0
- /package/{dist/types/Punchcard → Punchcard}/PurePunchcard/Punchcard.d.ts +0 -0
- /package/{dist/types/Punchcard → Punchcard}/PurePunchcard/src/PunchcardAxis.d.ts +0 -0
- /package/{dist/types/Punchcard → Punchcard}/PurePunchcard/src/PunchcardBubble.d.ts +0 -0
- /package/{dist/types/Punchcard → Punchcard}/PurePunchcard/src/PunchcardChartArea.d.ts +0 -0
- /package/{dist/types/Punchcard → Punchcard}/PurePunchcard/src/PunchcardGridLines.d.ts +0 -0
- /package/{dist/types/Punchcard → Punchcard}/PurePunchcard/src/PunchcardLegend.d.ts +0 -0
- /package/{dist/types/Punchcard → Punchcard}/PurePunchcard/src/PunchcardRow.d.ts +0 -0
- /package/{dist/types/Punchcard → Punchcard}/PurePunchcard/src/utils/punchcardUtils.d.ts +0 -0
- /package/{dist/types/Punchcard → Punchcard}/config.d.ts +0 -0
- /package/{dist/types/Punchcard → Punchcard}/index.d.ts +0 -0
- /package/{dist/types/Punchcard → Punchcard}/punchcardUtils.d.ts +0 -0
- /package/{dist/types/Rectangle → Rectangle}/Rectangle.d.ts +0 -0
- /package/{dist/types/Rectangle → Rectangle}/config.d.ts +0 -0
- /package/{dist/types/Rectangle → Rectangle}/index.d.ts +0 -0
- /package/{dist/types/Sankey → Sankey}/PureSankey/PureSankey.d.ts +0 -0
- /package/{dist/types/Sankey → Sankey}/PureSankey/SankeyLink.d.ts +0 -0
- /package/{dist/types/Sankey → Sankey}/PureSankey/SankeyModels.d.ts +0 -0
- /package/{dist/types/Sankey → Sankey}/PureSankey/SankeyNode.d.ts +0 -0
- /package/{dist/types/Sankey → Sankey}/PureSankey/SankeyTooltip.d.ts +0 -0
- /package/{dist/types/Sankey → Sankey}/PureSankey/SankeyUtils.d.ts +0 -0
- /package/{dist/types/Sankey → Sankey}/PureSankey/mockdata/data.d.ts +0 -0
- /package/{dist/types/Sankey → Sankey}/Sankey.d.ts +0 -0
- /package/{dist/types/Sankey → Sankey}/config.d.ts +0 -0
- /package/{dist/types/Sankey → Sankey}/index.d.ts +0 -0
- /package/{dist/types/Scatter → Scatter}/Scatter.d.ts +0 -0
- /package/{dist/types/Scatter → Scatter}/config.d.ts +0 -0
- /package/{dist/types/Scatter → Scatter}/index.d.ts +0 -0
- /package/{dist/types/Scatter → Scatter}/mockdata/data.d.ts +0 -0
- /package/{dist/types/Scatter → Scatter}/scatterUtils.d.ts +0 -0
- /package/{dist/types/SingleValue → SingleValue}/SingleValue.d.ts +0 -0
- /package/{dist/types/SingleValue → SingleValue}/config.d.ts +0 -0
- /package/{dist/types/SingleValue → SingleValue}/index.d.ts +0 -0
- /package/{dist/types/SingleValueBasic → SingleValueBasic}/index.d.ts +0 -0
- /package/{dist/types/SingleValueIcon → SingleValueIcon}/SingleValueIcon.d.ts +0 -0
- /package/{dist/types/SingleValueIcon → SingleValueIcon}/config.d.ts +0 -0
- /package/{dist/types/SingleValueIcon → SingleValueIcon}/index.d.ts +0 -0
- /package/{dist/types/SingleValueRadial → SingleValueRadial}/PureSingleValueRadial/GaugeGraph.d.ts +0 -0
- /package/{dist/types/SingleValueRadial → SingleValueRadial}/PureSingleValueRadial/utils/gaugeUtils.d.ts +0 -0
- /package/{dist/types/SingleValueRadial → SingleValueRadial}/SingleValueRadial.d.ts +0 -0
- /package/{dist/types/SingleValueRadial → SingleValueRadial}/config.d.ts +0 -0
- /package/{dist/types/SingleValueRadial → SingleValueRadial}/index.d.ts +0 -0
- /package/{dist/types/SparkLine → SparkLine}/index.d.ts +0 -0
- /package/{dist/types/Table → Table}/PureTable.d.ts +0 -0
- /package/{dist/types/Table → Table}/cells/ArrayCell.d.ts +0 -0
- /package/{dist/types/Table → Table}/cells/SparklineCell.d.ts +0 -0
- /package/{dist/types/Table → Table}/cells/SwitchTableCell.d.ts +0 -0
- /package/{dist/types/Table → Table}/cells/TextCell.d.ts +0 -0
- /package/{dist/types/Table → Table}/cells/index.d.ts +0 -0
- /package/{dist/types/Table → Table}/config.d.ts +0 -0
- /package/{dist/types/Table → Table}/index.d.ts +0 -0
- /package/{dist/types/Timeline → Timeline}/PureTimeline/PureTimeline.d.ts +0 -0
- /package/{dist/types/Timeline → Timeline}/PureTimeline/src/CursorPlugin.d.ts +0 -0
- /package/{dist/types/Timeline → Timeline}/PureTimeline/src/TimelineLegend.d.ts +0 -0
- /package/{dist/types/Timeline → Timeline}/PureTimeline/src/TimelineTooltip.d.ts +0 -0
- /package/{dist/types/Timeline → Timeline}/PureTimeline/src/TimelineUplot.d.ts +0 -0
- /package/{dist/types/Timeline → Timeline}/PureTimeline/src/TimelineYAxis.d.ts +0 -0
- /package/{dist/types/Timeline → Timeline}/Timeline.d.ts +0 -0
- /package/{dist/types/Timeline → Timeline}/config.d.ts +0 -0
- /package/{dist/types/Timeline → Timeline}/index.d.ts +0 -0
- /package/{dist/types/Timeline → Timeline}/mockdata/basicTimelineData.d.ts +0 -0
- /package/{dist/types/Timeline → Timeline}/mockdata/categoricalTimelineData.d.ts +0 -0
- /package/{dist/types/Timeline → Timeline}/mockdata/timelineDataSource.d.ts +0 -0
- /package/{dist/types/common → common}/ChartingApi.d.ts +0 -0
- /package/{dist/types/common → common}/DocExampleWithVizSandbox.d.ts +0 -0
- /package/{dist/types/common → common}/OverviewDoc.d.ts +0 -0
- /package/{dist/types/common → common}/SplunkVisualization.d.ts +0 -0
- /package/{dist/types/common → common}/SplunkVisualizationApi.d.ts +0 -0
- /package/{dist/types/common → common}/ThemedDefaults.d.ts +0 -0
- /package/{dist/types/common → common}/components/IconPlaceholder.d.ts +0 -0
- /package/{dist/types/common → common}/components/MissingPropsMessage.d.ts +0 -0
- /package/{dist/types/common → common}/components/TrellisTitle.d.ts +0 -0
- /package/{dist/types/common → common}/configContext/singleValueContext.d.ts +0 -0
- /package/{dist/types/common → common}/docUtils.d.ts +0 -0
- /package/{dist/types/common → common}/editorConfig/AxesChartColorAndStyle.d.ts +0 -0
- /package/{dist/types/common → common}/editorConfig/AxesChartDataConfig.d.ts +0 -0
- /package/{dist/types/common → common}/editorConfig/AxesChartDataDisplay.d.ts +0 -0
- /package/{dist/types/common → common}/editorConfig/AxesChartLegend.d.ts +0 -0
- /package/{dist/types/common → common}/editorConfig/AxesChartXGridAndLabels.d.ts +0 -0
- /package/{dist/types/common → common}/editorConfig/AxesChartY2GridAndLabels.d.ts +0 -0
- /package/{dist/types/common → common}/editorConfig/AxesChartYGridAndLabels.d.ts +0 -0
- /package/{dist/types/common → common}/editorConfig/BackgroundColor.d.ts +0 -0
- /package/{dist/types/common → common}/editorConfig/DynamicFillColorEditor.d.ts +0 -0
- /package/{dist/types/common → common}/editorConfig/DynamicGaugeColorEditor.d.ts +0 -0
- /package/{dist/types/common → common}/editorConfig/DynamicStrokeColorEditor.d.ts +0 -0
- /package/{dist/types/common → common}/editorConfig/Gauge.d.ts +0 -0
- /package/{dist/types/common → common}/editorConfig/Legend.d.ts +0 -0
- /package/{dist/types/common → common}/editorConfig/RadialBackgroundColor.d.ts +0 -0
- /package/{dist/types/common → common}/editorConfig/StaticFillColorEditor.d.ts +0 -0
- /package/{dist/types/common → common}/editorConfig/StaticGaugeColorEditor.d.ts +0 -0
- /package/{dist/types/common → common}/editorConfig/StaticStrokeColorEditor.d.ts +0 -0
- /package/{dist/types/common → common}/editorConfig/TrellisEditors.d.ts +0 -0
- /package/{dist/types/common → common}/gaugeUtils.d.ts +0 -0
- /package/{dist/types/common → common}/hocs/FixedSizeContainer.d.ts +0 -0
- /package/{dist/types/common → common}/hocs/mockdata/trellisData.d.ts +0 -0
- /package/{dist/types/common → common}/hocs/withEditModeCover.d.ts +0 -0
- /package/{dist/types/common → common}/hocs/withPlaceholder.d.ts +0 -0
- /package/{dist/types/common → common}/hocs/withTrellis.d.ts +0 -0
- /package/{dist/types/common → common}/hooks/useDeepMemo.d.ts +0 -0
- /package/{dist/types/common → common}/hooks/useDownsampleDataSources.d.ts +0 -0
- /package/{dist/types/common → common}/hooks/useEventCallback.d.ts +0 -0
- /package/{dist/types/common → common}/hooks/useGetXAndYFields.d.ts +0 -0
- /package/{dist/types/common → common}/hooks/usePagination.d.ts +0 -0
- /package/{dist/types/common → common}/hooks/usePrevious.d.ts +0 -0
- /package/{dist/types/common → common}/hooks/useSorting.d.ts +0 -0
- /package/{dist/types/common → common}/hooks/useTrellisEnabled.d.ts +0 -0
- /package/{dist/types/common → common}/interfaces/ChartEvent.d.ts +0 -0
- /package/{dist/types/common → common}/interfaces/DashboardVizProps.d.ts +0 -0
- /package/{dist/types/common → common}/interfaces/DataContract.d.ts +0 -0
- /package/{dist/types/common → common}/interfaces/DataSource.d.ts +0 -0
- /package/{dist/types/common → common}/interfaces/DefaultContext.d.ts +0 -0
- /package/{dist/types/common → common}/interfaces/Editor.d.ts +0 -0
- /package/{dist/types/common → common}/interfaces/ExtendedDashViz.d.ts +0 -0
- /package/{dist/types/common → common}/interfaces/Object.d.ts +0 -0
- /package/{dist/types/common → common}/interfaces/Overview.d.ts +0 -0
- /package/{dist/types/common → common}/interfaces/ThemedDefaults.d.ts +0 -0
- /package/{dist/types/common → common}/interfaces/VizActionHandler.d.ts +0 -0
- /package/{dist/types/common → common}/interfaces/VizBehavior.d.ts +0 -0
- /package/{dist/types/common → common}/interfaces/VizCategory.d.ts +0 -0
- /package/{dist/types/common → common}/interfaces/VizConfig.d.ts +0 -0
- /package/{dist/types/common → common}/interfaces/VizEvent.d.ts +0 -0
- /package/{dist/types/common → common}/interfaces/VizProps.d.ts +0 -0
- /package/{dist/types/common → common}/interfaces/VizRegistry.d.ts +0 -0
- /package/{dist/types/common → common}/interfaces/VizSize.d.ts +0 -0
- /package/{dist/types/common → common}/interfaces/VizStatus.d.ts +0 -0
- /package/{dist/types/common → common}/interfaces/index.d.ts +0 -0
- /package/{dist/types/common → common}/shapeUtils.d.ts +0 -0
- /package/{dist/types/common → common}/utils/configUtils.d.ts +0 -0
- /package/{dist/types/common → common}/utils/dataUtils.d.ts +0 -0
- /package/{dist/types/common → common}/utils/hocUtils.d.ts +0 -0
- /package/{dist/types/common → common}/utils/mapUtils.d.ts +0 -0
- /package/{dist/types/common → common}/utils/styleUtils.d.ts +0 -0
- /package/{dist/types/common → common}/utils/trellisUtils.d.ts +0 -0
- /package/{dist/types/common → common}/utils/urlUtils.d.ts +0 -0
package/Map.js
CHANGED
|
@@ -332,23 +332,24 @@ var getTilePreset = ({
|
|
|
332
332
|
defaultTileConfig = [],
|
|
333
333
|
customTileConfig = []
|
|
334
334
|
}) => {
|
|
335
|
-
var _a, _b;
|
|
335
|
+
var _a, _b, _c, _d;
|
|
336
336
|
const tilePreset = {};
|
|
337
337
|
let defaultTileLight = {};
|
|
338
338
|
let defaultTileDark = {};
|
|
339
|
-
const tileConfigs = [
|
|
339
|
+
const tileConfigs = [...defaultTileConfig, ...customTileConfig];
|
|
340
340
|
(0, lodash_exports.forEach)(tileConfigs, (tileConfig) => {
|
|
341
341
|
const key = tileConfig == null ? void 0 : tileConfig.key;
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
}
|
|
342
|
+
if (!key) {
|
|
343
|
+
return;
|
|
344
|
+
}
|
|
345
|
+
const updatedConfig = __spreadProps(__spreadValues({}, tileConfig), {
|
|
345
346
|
version: MAP_STYLE_VERSION_NUMBER
|
|
346
347
|
});
|
|
347
348
|
tilePreset[key] = updatedConfig;
|
|
348
349
|
});
|
|
349
350
|
if (defaultTileConfig.length > 0) {
|
|
350
|
-
defaultTileLight = (_a = defaultTileConfig.find((config2) => config2.theme === "light")) != null ? _a : defaultTileConfig.find((config2) => config2.theme === void 0);
|
|
351
|
-
defaultTileDark = (
|
|
351
|
+
defaultTileLight = (_b = (_a = defaultTileConfig.find((config2) => config2.theme === "light")) != null ? _a : defaultTileConfig.find((config2) => config2.theme === void 0)) != null ? _b : {};
|
|
352
|
+
defaultTileDark = (_d = (_c = defaultTileConfig.find((config2) => config2.theme === "dark")) != null ? _c : defaultTileConfig.find((config2) => config2.theme === void 0)) != null ? _d : {};
|
|
352
353
|
}
|
|
353
354
|
return { tilePreset, defaultTileLight, defaultTileDark };
|
|
354
355
|
};
|
|
@@ -363,6 +364,8 @@ var getMapStyle = ({
|
|
|
363
364
|
}) => {
|
|
364
365
|
if (!showBaseLayer) {
|
|
365
366
|
return {
|
|
367
|
+
name: "empty-base-layer",
|
|
368
|
+
key: "empty-base-layer",
|
|
366
369
|
version: MAP_STYLE_VERSION_NUMBER,
|
|
367
370
|
sources: {
|
|
368
371
|
"base-tiles": {
|
|
@@ -384,21 +387,23 @@ var getMapStyle = ({
|
|
|
384
387
|
]
|
|
385
388
|
};
|
|
386
389
|
}
|
|
387
|
-
if (baseLayerTileServer && tilePreset[baseLayerTileServer] && (tilePreset[baseLayerTileServer].theme
|
|
390
|
+
if (baseLayerTileServer && tilePreset[baseLayerTileServer] && (!tilePreset[baseLayerTileServer].theme || tilePreset[baseLayerTileServer].theme === colorScheme)) {
|
|
388
391
|
return tilePreset[baseLayerTileServer];
|
|
389
392
|
}
|
|
390
393
|
if (baseLayerTileServer && baseLayerTileServerType) {
|
|
391
394
|
let tiles = [];
|
|
392
|
-
if (
|
|
395
|
+
if (/^(https?):\/\/{[sS]}\./.exec(baseLayerTileServer)) {
|
|
393
396
|
tiles = [
|
|
394
|
-
baseLayerTileServer.replace(/{
|
|
395
|
-
baseLayerTileServer.replace(/{
|
|
396
|
-
baseLayerTileServer.replace(/{
|
|
397
|
+
baseLayerTileServer.replace(/{[sS]}/, "a"),
|
|
398
|
+
baseLayerTileServer.replace(/{[sS]}/, "b"),
|
|
399
|
+
baseLayerTileServer.replace(/{[sS]}/, "c")
|
|
397
400
|
];
|
|
398
401
|
} else {
|
|
399
402
|
tiles = [baseLayerTileServer];
|
|
400
403
|
}
|
|
401
404
|
const mapStyle = {
|
|
405
|
+
name: baseLayerTileServer,
|
|
406
|
+
key: baseLayerTileServer,
|
|
402
407
|
version: MAP_STYLE_VERSION_NUMBER,
|
|
403
408
|
sources: {
|
|
404
409
|
"base-tiles": {
|
|
@@ -426,9 +431,11 @@ var getZoomConstraintsFromTileConfig = (tileConfig, baseLayerTileServer) => {
|
|
|
426
431
|
const { sources, layers } = tileConfig;
|
|
427
432
|
let matchedBaseLayerTileServer = false;
|
|
428
433
|
const sourceKeys = Object.keys(sources);
|
|
429
|
-
for (
|
|
430
|
-
const
|
|
431
|
-
|
|
434
|
+
for (const key of sourceKeys) {
|
|
435
|
+
const source = sources[key];
|
|
436
|
+
const { minzoom, maxzoom } = source;
|
|
437
|
+
const tiles = Array.isArray(source == null ? void 0 : source.tiles) ? source.tiles : [];
|
|
438
|
+
if (baseLayerTileServer && tiles.includes(baseLayerTileServer)) {
|
|
432
439
|
matchedBaseLayerTileServer = true;
|
|
433
440
|
}
|
|
434
441
|
if ((baseLayerTileServer && matchedBaseLayerTileServer || !baseLayerTileServer) && (0, lodash_exports.isNumber)(minzoom) && (0, lodash_exports.isNumber)(maxzoom)) {
|
|
@@ -438,8 +445,8 @@ var getZoomConstraintsFromTileConfig = (tileConfig, baseLayerTileServer) => {
|
|
|
438
445
|
};
|
|
439
446
|
}
|
|
440
447
|
}
|
|
441
|
-
for (
|
|
442
|
-
const { minzoom, maxzoom } =
|
|
448
|
+
for (const layer of layers) {
|
|
449
|
+
const { minzoom, maxzoom } = layer;
|
|
443
450
|
if ((baseLayerTileServer && matchedBaseLayerTileServer || !baseLayerTileServer) && (0, lodash_exports.isNumber)(minzoom) && (0, lodash_exports.isNumber)(maxzoom)) {
|
|
444
451
|
return {
|
|
445
452
|
minZoom: minzoom,
|
|
@@ -452,12 +459,13 @@ var getZoomConstraintsFromTileConfig = (tileConfig, baseLayerTileServer) => {
|
|
|
452
459
|
maxZoom: 24
|
|
453
460
|
};
|
|
454
461
|
};
|
|
462
|
+
var isBaseTileConfig = (config2) => Boolean(config2 && "name" in config2 && "key" in config2 && "sources" in config2 && "layers" in config2);
|
|
455
463
|
var getZoomLevelFromGeobin = (geobinStr) => {
|
|
456
464
|
var _a;
|
|
457
465
|
if (!geobinStr) {
|
|
458
466
|
return null;
|
|
459
467
|
}
|
|
460
|
-
const geobinPattern = /bin_id_zl_(
|
|
468
|
+
const geobinPattern = /bin_id_zl_(\d{1,2})_y_/g;
|
|
461
469
|
const match = geobinPattern.exec(geobinStr);
|
|
462
470
|
return (_a = (match == null ? void 0 : match.length) && parseInt(match[1], 10)) != null ? _a : null;
|
|
463
471
|
};
|
|
@@ -465,7 +473,7 @@ var getStaticColors = (colorCount, colorArray) => {
|
|
|
465
473
|
if (colorCount < 0 || !colorCount) {
|
|
466
474
|
return [DEFAULT_CLUSTER_COLOR];
|
|
467
475
|
}
|
|
468
|
-
if (!colorArray
|
|
476
|
+
if (!(colorArray == null ? void 0 : colorArray.length)) {
|
|
469
477
|
return [...Array(colorCount).keys()].map((i) => DEFAULT_SERIES_COLORS[i]);
|
|
470
478
|
}
|
|
471
479
|
return [...Array(colorCount).keys()].map(
|
|
@@ -485,7 +493,8 @@ var matchBubbleSize = (dataRange, data) => {
|
|
|
485
493
|
return size2;
|
|
486
494
|
};
|
|
487
495
|
var transposeArray = (array2) => {
|
|
488
|
-
|
|
496
|
+
var _a;
|
|
497
|
+
if (!(array2 == null ? void 0 : array2.length) || !((_a = array2[0]) == null ? void 0 : _a.length)) {
|
|
489
498
|
return [];
|
|
490
499
|
}
|
|
491
500
|
return array2[0].map((_7, i) => array2.map((row) => row[i]));
|
|
@@ -507,8 +516,8 @@ var sortByValuesField = (bubbleLayer) => {
|
|
|
507
516
|
bubbleLayer.bubbleSize.unshift(bubbleLayer.bubbleSize.splice(index, 1)[0]);
|
|
508
517
|
};
|
|
509
518
|
var bakeBubbleData = (layer) => {
|
|
510
|
-
var _a;
|
|
511
|
-
if (!
|
|
519
|
+
var _a, _b, _c, _d;
|
|
520
|
+
if (!((_a = layer == null ? void 0 : layer.bubbleSize) == null ? void 0 : _a.length) || !((_b = layer == null ? void 0 : layer.geobin) == null ? void 0 : _b.length) || !((_c = layer == null ? void 0 : layer.latitude) == null ? void 0 : _c.length) || !((_d = layer == null ? void 0 : layer.longitude) == null ? void 0 : _d.length)) {
|
|
512
521
|
return null;
|
|
513
522
|
}
|
|
514
523
|
const sanitizedBubbleSize = sanitizeValues(layer.bubbleSize);
|
|
@@ -528,7 +537,7 @@ var bakeBubbleData = (layer) => {
|
|
|
528
537
|
transposedBubbleSize = layer.bubbleSize.map((n) => [n]);
|
|
529
538
|
transposedSanitizedBubbleSize = sanitizedBubbleSize.map((n) => [n]);
|
|
530
539
|
}
|
|
531
|
-
if (!transposedBubbleSize
|
|
540
|
+
if (!(transposedBubbleSize == null ? void 0 : transposedBubbleSize.length)) {
|
|
532
541
|
return null;
|
|
533
542
|
}
|
|
534
543
|
const data = layer.latitude.map((lat, i) => ({
|
|
@@ -566,17 +575,33 @@ var isValidLatLon = (latlon) => {
|
|
|
566
575
|
}
|
|
567
576
|
return true;
|
|
568
577
|
};
|
|
578
|
+
var getChoroplethValues = (field, choroplethLayer) => {
|
|
579
|
+
var _a;
|
|
580
|
+
if (!Array.isArray(choroplethLayer.geom) || choroplethLayer.geom.length === 0) {
|
|
581
|
+
return [];
|
|
582
|
+
}
|
|
583
|
+
const limit = (_a = choroplethLayer.resultLimit) != null ? _a : DEFAULT_RESULT_LIMIT;
|
|
584
|
+
const slicedGeomList = choroplethLayer.geom.slice(0, limit);
|
|
585
|
+
const flatCoordinates = slicedGeomList.flatMap((geomObject) => {
|
|
586
|
+
if (!geomObject) {
|
|
587
|
+
return [];
|
|
588
|
+
}
|
|
589
|
+
if (geomObject.type === "MultiPolygon") {
|
|
590
|
+
return geomObject.coordinates.flat(2);
|
|
591
|
+
}
|
|
592
|
+
if (geomObject.type === "Polygon") {
|
|
593
|
+
return geomObject.coordinates.flat();
|
|
594
|
+
}
|
|
595
|
+
return [];
|
|
596
|
+
});
|
|
597
|
+
return flatCoordinates.map((coord) => coord[field === LONGITUDE ? 0 : 1]);
|
|
598
|
+
};
|
|
569
599
|
var getLatOrLonCoordinates = (layer, field) => {
|
|
570
600
|
const getClusterValues = (clusterLayer) => (0, lodash_exports.get)(clusterLayer, field, []).slice(
|
|
571
601
|
0,
|
|
572
602
|
clusterLayer.type === visualization_schemas_exports.LAYER_TYPE.Marker && clusterLayer.resultLimit ? clusterLayer.resultLimit : DEFAULT_RESULT_LIMIT
|
|
573
603
|
);
|
|
574
|
-
|
|
575
|
-
const slicedGeomList = choroplethLayer.geom.slice(0, choroplethLayer.resultLimit);
|
|
576
|
-
const flatCoordinates = slicedGeomList.flatMap((geomObject) => geomObject.coordinates.flat(2));
|
|
577
|
-
return flatCoordinates.map((coord) => coord[field === LONGITUDE ? 0 : 1]);
|
|
578
|
-
};
|
|
579
|
-
return layer.type === visualization_schemas_exports.LAYER_TYPE.Choropleth ? getChoroplethValues(layer) : getClusterValues(layer);
|
|
604
|
+
return layer.type === visualization_schemas_exports.LAYER_TYPE.Choropleth ? getChoroplethValues(field, layer) : getClusterValues(layer);
|
|
580
605
|
};
|
|
581
606
|
var getGlobalLayerBoundaries = (layers) => {
|
|
582
607
|
const isLayerValid = (field) => layers.every((layer) => layer[field] || layer.geom);
|
|
@@ -608,6 +633,15 @@ var getGlobalLayerBoundaries = (layers) => {
|
|
|
608
633
|
[getMax(LONGITUDE), getMax(LATITUDE)]
|
|
609
634
|
];
|
|
610
635
|
};
|
|
636
|
+
var formatTooltipFieldValue = (value) => {
|
|
637
|
+
if (value === null || value === void 0) {
|
|
638
|
+
return "";
|
|
639
|
+
}
|
|
640
|
+
if (typeof value === "string" || typeof value === "number") {
|
|
641
|
+
return value;
|
|
642
|
+
}
|
|
643
|
+
return JSON.stringify(value);
|
|
644
|
+
};
|
|
611
645
|
var getScaledOpacities = (colors, cfgOpacity) => {
|
|
612
646
|
const opacities = colors == null ? void 0 : colors.map((color) => {
|
|
613
647
|
var _a;
|
|
@@ -627,7 +661,7 @@ var compareBaseStyles = (curr, next) => {
|
|
|
627
661
|
return (0, lodash_exports.isEqual)(currBaseLayer, nextBaseLayer) && (0, lodash_exports.isEqual)(currBaseSource, nextBaseSource);
|
|
628
662
|
};
|
|
629
663
|
var formatMetadata = (choroplethLayer, i) => {
|
|
630
|
-
if (!choroplethLayer
|
|
664
|
+
if (!(choroplethLayer == null ? void 0 : choroplethLayer.areaIds) || !(choroplethLayer == null ? void 0 : choroplethLayer.areaValues)) return {};
|
|
631
665
|
if (i >= choroplethLayer.areaIds.length) return {};
|
|
632
666
|
const metadata = choroplethLayer.metadata ? choroplethLayer.metadata[i] : {};
|
|
633
667
|
const name = choroplethLayer.areaIds[i];
|
|
@@ -1452,18 +1486,21 @@ var ChoroplethLayer = (props) => {
|
|
|
1452
1486
|
);
|
|
1453
1487
|
const areaIdSliced = (_h = (_g = choroplethLayer == null ? void 0 : choroplethLayer.areaIds) == null ? void 0 : _g.slice(0, limit)) != null ? _h : [];
|
|
1454
1488
|
const uniqueAreaIdSliced = (0, lodash_exports.uniq)(areaIdSliced).length !== areaIdSliced.length ? areaIdSliced.map((id, i) => `${id}${i}`) : areaIdSliced;
|
|
1455
|
-
const additionalFields = (choroplethLayer == null ? void 0 : choroplethLayer.metadata) ? choroplethLayer.metadata.map(
|
|
1456
|
-
(
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1489
|
+
const additionalFields = (choroplethLayer == null ? void 0 : choroplethLayer.metadata) ? choroplethLayer.metadata.map((choroplethMetadata) => {
|
|
1490
|
+
if (choroplethLayer.additionalTooltipFields) {
|
|
1491
|
+
return choroplethLayer.additionalTooltipFields.map((field) => ({
|
|
1492
|
+
name: field,
|
|
1493
|
+
value: formatTooltipFieldValue(choroplethMetadata[field])
|
|
1494
|
+
}));
|
|
1495
|
+
}
|
|
1496
|
+
return [];
|
|
1497
|
+
}) : [];
|
|
1461
1498
|
const tooltipHeaderField = (choroplethLayer == null ? void 0 : choroplethLayer.tooltipHeaderField) || null;
|
|
1462
1499
|
const handleMapClick = (e, i) => {
|
|
1463
1500
|
const payload = formatMetadata(choroplethLayer, i);
|
|
1464
1501
|
onMapClick({ e, payload });
|
|
1465
1502
|
};
|
|
1466
|
-
if (!map || !choroplethLayer
|
|
1503
|
+
if (!map || !(choroplethLayer == null ? void 0 : choroplethLayer.geom)) {
|
|
1467
1504
|
return null;
|
|
1468
1505
|
}
|
|
1469
1506
|
if (isThemeChanged) {
|
|
@@ -1526,9 +1563,17 @@ var LocalChoroplethLayer = (props) => {
|
|
|
1526
1563
|
var _a, _b;
|
|
1527
1564
|
const { width, height, map, choroplethLayer, isThemeChanged, setIsThemeChanged, onMapClick } = props;
|
|
1528
1565
|
const cfgOpacity = Math.min(Math.max(choroplethLayer == null ? void 0 : choroplethLayer.choroplethOpacity, 0), 1);
|
|
1529
|
-
const
|
|
1530
|
-
|
|
1531
|
-
|
|
1566
|
+
const emptyFeature = {
|
|
1567
|
+
type: "Feature",
|
|
1568
|
+
properties: { name: "" },
|
|
1569
|
+
geometry: null
|
|
1570
|
+
};
|
|
1571
|
+
const [geoJson, setGeoJson] = react_exports.useState(
|
|
1572
|
+
{
|
|
1573
|
+
type: "FeatureCollection",
|
|
1574
|
+
features: [emptyFeature]
|
|
1575
|
+
}
|
|
1576
|
+
);
|
|
1532
1577
|
const [validGeoJson, setValidGeoJson] = react_exports.useState(true);
|
|
1533
1578
|
const [geoJsonError, setGeoJsonError] = react_exports.useState({
|
|
1534
1579
|
message: ""
|
|
@@ -1550,50 +1595,55 @@ var LocalChoroplethLayer = (props) => {
|
|
|
1550
1595
|
let propertyFormat = "name";
|
|
1551
1596
|
if (choroplethLayer.areaIds && validGeoJson) {
|
|
1552
1597
|
const propertyFormats = Object.keys(geoJson.features[0].properties);
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
if (formatCheck !== void 0) {
|
|
1559
|
-
propertyFormat = formatCheck;
|
|
1560
|
-
break;
|
|
1561
|
-
}
|
|
1598
|
+
const formatCheck = geoJson.features.flatMap(
|
|
1599
|
+
(element) => propertyFormats.filter((key) => element.properties[key] === choroplethLayer.areaIds[0])
|
|
1600
|
+
)[0];
|
|
1601
|
+
if (formatCheck !== void 0) {
|
|
1602
|
+
propertyFormat = formatCheck;
|
|
1562
1603
|
}
|
|
1563
1604
|
}
|
|
1564
1605
|
return propertyFormat;
|
|
1565
1606
|
}, [choroplethLayer.areaIds, geoJson]);
|
|
1566
1607
|
const colors = (_a = choroplethLayer == null ? void 0 : choroplethLayer.dataColors) == null ? void 0 : _a.map((color) => (color == null ? void 0 : color.length) > 7 ? color.slice(0, 7) : color);
|
|
1567
1608
|
const scaledOpacities = (_b = getScaledOpacities(choroplethLayer == null ? void 0 : choroplethLayer.dataColors, cfgOpacity)) != null ? _b : [];
|
|
1568
|
-
const
|
|
1569
|
-
const
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
} else {
|
|
1589
|
-
choroplethData.idx = choroplethLayer.areaIds.length;
|
|
1590
|
-
}
|
|
1591
|
-
}
|
|
1592
|
-
allChoroplethData.push(choroplethData);
|
|
1609
|
+
const buildChoroplethData = (el) => {
|
|
1610
|
+
const choroplethData = {
|
|
1611
|
+
color: choroplethLayer.choroplethEmptyAreaColor,
|
|
1612
|
+
areaValue: "No Data",
|
|
1613
|
+
opacity: cfgOpacity,
|
|
1614
|
+
name: "",
|
|
1615
|
+
idx: 0
|
|
1616
|
+
};
|
|
1617
|
+
const rawName = el.properties[updatedPropertyFormat];
|
|
1618
|
+
choroplethData.name = typeof rawName === "string" || typeof rawName === "number" ? String(rawName) : "";
|
|
1619
|
+
if (choroplethLayer.areaIds) {
|
|
1620
|
+
const lookupValue = choroplethData.name;
|
|
1621
|
+
const dataIdx = choroplethLayer.areaIds.indexOf(lookupValue);
|
|
1622
|
+
if (dataIdx !== -1) {
|
|
1623
|
+
choroplethData.color = colors[dataIdx];
|
|
1624
|
+
choroplethData.areaValue = choroplethLayer.areaValues[dataIdx];
|
|
1625
|
+
choroplethData.opacity = scaledOpacities[dataIdx];
|
|
1626
|
+
choroplethData.idx = dataIdx;
|
|
1627
|
+
} else {
|
|
1628
|
+
choroplethData.idx = choroplethLayer.areaIds.length;
|
|
1593
1629
|
}
|
|
1594
1630
|
}
|
|
1595
|
-
return
|
|
1596
|
-
}
|
|
1631
|
+
return choroplethData;
|
|
1632
|
+
};
|
|
1633
|
+
const updatedAllChoroplethData = react_exports.useMemo(() => {
|
|
1634
|
+
if (!validGeoJson) return [];
|
|
1635
|
+
return geoJson.features.map((el) => buildChoroplethData(el));
|
|
1636
|
+
}, [
|
|
1637
|
+
choroplethLayer.areaIds,
|
|
1638
|
+
choroplethLayer.areaValues,
|
|
1639
|
+
choroplethLayer.choroplethEmptyAreaColor,
|
|
1640
|
+
colors,
|
|
1641
|
+
scaledOpacities,
|
|
1642
|
+
cfgOpacity,
|
|
1643
|
+
validGeoJson,
|
|
1644
|
+
geoJson.features,
|
|
1645
|
+
updatedPropertyFormat
|
|
1646
|
+
]);
|
|
1597
1647
|
const handleMapClick = (e, i) => {
|
|
1598
1648
|
const payload = formatMetadata(choroplethLayer, i);
|
|
1599
1649
|
onMapClick({ e, payload });
|
|
@@ -1601,15 +1651,14 @@ var LocalChoroplethLayer = (props) => {
|
|
|
1601
1651
|
if (isThemeChanged) {
|
|
1602
1652
|
setIsThemeChanged(false);
|
|
1603
1653
|
}
|
|
1604
|
-
const additionalFields = (choroplethLayer == null ? void 0 : choroplethLayer.metadata) ? choroplethLayer.metadata.map(
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
) : [];
|
|
1654
|
+
const additionalFields = (choroplethLayer == null ? void 0 : choroplethLayer.metadata) ? choroplethLayer.metadata.map((choroplethMetadata) => {
|
|
1655
|
+
var _a2;
|
|
1656
|
+
const tooltipFields = (_a2 = choroplethLayer.additionalTooltipFields) != null ? _a2 : [];
|
|
1657
|
+
return tooltipFields.map((field) => ({
|
|
1658
|
+
name: field,
|
|
1659
|
+
value: formatTooltipFieldValue(choroplethMetadata[field])
|
|
1660
|
+
}));
|
|
1661
|
+
}) : [];
|
|
1613
1662
|
return /* @__PURE__ */ react_exports.createElement("div", null, !validGeoJson && /* @__PURE__ */ react_exports.createElement(
|
|
1614
1663
|
Message_default,
|
|
1615
1664
|
{
|
|
@@ -1620,6 +1669,9 @@ var LocalChoroplethLayer = (props) => {
|
|
|
1620
1669
|
message: geoJsonError.message
|
|
1621
1670
|
}
|
|
1622
1671
|
), validGeoJson && updatedAllChoroplethData.map((el, i) => {
|
|
1672
|
+
var _a2, _b2;
|
|
1673
|
+
const geometry = (_a2 = geoJson.features[i]) == null ? void 0 : _a2.geometry;
|
|
1674
|
+
const geomData = geometry && (geometry.type === "MultiPolygon" || geometry.type === "Polygon") ? geometry : null;
|
|
1623
1675
|
return /* @__PURE__ */ react_exports.createElement(
|
|
1624
1676
|
Choropleth,
|
|
1625
1677
|
{
|
|
@@ -1630,12 +1682,12 @@ var LocalChoroplethLayer = (props) => {
|
|
|
1630
1682
|
opacity: el.opacity,
|
|
1631
1683
|
strokeColor: choroplethLayer.choroplethStrokeColor,
|
|
1632
1684
|
areaId: el.name,
|
|
1633
|
-
areaValue: el.areaValue,
|
|
1685
|
+
areaValue: typeof el.areaValue === "number" ? el.areaValue : Number(el.areaValue),
|
|
1634
1686
|
handleMapClick: (e) => handleMapClick(e, el.idx),
|
|
1635
1687
|
isThemeChanged,
|
|
1636
|
-
geomData
|
|
1688
|
+
geomData,
|
|
1637
1689
|
additionalFields: additionalFields[el.idx],
|
|
1638
|
-
tooltipHeader: choroplethLayer.tooltipHeaderField
|
|
1690
|
+
tooltipHeader: (_b2 = choroplethLayer.tooltipHeaderField) == null ? void 0 : _b2[el.idx]
|
|
1639
1691
|
}
|
|
1640
1692
|
);
|
|
1641
1693
|
}));
|
|
@@ -1800,6 +1852,10 @@ var PureMap = (props) => {
|
|
|
1800
1852
|
}
|
|
1801
1853
|
setMapIsLoaded(true);
|
|
1802
1854
|
setTimeout(() => {
|
|
1855
|
+
var _a;
|
|
1856
|
+
if ((_a = map == null ? void 0 : map.current) == null ? void 0 : _a.redraw) {
|
|
1857
|
+
map.current.redraw();
|
|
1858
|
+
}
|
|
1803
1859
|
if (onMapLoad && typeof onMapLoad.exec === "function") {
|
|
1804
1860
|
onMapLoad.exec();
|
|
1805
1861
|
}
|
|
@@ -1871,6 +1927,9 @@ var PureMap = (props) => {
|
|
|
1871
1927
|
defaultTileLight,
|
|
1872
1928
|
defaultTileDark
|
|
1873
1929
|
});
|
|
1930
|
+
if (!isBaseTileConfig(mapStyle)) {
|
|
1931
|
+
return;
|
|
1932
|
+
}
|
|
1874
1933
|
mapStyle.version = MAP_STYLE_VERSION_NUMBER;
|
|
1875
1934
|
if (map.current) {
|
|
1876
1935
|
const curr = map.current.getStyle();
|
|
@@ -2976,7 +3035,7 @@ var Cover = styled_components_default.div`
|
|
|
2976
3035
|
bottom: 0;
|
|
2977
3036
|
`;
|
|
2978
3037
|
var Blocker = styled_components_default.div.attrs({
|
|
2979
|
-
"data-splunk-visualization-version": "28.
|
|
3038
|
+
"data-splunk-visualization-version": "28.3.0 - 843e0f60b"
|
|
2980
3039
|
})`
|
|
2981
3040
|
position: relative;
|
|
2982
3041
|
width: 100%;
|
|
@@ -3048,7 +3107,7 @@ var withFixedSizeContainer = (Viz) => {
|
|
|
3048
3107
|
FixSizeItem,
|
|
3049
3108
|
{
|
|
3050
3109
|
"data-test": "fix-size-item",
|
|
3051
|
-
"data-splunk-visualization-version": "28.
|
|
3110
|
+
"data-splunk-visualization-version": "28.3.0 - 843e0f60b",
|
|
3052
3111
|
width,
|
|
3053
3112
|
height,
|
|
3054
3113
|
backgroundColor
|
|
@@ -3619,9 +3678,14 @@ var getAnnotationsForCanvas = ({
|
|
|
3619
3678
|
var StyledTriangle = styled_components_default(Triangle_default)`
|
|
3620
3679
|
color: ${(props) => props.eventColor || variables_default.severityColorNotice(props)};
|
|
3621
3680
|
`;
|
|
3622
|
-
var triangleEventAnnotationRenderer = ({
|
|
3681
|
+
var triangleEventAnnotationRenderer = ({
|
|
3682
|
+
event,
|
|
3683
|
+
dimensions
|
|
3684
|
+
}) => {
|
|
3623
3685
|
const eventWithColor = event;
|
|
3624
3686
|
return react_default.createElement(StyledTriangle, {
|
|
3687
|
+
width: `${dimensions.width}px`,
|
|
3688
|
+
height: `${dimensions.height}px`,
|
|
3625
3689
|
viewBox: "0 0 24 24",
|
|
3626
3690
|
variant: "filled",
|
|
3627
3691
|
eventColor: eventWithColor.color
|
|
@@ -3711,12 +3775,15 @@ var getFieldName = (field) => {
|
|
|
3711
3775
|
var getFieldNames = (fields) => {
|
|
3712
3776
|
return fields.map((field) => getFieldName(field));
|
|
3713
3777
|
};
|
|
3714
|
-
var getXScaleConfig = (label) => {
|
|
3778
|
+
var getXScaleConfig = (label, xAxisLabelVisibility) => {
|
|
3715
3779
|
const xConfig = { x: {} };
|
|
3716
3780
|
xConfig.x.label = label;
|
|
3781
|
+
if (xAxisLabelVisibility === "hide") {
|
|
3782
|
+
xConfig.x.hideLabels = true;
|
|
3783
|
+
}
|
|
3717
3784
|
return xConfig;
|
|
3718
3785
|
};
|
|
3719
|
-
var getYScaleConfig = (label, yAxisAbbreviation, yAxisScale) => {
|
|
3786
|
+
var getYScaleConfig = (label, yAxisAbbreviation, yAxisScale, yAxisLabelVisibility) => {
|
|
3720
3787
|
const scaleType = yAxisScale != null ? yAxisScale : "linear";
|
|
3721
3788
|
const yConfig = { y: {} };
|
|
3722
3789
|
yConfig.y.label = label;
|
|
@@ -3729,9 +3796,12 @@ var getYScaleConfig = (label, yAxisAbbreviation, yAxisScale) => {
|
|
|
3729
3796
|
} else {
|
|
3730
3797
|
yConfig.y.width = label && label.length > 0 ? 30 : 10;
|
|
3731
3798
|
}
|
|
3799
|
+
if (yAxisLabelVisibility === "hide") {
|
|
3800
|
+
yConfig.y.hideLabels = true;
|
|
3801
|
+
}
|
|
3732
3802
|
return yConfig;
|
|
3733
3803
|
};
|
|
3734
|
-
var getY2ScaleConfig = (label, axisAbbreviation, axisScale, roundAxisLabelsToInteger) => {
|
|
3804
|
+
var getY2ScaleConfig = (label, axisAbbreviation, axisScale, roundAxisLabelsToInteger, y2AxisLabelVisibility) => {
|
|
3735
3805
|
const y2Config = { y2: {} };
|
|
3736
3806
|
const scaleType = axisScale != null ? axisScale : "linear";
|
|
3737
3807
|
y2Config.y2.label = label;
|
|
@@ -3743,9 +3813,12 @@ var getY2ScaleConfig = (label, axisAbbreviation, axisScale, roundAxisLabelsToInt
|
|
|
3743
3813
|
} else if (roundAxisLabelsToInteger) {
|
|
3744
3814
|
y2Config.y2.tickFmt = (v) => roundAxisLabelsToInteger ? Math.round(v).toString() : v.toString();
|
|
3745
3815
|
}
|
|
3816
|
+
if (y2AxisLabelVisibility === "hide") {
|
|
3817
|
+
y2Config.y2.hideLabels = true;
|
|
3818
|
+
}
|
|
3746
3819
|
return y2Config;
|
|
3747
3820
|
};
|
|
3748
|
-
var getSeriesOverrides = (yfields, y2fields, lineWidth, overlayFields, y2Enabled, nullValueMode) => {
|
|
3821
|
+
var getSeriesOverrides = (yfields, y2fields, lineWidth, overlayFields, y2Enabled, nullValueMode, markerDisplay) => {
|
|
3749
3822
|
const seriesConfig = {};
|
|
3750
3823
|
let spanGaps;
|
|
3751
3824
|
let replaceNullsWithZero;
|
|
@@ -3777,6 +3850,9 @@ var getSeriesOverrides = (yfields, y2fields, lineWidth, overlayFields, y2Enabled
|
|
|
3777
3850
|
if (overlayFields == null ? void 0 : overlayFields.includes(field)) {
|
|
3778
3851
|
seriesConfig[field].type = "line";
|
|
3779
3852
|
}
|
|
3853
|
+
if (markerDisplay !== void 0) {
|
|
3854
|
+
seriesConfig[field].markerDisplay = markerDisplay;
|
|
3855
|
+
}
|
|
3780
3856
|
if (replaceNullsWithZero !== void 0) {
|
|
3781
3857
|
seriesConfig[field].replaceNullsWithZero = replaceNullsWithZero;
|
|
3782
3858
|
}
|
|
@@ -3793,27 +3869,30 @@ var TimeSeriesChartContainer = styled_components_default.div`
|
|
|
3793
3869
|
position: absolute !important; // This is needed for canvas element export pdf/png to work correctly
|
|
3794
3870
|
}
|
|
3795
3871
|
`;
|
|
3796
|
-
var handleClick = (chartEvent,
|
|
3872
|
+
var handleClick = (chartEvent, onClick) => {
|
|
3797
3873
|
const payload = __spreadProps(__spreadValues({}, (0, lodash_exports.pick)(chartEvent, "value", "seriesKey")), {
|
|
3798
3874
|
name: chartEvent.seriesKey
|
|
3799
3875
|
});
|
|
3800
3876
|
delete payload.seriesKey;
|
|
3801
|
-
|
|
3802
|
-
|
|
3803
|
-
|
|
3877
|
+
if (chartEvent.rowContext) {
|
|
3878
|
+
Object.keys(chartEvent.rowContext).forEach((fieldName) => {
|
|
3879
|
+
payload[`row.${fieldName}.value`] = chartEvent.rowContext[fieldName];
|
|
3880
|
+
});
|
|
3881
|
+
}
|
|
3882
|
+
if (onClick) {
|
|
3883
|
+
onClick({
|
|
3804
3884
|
type: "point.click",
|
|
3805
3885
|
originalEvent: chartEvent,
|
|
3806
3886
|
payload
|
|
3807
3887
|
});
|
|
3808
3888
|
}
|
|
3809
3889
|
};
|
|
3810
|
-
var handleLegendClick = (chartEvent,
|
|
3890
|
+
var handleLegendClick = (chartEvent, onClick) => {
|
|
3811
3891
|
const payload = {
|
|
3812
3892
|
name: chartEvent
|
|
3813
3893
|
};
|
|
3814
|
-
|
|
3815
|
-
|
|
3816
|
-
clickHandler({
|
|
3894
|
+
if (onClick) {
|
|
3895
|
+
onClick({
|
|
3817
3896
|
type: "legend.click",
|
|
3818
3897
|
originalEvent: chartEvent,
|
|
3819
3898
|
payload
|
|
@@ -3821,7 +3900,21 @@ var handleLegendClick = (chartEvent, props) => {
|
|
|
3821
3900
|
}
|
|
3822
3901
|
};
|
|
3823
3902
|
var TimeSeriesChartWrapper = (props) => {
|
|
3824
|
-
const {
|
|
3903
|
+
const {
|
|
3904
|
+
width,
|
|
3905
|
+
height,
|
|
3906
|
+
chartData,
|
|
3907
|
+
options,
|
|
3908
|
+
userLocale,
|
|
3909
|
+
annotationX,
|
|
3910
|
+
annotationLabel,
|
|
3911
|
+
annotationColor,
|
|
3912
|
+
legendDisplay,
|
|
3913
|
+
markerDisplay,
|
|
3914
|
+
onClick,
|
|
3915
|
+
onPointMouseOver,
|
|
3916
|
+
onPointMouseOut
|
|
3917
|
+
} = props;
|
|
3825
3918
|
const {
|
|
3826
3919
|
backgroundColor,
|
|
3827
3920
|
seriesColors: seriesColorsStr,
|
|
@@ -3832,6 +3925,9 @@ var TimeSeriesChartWrapper = (props) => {
|
|
|
3832
3925
|
"axisTitleX.visibility": xAxisTitleVisibility,
|
|
3833
3926
|
"axisTitleY.visibility": yAxisTitleVisibility,
|
|
3834
3927
|
"axisTitleY2.visibility": y2AxisTitleVisibility,
|
|
3928
|
+
"axisLabelsX.majorLabelVisibility": xAxisLabelVisibility,
|
|
3929
|
+
"axisLabelsY.majorLabelVisibility": yAxisLabelVisibility,
|
|
3930
|
+
"axisLabelsY2.majorLabelVisibility": y2AxisLabelVisibility,
|
|
3835
3931
|
"axisY.abbreviation": yAxisAbbreviation,
|
|
3836
3932
|
"axisY.scale": yAxisScale,
|
|
3837
3933
|
"axisY2.abbreviation": y2AxisAbbreviation,
|
|
@@ -3868,11 +3964,17 @@ var TimeSeriesChartWrapper = (props) => {
|
|
|
3868
3964
|
const fieldsForY2Axis = y2Fields.length > 0 ? y2Fields : overlayFields;
|
|
3869
3965
|
let y2AxisTitle = getComputedAxisTitles(y2AxisTitleText, fieldsForY2Axis, y2AxisTitleVisibility);
|
|
3870
3966
|
y2AxisTitle = ellipsisAxisTitle(y2AxisTitle, containerHeight);
|
|
3871
|
-
const xScaleConfig = getXScaleConfig(xAxisTitle);
|
|
3872
|
-
const yScaleConfig = getYScaleConfig(yAxisTitle, yAxisAbbreviation, yAxisScale);
|
|
3967
|
+
const xScaleConfig = getXScaleConfig(xAxisTitle, xAxisLabelVisibility);
|
|
3968
|
+
const yScaleConfig = getYScaleConfig(yAxisTitle, yAxisAbbreviation, yAxisScale, yAxisLabelVisibility);
|
|
3873
3969
|
let y2ScaleConfig = {};
|
|
3874
3970
|
if (y2Enabled) {
|
|
3875
|
-
y2ScaleConfig = getY2ScaleConfig(
|
|
3971
|
+
y2ScaleConfig = getY2ScaleConfig(
|
|
3972
|
+
y2AxisTitle,
|
|
3973
|
+
y2AxisAbbreviation,
|
|
3974
|
+
y2AxisScale,
|
|
3975
|
+
y2IntegerUnits,
|
|
3976
|
+
y2AxisLabelVisibility
|
|
3977
|
+
);
|
|
3876
3978
|
}
|
|
3877
3979
|
const uplotContainerElement = (0, react_exports.useRef)(null);
|
|
3878
3980
|
const seriesDataFormatted = [
|
|
@@ -3881,24 +3983,87 @@ var TimeSeriesChartWrapper = (props) => {
|
|
|
3881
3983
|
];
|
|
3882
3984
|
chartData.fields = filteredChartData.fields;
|
|
3883
3985
|
chartData.columns = seriesDataFormatted;
|
|
3884
|
-
const seriesOverrides =
|
|
3885
|
-
|
|
3886
|
-
|
|
3887
|
-
|
|
3888
|
-
|
|
3889
|
-
|
|
3890
|
-
|
|
3986
|
+
const seriesOverrides = (0, react_exports.useMemo)(
|
|
3987
|
+
() => getSeriesOverrides(
|
|
3988
|
+
yFields,
|
|
3989
|
+
y2Fields,
|
|
3990
|
+
lineWidth,
|
|
3991
|
+
overlayFields,
|
|
3992
|
+
y2Enabled,
|
|
3993
|
+
nullValueMode,
|
|
3994
|
+
markerDisplay
|
|
3995
|
+
),
|
|
3996
|
+
[yFields, y2Fields, lineWidth, overlayFields, y2Enabled, nullValueMode, markerDisplay]
|
|
3997
|
+
);
|
|
3998
|
+
const chartingEventAnnotations = (0, react_exports.useMemo)(
|
|
3999
|
+
() => getAnnotationsForCanvas({
|
|
4000
|
+
annotationX,
|
|
4001
|
+
annotationColor,
|
|
4002
|
+
annotationLabel
|
|
4003
|
+
}),
|
|
4004
|
+
[annotationX, annotationColor, annotationLabel]
|
|
4005
|
+
);
|
|
4006
|
+
const scaleConfig = (0, react_exports.useMemo)(
|
|
4007
|
+
() => __spreadValues(__spreadValues(__spreadValues({}, xScaleConfig), yScaleConfig), y2ScaleConfig),
|
|
4008
|
+
[xScaleConfig, yScaleConfig, y2ScaleConfig]
|
|
4009
|
+
);
|
|
4010
|
+
const legend = (0, react_exports.useMemo)(() => getLegend({ legendDisplay }), [legendDisplay]);
|
|
4011
|
+
const handleChartClick = react_exports.useCallback(
|
|
4012
|
+
(event) => {
|
|
4013
|
+
if (onClick) {
|
|
4014
|
+
handleClick(event, onClick);
|
|
4015
|
+
}
|
|
4016
|
+
},
|
|
4017
|
+
[onClick]
|
|
4018
|
+
);
|
|
4019
|
+
const handleChartLegendClick = react_exports.useCallback(
|
|
4020
|
+
(event) => {
|
|
4021
|
+
if (onClick) {
|
|
4022
|
+
handleLegendClick(event, onClick);
|
|
4023
|
+
}
|
|
4024
|
+
},
|
|
4025
|
+
[onClick]
|
|
4026
|
+
);
|
|
4027
|
+
const lastPayloadRef = react_exports.useRef(null);
|
|
4028
|
+
const lastOriginalEventRef = react_exports.useRef(null);
|
|
4029
|
+
const handleChartCrosshairChange = react_exports.useCallback(
|
|
4030
|
+
(event) => {
|
|
4031
|
+
if (onPointMouseOver || onPointMouseOut) {
|
|
4032
|
+
if (!event) {
|
|
4033
|
+
if (onPointMouseOut && lastPayloadRef.current) {
|
|
4034
|
+
onPointMouseOut({
|
|
4035
|
+
type: "point.mouseout",
|
|
4036
|
+
originalEvent: lastOriginalEventRef.current,
|
|
4037
|
+
payload: lastPayloadRef.current
|
|
4038
|
+
});
|
|
4039
|
+
}
|
|
4040
|
+
return;
|
|
4041
|
+
}
|
|
4042
|
+
const payload = __spreadProps(__spreadValues({}, (0, lodash_exports.pick)(event, "value", "seriesKey", "time", "index", "seriesIndex")), {
|
|
4043
|
+
name: event.seriesKey
|
|
4044
|
+
});
|
|
4045
|
+
delete payload.seriesKey;
|
|
4046
|
+
if (event.rowContext) {
|
|
4047
|
+
Object.keys(event.rowContext).forEach((fieldName) => {
|
|
4048
|
+
payload[`row.${fieldName}.value`] = event.rowContext[fieldName];
|
|
4049
|
+
});
|
|
4050
|
+
}
|
|
4051
|
+
lastPayloadRef.current = payload;
|
|
4052
|
+
lastOriginalEventRef.current = event;
|
|
4053
|
+
if (onPointMouseOver) {
|
|
4054
|
+
onPointMouseOver({
|
|
4055
|
+
type: "point.mouseover",
|
|
4056
|
+
originalEvent: event,
|
|
4057
|
+
payload
|
|
4058
|
+
});
|
|
4059
|
+
}
|
|
4060
|
+
}
|
|
4061
|
+
},
|
|
4062
|
+
[onPointMouseOver, onPointMouseOut]
|
|
3891
4063
|
);
|
|
3892
|
-
const chartingEventAnnotations = getAnnotationsForCanvas({
|
|
3893
|
-
annotationX,
|
|
3894
|
-
annotationColor,
|
|
3895
|
-
annotationLabel
|
|
3896
|
-
});
|
|
3897
|
-
const MemoizedChart = react_exports.memo(visualization_canvas_exports.TimeSeriesChart);
|
|
3898
|
-
const scaleConfig = __spreadValues(__spreadValues(__spreadValues({}, xScaleConfig), yScaleConfig), y2ScaleConfig);
|
|
3899
4064
|
const memoizedChart = (0, react_exports.useMemo)(
|
|
3900
4065
|
() => /* @__PURE__ */ react_exports.createElement(
|
|
3901
|
-
|
|
4066
|
+
visualization_canvas_exports.TimeSeriesChart,
|
|
3902
4067
|
{
|
|
3903
4068
|
data: chartData,
|
|
3904
4069
|
width: containerWidth,
|
|
@@ -3906,34 +4071,39 @@ var TimeSeriesChartWrapper = (props) => {
|
|
|
3906
4071
|
seriesColors,
|
|
3907
4072
|
seriesColorsByField,
|
|
3908
4073
|
seriesConfig: seriesOverrides,
|
|
3909
|
-
legend
|
|
4074
|
+
legend,
|
|
3910
4075
|
scaleConfig,
|
|
3911
4076
|
timestampFormat: "expanded",
|
|
3912
|
-
onCrosshairClick:
|
|
3913
|
-
|
|
4077
|
+
onCrosshairClick: onClick ? handleChartClick : void 0,
|
|
4078
|
+
onCrosshairChange: onPointMouseOver || onPointMouseOut ? handleChartCrosshairChange : void 0,
|
|
4079
|
+
onSeriesClick: onClick ? handleChartLegendClick : void 0,
|
|
3914
4080
|
userLocale,
|
|
3915
4081
|
events: chartingEventAnnotations,
|
|
3916
4082
|
eventsConfig: { renderer: triangleEventAnnotationRenderer }
|
|
3917
4083
|
}
|
|
3918
4084
|
),
|
|
3919
4085
|
[
|
|
3920
|
-
MemoizedChart,
|
|
3921
4086
|
chartData,
|
|
3922
4087
|
containerWidth,
|
|
3923
4088
|
containerHeight,
|
|
3924
4089
|
seriesColors,
|
|
3925
4090
|
seriesColorsByField,
|
|
3926
4091
|
seriesOverrides,
|
|
3927
|
-
|
|
3928
|
-
props,
|
|
4092
|
+
legend,
|
|
3929
4093
|
scaleConfig,
|
|
3930
4094
|
userLocale,
|
|
3931
|
-
chartingEventAnnotations
|
|
4095
|
+
chartingEventAnnotations,
|
|
4096
|
+
onClick,
|
|
4097
|
+
handleChartClick,
|
|
4098
|
+
onPointMouseOver,
|
|
4099
|
+
onPointMouseOut,
|
|
4100
|
+
handleChartCrosshairChange,
|
|
4101
|
+
handleChartLegendClick
|
|
3932
4102
|
]
|
|
3933
4103
|
);
|
|
3934
4104
|
const memoizedVisualization = (0, react_exports.useMemo)(() => {
|
|
3935
4105
|
return /* @__PURE__ */ react_exports.createElement(VizStyleWrapper_default, { backgroundColor }, memoizedChart);
|
|
3936
|
-
}, [backgroundColor]);
|
|
4106
|
+
}, [backgroundColor, memoizedChart]);
|
|
3937
4107
|
return /* @__PURE__ */ react_exports.createElement(
|
|
3938
4108
|
TimeSeriesChartContainer,
|
|
3939
4109
|
{
|
|
@@ -3949,6 +4119,7 @@ var TimeSeriesChartWrapper = (props) => {
|
|
|
3949
4119
|
var TimeSeriesChartWrapper_default = TimeSeriesChartWrapper;
|
|
3950
4120
|
|
|
3951
4121
|
// src/common/withDashboardViz.tsx
|
|
4122
|
+
var SanitizedTimeSeriesChartWrapper = (0, SanitizeProps_exports.withSanitizedProps)(TimeSeriesChartWrapper_default);
|
|
3952
4123
|
var withDashboardViz = (opts) => {
|
|
3953
4124
|
const {
|
|
3954
4125
|
ReactViz,
|
|
@@ -3957,6 +4128,7 @@ var withDashboardViz = (opts) => {
|
|
|
3957
4128
|
},
|
|
3958
4129
|
computeVizPropsBeforeEval = () => {
|
|
3959
4130
|
},
|
|
4131
|
+
computeDataFrames,
|
|
3960
4132
|
disableEditModeCover,
|
|
3961
4133
|
useIconPlaceholder: useIconPlaceholder2
|
|
3962
4134
|
} = opts;
|
|
@@ -4085,11 +4257,19 @@ var withDashboardViz = (opts) => {
|
|
|
4085
4257
|
);
|
|
4086
4258
|
setDataFramesInState(dataFrames);
|
|
4087
4259
|
}
|
|
4260
|
+
let mergedFrames = dataFrames;
|
|
4261
|
+
if (computeDataFrames && dataFrames) {
|
|
4262
|
+
const derivedFrames = computeDataFrames({
|
|
4263
|
+
dataSources: downsampledDataSources,
|
|
4264
|
+
options: optionsToEvaluate.options
|
|
4265
|
+
});
|
|
4266
|
+
mergedFrames = __spreadValues(__spreadValues({}, dataFrames), derivedFrames);
|
|
4267
|
+
}
|
|
4088
4268
|
const result = Options_exports.Options.evaluate(
|
|
4089
4269
|
optionsToEvaluate,
|
|
4090
4270
|
downsampledDataSources,
|
|
4091
4271
|
themeFunc,
|
|
4092
|
-
|
|
4272
|
+
mergedFrames,
|
|
4093
4273
|
getFeatureFlag(featureFlagContext, "visualizations_bypassCloneDeepOptionScope")
|
|
4094
4274
|
);
|
|
4095
4275
|
return result;
|
|
@@ -4177,7 +4357,7 @@ var withDashboardViz = (opts) => {
|
|
|
4177
4357
|
});
|
|
4178
4358
|
}
|
|
4179
4359
|
eventCallbackProps[eventCallbackPropName] = (ev) => {
|
|
4180
|
-
if (ev
|
|
4360
|
+
if (ev == null ? void 0 : ev.payload) {
|
|
4181
4361
|
payload = __spreadValues({}, ev.payload);
|
|
4182
4362
|
}
|
|
4183
4363
|
return onEventTrigger({
|
|
@@ -4201,10 +4381,7 @@ var withDashboardViz = (opts) => {
|
|
|
4201
4381
|
if (useAsyncEvaluatedOptions && Object.keys(evaluatedOptionsToUse).length === 0) {
|
|
4202
4382
|
return null;
|
|
4203
4383
|
}
|
|
4204
|
-
|
|
4205
|
-
if (isAcceleratedRenderOn) {
|
|
4206
|
-
SanitizedViz = (0, SanitizeProps_exports.withSanitizedProps)(TimeSeriesChartWrapper_default);
|
|
4207
|
-
}
|
|
4384
|
+
const SanitizedViz = isAcceleratedRenderOn ? SanitizedTimeSeriesChartWrapper : SanitizedReactViz;
|
|
4208
4385
|
return /* @__PURE__ */ react_exports.createElement(
|
|
4209
4386
|
SanitizedViz,
|
|
4210
4387
|
__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadProps(__spreadValues({}, SplunkVisualization_default.defaults), {
|