@splunk/visualizations 28.2.3 → 28.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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.config.js +0 -1
- package/Area.config.js.map +2 -2
- package/Area.js +711 -184
- 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.config.js +0 -1
- package/Bar.config.js.map +2 -2
- package/Bar.js +721 -184
- 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.config.js +0 -1
- package/Bubble.config.js.map +2 -2
- package/Bubble.js +706 -167
- package/Bubble.js.map +4 -4
- package/CHANGELOG.external.md +99 -2
- package/{dist/types/ChoroplethSvg → ChoroplethSvg}/ChoroplethSvg.d.ts +4 -3
- 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.config.js +1 -3
- package/ChoroplethSvg.config.js.map +2 -2
- package/ChoroplethSvg.js +661 -109
- package/ChoroplethSvg.js.map +4 -4
- 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.config.js +0 -1
- package/Column.config.js.map +2 -2
- package/Column.js +711 -184
- 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 +649 -107
- package/Ellipse.js.map +4 -4
- 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 +780 -193
- package/Events.js.map +4 -4
- 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 +656 -143
- package/FillerGauge.js.map +4 -4
- 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 +687 -113
- package/Image.js.map +4 -4
- 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/{dist/types/Line → Line}/mockdata/LineData.d.ts +59 -0
- package/Line/mockdata/LineData.d.ts.map +1 -0
- package/Line.config.js +0 -1
- package/Line.config.js.map +2 -2
- package/Line.js +817 -185
- 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/{dist/types/LinkGraph → LinkGraph}/PureLinkGraph/PureLinkGraph.d.ts +5 -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/{dist/types/LinkGraph → LinkGraph}/PureLinkGraph/components/Graph.d.ts +9 -1
- package/LinkGraph/PureLinkGraph/components/Graph.d.ts.map +1 -0
- package/LinkGraph/PureLinkGraph/components/GraphStyles.d.ts.map +1 -0
- package/{dist/types/LinkGraph → LinkGraph}/PureLinkGraph/components/Node.d.ts +1 -0
- package/LinkGraph/PureLinkGraph/components/Node.d.ts.map +1 -0
- package/{dist/types/LinkGraph → LinkGraph}/PureLinkGraph/components/Nodes.d.ts +1 -0
- package/LinkGraph/PureLinkGraph/components/Nodes.d.ts.map +1 -0
- package/LinkGraph/PureLinkGraph/measurementUtils.d.ts +16 -0
- package/LinkGraph/PureLinkGraph/measurementUtils.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.config.js +15 -1
- package/LinkGraph.config.js.map +2 -2
- package/LinkGraph.js +1476 -657
- package/LinkGraph.js.map +4 -4
- package/{dist/types/Map → Map}/Map.d.ts +2 -2
- package/Map/Map.d.ts.map +1 -0
- package/{dist/types/Map → Map}/PureMap/BubbleLayer.d.ts +5 -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.config.js +0 -1
- package/Map.config.js.map +2 -2
- package/Map.js +1002 -319
- package/Map.js.map +4 -4
- 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 +669 -98
- package/Markdown.js.map +4 -4
- package/{dist/types/MarkerGauge → MarkerGauge}/MarkerGauge.d.ts +5 -1
- package/MarkerGauge/MarkerGauge.d.ts.map +1 -0
- package/{dist/types/MarkerGauge → MarkerGauge}/PureMarkerGauge/MarkerGauge.d.ts +4 -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.config.js +121 -3
- package/MarkerGauge.config.js.map +3 -3
- package/MarkerGauge.js +1439 -145
- package/MarkerGauge.js.map +4 -4
- package/NetworkGraph/NetworkGraph.d.ts +22 -0
- package/NetworkGraph/NetworkGraph.d.ts.map +1 -0
- package/NetworkGraph/PureNetworkGraph/PureNetworkGraph.d.ts +60 -0
- package/NetworkGraph/PureNetworkGraph/PureNetworkGraph.d.ts.map +1 -0
- package/NetworkGraph/PureNetworkGraph/components/Link.d.ts +19 -0
- package/NetworkGraph/PureNetworkGraph/components/Link.d.ts.map +1 -0
- package/NetworkGraph/PureNetworkGraph/components/NetworkGraphSvg.d.ts +29 -0
- package/NetworkGraph/PureNetworkGraph/components/NetworkGraphSvg.d.ts.map +1 -0
- package/NetworkGraph/PureNetworkGraph/components/Node.d.ts +27 -0
- package/NetworkGraph/PureNetworkGraph/components/Node.d.ts.map +1 -0
- package/NetworkGraph/PureNetworkGraph/components/Tooltip.d.ts +12 -0
- package/NetworkGraph/PureNetworkGraph/components/Tooltip.d.ts.map +1 -0
- package/NetworkGraph/PureNetworkGraph/components/ZoomControls.d.ts +13 -0
- package/NetworkGraph/PureNetworkGraph/components/ZoomControls.d.ts.map +1 -0
- package/NetworkGraph/PureNetworkGraph/mockdata/data.d.ts +140 -0
- package/NetworkGraph/PureNetworkGraph/mockdata/data.d.ts.map +1 -0
- package/NetworkGraph/PureNetworkGraph/mockdata/datasource.d.ts +89 -0
- package/NetworkGraph/PureNetworkGraph/mockdata/datasource.d.ts.map +1 -0
- package/NetworkGraph/PureNetworkGraph/utils/forceLayout.d.ts +47 -0
- package/NetworkGraph/PureNetworkGraph/utils/forceLayout.d.ts.map +1 -0
- package/NetworkGraph/PureNetworkGraph/utils/iconLoader.d.ts +78 -0
- package/NetworkGraph/PureNetworkGraph/utils/iconLoader.d.ts.map +1 -0
- package/NetworkGraph/PureNetworkGraph/utils/networkGraphShared.d.ts +111 -0
- package/NetworkGraph/PureNetworkGraph/utils/networkGraphShared.d.ts.map +1 -0
- package/NetworkGraph/PureNetworkGraph/utils/networkGraphUtils.d.ts +123 -0
- package/NetworkGraph/PureNetworkGraph/utils/networkGraphUtils.d.ts.map +1 -0
- package/NetworkGraph/config.d.ts.map +1 -0
- package/NetworkGraph/index.d.ts +3 -0
- package/NetworkGraph/index.d.ts.map +1 -0
- package/NetworkGraph.config.js +938 -0
- package/NetworkGraph.config.js.map +7 -0
- package/NetworkGraph.js +6793 -0
- package/NetworkGraph.js.map +7 -0
- 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 +666 -99
- package/ParallelCoordinates.js.map +4 -4
- 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 +744 -188
- 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 +663 -109
- 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 +671 -138
- 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 +683 -114
- package/Sankey.js.map +4 -4
- 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.config.js +0 -1
- package/Scatter.config.js.map +2 -2
- package/Scatter.js +721 -184
- 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.config.js +15 -2
- package/SingleValue.config.js.map +2 -2
- package/SingleValue.js +864 -226
- package/SingleValue.js.map +3 -3
- 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.config.js +0 -1
- package/SingleValueIcon.config.js.map +2 -2
- package/SingleValueIcon.js +661 -142
- package/SingleValueIcon.js.map +3 -3
- package/SingleValueRadial/PureSingleValueRadial/GaugeGraph.d.ts.map +1 -0
- package/{dist/types/SingleValueRadial → SingleValueRadial}/PureSingleValueRadial/utils/gaugeUtils.d.ts +0 -8
- 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.config.js +0 -1
- package/SingleValueRadial.config.js.map +2 -2
- package/SingleValueRadial.js +660 -140
- package/SingleValueRadial.js.map +4 -4
- package/SparkLine/index.d.ts.map +1 -0
- package/SparkLine.js +111 -45
- package/SparkLine.js.map +2 -2
- package/{dist/types/Table → Table}/PureTable.d.ts +10 -0
- 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 +5 -5
- package/Table/hooks.d.ts.map +1 -0
- package/Table/index.d.ts.map +1 -0
- package/Table.config.js +1 -1
- package/Table.config.js.map +2 -2
- package/Table.js +1115 -375
- 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 +4 -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 +30 -21
- package/Timeline.config.js.map +4 -4
- package/Timeline.js +1287 -467
- package/Timeline.js.map +4 -4
- package/{dist/types/common → common}/Charting.d.ts +7 -0
- package/common/Charting.d.ts.map +1 -0
- package/common/Charting.js +59 -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/OptionsDoc.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/ThemesDoc.js +0 -1
- package/common/ThemesDoc.js.map +2 -2
- package/common/TimeSeriesChartWrapper.d.ts +31 -0
- package/common/TimeSeriesChartWrapper.d.ts.map +1 -0
- package/common/TimeSeriesChartWrapper.js +693 -74
- package/common/TimeSeriesChartWrapper.js.map +4 -4
- package/{dist/types/common → common}/chartingUtils.d.ts +55 -5
- package/common/chartingUtils.d.ts.map +1 -0
- package/common/chartingUtils.js +120 -9
- package/common/chartingUtils.js.map +3 -3
- 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/{dist/types/common → common}/interfaces/DashboardVizProps.d.ts +0 -3
- package/common/interfaces/DashboardVizProps.d.ts.map +1 -0
- package/common/interfaces/DataContract.d.ts.map +1 -0
- package/{dist/types/common → common}/interfaces/DataSource.d.ts +1 -1
- 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/shapeUtils.js +5 -20
- package/common/shapeUtils.js.map +2 -2
- package/common/utils/configUtils.d.ts.map +1 -0
- package/common/utils/dataUtils.d.ts.map +1 -0
- package/common/utils/dataUtils.js +5 -4
- package/common/utils/dataUtils.js.map +2 -2
- 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 +16 -9
- package/common/utils/mapUtils.js.map +2 -2
- package/common/utils/singleValueUtils.js +17 -18
- package/common/utils/singleValueUtils.js.map +2 -2
- 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/textUtils.d.ts +20 -0
- package/common/utils/textUtils.d.ts.map +1 -0
- package/common/utils/textUtils.js +76 -0
- package/common/utils/textUtils.js.map +7 -0
- package/common/utils/trellisUtils.d.ts.map +1 -0
- package/common/utils/trellisUtils.js +12 -14
- package/common/utils/trellisUtils.js.map +2 -2
- 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 +665 -87
- package/common/withDashboardViz.js.map +4 -4
- package/package.json +35 -29
- package/common/utils/styleUtils.js +0 -30
- package/common/utils/styleUtils.js.map +0 -7
- 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 +0 -2
- 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}/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/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/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/GraphStyles.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}/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}/config.d.ts +0 -0
- /package/{dist/types/MarkerGauge → MarkerGauge}/index.d.ts +0 -0
- /package/{dist/types/ParallelCoordinates → NetworkGraph}/config.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/Pie → 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/Punchcard → 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/Rectangle → 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/Sankey → 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/Scatter → 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/SingleValue → 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/SingleValueIcon → 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/SingleValueRadial → 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}/SingleValueRadial.d.ts +0 -0
- /package/{dist/types/Table → 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}/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/Timeline → 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}/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/DataContract.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/trellisUtils.d.ts +0 -0
- /package/{dist/types/common → common}/utils/urlUtils.d.ts +0 -0
package/Bubble.js
CHANGED
|
@@ -106,86 +106,77 @@ var defaultImport4 = __toESM(require("react"));
|
|
|
106
106
|
__reExport(react_exports, require("react"));
|
|
107
107
|
var react_default = "default" in defaultImport4 ? defaultImport4.default : defaultImport4;
|
|
108
108
|
|
|
109
|
-
// esm-externals:react-event-listener
|
|
110
|
-
var react_event_listener_exports = {};
|
|
111
|
-
__export(react_event_listener_exports, {
|
|
112
|
-
default: () => react_event_listener_default
|
|
113
|
-
});
|
|
114
|
-
var defaultImport5 = __toESM(require("react-event-listener"));
|
|
115
|
-
__reExport(react_event_listener_exports, require("react-event-listener"));
|
|
116
|
-
var react_event_listener_default = "default" in defaultImport5 ? defaultImport5.default : defaultImport5;
|
|
117
|
-
|
|
118
109
|
// esm-externals:@splunk/visualizations-shared/i18n
|
|
119
110
|
var i18n_exports2 = {};
|
|
120
111
|
__export(i18n_exports2, {
|
|
121
112
|
default: () => i18n_default2
|
|
122
113
|
});
|
|
123
|
-
var
|
|
114
|
+
var defaultImport5 = __toESM(require("@splunk/visualizations-shared/i18n"));
|
|
124
115
|
__reExport(i18n_exports2, require("@splunk/visualizations-shared/i18n"));
|
|
125
|
-
var i18n_default2 = "default" in
|
|
116
|
+
var i18n_default2 = "default" in defaultImport5 ? defaultImport5.default : defaultImport5;
|
|
126
117
|
|
|
127
118
|
// esm-externals:@splunk/charting-bundle
|
|
128
119
|
var charting_bundle_exports = {};
|
|
129
120
|
__export(charting_bundle_exports, {
|
|
130
121
|
default: () => charting_bundle_default
|
|
131
122
|
});
|
|
132
|
-
var
|
|
123
|
+
var defaultImport6 = __toESM(require("@splunk/charting-bundle"));
|
|
133
124
|
__reExport(charting_bundle_exports, require("@splunk/charting-bundle"));
|
|
134
|
-
var charting_bundle_default = "default" in
|
|
125
|
+
var charting_bundle_default = "default" in defaultImport6 ? defaultImport6.default : defaultImport6;
|
|
135
126
|
|
|
136
127
|
// esm-externals:@splunk/visualization-context/TimezoneContext
|
|
137
128
|
var TimezoneContext_exports = {};
|
|
138
129
|
__export(TimezoneContext_exports, {
|
|
139
130
|
default: () => TimezoneContext_default
|
|
140
131
|
});
|
|
141
|
-
var
|
|
132
|
+
var defaultImport7 = __toESM(require("@splunk/visualization-context/TimezoneContext"));
|
|
142
133
|
__reExport(TimezoneContext_exports, require("@splunk/visualization-context/TimezoneContext"));
|
|
143
|
-
var TimezoneContext_default = "default" in
|
|
134
|
+
var TimezoneContext_default = "default" in defaultImport7 ? defaultImport7.default : defaultImport7;
|
|
144
135
|
|
|
145
136
|
// esm-externals:@splunk/visualizations-shared/style
|
|
146
137
|
var style_exports = {};
|
|
147
138
|
__export(style_exports, {
|
|
148
139
|
default: () => style_default
|
|
149
140
|
});
|
|
150
|
-
var
|
|
141
|
+
var defaultImport8 = __toESM(require("@splunk/visualizations-shared/style"));
|
|
151
142
|
__reExport(style_exports, require("@splunk/visualizations-shared/style"));
|
|
152
|
-
var style_default = "default" in
|
|
143
|
+
var style_default = "default" in defaultImport8 ? defaultImport8.default : defaultImport8;
|
|
153
144
|
|
|
154
145
|
// esm-externals:styled-components
|
|
155
146
|
var styled_components_exports = {};
|
|
156
147
|
__export(styled_components_exports, {
|
|
157
148
|
default: () => styled_components_default
|
|
158
149
|
});
|
|
159
|
-
var
|
|
150
|
+
var defaultImport9 = __toESM(require("styled-components"));
|
|
160
151
|
__reExport(styled_components_exports, require("styled-components"));
|
|
161
|
-
var styled_components_default = "default" in
|
|
152
|
+
var styled_components_default = "default" in defaultImport9 ? defaultImport9.default : defaultImport9;
|
|
162
153
|
|
|
163
154
|
// esm-externals:@splunk/visualizations-shared/Message
|
|
164
155
|
var Message_exports = {};
|
|
165
156
|
__export(Message_exports, {
|
|
166
157
|
default: () => Message_default
|
|
167
158
|
});
|
|
168
|
-
var
|
|
159
|
+
var defaultImport10 = __toESM(require("@splunk/visualizations-shared/Message"));
|
|
169
160
|
__reExport(Message_exports, require("@splunk/visualizations-shared/Message"));
|
|
170
|
-
var Message_default = "default" in
|
|
161
|
+
var Message_default = "default" in defaultImport10 ? defaultImport10.default : defaultImport10;
|
|
171
162
|
|
|
172
163
|
// esm-externals:@splunk/themes/useSplunkTheme
|
|
173
164
|
var useSplunkTheme_exports = {};
|
|
174
165
|
__export(useSplunkTheme_exports, {
|
|
175
166
|
default: () => useSplunkTheme_default
|
|
176
167
|
});
|
|
177
|
-
var
|
|
168
|
+
var defaultImport11 = __toESM(require("@splunk/themes/useSplunkTheme"));
|
|
178
169
|
__reExport(useSplunkTheme_exports, require("@splunk/themes/useSplunkTheme"));
|
|
179
|
-
var useSplunkTheme_default = "default" in
|
|
170
|
+
var useSplunkTheme_default = "default" in defaultImport11 ? defaultImport11.default : defaultImport11;
|
|
180
171
|
|
|
181
172
|
// esm-externals:@splunk/visualizations-shared/themeUtils
|
|
182
173
|
var themeUtils_exports = {};
|
|
183
174
|
__export(themeUtils_exports, {
|
|
184
175
|
default: () => themeUtils_default
|
|
185
176
|
});
|
|
186
|
-
var
|
|
177
|
+
var defaultImport12 = __toESM(require("@splunk/visualizations-shared/themeUtils"));
|
|
187
178
|
__reExport(themeUtils_exports, require("@splunk/visualizations-shared/themeUtils"));
|
|
188
|
-
var themeUtils_default = "default" in
|
|
179
|
+
var themeUtils_default = "default" in defaultImport12 ? defaultImport12.default : defaultImport12;
|
|
189
180
|
|
|
190
181
|
// src/common/ChartingApi.ts
|
|
191
182
|
var ChartingApiFunctional = class {
|
|
@@ -240,9 +231,9 @@ var numberUtils_exports = {};
|
|
|
240
231
|
__export(numberUtils_exports, {
|
|
241
232
|
default: () => numberUtils_default
|
|
242
233
|
});
|
|
243
|
-
var
|
|
234
|
+
var defaultImport13 = __toESM(require("@splunk/visualizations-shared/numberUtils"));
|
|
244
235
|
__reExport(numberUtils_exports, require("@splunk/visualizations-shared/numberUtils"));
|
|
245
|
-
var numberUtils_default = "default" in
|
|
236
|
+
var numberUtils_default = "default" in defaultImport13 ? defaultImport13.default : defaultImport13;
|
|
246
237
|
|
|
247
238
|
// src/common/interfaces/DataSource.ts
|
|
248
239
|
var validSortDirs = ["asc", "desc", "none"];
|
|
@@ -257,6 +248,7 @@ var DefaultVizActionHandler = class {
|
|
|
257
248
|
};
|
|
258
249
|
|
|
259
250
|
// src/common/utils/dataUtils.ts
|
|
251
|
+
var getFieldName = (field) => typeof field === "string" ? field : field.name;
|
|
260
252
|
var largestTriangleThreeBuckets = (data, threshold, preferredDownsampleIndices) => {
|
|
261
253
|
const dataLength = data.length;
|
|
262
254
|
const downsampledIndices = [];
|
|
@@ -430,9 +422,9 @@ var tryToCoerceAllDisplayedFields = (ds, xField, yFields, fieldTypes, options) =
|
|
|
430
422
|
let xColumn = [];
|
|
431
423
|
const yColumns = [];
|
|
432
424
|
const canDownsample = !ds.data.fields.some((field, index) => {
|
|
433
|
-
var _a
|
|
434
|
-
const fieldName = (
|
|
435
|
-
const fieldType = (
|
|
425
|
+
var _a;
|
|
426
|
+
const fieldName = getFieldName(field);
|
|
427
|
+
const fieldType = (_a = fieldTypes[index]) != null ? _a : "unknown";
|
|
436
428
|
const column = ds.data.columns[index];
|
|
437
429
|
let hasDisplayedColumnThatCantBeDownsampled = false;
|
|
438
430
|
if (fieldName === xField) {
|
|
@@ -525,18 +517,18 @@ var FeatureFlagContext_exports = {};
|
|
|
525
517
|
__export(FeatureFlagContext_exports, {
|
|
526
518
|
default: () => FeatureFlagContext_default
|
|
527
519
|
});
|
|
528
|
-
var
|
|
520
|
+
var defaultImport14 = __toESM(require("@splunk/visualization-context/FeatureFlagContext"));
|
|
529
521
|
__reExport(FeatureFlagContext_exports, require("@splunk/visualization-context/FeatureFlagContext"));
|
|
530
|
-
var FeatureFlagContext_default = "default" in
|
|
522
|
+
var FeatureFlagContext_default = "default" in defaultImport14 ? defaultImport14.default : defaultImport14;
|
|
531
523
|
|
|
532
524
|
// esm-externals:@splunk/visualization-schemas
|
|
533
525
|
var visualization_schemas_exports = {};
|
|
534
526
|
__export(visualization_schemas_exports, {
|
|
535
527
|
default: () => visualization_schemas_default
|
|
536
528
|
});
|
|
537
|
-
var
|
|
529
|
+
var defaultImport15 = __toESM(require("@splunk/visualization-schemas"));
|
|
538
530
|
__reExport(visualization_schemas_exports, require("@splunk/visualization-schemas"));
|
|
539
|
-
var visualization_schemas_default = "default" in
|
|
531
|
+
var visualization_schemas_default = "default" in defaultImport15 ? defaultImport15.default : defaultImport15;
|
|
540
532
|
|
|
541
533
|
// src/common/hooks/useTrellisEnabled.ts
|
|
542
534
|
var useTrellisFeatureFlagOn = () => {
|
|
@@ -636,6 +628,21 @@ var Charting = (props) => {
|
|
|
636
628
|
const timezone = (0, react_exports.useContext)(TimezoneContext_default);
|
|
637
629
|
const selectChartEvent = (0, react_exports.useRef)(null);
|
|
638
630
|
const trellisEnabled = useTrellisEnabled(props.splitByLayout);
|
|
631
|
+
const isResizing = (0, react_exports.useRef)(false);
|
|
632
|
+
const drawChartRef = (0, react_exports.useRef)(() => {
|
|
633
|
+
});
|
|
634
|
+
const debouncedDrawChart = (0, react_exports.useMemo)(
|
|
635
|
+
() => (0, lodash_exports.debounce)(() => {
|
|
636
|
+
drawChartRef.current();
|
|
637
|
+
}, 5),
|
|
638
|
+
[]
|
|
639
|
+
);
|
|
640
|
+
(0, react_exports.useEffect)(
|
|
641
|
+
() => () => {
|
|
642
|
+
debouncedDrawChart.cancel();
|
|
643
|
+
},
|
|
644
|
+
[debouncedDrawChart]
|
|
645
|
+
);
|
|
639
646
|
const computeChartingSize = () => {
|
|
640
647
|
if (container.current) {
|
|
641
648
|
const rect = container.current.getBoundingClientRect();
|
|
@@ -720,6 +727,9 @@ var Charting = (props) => {
|
|
|
720
727
|
recalculateDownsamplingThreshold();
|
|
721
728
|
}, [recalculateDownsamplingThreshold]);
|
|
722
729
|
const handleSelect = useEventCallback_default((chartEvent) => {
|
|
730
|
+
if (isResizing.current) {
|
|
731
|
+
return;
|
|
732
|
+
}
|
|
723
733
|
selectChartEvent.current = chartEvent;
|
|
724
734
|
recalculateDownsamplingThreshold();
|
|
725
735
|
const payload = appendTrellisToPayload(
|
|
@@ -854,6 +864,14 @@ var Charting = (props) => {
|
|
|
854
864
|
}
|
|
855
865
|
if (chart.current) {
|
|
856
866
|
if (Math.round(chart.current.height) !== Math.round(computedHeight) || Math.round(chart.current.width) !== Math.round(computedWidth)) {
|
|
867
|
+
isResizing.current = true;
|
|
868
|
+
queueMicrotask(() => {
|
|
869
|
+
try {
|
|
870
|
+
isResizing.current = false;
|
|
871
|
+
} catch (e) {
|
|
872
|
+
(0, lodash_exports.noop)(e);
|
|
873
|
+
}
|
|
874
|
+
});
|
|
857
875
|
chart.current.resize(computedWidth, computedHeight);
|
|
858
876
|
}
|
|
859
877
|
}
|
|
@@ -863,11 +881,11 @@ var Charting = (props) => {
|
|
|
863
881
|
window.console.error("Caught error rendering chart:", e);
|
|
864
882
|
}
|
|
865
883
|
};
|
|
866
|
-
const debouncedDrawChart = (0, lodash_exports.debounce)(drawChart, 5);
|
|
867
884
|
const onContainerMount = (chartingContainer) => {
|
|
868
885
|
container.current = chartingContainer;
|
|
869
886
|
debouncedDrawChart();
|
|
870
887
|
};
|
|
888
|
+
drawChartRef.current = drawChart;
|
|
871
889
|
const prevTheme = usePrevious(themeKey);
|
|
872
890
|
const prevOnClick = usePrevious(onClick);
|
|
873
891
|
(0, react_exports.useEffect)(() => {
|
|
@@ -880,6 +898,15 @@ var Charting = (props) => {
|
|
|
880
898
|
destroyChart();
|
|
881
899
|
};
|
|
882
900
|
}, []);
|
|
901
|
+
(0, react_exports.useEffect)(() => {
|
|
902
|
+
const handleResize = () => {
|
|
903
|
+
debouncedDrawChart();
|
|
904
|
+
};
|
|
905
|
+
window.addEventListener("resize", handleResize);
|
|
906
|
+
return () => {
|
|
907
|
+
window.removeEventListener("resize", handleResize);
|
|
908
|
+
};
|
|
909
|
+
}, [debouncedDrawChart]);
|
|
883
910
|
(0, react_exports.useEffect)(() => {
|
|
884
911
|
if (!chart.current || !canUpdateInPlace(prevOptions, options) || // timezone is a simple object so this comparison should be fast
|
|
885
912
|
JSON.stringify(prevTimezone) !== JSON.stringify(timezone) || !props.themeKey && prevTheme !== themeKey || prevOnClick !== onClick) {
|
|
@@ -912,8 +939,7 @@ var Charting = (props) => {
|
|
|
912
939
|
ref: onContainerMount,
|
|
913
940
|
width,
|
|
914
941
|
height: trellisEnabled ? Number(height) - TRELLIS_TITLE_HEIGHT : height
|
|
915
|
-
}
|
|
916
|
-
/* @__PURE__ */ react_exports.createElement(react_event_listener_default, { target: window, onResize: debouncedDrawChart })
|
|
942
|
+
}
|
|
917
943
|
));
|
|
918
944
|
};
|
|
919
945
|
var ChartingWrapper = (props) => {
|
|
@@ -933,36 +959,36 @@ var simpleXMLOptions_exports = {};
|
|
|
933
959
|
__export(simpleXMLOptions_exports, {
|
|
934
960
|
default: () => simpleXMLOptions_default
|
|
935
961
|
});
|
|
936
|
-
var
|
|
962
|
+
var defaultImport16 = __toESM(require("@splunk/visualizations-shared/simpleXMLOptions"));
|
|
937
963
|
__reExport(simpleXMLOptions_exports, require("@splunk/visualizations-shared/simpleXMLOptions"));
|
|
938
|
-
var simpleXMLOptions_default = "default" in
|
|
964
|
+
var simpleXMLOptions_default = "default" in defaultImport16 ? defaultImport16.default : defaultImport16;
|
|
939
965
|
|
|
940
966
|
// esm-externals:@splunk/visualization-icons
|
|
941
967
|
var visualization_icons_exports = {};
|
|
942
968
|
__export(visualization_icons_exports, {
|
|
943
969
|
default: () => visualization_icons_default
|
|
944
970
|
});
|
|
945
|
-
var
|
|
971
|
+
var defaultImport17 = __toESM(require("@splunk/visualization-icons"));
|
|
946
972
|
__reExport(visualization_icons_exports, require("@splunk/visualization-icons"));
|
|
947
|
-
var visualization_icons_default = "default" in
|
|
973
|
+
var visualization_icons_default = "default" in defaultImport17 ? defaultImport17.default : defaultImport17;
|
|
948
974
|
|
|
949
975
|
// esm-externals:@splunk/visualization-icons/placeholders
|
|
950
976
|
var placeholders_exports = {};
|
|
951
977
|
__export(placeholders_exports, {
|
|
952
978
|
default: () => placeholders_default
|
|
953
979
|
});
|
|
954
|
-
var
|
|
980
|
+
var defaultImport18 = __toESM(require("@splunk/visualization-icons/placeholders"));
|
|
955
981
|
__reExport(placeholders_exports, require("@splunk/visualization-icons/placeholders"));
|
|
956
|
-
var placeholders_default = "default" in
|
|
982
|
+
var placeholders_default = "default" in defaultImport18 ? defaultImport18.default : defaultImport18;
|
|
957
983
|
|
|
958
984
|
// esm-externals:@splunk/visualizations-shared/configUtils
|
|
959
985
|
var configUtils_exports = {};
|
|
960
986
|
__export(configUtils_exports, {
|
|
961
987
|
default: () => configUtils_default
|
|
962
988
|
});
|
|
963
|
-
var
|
|
989
|
+
var defaultImport19 = __toESM(require("@splunk/visualizations-shared/configUtils"));
|
|
964
990
|
__reExport(configUtils_exports, require("@splunk/visualizations-shared/configUtils"));
|
|
965
|
-
var configUtils_default = "default" in
|
|
991
|
+
var configUtils_default = "default" in defaultImport19 ? defaultImport19.default : defaultImport19;
|
|
966
992
|
|
|
967
993
|
// src/common/utils/configUtils.ts
|
|
968
994
|
function enhanceConfig(vizConfig) {
|
|
@@ -1137,7 +1163,6 @@ var AcceleratedRenderEditorLayout = [
|
|
|
1137
1163
|
"Render visualizations faster for large datasets. Some functionalities might not be available in this mode."
|
|
1138
1164
|
),
|
|
1139
1165
|
helpFormat: "under"
|
|
1140
|
-
// TODO: uncomment and replace link with real link (SCP-75907)
|
|
1141
1166
|
// helpTextLink: {
|
|
1142
1167
|
// href: 'https://splunkui.splunk.com/Packages/visualizations/Overview',
|
|
1143
1168
|
// label: 'Learn More.',
|
|
@@ -1580,18 +1605,18 @@ var pick_exports = {};
|
|
|
1580
1605
|
__export(pick_exports, {
|
|
1581
1606
|
default: () => pick_default
|
|
1582
1607
|
});
|
|
1583
|
-
var
|
|
1608
|
+
var defaultImport20 = __toESM(require("@splunk/themes/pick"));
|
|
1584
1609
|
__reExport(pick_exports, require("@splunk/themes/pick"));
|
|
1585
|
-
var pick_default = "default" in
|
|
1610
|
+
var pick_default = "default" in defaultImport20 ? defaultImport20.default : defaultImport20;
|
|
1586
1611
|
|
|
1587
1612
|
// esm-externals:@splunk/themes/variables
|
|
1588
1613
|
var variables_exports = {};
|
|
1589
1614
|
__export(variables_exports, {
|
|
1590
1615
|
default: () => variables_default
|
|
1591
1616
|
});
|
|
1592
|
-
var
|
|
1617
|
+
var defaultImport21 = __toESM(require("@splunk/themes/variables"));
|
|
1593
1618
|
__reExport(variables_exports, require("@splunk/themes/variables"));
|
|
1594
|
-
var variables_default = "default" in
|
|
1619
|
+
var variables_default = "default" in defaultImport21 ? defaultImport21.default : defaultImport21;
|
|
1595
1620
|
|
|
1596
1621
|
// src/common/ThemedDefaults.tsx
|
|
1597
1622
|
var defaultBackgroundColor = (props) => pick_default({
|
|
@@ -1972,81 +1997,81 @@ var getSettingsFromThemedProps_exports = {};
|
|
|
1972
1997
|
__export(getSettingsFromThemedProps_exports, {
|
|
1973
1998
|
default: () => getSettingsFromThemedProps_default
|
|
1974
1999
|
});
|
|
1975
|
-
var
|
|
2000
|
+
var defaultImport22 = __toESM(require("@splunk/themes/getSettingsFromThemedProps"));
|
|
1976
2001
|
__reExport(getSettingsFromThemedProps_exports, require("@splunk/themes/getSettingsFromThemedProps"));
|
|
1977
|
-
var getSettingsFromThemedProps_default = "default" in
|
|
2002
|
+
var getSettingsFromThemedProps_default = "default" in defaultImport22 ? defaultImport22.default : defaultImport22;
|
|
1978
2003
|
|
|
1979
2004
|
// esm-externals:@splunk/visualization-encoding/Options
|
|
1980
2005
|
var Options_exports = {};
|
|
1981
2006
|
__export(Options_exports, {
|
|
1982
2007
|
default: () => Options_default
|
|
1983
2008
|
});
|
|
1984
|
-
var
|
|
2009
|
+
var defaultImport23 = __toESM(require("@splunk/visualization-encoding/Options"));
|
|
1985
2010
|
__reExport(Options_exports, require("@splunk/visualization-encoding/Options"));
|
|
1986
|
-
var Options_default = "default" in
|
|
2011
|
+
var Options_default = "default" in defaultImport23 ? defaultImport23.default : defaultImport23;
|
|
1987
2012
|
|
|
1988
2013
|
// esm-externals:@splunk/visualizations-shared/SanitizeProps
|
|
1989
2014
|
var SanitizeProps_exports = {};
|
|
1990
2015
|
__export(SanitizeProps_exports, {
|
|
1991
2016
|
default: () => SanitizeProps_default
|
|
1992
2017
|
});
|
|
1993
|
-
var
|
|
2018
|
+
var defaultImport24 = __toESM(require("@splunk/visualizations-shared/SanitizeProps"));
|
|
1994
2019
|
__reExport(SanitizeProps_exports, require("@splunk/visualizations-shared/SanitizeProps"));
|
|
1995
|
-
var SanitizeProps_default = "default" in
|
|
2020
|
+
var SanitizeProps_default = "default" in defaultImport24 ? defaultImport24.default : defaultImport24;
|
|
1996
2021
|
|
|
1997
2022
|
// esm-externals:@splunk/moment
|
|
1998
2023
|
var moment_exports = {};
|
|
1999
2024
|
__export(moment_exports, {
|
|
2000
2025
|
default: () => moment_default
|
|
2001
2026
|
});
|
|
2002
|
-
var
|
|
2027
|
+
var defaultImport25 = __toESM(require("@splunk/moment"));
|
|
2003
2028
|
__reExport(moment_exports, require("@splunk/moment"));
|
|
2004
|
-
var moment_default = "default" in
|
|
2029
|
+
var moment_default = "default" in defaultImport25 ? defaultImport25.default : defaultImport25;
|
|
2005
2030
|
|
|
2006
2031
|
// esm-externals:@splunk/visualizations-shared/hocUtils
|
|
2007
2032
|
var hocUtils_exports = {};
|
|
2008
2033
|
__export(hocUtils_exports, {
|
|
2009
2034
|
default: () => hocUtils_default
|
|
2010
2035
|
});
|
|
2011
|
-
var
|
|
2036
|
+
var defaultImport26 = __toESM(require("@splunk/visualizations-shared/hocUtils"));
|
|
2012
2037
|
__reExport(hocUtils_exports, require("@splunk/visualizations-shared/hocUtils"));
|
|
2013
|
-
var hocUtils_default = "default" in
|
|
2038
|
+
var hocUtils_default = "default" in defaultImport26 ? defaultImport26.default : defaultImport26;
|
|
2014
2039
|
|
|
2015
2040
|
// esm-externals:@splunk/visualizations-shared/JSONSchemaUtils
|
|
2016
2041
|
var JSONSchemaUtils_exports = {};
|
|
2017
2042
|
__export(JSONSchemaUtils_exports, {
|
|
2018
2043
|
default: () => JSONSchemaUtils_default
|
|
2019
2044
|
});
|
|
2020
|
-
var
|
|
2045
|
+
var defaultImport27 = __toESM(require("@splunk/visualizations-shared/JSONSchemaUtils"));
|
|
2021
2046
|
__reExport(JSONSchemaUtils_exports, require("@splunk/visualizations-shared/JSONSchemaUtils"));
|
|
2022
|
-
var JSONSchemaUtils_default = "default" in
|
|
2047
|
+
var JSONSchemaUtils_default = "default" in defaultImport27 ? defaultImport27.default : defaultImport27;
|
|
2023
2048
|
|
|
2024
2049
|
// esm-externals:@splunk/async-dynamic-options-evaluator
|
|
2025
2050
|
var async_dynamic_options_evaluator_exports = {};
|
|
2026
2051
|
__export(async_dynamic_options_evaluator_exports, {
|
|
2027
2052
|
default: () => async_dynamic_options_evaluator_default
|
|
2028
2053
|
});
|
|
2029
|
-
var
|
|
2054
|
+
var defaultImport28 = __toESM(require("@splunk/async-dynamic-options-evaluator"));
|
|
2030
2055
|
__reExport(async_dynamic_options_evaluator_exports, require("@splunk/async-dynamic-options-evaluator"));
|
|
2031
|
-
var async_dynamic_options_evaluator_default = "default" in
|
|
2056
|
+
var async_dynamic_options_evaluator_default = "default" in defaultImport28 ? defaultImport28.default : defaultImport28;
|
|
2032
2057
|
|
|
2033
2058
|
// esm-externals:@splunk/ui-utils/id
|
|
2034
2059
|
var id_exports = {};
|
|
2035
2060
|
__export(id_exports, {
|
|
2036
2061
|
default: () => id_default
|
|
2037
2062
|
});
|
|
2038
|
-
var
|
|
2063
|
+
var defaultImport29 = __toESM(require("@splunk/ui-utils/id"));
|
|
2039
2064
|
__reExport(id_exports, require("@splunk/ui-utils/id"));
|
|
2040
|
-
var id_default = "default" in
|
|
2065
|
+
var id_default = "default" in defaultImport29 ? defaultImport29.default : defaultImport29;
|
|
2041
2066
|
|
|
2042
2067
|
// esm-externals:prop-types
|
|
2043
2068
|
var prop_types_exports = {};
|
|
2044
2069
|
__export(prop_types_exports, {
|
|
2045
2070
|
default: () => prop_types_default
|
|
2046
2071
|
});
|
|
2047
|
-
var
|
|
2072
|
+
var defaultImport30 = __toESM(require("prop-types"));
|
|
2048
2073
|
__reExport(prop_types_exports, require("prop-types"));
|
|
2049
|
-
var prop_types_default = "default" in
|
|
2074
|
+
var prop_types_default = "default" in defaultImport30 ? defaultImport30.default : defaultImport30;
|
|
2050
2075
|
|
|
2051
2076
|
// src/common/SplunkVisualization.tsx
|
|
2052
2077
|
var INITIAL_HEIGHT = 250;
|
|
@@ -2242,9 +2267,9 @@ var SizeAwareWrapper_exports = {};
|
|
|
2242
2267
|
__export(SizeAwareWrapper_exports, {
|
|
2243
2268
|
default: () => SizeAwareWrapper_default
|
|
2244
2269
|
});
|
|
2245
|
-
var
|
|
2270
|
+
var defaultImport31 = __toESM(require("@splunk/visualizations-shared/SizeAwareWrapper"));
|
|
2246
2271
|
__reExport(SizeAwareWrapper_exports, require("@splunk/visualizations-shared/SizeAwareWrapper"));
|
|
2247
|
-
var SizeAwareWrapper_default = "default" in
|
|
2272
|
+
var SizeAwareWrapper_default = "default" in defaultImport31 ? defaultImport31.default : defaultImport31;
|
|
2248
2273
|
|
|
2249
2274
|
// src/common/components/MissingPropsMessage.tsx
|
|
2250
2275
|
var isMissing = (v) => {
|
|
@@ -2299,7 +2324,7 @@ var Cover = styled_components_default.div`
|
|
|
2299
2324
|
bottom: 0;
|
|
2300
2325
|
`;
|
|
2301
2326
|
var Blocker = styled_components_default.div.attrs({
|
|
2302
|
-
"data-splunk-visualization-version": "28.
|
|
2327
|
+
"data-splunk-visualization-version": "28.4.0 - 002bd482f"
|
|
2303
2328
|
})`
|
|
2304
2329
|
position: relative;
|
|
2305
2330
|
width: 100%;
|
|
@@ -2321,9 +2346,9 @@ var colorUtils_exports = {};
|
|
|
2321
2346
|
__export(colorUtils_exports, {
|
|
2322
2347
|
default: () => colorUtils_default
|
|
2323
2348
|
});
|
|
2324
|
-
var
|
|
2349
|
+
var defaultImport32 = __toESM(require("@splunk/visualizations-shared/colorUtils"));
|
|
2325
2350
|
__reExport(colorUtils_exports, require("@splunk/visualizations-shared/colorUtils"));
|
|
2326
|
-
var colorUtils_default = "default" in
|
|
2351
|
+
var colorUtils_default = "default" in defaultImport32 ? defaultImport32.default : defaultImport32;
|
|
2327
2352
|
|
|
2328
2353
|
// src/common/hocs/FixedSizeContainer.tsx
|
|
2329
2354
|
var Item = styled_components_default.div.attrs(({ width }) => ({
|
|
@@ -2380,7 +2405,7 @@ var withFixedSizeContainer = (Viz) => {
|
|
|
2380
2405
|
FixSizeItem,
|
|
2381
2406
|
{
|
|
2382
2407
|
"data-test": "fix-size-item",
|
|
2383
|
-
"data-splunk-visualization-version": "28.
|
|
2408
|
+
"data-splunk-visualization-version": "28.4.0 - 002bd482f",
|
|
2384
2409
|
width,
|
|
2385
2410
|
height,
|
|
2386
2411
|
backgroundColor
|
|
@@ -2628,9 +2653,9 @@ var FeatureFlags_exports = {};
|
|
|
2628
2653
|
__export(FeatureFlags_exports, {
|
|
2629
2654
|
default: () => FeatureFlags_default
|
|
2630
2655
|
});
|
|
2631
|
-
var
|
|
2656
|
+
var defaultImport33 = __toESM(require("@splunk/visualization-context/FeatureFlags"));
|
|
2632
2657
|
__reExport(FeatureFlags_exports, require("@splunk/visualization-context/FeatureFlags"));
|
|
2633
|
-
var FeatureFlags_default = "default" in
|
|
2658
|
+
var FeatureFlags_default = "default" in defaultImport33 ? defaultImport33.default : defaultImport33;
|
|
2634
2659
|
|
|
2635
2660
|
// src/common/utils/featureFlagUtils.ts
|
|
2636
2661
|
var getFeatureFlag = (context, flagName) => {
|
|
@@ -2648,9 +2673,9 @@ var trellisUtils_exports = {};
|
|
|
2648
2673
|
__export(trellisUtils_exports, {
|
|
2649
2674
|
default: () => trellisUtils_default
|
|
2650
2675
|
});
|
|
2651
|
-
var
|
|
2676
|
+
var defaultImport34 = __toESM(require("@splunk/visualizations-shared/trellisUtils"));
|
|
2652
2677
|
__reExport(trellisUtils_exports, require("@splunk/visualizations-shared/trellisUtils"));
|
|
2653
|
-
var trellisUtils_default = "default" in
|
|
2678
|
+
var trellisUtils_default = "default" in defaultImport34 ? defaultImport34.default : defaultImport34;
|
|
2654
2679
|
|
|
2655
2680
|
// src/common/utils/trellisUtils.ts
|
|
2656
2681
|
var turnOffLegendDisplayWhenTrellisIsOn = (isTrellisOn, options) => {
|
|
@@ -2667,9 +2692,9 @@ var visualization_canvas_exports = {};
|
|
|
2667
2692
|
__export(visualization_canvas_exports, {
|
|
2668
2693
|
default: () => visualization_canvas_default
|
|
2669
2694
|
});
|
|
2670
|
-
var
|
|
2695
|
+
var defaultImport35 = __toESM(require("@splunk/visualization-canvas"));
|
|
2671
2696
|
__reExport(visualization_canvas_exports, require("@splunk/visualization-canvas"));
|
|
2672
|
-
var visualization_canvas_default = "default" in
|
|
2697
|
+
var visualization_canvas_default = "default" in defaultImport35 ? defaultImport35.default : defaultImport35;
|
|
2673
2698
|
|
|
2674
2699
|
// src/common/components/VizStyleWrapper.jsx
|
|
2675
2700
|
var VizStyleWrapper = styled_components_default.div.attrs(({ dataTestKey }) => ({
|
|
@@ -2691,9 +2716,9 @@ var Triangle_exports = {};
|
|
|
2691
2716
|
__export(Triangle_exports, {
|
|
2692
2717
|
default: () => Triangle_default
|
|
2693
2718
|
});
|
|
2694
|
-
var
|
|
2719
|
+
var defaultImport36 = __toESM(require("@splunk/react-icons/Triangle"));
|
|
2695
2720
|
__reExport(Triangle_exports, require("@splunk/react-icons/Triangle"));
|
|
2696
|
-
var Triangle_default = "default" in
|
|
2721
|
+
var Triangle_default = "default" in defaultImport36 ? defaultImport36.default : defaultImport36;
|
|
2697
2722
|
|
|
2698
2723
|
// src/common/chartingUtils.ts
|
|
2699
2724
|
var DEFAULT_LINE_WIDTH = 2;
|
|
@@ -2709,9 +2734,14 @@ var getAnnotationsForCanvas = ({
|
|
|
2709
2734
|
var StyledTriangle = styled_components_default(Triangle_default)`
|
|
2710
2735
|
color: ${(props) => props.eventColor || variables_default.severityColorNotice(props)};
|
|
2711
2736
|
`;
|
|
2712
|
-
var triangleEventAnnotationRenderer = ({
|
|
2737
|
+
var triangleEventAnnotationRenderer = ({
|
|
2738
|
+
event,
|
|
2739
|
+
dimensions
|
|
2740
|
+
}) => {
|
|
2713
2741
|
const eventWithColor = event;
|
|
2714
2742
|
return react_default.createElement(StyledTriangle, {
|
|
2743
|
+
width: `${dimensions.width}px`,
|
|
2744
|
+
height: `${dimensions.height}px`,
|
|
2715
2745
|
viewBox: "0 0 24 24",
|
|
2716
2746
|
variant: "filled",
|
|
2717
2747
|
eventColor: eventWithColor.color
|
|
@@ -2743,6 +2773,16 @@ var mapToValues = (optionValuesSCMapping) => (options) => {
|
|
|
2743
2773
|
});
|
|
2744
2774
|
return convertedOptions;
|
|
2745
2775
|
};
|
|
2776
|
+
var shouldEnableSearchZoom = (eventHandlers = [], xField = "") => {
|
|
2777
|
+
const rangeSelectEventHandler = eventHandlers.find(
|
|
2778
|
+
(eventHandler) => {
|
|
2779
|
+
var _a;
|
|
2780
|
+
return (_a = eventHandler.options.events) == null ? void 0 : _a.includes("range.select");
|
|
2781
|
+
}
|
|
2782
|
+
);
|
|
2783
|
+
const xAxisIsTime = xField === "_time";
|
|
2784
|
+
return !!rangeSelectEventHandler && xAxisIsTime;
|
|
2785
|
+
};
|
|
2746
2786
|
var canvasSupportedTimeSeriesCharts = ["splunk.line"];
|
|
2747
2787
|
var isTimeSeriesCanvasRenderSupported = (vizConfigKey) => {
|
|
2748
2788
|
return canvasSupportedTimeSeriesCharts.indexOf(vizConfigKey) > -1;
|
|
@@ -2763,16 +2803,31 @@ var filterChartDataFromInternalFields = (chartData) => {
|
|
|
2763
2803
|
var convert2DArrayToNumbers = (arr) => {
|
|
2764
2804
|
return arr.map((subArray) => subArray.map((element) => parseFloat(element)));
|
|
2765
2805
|
};
|
|
2806
|
+
var parseAxisValue = (val) => {
|
|
2807
|
+
if (val === void 0 || val === null || val === "auto" || val === "") {
|
|
2808
|
+
return void 0;
|
|
2809
|
+
}
|
|
2810
|
+
const num = typeof val === "number" ? val : Number.parseFloat(val);
|
|
2811
|
+
return Number.isNaN(num) ? void 0 : num;
|
|
2812
|
+
};
|
|
2766
2813
|
var SideLegendWidth = 75;
|
|
2767
|
-
var
|
|
2814
|
+
var SeriesCompareLegendWidth = 200;
|
|
2768
2815
|
var getLegend = (props) => {
|
|
2769
2816
|
const legendPlacement = props == null ? void 0 : props.legendDisplay;
|
|
2817
|
+
const { isSeriesCompare } = props;
|
|
2818
|
+
const commonLegendProps = {
|
|
2819
|
+
center: true,
|
|
2820
|
+
fontSize: 12,
|
|
2821
|
+
largerTiles: true,
|
|
2822
|
+
hideSeriesValue: !isSeriesCompare
|
|
2823
|
+
// Show values if in seriesCompare mode
|
|
2824
|
+
};
|
|
2770
2825
|
switch (legendPlacement) {
|
|
2771
2826
|
case "off":
|
|
2772
2827
|
return false;
|
|
2773
2828
|
case "left":
|
|
2774
2829
|
return (0, visualization_canvas_exports.LeftLegendFactory)(__spreadValues({
|
|
2775
|
-
width: SideLegendWidth
|
|
2830
|
+
width: isSeriesCompare ? SeriesCompareLegendWidth : SideLegendWidth
|
|
2776
2831
|
}, commonLegendProps));
|
|
2777
2832
|
case "bottom":
|
|
2778
2833
|
return (0, visualization_canvas_exports.BottomLegendFactory)(__spreadValues({
|
|
@@ -2784,7 +2839,7 @@ var getLegend = (props) => {
|
|
|
2784
2839
|
}, commonLegendProps));
|
|
2785
2840
|
default:
|
|
2786
2841
|
return (0, visualization_canvas_exports.SideLegendFactory)(__spreadValues({
|
|
2787
|
-
width: SideLegendWidth
|
|
2842
|
+
width: isSeriesCompare ? SeriesCompareLegendWidth : SideLegendWidth
|
|
2788
2843
|
}, commonLegendProps));
|
|
2789
2844
|
}
|
|
2790
2845
|
};
|
|
@@ -2820,19 +2875,25 @@ var ellipsisAxisTitle = (axisTitle, containerSpacing, fontSize = 12) => {
|
|
|
2820
2875
|
const end = axisTitle.slice(-halfChars);
|
|
2821
2876
|
return `${start}...${end}`;
|
|
2822
2877
|
};
|
|
2823
|
-
var
|
|
2878
|
+
var getFieldName2 = (field) => {
|
|
2824
2879
|
const fieldName = typeof field === "object" ? field == null ? void 0 : field.name : field;
|
|
2825
2880
|
return fieldName;
|
|
2826
2881
|
};
|
|
2827
2882
|
var getFieldNames = (fields) => {
|
|
2828
|
-
return fields.map((field) =>
|
|
2883
|
+
return fields.map((field) => getFieldName2(field));
|
|
2829
2884
|
};
|
|
2830
|
-
var getXScaleConfig = (label) => {
|
|
2885
|
+
var getXScaleConfig = (label, xAxisLabelVisibility, xAxisLabelRotation) => {
|
|
2831
2886
|
const xConfig = { x: {} };
|
|
2832
2887
|
xConfig.x.label = label;
|
|
2888
|
+
if (xAxisLabelVisibility === "hide") {
|
|
2889
|
+
xConfig.x.hideLabels = true;
|
|
2890
|
+
}
|
|
2891
|
+
if (xAxisLabelRotation !== void 0) {
|
|
2892
|
+
xConfig.x.labelRotation = xAxisLabelRotation;
|
|
2893
|
+
}
|
|
2833
2894
|
return xConfig;
|
|
2834
2895
|
};
|
|
2835
|
-
var getYScaleConfig = (label, yAxisAbbreviation, yAxisScale) => {
|
|
2896
|
+
var getYScaleConfig = (label, yAxisAbbreviation, yAxisScale, yAxisLabelVisibility, yAxisMin, yAxisMax) => {
|
|
2836
2897
|
const scaleType = yAxisScale != null ? yAxisScale : "linear";
|
|
2837
2898
|
const yConfig = { y: {} };
|
|
2838
2899
|
yConfig.y.label = label;
|
|
@@ -2845,23 +2906,42 @@ var getYScaleConfig = (label, yAxisAbbreviation, yAxisScale) => {
|
|
|
2845
2906
|
} else {
|
|
2846
2907
|
yConfig.y.width = label && label.length > 0 ? 30 : 10;
|
|
2847
2908
|
}
|
|
2909
|
+
if (yAxisLabelVisibility === "hide") {
|
|
2910
|
+
yConfig.y.hideLabels = true;
|
|
2911
|
+
}
|
|
2912
|
+
if (yAxisMin !== void 0 || yAxisMax !== void 0) {
|
|
2913
|
+
yConfig.y.range = (u, dataMin, dataMax) => {
|
|
2914
|
+
const min = yAxisMin != null ? yAxisMin : dataMin;
|
|
2915
|
+
const max = yAxisMax != null ? yAxisMax : dataMax;
|
|
2916
|
+
return [min, max];
|
|
2917
|
+
};
|
|
2918
|
+
}
|
|
2848
2919
|
return yConfig;
|
|
2849
2920
|
};
|
|
2850
|
-
var getY2ScaleConfig = (label, axisAbbreviation, axisScale, roundAxisLabelsToInteger) => {
|
|
2921
|
+
var getY2ScaleConfig = (label, axisAbbreviation, axisScale, roundAxisLabelsToInteger, y2AxisLabelVisibility, y2AxisMin, y2AxisMax) => {
|
|
2851
2922
|
const y2Config = { y2: {} };
|
|
2852
2923
|
const scaleType = axisScale != null ? axisScale : "linear";
|
|
2853
2924
|
y2Config.y2.label = label;
|
|
2854
2925
|
y2Config.y2.side = "right";
|
|
2855
|
-
y2Config.y2.showGrid = false;
|
|
2856
2926
|
y2Config.y2.type = scaleType;
|
|
2857
2927
|
if (axisAbbreviation !== "none") {
|
|
2858
2928
|
y2Config.y2.tickFmt = (v) => (0, visualization_canvas_exports.shortenNumber)(v, 1, roundAxisLabelsToInteger);
|
|
2859
2929
|
} else if (roundAxisLabelsToInteger) {
|
|
2860
2930
|
y2Config.y2.tickFmt = (v) => roundAxisLabelsToInteger ? Math.round(v).toString() : v.toString();
|
|
2861
2931
|
}
|
|
2932
|
+
if (y2AxisLabelVisibility === "hide") {
|
|
2933
|
+
y2Config.y2.hideLabels = true;
|
|
2934
|
+
}
|
|
2935
|
+
if (y2AxisMin !== void 0 || y2AxisMax !== void 0) {
|
|
2936
|
+
y2Config.y2.range = (u, dataMin, dataMax) => {
|
|
2937
|
+
const min = y2AxisMin != null ? y2AxisMin : dataMin;
|
|
2938
|
+
const max = y2AxisMax != null ? y2AxisMax : dataMax;
|
|
2939
|
+
return [min, max];
|
|
2940
|
+
};
|
|
2941
|
+
}
|
|
2862
2942
|
return y2Config;
|
|
2863
2943
|
};
|
|
2864
|
-
var getSeriesOverrides = (yfields, y2fields, lineWidth, overlayFields, y2Enabled, nullValueMode) => {
|
|
2944
|
+
var getSeriesOverrides = (yfields, y2fields, lineWidth, overlayFields, y2Enabled, nullValueMode, markerDisplay, lineDashStyle, lineDashStylesByField) => {
|
|
2865
2945
|
const seriesConfig = {};
|
|
2866
2946
|
let spanGaps;
|
|
2867
2947
|
let replaceNullsWithZero;
|
|
@@ -2893,12 +2973,48 @@ var getSeriesOverrides = (yfields, y2fields, lineWidth, overlayFields, y2Enabled
|
|
|
2893
2973
|
if (overlayFields == null ? void 0 : overlayFields.includes(field)) {
|
|
2894
2974
|
seriesConfig[field].type = "line";
|
|
2895
2975
|
}
|
|
2976
|
+
if (markerDisplay !== void 0) {
|
|
2977
|
+
seriesConfig[field].markerDisplay = markerDisplay;
|
|
2978
|
+
}
|
|
2979
|
+
const fieldDashStyle = (lineDashStylesByField == null ? void 0 : lineDashStylesByField[field]) || lineDashStyle;
|
|
2980
|
+
if (fieldDashStyle) {
|
|
2981
|
+
seriesConfig[field].lineDashStyle = fieldDashStyle;
|
|
2982
|
+
}
|
|
2896
2983
|
if (replaceNullsWithZero !== void 0) {
|
|
2897
2984
|
seriesConfig[field].replaceNullsWithZero = replaceNullsWithZero;
|
|
2898
2985
|
}
|
|
2899
2986
|
});
|
|
2900
2987
|
return seriesConfig;
|
|
2901
2988
|
};
|
|
2989
|
+
var findRangeIndices = (xData, startValue, endValue) => {
|
|
2990
|
+
let startXIndex = -1;
|
|
2991
|
+
let endXIndex = -1;
|
|
2992
|
+
const xDataEpoch = xData.map((val) => {
|
|
2993
|
+
if (typeof val === "string") {
|
|
2994
|
+
return new Date(val).getTime() / 1e3;
|
|
2995
|
+
}
|
|
2996
|
+
return val;
|
|
2997
|
+
});
|
|
2998
|
+
for (let i = 0; i < xDataEpoch.length; i += 1) {
|
|
2999
|
+
if (xDataEpoch[i] >= startValue) {
|
|
3000
|
+
startXIndex = i;
|
|
3001
|
+
break;
|
|
3002
|
+
}
|
|
3003
|
+
}
|
|
3004
|
+
if (startXIndex === -1 && xDataEpoch.length > 0) {
|
|
3005
|
+
startXIndex = xDataEpoch.length - 1;
|
|
3006
|
+
}
|
|
3007
|
+
for (let i = xDataEpoch.length - 1; i >= 0; i -= 1) {
|
|
3008
|
+
if (xDataEpoch[i] <= endValue) {
|
|
3009
|
+
endXIndex = i;
|
|
3010
|
+
break;
|
|
3011
|
+
}
|
|
3012
|
+
}
|
|
3013
|
+
if (endXIndex === -1 && xDataEpoch.length > 0) {
|
|
3014
|
+
endXIndex = 0;
|
|
3015
|
+
}
|
|
3016
|
+
return { startXIndex, endXIndex };
|
|
3017
|
+
};
|
|
2902
3018
|
|
|
2903
3019
|
// src/common/TimeSeriesChartWrapper.tsx
|
|
2904
3020
|
var TimeSeriesChartContainer = styled_components_default.div`
|
|
@@ -2909,45 +3025,190 @@ var TimeSeriesChartContainer = styled_components_default.div`
|
|
|
2909
3025
|
position: absolute !important; // This is needed for canvas element export pdf/png to work correctly
|
|
2910
3026
|
}
|
|
2911
3027
|
`;
|
|
2912
|
-
var
|
|
3028
|
+
var appendTrellisToPayload2 = (payload, trellisKey, trellisSplitBy) => {
|
|
3029
|
+
const result = __spreadValues({}, payload);
|
|
3030
|
+
if (trellisSplitBy) {
|
|
3031
|
+
result["trellis.name"] = trellisSplitBy;
|
|
3032
|
+
}
|
|
3033
|
+
if (trellisKey) {
|
|
3034
|
+
result["trellis.value"] = trellisKey;
|
|
3035
|
+
}
|
|
3036
|
+
return result;
|
|
3037
|
+
};
|
|
3038
|
+
var hasMouseoverPayloadChanged = (currentPayload, previousPayload) => {
|
|
3039
|
+
if (!previousPayload) {
|
|
3040
|
+
return true;
|
|
3041
|
+
}
|
|
3042
|
+
if (currentPayload.index !== previousPayload.index) {
|
|
3043
|
+
return true;
|
|
3044
|
+
}
|
|
3045
|
+
if (currentPayload.seriesIndex !== previousPayload.seriesIndex) {
|
|
3046
|
+
return true;
|
|
3047
|
+
}
|
|
3048
|
+
if (currentPayload["trellis.name"] !== previousPayload["trellis.name"]) {
|
|
3049
|
+
return true;
|
|
3050
|
+
}
|
|
3051
|
+
if (currentPayload["trellis.value"] !== previousPayload["trellis.value"]) {
|
|
3052
|
+
return true;
|
|
3053
|
+
}
|
|
3054
|
+
return false;
|
|
3055
|
+
};
|
|
3056
|
+
var handleClick = (chartEvent, onClick, trellisKey, trellisSplitBy) => {
|
|
2913
3057
|
const payload = __spreadProps(__spreadValues({}, (0, lodash_exports.pick)(chartEvent, "value", "seriesKey")), {
|
|
2914
3058
|
name: chartEvent.seriesKey
|
|
2915
3059
|
});
|
|
2916
3060
|
delete payload.seriesKey;
|
|
2917
|
-
|
|
2918
|
-
|
|
2919
|
-
|
|
3061
|
+
if (chartEvent.rowContext) {
|
|
3062
|
+
Object.assign(
|
|
3063
|
+
payload,
|
|
3064
|
+
Object.keys(chartEvent.rowContext).reduce((acc, fieldName) => {
|
|
3065
|
+
acc[`row.${fieldName}.value`] = chartEvent.rowContext[fieldName];
|
|
3066
|
+
return acc;
|
|
3067
|
+
}, {})
|
|
3068
|
+
);
|
|
3069
|
+
}
|
|
3070
|
+
const updatedPayload = appendTrellisToPayload2(payload, trellisKey, trellisSplitBy);
|
|
3071
|
+
if (onClick) {
|
|
3072
|
+
onClick({
|
|
2920
3073
|
type: "point.click",
|
|
2921
3074
|
originalEvent: chartEvent,
|
|
2922
|
-
payload
|
|
3075
|
+
payload: updatedPayload
|
|
2923
3076
|
});
|
|
2924
3077
|
}
|
|
2925
3078
|
};
|
|
2926
|
-
var handleLegendClick = (chartEvent,
|
|
3079
|
+
var handleLegendClick = (chartEvent, onClick, trellisKey, trellisSplitBy) => {
|
|
2927
3080
|
const payload = {
|
|
2928
3081
|
name: chartEvent
|
|
2929
3082
|
};
|
|
2930
|
-
const
|
|
2931
|
-
if (
|
|
2932
|
-
|
|
3083
|
+
const updatedPayload = appendTrellisToPayload2(payload, trellisKey, trellisSplitBy);
|
|
3084
|
+
if (onClick) {
|
|
3085
|
+
onClick({
|
|
2933
3086
|
type: "legend.click",
|
|
2934
3087
|
originalEvent: chartEvent,
|
|
2935
|
-
payload
|
|
3088
|
+
payload: updatedPayload
|
|
2936
3089
|
});
|
|
2937
3090
|
}
|
|
2938
3091
|
};
|
|
3092
|
+
var handleRangeSelection = (rangeEvent, onSelect, chartData, trellisKey, trellisSplitBy) => {
|
|
3093
|
+
var _a;
|
|
3094
|
+
if (!rangeEvent) {
|
|
3095
|
+
return;
|
|
3096
|
+
}
|
|
3097
|
+
const xData = ((_a = chartData == null ? void 0 : chartData.columns) == null ? void 0 : _a[0]) || [];
|
|
3098
|
+
const { startXIndex, endXIndex } = findRangeIndices(xData, rangeEvent.start, rangeEvent.end);
|
|
3099
|
+
const payload = {
|
|
3100
|
+
startXIndex,
|
|
3101
|
+
startXValue: rangeEvent.start,
|
|
3102
|
+
endXIndex,
|
|
3103
|
+
endXValue: rangeEvent.end
|
|
3104
|
+
};
|
|
3105
|
+
const updatedPayload = appendTrellisToPayload2(payload, trellisKey, trellisSplitBy);
|
|
3106
|
+
if (onSelect) {
|
|
3107
|
+
onSelect({
|
|
3108
|
+
type: "range.selectBeforeZoom",
|
|
3109
|
+
originalEvent: rangeEvent,
|
|
3110
|
+
payload: updatedPayload
|
|
3111
|
+
});
|
|
3112
|
+
}
|
|
3113
|
+
};
|
|
3114
|
+
var handleRangeZoom = (rangeEvent, onSelect, chartData, trellisKey, trellisSplitBy) => {
|
|
3115
|
+
var _a;
|
|
3116
|
+
const xData = ((_a = chartData == null ? void 0 : chartData.columns) == null ? void 0 : _a[0]) || [];
|
|
3117
|
+
const { startXIndex, endXIndex } = findRangeIndices(xData, rangeEvent.start, rangeEvent.end);
|
|
3118
|
+
const payload = {
|
|
3119
|
+
startXIndex,
|
|
3120
|
+
startXValue: rangeEvent.start,
|
|
3121
|
+
endXIndex,
|
|
3122
|
+
endXValue: rangeEvent.end
|
|
3123
|
+
};
|
|
3124
|
+
const updatedPayload = appendTrellisToPayload2(payload, trellisKey, trellisSplitBy);
|
|
3125
|
+
if (onSelect) {
|
|
3126
|
+
onSelect({
|
|
3127
|
+
type: "range.select",
|
|
3128
|
+
originalEvent: rangeEvent,
|
|
3129
|
+
payload: updatedPayload
|
|
3130
|
+
});
|
|
3131
|
+
}
|
|
3132
|
+
};
|
|
3133
|
+
var parseArrayOption = (value) => {
|
|
3134
|
+
if (Array.isArray(value)) {
|
|
3135
|
+
return value;
|
|
3136
|
+
}
|
|
3137
|
+
if (value) {
|
|
3138
|
+
return JSON.parse(value);
|
|
3139
|
+
}
|
|
3140
|
+
return void 0;
|
|
3141
|
+
};
|
|
2939
3142
|
var TimeSeriesChartWrapper = (props) => {
|
|
2940
|
-
|
|
2941
|
-
const {
|
|
3143
|
+
var _b, _c, _d;
|
|
3144
|
+
const _a = props, {
|
|
3145
|
+
width,
|
|
3146
|
+
height,
|
|
3147
|
+
chartData,
|
|
3148
|
+
options,
|
|
3149
|
+
userLocale,
|
|
3150
|
+
annotationX,
|
|
3151
|
+
annotationLabel,
|
|
3152
|
+
annotationColor,
|
|
3153
|
+
legendDisplay,
|
|
3154
|
+
markerDisplay,
|
|
3155
|
+
onClick,
|
|
3156
|
+
onPointMouseOver,
|
|
3157
|
+
onPointMouseOut,
|
|
3158
|
+
onSelect,
|
|
3159
|
+
splitByLayout,
|
|
3160
|
+
trellisKey,
|
|
3161
|
+
trellisSplitBy,
|
|
2942
3162
|
backgroundColor,
|
|
3163
|
+
defaultFontColor,
|
|
3164
|
+
additionalTooltipValues,
|
|
3165
|
+
showYAxisWithZero: showYAxisWithZeroFromProps,
|
|
3166
|
+
showY2AxisWithZero: showY2AxisWithZeroFromProps
|
|
3167
|
+
} = _a, otherOptions = __objRest(_a, [
|
|
3168
|
+
"width",
|
|
3169
|
+
"height",
|
|
3170
|
+
"chartData",
|
|
3171
|
+
"options",
|
|
3172
|
+
"userLocale",
|
|
3173
|
+
"annotationX",
|
|
3174
|
+
"annotationLabel",
|
|
3175
|
+
"annotationColor",
|
|
3176
|
+
"legendDisplay",
|
|
3177
|
+
"markerDisplay",
|
|
3178
|
+
"onClick",
|
|
3179
|
+
"onPointMouseOver",
|
|
3180
|
+
"onPointMouseOut",
|
|
3181
|
+
"onSelect",
|
|
3182
|
+
"splitByLayout",
|
|
3183
|
+
"trellisKey",
|
|
3184
|
+
"trellisSplitBy",
|
|
3185
|
+
"backgroundColor",
|
|
3186
|
+
"defaultFontColor",
|
|
3187
|
+
"additionalTooltipValues",
|
|
3188
|
+
// Extract showYAxisWithZero directly from props for accelerated render mode
|
|
3189
|
+
"showYAxisWithZero",
|
|
3190
|
+
"showY2AxisWithZero"
|
|
3191
|
+
]);
|
|
3192
|
+
const { eventHandlers, xField: xFieldFromProps } = otherOptions;
|
|
3193
|
+
const trellisEnabled = useTrellisEnabled(splitByLayout);
|
|
3194
|
+
const {
|
|
3195
|
+
backgroundColor: bgColorFromOptions,
|
|
2943
3196
|
seriesColors: seriesColorsStr,
|
|
2944
3197
|
fieldColors,
|
|
3198
|
+
legendLabels: legendLabelsStr,
|
|
3199
|
+
legendMode,
|
|
2945
3200
|
"axisTitleX.text": xAxisTitleText,
|
|
2946
3201
|
"axisTitleY.text": yAxisTitleText,
|
|
2947
3202
|
"axisTitleY2.text": y2AxisTitleText,
|
|
2948
3203
|
"axisTitleX.visibility": xAxisTitleVisibility,
|
|
2949
3204
|
"axisTitleY.visibility": yAxisTitleVisibility,
|
|
2950
3205
|
"axisTitleY2.visibility": y2AxisTitleVisibility,
|
|
3206
|
+
"axisLabelsX.majorLabelVisibility": xAxisLabelVisibility,
|
|
3207
|
+
"axisLabelsX.majorLabelStyle.rotation": xAxisLabelRotation,
|
|
3208
|
+
"axisLabelsY.majorLabelVisibility": yAxisLabelVisibility,
|
|
3209
|
+
"axisLabelsY.majorUnit": yAxisMajorUnitFromSimpleXML,
|
|
3210
|
+
"axisLabelsY2.majorLabelVisibility": y2AxisLabelVisibility,
|
|
3211
|
+
"axisLabelsY2.majorUnit": y2AxisMajorUnitFromSimpleXML,
|
|
2951
3212
|
"axisY.abbreviation": yAxisAbbreviation,
|
|
2952
3213
|
"axisY.scale": yAxisScale,
|
|
2953
3214
|
"axisY2.abbreviation": y2AxisAbbreviation,
|
|
@@ -2957,10 +3218,63 @@ var TimeSeriesChartWrapper = (props) => {
|
|
|
2957
3218
|
"axisLabelsY2.integerUnits": y2IntegerUnits,
|
|
2958
3219
|
"chart.overlayFields": overlayFieldsStr,
|
|
2959
3220
|
"chart.nullValueMode": nullValueMode,
|
|
2960
|
-
|
|
3221
|
+
"chart.showDataLabels": showDataLabels,
|
|
3222
|
+
lineWidth,
|
|
3223
|
+
lineDashStyle,
|
|
3224
|
+
fieldDashStyles: lineDashStylesByFieldStr,
|
|
3225
|
+
yAxisMin: yAxisMinRaw,
|
|
3226
|
+
yAxisMax: yAxisMaxRaw,
|
|
3227
|
+
y2AxisMin: y2AxisMinRaw,
|
|
3228
|
+
y2AxisMax: y2AxisMaxRaw,
|
|
3229
|
+
showXMajorGridLines,
|
|
3230
|
+
showYMajorGridLines,
|
|
3231
|
+
showY2MajorGridLines,
|
|
3232
|
+
showYMinorGridLines,
|
|
3233
|
+
showY2MinorGridLines,
|
|
3234
|
+
showLineSmoothing,
|
|
3235
|
+
yAxisMajorTickVisibility,
|
|
3236
|
+
y2AxisMajorTickVisibility,
|
|
3237
|
+
yAxisMajorTickSize,
|
|
3238
|
+
y2AxisMajorTickSize,
|
|
3239
|
+
yAxisMajorTickInterval,
|
|
3240
|
+
y2AxisMajorTickInterval,
|
|
3241
|
+
yAxisMinorTickVisibility,
|
|
3242
|
+
y2AxisMinorTickVisibility,
|
|
3243
|
+
yAxisMinorTickSize,
|
|
3244
|
+
y2AxisMinorTickSize,
|
|
3245
|
+
showYAxisWithZero: showYAxisWithZeroFromOptions,
|
|
3246
|
+
showY2AxisWithZero: showY2AxisWithZeroFromOptions
|
|
2961
3247
|
} = options;
|
|
3248
|
+
const dataValuesDisplay = showDataLabels === "none" ? "off" : showDataLabels;
|
|
3249
|
+
const showYAxisWithZero = showYAxisWithZeroFromProps != null ? showYAxisWithZeroFromProps : showYAxisWithZeroFromOptions;
|
|
3250
|
+
const showY2AxisWithZero = showY2AxisWithZeroFromProps != null ? showY2AxisWithZeroFromProps : showY2AxisWithZeroFromOptions;
|
|
3251
|
+
const showYMajorTicks = yAxisMajorTickVisibility === "show";
|
|
3252
|
+
const showY2MajorTicks = y2AxisMajorTickVisibility === "show";
|
|
3253
|
+
const showYMinorTicks = yAxisMinorTickVisibility === "show";
|
|
3254
|
+
const showY2MinorTicks = y2AxisMinorTickVisibility === "show";
|
|
3255
|
+
const yAxisMin = parseAxisValue(yAxisMinRaw);
|
|
3256
|
+
const yAxisMax = parseAxisValue(yAxisMaxRaw);
|
|
3257
|
+
const y2AxisMin = parseAxisValue(y2AxisMinRaw);
|
|
3258
|
+
const y2AxisMax = parseAxisValue(y2AxisMaxRaw);
|
|
3259
|
+
const parseTickInterval = (simpleXMLValue, canvasValue) => {
|
|
3260
|
+
if (simpleXMLValue) return Number(simpleXMLValue);
|
|
3261
|
+
if (canvasValue) return Number(canvasValue);
|
|
3262
|
+
return void 0;
|
|
3263
|
+
};
|
|
3264
|
+
const yAxisMajorTickIntervalNum = parseTickInterval(yAxisMajorUnitFromSimpleXML, yAxisMajorTickInterval);
|
|
3265
|
+
const y2AxisMajorTickIntervalNum = parseTickInterval(
|
|
3266
|
+
y2AxisMajorUnitFromSimpleXML,
|
|
3267
|
+
y2AxisMajorTickInterval
|
|
3268
|
+
);
|
|
3269
|
+
const yAxisMajorTickSizeNum = yAxisMajorTickSize ? Number(yAxisMajorTickSize) : void 0;
|
|
3270
|
+
const y2AxisMajorTickSizeNum = y2AxisMajorTickSize ? Number(y2AxisMajorTickSize) : void 0;
|
|
3271
|
+
const yAxisMinorTickSizeNum = yAxisMinorTickSize ? Number(yAxisMinorTickSize) : void 0;
|
|
3272
|
+
const y2AxisMinorTickSizeNum = y2AxisMinorTickSize ? Number(y2AxisMinorTickSize) : void 0;
|
|
2962
3273
|
const seriesColors = seriesColorsStr ? JSON.parse(seriesColorsStr) : void 0;
|
|
2963
3274
|
const seriesColorsByField = fieldColors ? JSON.parse(fieldColors) : void 0;
|
|
3275
|
+
const lineDashStylesByField = lineDashStylesByFieldStr ? JSON.parse(lineDashStylesByFieldStr) : void 0;
|
|
3276
|
+
const legendLabels = parseArrayOption(legendLabelsStr);
|
|
3277
|
+
const bgColor = backgroundColor || bgColorFromOptions;
|
|
2964
3278
|
const [containerWidth, setContainerWidth] = react_exports.useState(Number(props.width));
|
|
2965
3279
|
const [containerHeight, setContainerHeight] = react_exports.useState(Number(props.height));
|
|
2966
3280
|
const cachedHandleResize = react_exports.useCallback((w, h) => {
|
|
@@ -2971,25 +3285,64 @@ var TimeSeriesChartWrapper = (props) => {
|
|
|
2971
3285
|
fields: chartData.fields,
|
|
2972
3286
|
columns: chartData.seriesList
|
|
2973
3287
|
});
|
|
2974
|
-
const xField =
|
|
3288
|
+
const xField = getFieldName2(filteredChartData.fields[0]);
|
|
2975
3289
|
const yFields = getFieldNames(
|
|
2976
3290
|
filteredChartData.fields.length > 1 ? filteredChartData.fields.slice(1) : []
|
|
2977
3291
|
);
|
|
2978
|
-
const y2Fields =
|
|
2979
|
-
|
|
3292
|
+
const y2Fields = (0, react_exports.useMemo)(
|
|
3293
|
+
() => y2FieldsStr ? y2FieldsStr.split(",").map((f) => f.trim()) : [],
|
|
3294
|
+
[y2FieldsStr]
|
|
3295
|
+
);
|
|
3296
|
+
const overlayFields = (0, react_exports.useMemo)(
|
|
3297
|
+
() => overlayFieldsStr ? overlayFieldsStr.split(",").map((f) => f.trim()) : [],
|
|
3298
|
+
[overlayFieldsStr]
|
|
3299
|
+
);
|
|
2980
3300
|
let xAxisTitle = getComputedAxisTitles(xAxisTitleText, [xField], xAxisTitleVisibility);
|
|
2981
3301
|
xAxisTitle = ellipsisAxisTitle(xAxisTitle, containerWidth);
|
|
2982
|
-
|
|
3302
|
+
const yFieldsForTitle = y2Enabled ? yFields.filter((field) => !y2Fields.includes(field)) : yFields;
|
|
3303
|
+
let yAxisTitle = getComputedAxisTitles(yAxisTitleText, yFieldsForTitle, yAxisTitleVisibility);
|
|
2983
3304
|
yAxisTitle = ellipsisAxisTitle(yAxisTitle, containerHeight);
|
|
2984
3305
|
const fieldsForY2Axis = y2Fields.length > 0 ? y2Fields : overlayFields;
|
|
2985
3306
|
let y2AxisTitle = getComputedAxisTitles(y2AxisTitleText, fieldsForY2Axis, y2AxisTitleVisibility);
|
|
2986
3307
|
y2AxisTitle = ellipsisAxisTitle(y2AxisTitle, containerHeight);
|
|
2987
|
-
const xScaleConfig =
|
|
2988
|
-
|
|
2989
|
-
|
|
2990
|
-
|
|
2991
|
-
|
|
2992
|
-
|
|
3308
|
+
const xScaleConfig = (0, react_exports.useMemo)(
|
|
3309
|
+
() => getXScaleConfig(xAxisTitle, xAxisLabelVisibility, xAxisLabelRotation),
|
|
3310
|
+
[xAxisTitle, xAxisLabelVisibility, xAxisLabelRotation]
|
|
3311
|
+
);
|
|
3312
|
+
const yScaleConfig = (0, react_exports.useMemo)(
|
|
3313
|
+
() => getYScaleConfig(
|
|
3314
|
+
yAxisTitle,
|
|
3315
|
+
yAxisAbbreviation,
|
|
3316
|
+
yAxisScale,
|
|
3317
|
+
yAxisLabelVisibility,
|
|
3318
|
+
yAxisMin,
|
|
3319
|
+
yAxisMax
|
|
3320
|
+
),
|
|
3321
|
+
[yAxisTitle, yAxisAbbreviation, yAxisScale, yAxisLabelVisibility, yAxisMin, yAxisMax]
|
|
3322
|
+
);
|
|
3323
|
+
const y2ScaleConfig = (0, react_exports.useMemo)(() => {
|
|
3324
|
+
if (y2Enabled) {
|
|
3325
|
+
return getY2ScaleConfig(
|
|
3326
|
+
y2AxisTitle,
|
|
3327
|
+
y2AxisAbbreviation,
|
|
3328
|
+
y2AxisScale,
|
|
3329
|
+
y2IntegerUnits,
|
|
3330
|
+
y2AxisLabelVisibility,
|
|
3331
|
+
y2AxisMin,
|
|
3332
|
+
y2AxisMax
|
|
3333
|
+
);
|
|
3334
|
+
}
|
|
3335
|
+
return {};
|
|
3336
|
+
}, [
|
|
3337
|
+
y2Enabled,
|
|
3338
|
+
y2AxisTitle,
|
|
3339
|
+
y2AxisAbbreviation,
|
|
3340
|
+
y2AxisScale,
|
|
3341
|
+
y2IntegerUnits,
|
|
3342
|
+
y2AxisLabelVisibility,
|
|
3343
|
+
y2AxisMin,
|
|
3344
|
+
y2AxisMax
|
|
3345
|
+
]);
|
|
2993
3346
|
const uplotContainerElement = (0, react_exports.useRef)(null);
|
|
2994
3347
|
const seriesDataFormatted = [
|
|
2995
3348
|
filteredChartData.columns[0],
|
|
@@ -2997,24 +3350,140 @@ var TimeSeriesChartWrapper = (props) => {
|
|
|
2997
3350
|
];
|
|
2998
3351
|
chartData.fields = filteredChartData.fields;
|
|
2999
3352
|
chartData.columns = seriesDataFormatted;
|
|
3000
|
-
const seriesOverrides =
|
|
3001
|
-
|
|
3002
|
-
|
|
3003
|
-
|
|
3004
|
-
|
|
3005
|
-
|
|
3006
|
-
|
|
3353
|
+
const seriesOverrides = (0, react_exports.useMemo)(
|
|
3354
|
+
() => getSeriesOverrides(
|
|
3355
|
+
yFields,
|
|
3356
|
+
y2Fields,
|
|
3357
|
+
lineWidth,
|
|
3358
|
+
overlayFields,
|
|
3359
|
+
y2Enabled,
|
|
3360
|
+
nullValueMode,
|
|
3361
|
+
markerDisplay,
|
|
3362
|
+
lineDashStyle,
|
|
3363
|
+
lineDashStylesByField
|
|
3364
|
+
),
|
|
3365
|
+
[
|
|
3366
|
+
yFields,
|
|
3367
|
+
y2Fields,
|
|
3368
|
+
lineWidth,
|
|
3369
|
+
overlayFields,
|
|
3370
|
+
y2Enabled,
|
|
3371
|
+
nullValueMode,
|
|
3372
|
+
markerDisplay,
|
|
3373
|
+
lineDashStyle,
|
|
3374
|
+
lineDashStylesByField
|
|
3375
|
+
]
|
|
3007
3376
|
);
|
|
3008
|
-
const chartingEventAnnotations =
|
|
3009
|
-
|
|
3010
|
-
|
|
3011
|
-
|
|
3012
|
-
|
|
3013
|
-
|
|
3014
|
-
|
|
3015
|
-
|
|
3016
|
-
|
|
3017
|
-
|
|
3377
|
+
const chartingEventAnnotations = (0, react_exports.useMemo)(
|
|
3378
|
+
() => getAnnotationsForCanvas({
|
|
3379
|
+
annotationX,
|
|
3380
|
+
annotationColor,
|
|
3381
|
+
annotationLabel
|
|
3382
|
+
}),
|
|
3383
|
+
[annotationX, annotationColor, annotationLabel]
|
|
3384
|
+
);
|
|
3385
|
+
const scaleConfig = (0, react_exports.useMemo)(
|
|
3386
|
+
() => __spreadValues(__spreadValues(__spreadValues({}, xScaleConfig), yScaleConfig), y2ScaleConfig),
|
|
3387
|
+
[xScaleConfig, yScaleConfig, y2ScaleConfig]
|
|
3388
|
+
);
|
|
3389
|
+
const legend = (0, react_exports.useMemo)(
|
|
3390
|
+
() => getLegend({ legendDisplay, isSeriesCompare: legendMode === "seriesCompare" }),
|
|
3391
|
+
[legendDisplay, legendMode]
|
|
3392
|
+
);
|
|
3393
|
+
const handleChartClick = react_exports.useCallback(
|
|
3394
|
+
(event) => {
|
|
3395
|
+
if (onClick) {
|
|
3396
|
+
handleClick(event, onClick, trellisKey, trellisSplitBy);
|
|
3397
|
+
}
|
|
3398
|
+
},
|
|
3399
|
+
[onClick, trellisKey, trellisSplitBy]
|
|
3400
|
+
);
|
|
3401
|
+
const handleChartLegendClick = react_exports.useCallback(
|
|
3402
|
+
(event) => {
|
|
3403
|
+
if (onClick) {
|
|
3404
|
+
handleLegendClick(event, onClick, trellisKey, trellisSplitBy);
|
|
3405
|
+
}
|
|
3406
|
+
},
|
|
3407
|
+
[onClick, trellisKey, trellisSplitBy]
|
|
3408
|
+
);
|
|
3409
|
+
const handleChartRangeSelection = react_exports.useCallback(
|
|
3410
|
+
(range2) => {
|
|
3411
|
+
if (onSelect) {
|
|
3412
|
+
handleRangeSelection(range2, onSelect, chartData, trellisKey, trellisSplitBy);
|
|
3413
|
+
}
|
|
3414
|
+
},
|
|
3415
|
+
[onSelect, chartData, trellisKey, trellisSplitBy]
|
|
3416
|
+
);
|
|
3417
|
+
const handleChartRangeZoom = react_exports.useCallback(
|
|
3418
|
+
(range2) => {
|
|
3419
|
+
if (onSelect) {
|
|
3420
|
+
handleRangeZoom(range2, onSelect, chartData, trellisKey, trellisSplitBy);
|
|
3421
|
+
}
|
|
3422
|
+
},
|
|
3423
|
+
[onSelect, chartData, trellisKey, trellisSplitBy]
|
|
3424
|
+
);
|
|
3425
|
+
const xFieldToUse = xFieldFromProps || xField;
|
|
3426
|
+
const enableSearchZoom = react_exports.useMemo(
|
|
3427
|
+
() => shouldEnableSearchZoom(eventHandlers, xFieldToUse),
|
|
3428
|
+
[eventHandlers, xFieldToUse]
|
|
3429
|
+
);
|
|
3430
|
+
const lastPayloadRef = react_exports.useRef(null);
|
|
3431
|
+
const lastOriginalEventRef = react_exports.useRef(null);
|
|
3432
|
+
const previousMouseoverPayloadRef = react_exports.useRef(null);
|
|
3433
|
+
const additionalTooltipValuesRef = react_exports.useRef(additionalTooltipValues);
|
|
3434
|
+
react_exports.useEffect(() => {
|
|
3435
|
+
additionalTooltipValuesRef.current = additionalTooltipValues;
|
|
3436
|
+
}, [additionalTooltipValues]);
|
|
3437
|
+
const handleChartCrosshairChange = react_exports.useCallback(
|
|
3438
|
+
(event) => {
|
|
3439
|
+
if (onPointMouseOver || onPointMouseOut) {
|
|
3440
|
+
if (!event) {
|
|
3441
|
+
if (onPointMouseOut && lastPayloadRef.current) {
|
|
3442
|
+
onPointMouseOut({
|
|
3443
|
+
type: "point.mouseout",
|
|
3444
|
+
originalEvent: lastOriginalEventRef.current,
|
|
3445
|
+
payload: lastPayloadRef.current
|
|
3446
|
+
});
|
|
3447
|
+
}
|
|
3448
|
+
previousMouseoverPayloadRef.current = null;
|
|
3449
|
+
return;
|
|
3450
|
+
}
|
|
3451
|
+
const payload = __spreadProps(__spreadValues({}, (0, lodash_exports.pick)(event, "value", "seriesKey", "time", "index", "seriesIndex")), {
|
|
3452
|
+
name: event.seriesKey
|
|
3453
|
+
});
|
|
3454
|
+
delete payload.seriesKey;
|
|
3455
|
+
if (event.rowContext) {
|
|
3456
|
+
Object.assign(
|
|
3457
|
+
payload,
|
|
3458
|
+
Object.keys(event.rowContext).reduce((acc, fieldName) => {
|
|
3459
|
+
acc[`row.${fieldName}.value`] = event.rowContext[fieldName];
|
|
3460
|
+
return acc;
|
|
3461
|
+
}, {})
|
|
3462
|
+
);
|
|
3463
|
+
}
|
|
3464
|
+
const updatedPayload = appendTrellisToPayload2(payload, trellisKey, trellisSplitBy);
|
|
3465
|
+
if (!hasMouseoverPayloadChanged(updatedPayload, previousMouseoverPayloadRef.current)) {
|
|
3466
|
+
return;
|
|
3467
|
+
}
|
|
3468
|
+
lastPayloadRef.current = updatedPayload;
|
|
3469
|
+
lastOriginalEventRef.current = event;
|
|
3470
|
+
previousMouseoverPayloadRef.current = __spreadValues({}, updatedPayload);
|
|
3471
|
+
if (onPointMouseOver) {
|
|
3472
|
+
onPointMouseOver({
|
|
3473
|
+
type: "point.mouseover",
|
|
3474
|
+
originalEvent: event,
|
|
3475
|
+
payload: updatedPayload
|
|
3476
|
+
});
|
|
3477
|
+
}
|
|
3478
|
+
}
|
|
3479
|
+
},
|
|
3480
|
+
[onPointMouseOver, onPointMouseOut, trellisKey, trellisSplitBy]
|
|
3481
|
+
);
|
|
3482
|
+
const dataKey = `${(_b = chartData.columns[0]) == null ? void 0 : _b[0]}-${(_c = chartData.columns[0]) == null ? void 0 : _c[chartData.columns[0].length - 1]}-${(_d = chartData.columns[0]) == null ? void 0 : _d.length}`;
|
|
3483
|
+
const memoizedChart = (0, react_exports.useMemo)(() => {
|
|
3484
|
+
const computedOnRangeZoom = onSelect ? handleChartRangeZoom : void 0;
|
|
3485
|
+
return /* @__PURE__ */ react_exports.createElement(visualization_canvas_exports.RangeSelectionProvider, { key: dataKey }, /* @__PURE__ */ react_exports.createElement(
|
|
3486
|
+
visualization_canvas_exports.TimeSeriesChart,
|
|
3018
3487
|
{
|
|
3019
3488
|
data: chartData,
|
|
3020
3489
|
width: containerWidth,
|
|
@@ -3022,49 +3491,113 @@ var TimeSeriesChartWrapper = (props) => {
|
|
|
3022
3491
|
seriesColors,
|
|
3023
3492
|
seriesColorsByField,
|
|
3024
3493
|
seriesConfig: seriesOverrides,
|
|
3025
|
-
legend
|
|
3494
|
+
legend,
|
|
3495
|
+
legendLabels,
|
|
3496
|
+
isSeriesCompare: legendMode === "seriesCompare",
|
|
3497
|
+
maxSeriesFocus: legendMode === "seriesCompare" ? 0 : void 0,
|
|
3026
3498
|
scaleConfig,
|
|
3027
3499
|
timestampFormat: "expanded",
|
|
3028
|
-
onCrosshairClick:
|
|
3029
|
-
|
|
3500
|
+
onCrosshairClick: onClick ? handleChartClick : void 0,
|
|
3501
|
+
onCrosshairChange: onPointMouseOver || onPointMouseOut ? handleChartCrosshairChange : void 0,
|
|
3502
|
+
onSeriesClick: onClick ? handleChartLegendClick : void 0,
|
|
3503
|
+
onRangeSelection: handleChartRangeSelection,
|
|
3504
|
+
onRangeZoom: computedOnRangeZoom,
|
|
3505
|
+
serverSideZoom: enableSearchZoom,
|
|
3030
3506
|
userLocale,
|
|
3031
3507
|
events: chartingEventAnnotations,
|
|
3032
|
-
eventsConfig: { renderer: triangleEventAnnotationRenderer }
|
|
3033
|
-
|
|
3034
|
-
|
|
3035
|
-
|
|
3036
|
-
|
|
3037
|
-
|
|
3038
|
-
|
|
3039
|
-
|
|
3040
|
-
|
|
3041
|
-
|
|
3042
|
-
|
|
3043
|
-
|
|
3044
|
-
|
|
3045
|
-
|
|
3046
|
-
|
|
3047
|
-
|
|
3048
|
-
|
|
3049
|
-
|
|
3508
|
+
eventsConfig: { renderer: triangleEventAnnotationRenderer },
|
|
3509
|
+
additionalTooltipValuesRef,
|
|
3510
|
+
showXMajorGridLines,
|
|
3511
|
+
showYMajorGridLines,
|
|
3512
|
+
showY2MajorGridLines,
|
|
3513
|
+
showYMinorGridLines,
|
|
3514
|
+
showY2MinorGridLines,
|
|
3515
|
+
showLineSmoothing,
|
|
3516
|
+
dataValuesDisplay,
|
|
3517
|
+
showYMajorTicks,
|
|
3518
|
+
showY2MajorTicks,
|
|
3519
|
+
yAxisMajorTickSize: yAxisMajorTickSizeNum,
|
|
3520
|
+
y2AxisMajorTickSize: y2AxisMajorTickSizeNum,
|
|
3521
|
+
yAxisMajorTickInterval: yAxisMajorTickIntervalNum,
|
|
3522
|
+
y2AxisMajorTickInterval: y2AxisMajorTickIntervalNum,
|
|
3523
|
+
showYMinorTicks,
|
|
3524
|
+
showY2MinorTicks,
|
|
3525
|
+
yAxisMinorTickSize: yAxisMinorTickSizeNum,
|
|
3526
|
+
y2AxisMinorTickSize: y2AxisMinorTickSizeNum,
|
|
3527
|
+
showYAxisWithZero,
|
|
3528
|
+
showY2AxisWithZero
|
|
3529
|
+
}
|
|
3530
|
+
));
|
|
3531
|
+
}, [
|
|
3532
|
+
onSelect,
|
|
3533
|
+
handleChartRangeZoom,
|
|
3534
|
+
dataKey,
|
|
3535
|
+
chartData,
|
|
3536
|
+
containerWidth,
|
|
3537
|
+
containerHeight,
|
|
3538
|
+
seriesColors,
|
|
3539
|
+
seriesColorsByField,
|
|
3540
|
+
seriesOverrides,
|
|
3541
|
+
legend,
|
|
3542
|
+
legendLabels,
|
|
3543
|
+
scaleConfig,
|
|
3544
|
+
onClick,
|
|
3545
|
+
handleChartClick,
|
|
3546
|
+
onPointMouseOver,
|
|
3547
|
+
onPointMouseOut,
|
|
3548
|
+
handleChartCrosshairChange,
|
|
3549
|
+
handleChartLegendClick,
|
|
3550
|
+
handleChartRangeSelection,
|
|
3551
|
+
enableSearchZoom,
|
|
3552
|
+
userLocale,
|
|
3553
|
+
chartingEventAnnotations,
|
|
3554
|
+
showXMajorGridLines,
|
|
3555
|
+
showYMajorGridLines,
|
|
3556
|
+
showY2MajorGridLines,
|
|
3557
|
+
showYMinorGridLines,
|
|
3558
|
+
showY2MinorGridLines,
|
|
3559
|
+
showLineSmoothing,
|
|
3560
|
+
dataValuesDisplay,
|
|
3561
|
+
showYMajorTicks,
|
|
3562
|
+
showY2MajorTicks,
|
|
3563
|
+
yAxisMajorTickSizeNum,
|
|
3564
|
+
y2AxisMajorTickSizeNum,
|
|
3565
|
+
yAxisMajorTickIntervalNum,
|
|
3566
|
+
y2AxisMajorTickIntervalNum,
|
|
3567
|
+
showYMinorTicks,
|
|
3568
|
+
showY2MinorTicks,
|
|
3569
|
+
yAxisMinorTickSizeNum,
|
|
3570
|
+
y2AxisMinorTickSizeNum,
|
|
3571
|
+
showYAxisWithZero,
|
|
3572
|
+
showY2AxisWithZero,
|
|
3573
|
+
legendMode
|
|
3574
|
+
]);
|
|
3050
3575
|
const memoizedVisualization = (0, react_exports.useMemo)(() => {
|
|
3051
|
-
return /* @__PURE__ */ react_exports.createElement(VizStyleWrapper_default, { backgroundColor }, memoizedChart);
|
|
3052
|
-
}, [
|
|
3053
|
-
return /* @__PURE__ */ react_exports.createElement(
|
|
3576
|
+
return /* @__PURE__ */ react_exports.createElement(VizStyleWrapper_default, { backgroundColor: bgColor }, memoizedChart);
|
|
3577
|
+
}, [bgColor, memoizedChart]);
|
|
3578
|
+
return /* @__PURE__ */ react_exports.createElement(react_exports.Fragment, null, trellisEnabled && /* @__PURE__ */ react_exports.createElement(
|
|
3579
|
+
TrellisTitle,
|
|
3580
|
+
{
|
|
3581
|
+
trellisKey,
|
|
3582
|
+
backgroundColor: bgColor,
|
|
3583
|
+
fontColor: defaultFontColor
|
|
3584
|
+
}
|
|
3585
|
+
), /* @__PURE__ */ react_exports.createElement(
|
|
3054
3586
|
TimeSeriesChartContainer,
|
|
3055
3587
|
{
|
|
3056
|
-
height,
|
|
3588
|
+
height: trellisEnabled ? Number(height) - TRELLIS_TITLE_HEIGHT : height,
|
|
3057
3589
|
width,
|
|
3058
3590
|
ref: uplotContainerElement,
|
|
3059
3591
|
"data-test": "timeseries-chart-wrapper"
|
|
3060
3592
|
},
|
|
3061
3593
|
/* @__PURE__ */ react_exports.createElement(SizeAwareWrapper_default, { width, height, onResize: cachedHandleResize }),
|
|
3062
3594
|
memoizedVisualization
|
|
3063
|
-
);
|
|
3595
|
+
));
|
|
3064
3596
|
};
|
|
3065
3597
|
var TimeSeriesChartWrapper_default = TimeSeriesChartWrapper;
|
|
3066
3598
|
|
|
3067
3599
|
// src/common/withDashboardViz.tsx
|
|
3600
|
+
var SanitizedTimeSeriesChartWrapper = (0, SanitizeProps_exports.withSanitizedProps)(TimeSeriesChartWrapper_default);
|
|
3068
3601
|
var withDashboardViz = (opts) => {
|
|
3069
3602
|
const {
|
|
3070
3603
|
ReactViz,
|
|
@@ -3073,6 +3606,7 @@ var withDashboardViz = (opts) => {
|
|
|
3073
3606
|
},
|
|
3074
3607
|
computeVizPropsBeforeEval = () => {
|
|
3075
3608
|
},
|
|
3609
|
+
computeDataFrames,
|
|
3076
3610
|
disableEditModeCover,
|
|
3077
3611
|
useIconPlaceholder
|
|
3078
3612
|
} = opts;
|
|
@@ -3201,11 +3735,19 @@ var withDashboardViz = (opts) => {
|
|
|
3201
3735
|
);
|
|
3202
3736
|
setDataFramesInState(dataFrames);
|
|
3203
3737
|
}
|
|
3738
|
+
let mergedFrames = dataFrames;
|
|
3739
|
+
if (computeDataFrames && dataFrames) {
|
|
3740
|
+
const derivedFrames = computeDataFrames({
|
|
3741
|
+
dataSources: downsampledDataSources,
|
|
3742
|
+
options: optionsToEvaluate.options
|
|
3743
|
+
});
|
|
3744
|
+
mergedFrames = __spreadValues(__spreadValues({}, dataFrames), derivedFrames);
|
|
3745
|
+
}
|
|
3204
3746
|
const result = Options_exports.Options.evaluate(
|
|
3205
3747
|
optionsToEvaluate,
|
|
3206
3748
|
downsampledDataSources,
|
|
3207
3749
|
themeFunc,
|
|
3208
|
-
|
|
3750
|
+
mergedFrames,
|
|
3209
3751
|
getFeatureFlag(featureFlagContext, "visualizations_bypassCloneDeepOptionScope")
|
|
3210
3752
|
);
|
|
3211
3753
|
return result;
|
|
@@ -3293,7 +3835,7 @@ var withDashboardViz = (opts) => {
|
|
|
3293
3835
|
});
|
|
3294
3836
|
}
|
|
3295
3837
|
eventCallbackProps[eventCallbackPropName] = (ev) => {
|
|
3296
|
-
if (ev
|
|
3838
|
+
if (ev == null ? void 0 : ev.payload) {
|
|
3297
3839
|
payload = __spreadValues({}, ev.payload);
|
|
3298
3840
|
}
|
|
3299
3841
|
return onEventTrigger({
|
|
@@ -3317,10 +3859,7 @@ var withDashboardViz = (opts) => {
|
|
|
3317
3859
|
if (useAsyncEvaluatedOptions && Object.keys(evaluatedOptionsToUse).length === 0) {
|
|
3318
3860
|
return null;
|
|
3319
3861
|
}
|
|
3320
|
-
|
|
3321
|
-
if (isAcceleratedRenderOn) {
|
|
3322
|
-
SanitizedViz = (0, SanitizeProps_exports.withSanitizedProps)(TimeSeriesChartWrapper_default);
|
|
3323
|
-
}
|
|
3862
|
+
const SanitizedViz = isAcceleratedRenderOn ? SanitizedTimeSeriesChartWrapper : SanitizedReactViz;
|
|
3324
3863
|
return /* @__PURE__ */ react_exports.createElement(
|
|
3325
3864
|
SanitizedViz,
|
|
3326
3865
|
__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadProps(__spreadValues({}, SplunkVisualization_default.defaults), {
|
|
@@ -3348,9 +3887,9 @@ var propUtils_exports = {};
|
|
|
3348
3887
|
__export(propUtils_exports, {
|
|
3349
3888
|
default: () => propUtils_default
|
|
3350
3889
|
});
|
|
3351
|
-
var
|
|
3890
|
+
var defaultImport37 = __toESM(require("@splunk/visualizations-shared/propUtils"));
|
|
3352
3891
|
__reExport(propUtils_exports, require("@splunk/visualizations-shared/propUtils"));
|
|
3353
|
-
var propUtils_default = "default" in
|
|
3892
|
+
var propUtils_default = "default" in defaultImport37 ? defaultImport37.default : defaultImport37;
|
|
3354
3893
|
|
|
3355
3894
|
// src/Bubble/bubbleUtils.ts
|
|
3356
3895
|
var bubbleOptionsSCMapping = {
|