@splunk/visualizations 28.2.2 → 28.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Area/Area.d.ts.map +1 -0
- package/Area/areaUtils.d.ts.map +1 -0
- package/Area/config.d.ts.map +1 -0
- package/Area/index.d.ts.map +1 -0
- package/Area.js +261 -130
- package/Area.js.map +4 -4
- package/Bar/Bar.d.ts.map +1 -0
- package/Bar/barUtils.d.ts.map +1 -0
- package/Bar/config.d.ts.map +1 -0
- package/Bar/index.d.ts.map +1 -0
- package/Bar.js +261 -130
- package/Bar.js.map +4 -4
- package/Bubble/Bubble.d.ts.map +1 -0
- package/Bubble/bubbleUtils.d.ts.map +1 -0
- package/Bubble/config.d.ts.map +1 -0
- package/Bubble/index.d.ts.map +1 -0
- package/Bubble.js +257 -126
- package/Bubble.js.map +4 -4
- package/CHANGELOG.external.md +37 -0
- package/ChoroplethSvg/ChoroplethSvg.d.ts.map +1 -0
- package/ChoroplethSvg/ErrorMessage/ErrorMessage.d.ts.map +1 -0
- package/ChoroplethSvg/PureChoroplethSvg/PureChoroplethSvg.d.ts.map +1 -0
- package/ChoroplethSvg/PureChoroplethSvg/SvgChoroplethDynamic.d.ts.map +1 -0
- package/ChoroplethSvg/PureChoroplethSvg/SvgMutator.d.ts.map +1 -0
- package/ChoroplethSvg/config.d.ts.map +1 -0
- package/ChoroplethSvg/index.d.ts.map +1 -0
- package/ChoroplethSvg.js +167 -51
- package/ChoroplethSvg.js.map +2 -2
- package/Column/Column.d.ts.map +1 -0
- package/Column/columnUtils.d.ts.map +1 -0
- package/Column/config.d.ts.map +1 -0
- package/Column/index.d.ts.map +1 -0
- package/Column.js +261 -130
- package/Column.js.map +4 -4
- package/Ellipse/Ellipse.d.ts.map +1 -0
- package/Ellipse/config.d.ts.map +1 -0
- package/Ellipse/index.d.ts.map +1 -0
- package/Ellipse.js +166 -48
- package/Ellipse.js.map +2 -2
- package/Events/EventUtils.d.ts.map +1 -0
- package/Events/Events.d.ts.map +1 -0
- package/Events/PureEvents/FieldSummaryTooltip.d.ts.map +1 -0
- package/Events/PureEvents/PureEvents.d.ts.map +1 -0
- package/Events/PureEvents/TimeControlsPopover.d.ts.map +1 -0
- package/Events/config.d.ts.map +1 -0
- package/Events/index.d.ts.map +1 -0
- package/Events.js +263 -139
- package/Events.js.map +2 -2
- package/FillerGauge/FillerGauge.d.ts.map +1 -0
- package/FillerGauge/PureFillerGauge/FillerGauge.d.ts.map +1 -0
- package/FillerGauge/config.d.ts.map +1 -0
- package/FillerGauge/index.d.ts.map +1 -0
- package/FillerGauge.js +166 -48
- package/FillerGauge.js.map +2 -2
- package/Image/Image.d.ts.map +1 -0
- package/Image/ImageApi.d.ts.map +1 -0
- package/Image/config.d.ts.map +1 -0
- package/Image/index.d.ts.map +1 -0
- package/Image.js +169 -51
- package/Image.js.map +2 -2
- package/LICENSE.md +0 -1
- package/Line/Line.d.ts.map +1 -0
- package/Line/config.d.ts.map +1 -0
- package/Line/index.d.ts.map +1 -0
- package/Line/lineUtils.d.ts.map +1 -0
- package/Line/mockdata/LineData.d.ts.map +1 -0
- package/Line.js +261 -130
- package/Line.js.map +4 -4
- package/LinkGraph/ESTestDataSources.d.ts.map +1 -0
- package/LinkGraph/ESTestTemplate.d.ts.map +1 -0
- package/LinkGraph/LinkGraph.d.ts.map +1 -0
- package/LinkGraph/PureLinkGraph/PureLinkGraph.d.ts.map +1 -0
- package/LinkGraph/PureLinkGraph/PureLinkGraphUtils.d.ts.map +1 -0
- package/LinkGraph/PureLinkGraph/components/Edges.d.ts.map +1 -0
- package/LinkGraph/PureLinkGraph/components/Field.d.ts.map +1 -0
- package/LinkGraph/PureLinkGraph/components/FieldStyles.d.ts.map +1 -0
- package/LinkGraph/PureLinkGraph/components/Graph.d.ts.map +1 -0
- package/LinkGraph/PureLinkGraph/components/GraphStyles.d.ts.map +1 -0
- package/LinkGraph/PureLinkGraph/components/Node.d.ts.map +1 -0
- package/LinkGraph/PureLinkGraph/components/Nodes.d.ts.map +1 -0
- package/{dist/types/LinkGraph → LinkGraph}/PureLinkGraph/utils/iconLoader.d.ts.map +1 -1
- package/LinkGraph/config.d.ts.map +1 -0
- package/LinkGraph/index.d.ts.map +1 -0
- package/LinkGraph.js +166 -48
- package/LinkGraph.js.map +2 -2
- package/Map/Map.d.ts.map +1 -0
- package/Map/PureMap/BubbleLayer.d.ts.map +1 -0
- package/Map/PureMap/ChoroplethLayer.d.ts.map +1 -0
- package/Map/PureMap/ClusterLayer.d.ts.map +1 -0
- package/Map/PureMap/LocalChoroplethLayer.d.ts.map +1 -0
- package/{dist/types/Map → Map}/PureMap/MapUtils.d.ts +10 -6
- package/Map/PureMap/MapUtils.d.ts.map +1 -0
- package/Map/PureMap/MarkerLayer.d.ts.map +1 -0
- package/Map/PureMap/MarkerWrapper.d.ts.map +1 -0
- package/Map/PureMap/PureMap.d.ts.map +1 -0
- package/Map/PureMap/PureMapContainer.d.ts.map +1 -0
- package/Map/PureMap/Tooltip.d.ts.map +1 -0
- package/{dist/types/Map → Map}/PureMap/mockdata/data.d.ts +21 -17
- package/Map/PureMap/mockdata/data.d.ts.map +1 -0
- package/Map/config.d.ts.map +1 -0
- package/Map/index.d.ts.map +1 -0
- package/Map.js +313 -136
- package/Map.js.map +3 -3
- package/Markdown/Markdown.d.ts.map +1 -0
- package/Markdown/config.d.ts.map +1 -0
- package/Markdown/index.d.ts.map +1 -0
- package/Markdown.js +166 -48
- package/Markdown.js.map +2 -2
- package/MarkerGauge/MarkerGauge.d.ts.map +1 -0
- package/MarkerGauge/PureMarkerGauge/MarkerGauge.d.ts.map +1 -0
- package/MarkerGauge/config.d.ts.map +1 -0
- package/MarkerGauge/index.d.ts.map +1 -0
- package/MarkerGauge.js +166 -48
- package/MarkerGauge.js.map +2 -2
- package/ParallelCoordinates/ParallelCoordinates.d.ts.map +1 -0
- package/ParallelCoordinates/PureParallelCoordinates/PureParallelCoordinates.d.ts.map +1 -0
- package/ParallelCoordinates/PureParallelCoordinates/src/ParallelCoordinatesCanvas.d.ts.map +1 -0
- package/ParallelCoordinates/PureParallelCoordinates/src/ParallelCoordinatesChart.d.ts.map +1 -0
- package/ParallelCoordinates/PureParallelCoordinates/src/ParallelCoordinatesPrompt.d.ts.map +1 -0
- package/ParallelCoordinates/config.d.ts.map +1 -0
- package/ParallelCoordinates/index.d.ts.map +1 -0
- package/ParallelCoordinates/mockdata/arrayValueData.d.ts.map +1 -0
- package/ParallelCoordinates/mockdata/sampleCarData.d.ts.map +1 -0
- package/ParallelCoordinates/mockdata/sampleCarNumericalData.d.ts.map +1 -0
- package/ParallelCoordinates/mockdata/sampleFoodData.d.ts.map +1 -0
- package/ParallelCoordinates/mockdata/sampleStringNumericalData.d.ts.map +1 -0
- package/ParallelCoordinates.js +179 -51
- package/ParallelCoordinates.js.map +2 -2
- package/Pie/Pie.d.ts.map +1 -0
- package/Pie/config.d.ts.map +1 -0
- package/Pie/index.d.ts.map +1 -0
- package/Pie/pieUtils.d.ts.map +1 -0
- package/Pie.config.js +13 -0
- package/Pie.config.js.map +2 -2
- package/Pie.js +279 -132
- package/Pie.js.map +4 -4
- package/Punchcard/Punchcard.d.ts.map +1 -0
- package/Punchcard/PurePunchcard/Punchcard.d.ts.map +1 -0
- package/Punchcard/PurePunchcard/src/PunchcardAxis.d.ts.map +1 -0
- package/Punchcard/PurePunchcard/src/PunchcardBubble.d.ts.map +1 -0
- package/Punchcard/PurePunchcard/src/PunchcardChartArea.d.ts.map +1 -0
- package/Punchcard/PurePunchcard/src/PunchcardGridLines.d.ts.map +1 -0
- package/Punchcard/PurePunchcard/src/PunchcardLegend.d.ts.map +1 -0
- package/Punchcard/PurePunchcard/src/PunchcardRow.d.ts.map +1 -0
- package/Punchcard/PurePunchcard/src/utils/punchcardUtils.d.ts.map +1 -0
- package/Punchcard/config.d.ts.map +1 -0
- package/Punchcard/index.d.ts.map +1 -0
- package/Punchcard/punchcardUtils.d.ts.map +1 -0
- package/Punchcard.js +185 -70
- package/Punchcard.js.map +4 -4
- package/README.md +1 -1
- package/Rectangle/Rectangle.d.ts.map +1 -0
- package/Rectangle/config.d.ts.map +1 -0
- package/Rectangle/index.d.ts.map +1 -0
- package/Rectangle.config.js +13 -22
- package/Rectangle.config.js.map +4 -4
- package/Rectangle.js +181 -72
- package/Rectangle.js.map +4 -4
- package/Sankey/PureSankey/PureSankey.d.ts.map +1 -0
- package/Sankey/PureSankey/SankeyLink.d.ts.map +1 -0
- package/Sankey/PureSankey/SankeyModels.d.ts.map +1 -0
- package/Sankey/PureSankey/SankeyNode.d.ts.map +1 -0
- package/Sankey/PureSankey/SankeyTooltip.d.ts.map +1 -0
- package/Sankey/PureSankey/SankeyUtils.d.ts.map +1 -0
- package/Sankey/PureSankey/mockdata/data.d.ts.map +1 -0
- package/Sankey/Sankey.d.ts.map +1 -0
- package/Sankey/config.d.ts.map +1 -0
- package/Sankey/index.d.ts.map +1 -0
- package/Sankey.js +166 -48
- package/Sankey.js.map +2 -2
- package/Scatter/Scatter.d.ts.map +1 -0
- package/Scatter/config.d.ts.map +1 -0
- package/Scatter/index.d.ts.map +1 -0
- package/Scatter/mockdata/data.d.ts.map +1 -0
- package/Scatter/scatterUtils.d.ts.map +1 -0
- package/Scatter.js +261 -130
- package/Scatter.js.map +4 -4
- package/SingleValue/SingleValue.d.ts.map +1 -0
- package/SingleValue/config.d.ts.map +1 -0
- package/SingleValue/index.d.ts.map +1 -0
- package/SingleValue.js +253 -98
- package/SingleValue.js.map +2 -2
- package/SingleValueBasic/index.d.ts.map +1 -0
- package/SingleValueBasic.js +22 -13
- package/SingleValueBasic.js.map +2 -2
- package/SingleValueIcon/SingleValueIcon.d.ts.map +1 -0
- package/SingleValueIcon/config.d.ts.map +1 -0
- package/SingleValueIcon/index.d.ts.map +1 -0
- package/SingleValueIcon.js +194 -63
- package/SingleValueIcon.js.map +2 -2
- package/SingleValueRadial/PureSingleValueRadial/GaugeGraph.d.ts.map +1 -0
- package/SingleValueRadial/PureSingleValueRadial/utils/gaugeUtils.d.ts.map +1 -0
- package/SingleValueRadial/SingleValueRadial.d.ts.map +1 -0
- package/SingleValueRadial/config.d.ts.map +1 -0
- package/SingleValueRadial/index.d.ts.map +1 -0
- package/SingleValueRadial.js +188 -61
- package/SingleValueRadial.js.map +2 -2
- package/SparkLine/index.d.ts.map +1 -0
- package/SparkLine.js +65 -37
- package/SparkLine.js.map +2 -2
- package/Table/PureTable.d.ts.map +1 -0
- package/Table/Table.d.ts +18 -0
- package/Table/Table.d.ts.map +1 -0
- package/Table/cells/ArrayCell.d.ts.map +1 -0
- package/Table/cells/SparklineCell.d.ts.map +1 -0
- package/Table/cells/SwitchTableCell.d.ts.map +1 -0
- package/Table/cells/TextCell.d.ts.map +1 -0
- package/Table/cells/index.d.ts.map +1 -0
- package/Table/config.d.ts.map +1 -0
- package/{dist/types/Table → Table}/hooks.d.ts +1 -5
- package/Table/hooks.d.ts.map +1 -0
- package/Table/index.d.ts.map +1 -0
- package/Table.js +401 -198
- package/Table.js.map +4 -4
- package/Timeline/PureTimeline/PureTimeline.d.ts.map +1 -0
- package/Timeline/PureTimeline/src/CursorPlugin.d.ts.map +1 -0
- package/Timeline/PureTimeline/src/TimelineLegend.d.ts.map +1 -0
- package/{dist/types/Timeline → Timeline}/PureTimeline/src/TimelinePlugin.d.ts +3 -1
- package/Timeline/PureTimeline/src/TimelinePlugin.d.ts.map +1 -0
- package/Timeline/PureTimeline/src/TimelineTooltip.d.ts.map +1 -0
- package/Timeline/PureTimeline/src/TimelineUplot.d.ts.map +1 -0
- package/Timeline/PureTimeline/src/TimelineYAxis.d.ts.map +1 -0
- package/{dist/types/Timeline → Timeline}/PureTimeline/src/XAxisPlugin.d.ts +2 -1
- package/Timeline/PureTimeline/src/XAxisPlugin.d.ts.map +1 -0
- package/{dist/types/Timeline → Timeline}/PureTimeline/src/utils/timelineUtils.d.ts +26 -2
- package/Timeline/PureTimeline/src/utils/timelineUtils.d.ts.map +1 -0
- package/Timeline/Timeline.d.ts.map +1 -0
- package/Timeline/config.d.ts.map +1 -0
- package/Timeline/index.d.ts.map +1 -0
- package/Timeline/mockdata/basicTimelineData.d.ts.map +1 -0
- package/Timeline/mockdata/categoricalTimelineData.d.ts.map +1 -0
- package/Timeline/mockdata/timelineDataSource.d.ts.map +1 -0
- package/Timeline.config.js +13 -23
- package/Timeline.config.js.map +4 -4
- package/Timeline.js +784 -402
- package/Timeline.js.map +4 -4
- package/{dist/types/common → common}/Charting.d.ts +2 -0
- package/common/Charting.d.ts.map +1 -0
- package/common/Charting.js +47 -34
- package/common/Charting.js.map +4 -4
- package/common/ChartingApi.d.ts.map +1 -0
- package/common/DocExampleWithVizSandbox.d.ts.map +1 -0
- package/common/DocExampleWithVizSandbox.js.map +1 -1
- package/common/OverviewDoc.d.ts.map +1 -0
- package/common/OverviewDoc.js.map +1 -1
- package/common/SplunkVisualization.d.ts.map +1 -0
- package/common/SplunkVisualizationApi.d.ts.map +1 -0
- package/common/ThemedDefaults.d.ts.map +1 -0
- package/common/TimeSeriesChartWrapper.d.ts +18 -0
- package/common/TimeSeriesChartWrapper.d.ts.map +1 -0
- package/common/TimeSeriesChartWrapper.js +181 -40
- package/common/TimeSeriesChartWrapper.js.map +2 -2
- package/{dist/types/common → common}/chartingUtils.d.ts +14 -4
- package/common/chartingUtils.d.ts.map +1 -0
- package/common/chartingUtils.js +22 -5
- package/common/chartingUtils.js.map +2 -2
- package/common/components/IconPlaceholder.d.ts.map +1 -0
- package/common/components/MissingPropsMessage.d.ts.map +1 -0
- package/common/components/TrellisTitle.d.ts.map +1 -0
- package/common/configContext/singleValueContext.d.ts.map +1 -0
- package/common/docUtils.d.ts.map +1 -0
- package/common/docUtils.js +1 -1
- package/common/docUtils.js.map +2 -2
- package/common/editorConfig/AxesChartColorAndStyle.d.ts.map +1 -0
- package/common/editorConfig/AxesChartDataConfig.d.ts.map +1 -0
- package/common/editorConfig/AxesChartDataDisplay.d.ts.map +1 -0
- package/common/editorConfig/AxesChartLegend.d.ts.map +1 -0
- package/common/editorConfig/AxesChartXGridAndLabels.d.ts.map +1 -0
- package/common/editorConfig/AxesChartY2GridAndLabels.d.ts.map +1 -0
- package/common/editorConfig/AxesChartYGridAndLabels.d.ts.map +1 -0
- package/common/editorConfig/BackgroundColor.d.ts.map +1 -0
- package/common/editorConfig/DynamicFillColorEditor.d.ts.map +1 -0
- package/common/editorConfig/DynamicGaugeColorEditor.d.ts.map +1 -0
- package/common/editorConfig/DynamicStrokeColorEditor.d.ts.map +1 -0
- package/common/editorConfig/Gauge.d.ts.map +1 -0
- package/common/editorConfig/Legend.d.ts.map +1 -0
- package/common/editorConfig/RadialBackgroundColor.d.ts.map +1 -0
- package/common/editorConfig/StaticFillColorEditor.d.ts.map +1 -0
- package/common/editorConfig/StaticGaugeColorEditor.d.ts.map +1 -0
- package/common/editorConfig/StaticStrokeColorEditor.d.ts.map +1 -0
- package/common/editorConfig/TrellisEditors.d.ts.map +1 -0
- package/common/gaugeUtils.d.ts.map +1 -0
- package/common/hocs/FixedSizeContainer.d.ts.map +1 -0
- package/common/hocs/mockdata/trellisData.d.ts.map +1 -0
- package/common/hocs/withEditModeCover.d.ts.map +1 -0
- package/common/hocs/withPlaceholder.d.ts.map +1 -0
- package/common/hocs/withTrellis.d.ts.map +1 -0
- package/common/hooks/useDeepMemo.d.ts.map +1 -0
- package/common/hooks/useDownsampleDataSources.d.ts.map +1 -0
- package/common/hooks/useEventCallback.d.ts.map +1 -0
- package/common/hooks/useGetXAndYFields.d.ts.map +1 -0
- package/common/hooks/usePagination.d.ts.map +1 -0
- package/common/hooks/usePrevious.d.ts.map +1 -0
- package/common/hooks/useSorting.d.ts.map +1 -0
- package/common/hooks/useTrellisEnabled.d.ts.map +1 -0
- package/common/interfaces/ChartEvent.d.ts.map +1 -0
- package/common/interfaces/DashboardVizProps.d.ts.map +1 -0
- package/common/interfaces/DataContract.d.ts.map +1 -0
- package/common/interfaces/DataSource.d.ts.map +1 -0
- package/common/interfaces/DefaultContext.d.ts.map +1 -0
- package/common/interfaces/Editor.d.ts.map +1 -0
- package/common/interfaces/ExtendedDashViz.d.ts.map +1 -0
- package/common/interfaces/Object.d.ts.map +1 -0
- package/common/interfaces/Overview.d.ts.map +1 -0
- package/common/interfaces/ThemedDefaults.d.ts.map +1 -0
- package/common/interfaces/VizActionHandler.d.ts.map +1 -0
- package/common/interfaces/VizBehavior.d.ts.map +1 -0
- package/common/interfaces/VizCategory.d.ts.map +1 -0
- package/common/interfaces/VizConfig.d.ts.map +1 -0
- package/common/interfaces/VizEvent.d.ts.map +1 -0
- package/common/interfaces/VizProps.d.ts.map +1 -0
- package/common/interfaces/VizRegistry.d.ts.map +1 -0
- package/common/interfaces/VizSize.d.ts.map +1 -0
- package/common/interfaces/VizStatus.d.ts.map +1 -0
- package/common/interfaces/index.d.ts.map +1 -0
- package/common/shapeUtils.d.ts.map +1 -0
- package/common/utils/configUtils.d.ts.map +1 -0
- package/common/utils/dataUtils.d.ts.map +1 -0
- package/common/utils/featureFlagUtils.d.ts +4 -0
- package/common/utils/featureFlagUtils.d.ts.map +1 -0
- package/common/utils/featureFlagUtils.js.map +2 -2
- package/common/utils/hocUtils.d.ts.map +1 -0
- package/common/utils/mapUtils.d.ts.map +1 -0
- package/common/utils/mapUtils.js.map +2 -2
- package/common/utils/styleUtils.d.ts.map +1 -0
- package/common/utils/tableUtils.d.ts +10 -0
- package/common/utils/tableUtils.d.ts.map +1 -0
- package/common/utils/tableUtils.js +20 -8
- package/common/utils/tableUtils.js.map +2 -2
- package/common/utils/trellisUtils.d.ts.map +1 -0
- package/common/utils/urlUtils.d.ts.map +1 -0
- package/{dist/types/common → common}/withDashboardViz.d.ts +7 -0
- package/common/withDashboardViz.d.ts.map +1 -0
- package/common/withDashboardViz.js +166 -48
- package/common/withDashboardViz.js.map +2 -2
- package/package.json +21 -22
- package/dist/types/Area/Area.d.ts.map +0 -1
- package/dist/types/Area/areaUtils.d.ts.map +0 -1
- package/dist/types/Area/config.d.ts.map +0 -1
- package/dist/types/Area/index.d.ts.map +0 -1
- package/dist/types/Bar/Bar.d.ts.map +0 -1
- package/dist/types/Bar/barUtils.d.ts.map +0 -1
- package/dist/types/Bar/config.d.ts.map +0 -1
- package/dist/types/Bar/index.d.ts.map +0 -1
- package/dist/types/Bubble/Bubble.d.ts.map +0 -1
- package/dist/types/Bubble/bubbleUtils.d.ts.map +0 -1
- package/dist/types/Bubble/config.d.ts.map +0 -1
- package/dist/types/Bubble/index.d.ts.map +0 -1
- package/dist/types/ChoroplethSvg/ChoroplethSvg.d.ts.map +0 -1
- package/dist/types/ChoroplethSvg/ErrorMessage/ErrorMessage.d.ts.map +0 -1
- package/dist/types/ChoroplethSvg/PureChoroplethSvg/PureChoroplethSvg.d.ts.map +0 -1
- package/dist/types/ChoroplethSvg/PureChoroplethSvg/SvgChoroplethDynamic.d.ts.map +0 -1
- package/dist/types/ChoroplethSvg/PureChoroplethSvg/SvgMutator.d.ts.map +0 -1
- package/dist/types/ChoroplethSvg/config.d.ts.map +0 -1
- package/dist/types/ChoroplethSvg/index.d.ts.map +0 -1
- package/dist/types/Column/Column.d.ts.map +0 -1
- package/dist/types/Column/columnUtils.d.ts.map +0 -1
- package/dist/types/Column/config.d.ts.map +0 -1
- package/dist/types/Column/index.d.ts.map +0 -1
- package/dist/types/Ellipse/Ellipse.d.ts.map +0 -1
- package/dist/types/Ellipse/config.d.ts.map +0 -1
- package/dist/types/Ellipse/index.d.ts.map +0 -1
- package/dist/types/Events/EventUtils.d.ts.map +0 -1
- package/dist/types/Events/Events.d.ts.map +0 -1
- package/dist/types/Events/PureEvents/FieldSummaryTooltip.d.ts.map +0 -1
- package/dist/types/Events/PureEvents/PureEvents.d.ts.map +0 -1
- package/dist/types/Events/PureEvents/TimeControlsPopover.d.ts.map +0 -1
- package/dist/types/Events/config.d.ts.map +0 -1
- package/dist/types/Events/index.d.ts.map +0 -1
- package/dist/types/FillerGauge/FillerGauge.d.ts.map +0 -1
- package/dist/types/FillerGauge/PureFillerGauge/FillerGauge.d.ts.map +0 -1
- package/dist/types/FillerGauge/config.d.ts.map +0 -1
- package/dist/types/FillerGauge/index.d.ts.map +0 -1
- package/dist/types/Image/Image.d.ts.map +0 -1
- package/dist/types/Image/ImageApi.d.ts.map +0 -1
- package/dist/types/Image/config.d.ts.map +0 -1
- package/dist/types/Image/index.d.ts.map +0 -1
- package/dist/types/Line/Line.d.ts.map +0 -1
- package/dist/types/Line/config.d.ts.map +0 -1
- package/dist/types/Line/index.d.ts.map +0 -1
- package/dist/types/Line/lineUtils.d.ts.map +0 -1
- package/dist/types/Line/mockdata/LineData.d.ts.map +0 -1
- package/dist/types/LinkGraph/ESTestDataSources.d.ts.map +0 -1
- package/dist/types/LinkGraph/ESTestTemplate.d.ts.map +0 -1
- package/dist/types/LinkGraph/LinkGraph.d.ts.map +0 -1
- package/dist/types/LinkGraph/PureLinkGraph/PureLinkGraph.d.ts.map +0 -1
- package/dist/types/LinkGraph/PureLinkGraph/PureLinkGraphUtils.d.ts.map +0 -1
- package/dist/types/LinkGraph/PureLinkGraph/components/Edges.d.ts.map +0 -1
- package/dist/types/LinkGraph/PureLinkGraph/components/Field.d.ts.map +0 -1
- package/dist/types/LinkGraph/PureLinkGraph/components/FieldStyles.d.ts.map +0 -1
- package/dist/types/LinkGraph/PureLinkGraph/components/Graph.d.ts.map +0 -1
- package/dist/types/LinkGraph/PureLinkGraph/components/GraphStyles.d.ts.map +0 -1
- package/dist/types/LinkGraph/PureLinkGraph/components/Node.d.ts.map +0 -1
- package/dist/types/LinkGraph/PureLinkGraph/components/Nodes.d.ts.map +0 -1
- package/dist/types/LinkGraph/config.d.ts.map +0 -1
- package/dist/types/LinkGraph/index.d.ts.map +0 -1
- package/dist/types/Map/Map.d.ts.map +0 -1
- package/dist/types/Map/MapContextDefault.d.ts +0 -39
- package/dist/types/Map/MapContextDefault.d.ts.map +0 -1
- package/dist/types/Map/PureMap/BubbleLayer.d.ts.map +0 -1
- package/dist/types/Map/PureMap/ChoroplethLayer.d.ts.map +0 -1
- package/dist/types/Map/PureMap/ClusterLayer.d.ts.map +0 -1
- package/dist/types/Map/PureMap/LocalChoroplethLayer.d.ts.map +0 -1
- package/dist/types/Map/PureMap/MapUtils.d.ts.map +0 -1
- package/dist/types/Map/PureMap/MarkerLayer.d.ts.map +0 -1
- package/dist/types/Map/PureMap/MarkerWrapper.d.ts.map +0 -1
- package/dist/types/Map/PureMap/PureMap.d.ts.map +0 -1
- package/dist/types/Map/PureMap/PureMapContainer.d.ts.map +0 -1
- package/dist/types/Map/PureMap/Tooltip.d.ts.map +0 -1
- package/dist/types/Map/PureMap/mockdata/data.d.ts.map +0 -1
- package/dist/types/Map/config.d.ts.map +0 -1
- package/dist/types/Map/index.d.ts.map +0 -1
- package/dist/types/Markdown/Markdown.d.ts.map +0 -1
- package/dist/types/Markdown/config.d.ts.map +0 -1
- package/dist/types/Markdown/index.d.ts.map +0 -1
- package/dist/types/MarkerGauge/MarkerGauge.d.ts.map +0 -1
- package/dist/types/MarkerGauge/PureMarkerGauge/MarkerGauge.d.ts.map +0 -1
- package/dist/types/MarkerGauge/config.d.ts.map +0 -1
- package/dist/types/MarkerGauge/index.d.ts.map +0 -1
- package/dist/types/ParallelCoordinates/ParallelCoordinates.d.ts.map +0 -1
- package/dist/types/ParallelCoordinates/PureParallelCoordinates/PureParallelCoordinates.d.ts.map +0 -1
- package/dist/types/ParallelCoordinates/PureParallelCoordinates/src/ParallelCoordinatesCanvas.d.ts.map +0 -1
- package/dist/types/ParallelCoordinates/PureParallelCoordinates/src/ParallelCoordinatesChart.d.ts.map +0 -1
- package/dist/types/ParallelCoordinates/PureParallelCoordinates/src/ParallelCoordinatesPrompt.d.ts.map +0 -1
- package/dist/types/ParallelCoordinates/config.d.ts.map +0 -1
- package/dist/types/ParallelCoordinates/index.d.ts.map +0 -1
- package/dist/types/ParallelCoordinates/mockdata/arrayValueData.d.ts.map +0 -1
- package/dist/types/ParallelCoordinates/mockdata/sampleCarData.d.ts.map +0 -1
- package/dist/types/ParallelCoordinates/mockdata/sampleCarNumericalData.d.ts.map +0 -1
- package/dist/types/ParallelCoordinates/mockdata/sampleFoodData.d.ts.map +0 -1
- package/dist/types/ParallelCoordinates/mockdata/sampleStringNumericalData.d.ts.map +0 -1
- package/dist/types/Pie/Pie.d.ts.map +0 -1
- package/dist/types/Pie/config.d.ts.map +0 -1
- package/dist/types/Pie/index.d.ts.map +0 -1
- package/dist/types/Pie/pieUtils.d.ts.map +0 -1
- package/dist/types/Punchcard/Punchcard.d.ts.map +0 -1
- package/dist/types/Punchcard/PurePunchcard/Punchcard.d.ts.map +0 -1
- package/dist/types/Punchcard/PurePunchcard/src/PunchcardAxis.d.ts.map +0 -1
- package/dist/types/Punchcard/PurePunchcard/src/PunchcardBubble.d.ts.map +0 -1
- package/dist/types/Punchcard/PurePunchcard/src/PunchcardChartArea.d.ts.map +0 -1
- package/dist/types/Punchcard/PurePunchcard/src/PunchcardGridLines.d.ts.map +0 -1
- package/dist/types/Punchcard/PurePunchcard/src/PunchcardLegend.d.ts.map +0 -1
- package/dist/types/Punchcard/PurePunchcard/src/PunchcardRow.d.ts.map +0 -1
- package/dist/types/Punchcard/PurePunchcard/src/utils/punchcardUtils.d.ts.map +0 -1
- package/dist/types/Punchcard/config.d.ts.map +0 -1
- package/dist/types/Punchcard/index.d.ts.map +0 -1
- package/dist/types/Punchcard/punchcardUtils.d.ts.map +0 -1
- package/dist/types/Rectangle/Rectangle.d.ts.map +0 -1
- package/dist/types/Rectangle/config.d.ts.map +0 -1
- package/dist/types/Rectangle/index.d.ts.map +0 -1
- package/dist/types/Sankey/PureSankey/PureSankey.d.ts.map +0 -1
- package/dist/types/Sankey/PureSankey/SankeyLink.d.ts.map +0 -1
- package/dist/types/Sankey/PureSankey/SankeyModels.d.ts.map +0 -1
- package/dist/types/Sankey/PureSankey/SankeyNode.d.ts.map +0 -1
- package/dist/types/Sankey/PureSankey/SankeyTooltip.d.ts.map +0 -1
- package/dist/types/Sankey/PureSankey/SankeyUtils.d.ts.map +0 -1
- package/dist/types/Sankey/PureSankey/mockdata/data.d.ts.map +0 -1
- package/dist/types/Sankey/Sankey.d.ts.map +0 -1
- package/dist/types/Sankey/config.d.ts.map +0 -1
- package/dist/types/Sankey/index.d.ts.map +0 -1
- package/dist/types/Scatter/Scatter.d.ts.map +0 -1
- package/dist/types/Scatter/config.d.ts.map +0 -1
- package/dist/types/Scatter/index.d.ts.map +0 -1
- package/dist/types/Scatter/mockdata/data.d.ts.map +0 -1
- package/dist/types/Scatter/scatterUtils.d.ts.map +0 -1
- package/dist/types/SingleValue/SingleValue.d.ts.map +0 -1
- package/dist/types/SingleValue/config.d.ts.map +0 -1
- package/dist/types/SingleValue/index.d.ts.map +0 -1
- package/dist/types/SingleValueBasic/index.d.ts.map +0 -1
- package/dist/types/SingleValueIcon/SingleValueIcon.d.ts.map +0 -1
- package/dist/types/SingleValueIcon/config.d.ts.map +0 -1
- package/dist/types/SingleValueIcon/index.d.ts.map +0 -1
- package/dist/types/SingleValueRadial/PureSingleValueRadial/GaugeGraph.d.ts.map +0 -1
- package/dist/types/SingleValueRadial/PureSingleValueRadial/utils/gaugeUtils.d.ts.map +0 -1
- package/dist/types/SingleValueRadial/SingleValueRadial.d.ts.map +0 -1
- package/dist/types/SingleValueRadial/config.d.ts.map +0 -1
- package/dist/types/SingleValueRadial/index.d.ts.map +0 -1
- package/dist/types/SparkLine/index.d.ts.map +0 -1
- package/dist/types/Table/PureTable.d.ts.map +0 -1
- package/dist/types/Table/Table.d.ts +0 -10
- package/dist/types/Table/Table.d.ts.map +0 -1
- package/dist/types/Table/cells/ArrayCell.d.ts.map +0 -1
- package/dist/types/Table/cells/SparklineCell.d.ts.map +0 -1
- package/dist/types/Table/cells/SwitchTableCell.d.ts.map +0 -1
- package/dist/types/Table/cells/TextCell.d.ts.map +0 -1
- package/dist/types/Table/cells/index.d.ts.map +0 -1
- package/dist/types/Table/config.d.ts.map +0 -1
- package/dist/types/Table/hooks.d.ts.map +0 -1
- package/dist/types/Table/index.d.ts.map +0 -1
- package/dist/types/Timeline/PureTimeline/PureTimeline.d.ts.map +0 -1
- package/dist/types/Timeline/PureTimeline/src/CursorPlugin.d.ts.map +0 -1
- package/dist/types/Timeline/PureTimeline/src/TimelineLegend.d.ts.map +0 -1
- package/dist/types/Timeline/PureTimeline/src/TimelinePlugin.d.ts.map +0 -1
- package/dist/types/Timeline/PureTimeline/src/TimelineTooltip.d.ts.map +0 -1
- package/dist/types/Timeline/PureTimeline/src/TimelineUplot.d.ts.map +0 -1
- package/dist/types/Timeline/PureTimeline/src/TimelineYAxis.d.ts.map +0 -1
- package/dist/types/Timeline/PureTimeline/src/XAxisPlugin.d.ts.map +0 -1
- package/dist/types/Timeline/PureTimeline/src/utils/timelineUtils.d.ts.map +0 -1
- package/dist/types/Timeline/Timeline.d.ts.map +0 -1
- package/dist/types/Timeline/config.d.ts.map +0 -1
- package/dist/types/Timeline/index.d.ts.map +0 -1
- package/dist/types/Timeline/mockdata/basicTimelineData.d.ts.map +0 -1
- package/dist/types/Timeline/mockdata/categoricalTimelineData.d.ts.map +0 -1
- package/dist/types/Timeline/mockdata/timelineDataSource.d.ts.map +0 -1
- package/dist/types/common/Charting.d.ts.map +0 -1
- package/dist/types/common/ChartingApi.d.ts.map +0 -1
- package/dist/types/common/DocExampleWithVizSandbox.d.ts.map +0 -1
- package/dist/types/common/OverviewDoc.d.ts.map +0 -1
- package/dist/types/common/SplunkVisualization.d.ts.map +0 -1
- package/dist/types/common/SplunkVisualizationApi.d.ts.map +0 -1
- package/dist/types/common/ThemedDefaults.d.ts.map +0 -1
- package/dist/types/common/TimeSeriesChartWrapper.d.ts +0 -7
- package/dist/types/common/TimeSeriesChartWrapper.d.ts.map +0 -1
- package/dist/types/common/chartingUtils.d.ts.map +0 -1
- package/dist/types/common/components/IconPlaceholder.d.ts.map +0 -1
- package/dist/types/common/components/MissingPropsMessage.d.ts.map +0 -1
- package/dist/types/common/components/TrellisTitle.d.ts.map +0 -1
- package/dist/types/common/configContext/singleValueContext.d.ts.map +0 -1
- package/dist/types/common/docUtils.d.ts.map +0 -1
- package/dist/types/common/editorConfig/AxesChartColorAndStyle.d.ts.map +0 -1
- package/dist/types/common/editorConfig/AxesChartDataConfig.d.ts.map +0 -1
- package/dist/types/common/editorConfig/AxesChartDataDisplay.d.ts.map +0 -1
- package/dist/types/common/editorConfig/AxesChartLegend.d.ts.map +0 -1
- package/dist/types/common/editorConfig/AxesChartXGridAndLabels.d.ts.map +0 -1
- package/dist/types/common/editorConfig/AxesChartY2GridAndLabels.d.ts.map +0 -1
- package/dist/types/common/editorConfig/AxesChartYGridAndLabels.d.ts.map +0 -1
- package/dist/types/common/editorConfig/BackgroundColor.d.ts.map +0 -1
- package/dist/types/common/editorConfig/DynamicFillColorEditor.d.ts.map +0 -1
- package/dist/types/common/editorConfig/DynamicGaugeColorEditor.d.ts.map +0 -1
- package/dist/types/common/editorConfig/DynamicStrokeColorEditor.d.ts.map +0 -1
- package/dist/types/common/editorConfig/Gauge.d.ts.map +0 -1
- package/dist/types/common/editorConfig/Legend.d.ts.map +0 -1
- package/dist/types/common/editorConfig/RadialBackgroundColor.d.ts.map +0 -1
- package/dist/types/common/editorConfig/StaticFillColorEditor.d.ts.map +0 -1
- package/dist/types/common/editorConfig/StaticGaugeColorEditor.d.ts.map +0 -1
- package/dist/types/common/editorConfig/StaticStrokeColorEditor.d.ts.map +0 -1
- package/dist/types/common/editorConfig/TrellisEditors.d.ts.map +0 -1
- package/dist/types/common/gaugeUtils.d.ts.map +0 -1
- package/dist/types/common/hocs/FixedSizeContainer.d.ts.map +0 -1
- package/dist/types/common/hocs/mockdata/trellisData.d.ts.map +0 -1
- package/dist/types/common/hocs/withEditModeCover.d.ts.map +0 -1
- package/dist/types/common/hocs/withPlaceholder.d.ts.map +0 -1
- package/dist/types/common/hocs/withTrellis.d.ts.map +0 -1
- package/dist/types/common/hooks/useDeepMemo.d.ts.map +0 -1
- package/dist/types/common/hooks/useDownsampleDataSources.d.ts.map +0 -1
- package/dist/types/common/hooks/useEventCallback.d.ts.map +0 -1
- package/dist/types/common/hooks/useGetXAndYFields.d.ts.map +0 -1
- package/dist/types/common/hooks/usePagination.d.ts.map +0 -1
- package/dist/types/common/hooks/usePrevious.d.ts.map +0 -1
- package/dist/types/common/hooks/useSorting.d.ts.map +0 -1
- package/dist/types/common/hooks/useTrellisEnabled.d.ts.map +0 -1
- package/dist/types/common/interfaces/ChartEvent.d.ts.map +0 -1
- package/dist/types/common/interfaces/DashboardVizProps.d.ts.map +0 -1
- package/dist/types/common/interfaces/DataContract.d.ts.map +0 -1
- package/dist/types/common/interfaces/DataSource.d.ts.map +0 -1
- package/dist/types/common/interfaces/DefaultContext.d.ts.map +0 -1
- package/dist/types/common/interfaces/Editor.d.ts.map +0 -1
- package/dist/types/common/interfaces/ExtendedDashViz.d.ts.map +0 -1
- package/dist/types/common/interfaces/Object.d.ts.map +0 -1
- package/dist/types/common/interfaces/Overview.d.ts.map +0 -1
- package/dist/types/common/interfaces/ThemedDefaults.d.ts.map +0 -1
- package/dist/types/common/interfaces/VizActionHandler.d.ts.map +0 -1
- package/dist/types/common/interfaces/VizBehavior.d.ts.map +0 -1
- package/dist/types/common/interfaces/VizCategory.d.ts.map +0 -1
- package/dist/types/common/interfaces/VizConfig.d.ts.map +0 -1
- package/dist/types/common/interfaces/VizEvent.d.ts.map +0 -1
- package/dist/types/common/interfaces/VizProps.d.ts.map +0 -1
- package/dist/types/common/interfaces/VizRegistry.d.ts.map +0 -1
- package/dist/types/common/interfaces/VizSize.d.ts.map +0 -1
- package/dist/types/common/interfaces/VizStatus.d.ts.map +0 -1
- package/dist/types/common/interfaces/index.d.ts.map +0 -1
- package/dist/types/common/shapeUtils.d.ts.map +0 -1
- package/dist/types/common/utils/configUtils.d.ts.map +0 -1
- package/dist/types/common/utils/dataUtils.d.ts.map +0 -1
- package/dist/types/common/utils/featureFlagUtils.d.ts +0 -3
- package/dist/types/common/utils/featureFlagUtils.d.ts.map +0 -1
- package/dist/types/common/utils/hocUtils.d.ts.map +0 -1
- package/dist/types/common/utils/mapUtils.d.ts.map +0 -1
- package/dist/types/common/utils/styleUtils.d.ts.map +0 -1
- package/dist/types/common/utils/tableUtils.d.ts +0 -3
- package/dist/types/common/utils/tableUtils.d.ts.map +0 -1
- package/dist/types/common/utils/trellisUtils.d.ts.map +0 -1
- package/dist/types/common/utils/urlUtils.d.ts.map +0 -1
- package/dist/types/common/withDashboardViz.d.ts.map +0 -1
- /package/{dist/types/Area → Area}/Area.d.ts +0 -0
- /package/{dist/types/Area → Area}/areaUtils.d.ts +0 -0
- /package/{dist/types/Area → Area}/config.d.ts +0 -0
- /package/{dist/types/Area → Area}/index.d.ts +0 -0
- /package/{dist/types/Bar → Bar}/Bar.d.ts +0 -0
- /package/{dist/types/Bar → Bar}/barUtils.d.ts +0 -0
- /package/{dist/types/Bar → Bar}/config.d.ts +0 -0
- /package/{dist/types/Bar → Bar}/index.d.ts +0 -0
- /package/{dist/types/Bubble → Bubble}/Bubble.d.ts +0 -0
- /package/{dist/types/Bubble → Bubble}/bubbleUtils.d.ts +0 -0
- /package/{dist/types/Bubble → Bubble}/config.d.ts +0 -0
- /package/{dist/types/Bubble → Bubble}/index.d.ts +0 -0
- /package/{dist/types/ChoroplethSvg → ChoroplethSvg}/ChoroplethSvg.d.ts +0 -0
- /package/{dist/types/ChoroplethSvg → ChoroplethSvg}/ErrorMessage/ErrorMessage.d.ts +0 -0
- /package/{dist/types/ChoroplethSvg → ChoroplethSvg}/PureChoroplethSvg/PureChoroplethSvg.d.ts +0 -0
- /package/{dist/types/ChoroplethSvg → ChoroplethSvg}/PureChoroplethSvg/SvgChoroplethDynamic.d.ts +0 -0
- /package/{dist/types/ChoroplethSvg → ChoroplethSvg}/PureChoroplethSvg/SvgMutator.d.ts +0 -0
- /package/{dist/types/ChoroplethSvg → ChoroplethSvg}/config.d.ts +0 -0
- /package/{dist/types/ChoroplethSvg → ChoroplethSvg}/index.d.ts +0 -0
- /package/{dist/types/Column → Column}/Column.d.ts +0 -0
- /package/{dist/types/Column → Column}/columnUtils.d.ts +0 -0
- /package/{dist/types/Column → Column}/config.d.ts +0 -0
- /package/{dist/types/Column → Column}/index.d.ts +0 -0
- /package/{dist/types/Ellipse → Ellipse}/Ellipse.d.ts +0 -0
- /package/{dist/types/Ellipse → Ellipse}/config.d.ts +0 -0
- /package/{dist/types/Ellipse → Ellipse}/index.d.ts +0 -0
- /package/{dist/types/Events → Events}/EventUtils.d.ts +0 -0
- /package/{dist/types/Events → Events}/Events.d.ts +0 -0
- /package/{dist/types/Events → Events}/PureEvents/FieldSummaryTooltip.d.ts +0 -0
- /package/{dist/types/Events → Events}/PureEvents/PureEvents.d.ts +0 -0
- /package/{dist/types/Events → Events}/PureEvents/TimeControlsPopover.d.ts +0 -0
- /package/{dist/types/Events → Events}/config.d.ts +0 -0
- /package/{dist/types/Events → Events}/index.d.ts +0 -0
- /package/{dist/types/FillerGauge → FillerGauge}/FillerGauge.d.ts +0 -0
- /package/{dist/types/FillerGauge → FillerGauge}/PureFillerGauge/FillerGauge.d.ts +0 -0
- /package/{dist/types/FillerGauge → FillerGauge}/config.d.ts +0 -0
- /package/{dist/types/FillerGauge → FillerGauge}/index.d.ts +0 -0
- /package/{dist/types/Image → Image}/Image.d.ts +0 -0
- /package/{dist/types/Image → Image}/ImageApi.d.ts +0 -0
- /package/{dist/types/Image → Image}/config.d.ts +0 -0
- /package/{dist/types/Image → Image}/index.d.ts +0 -0
- /package/{dist/types/Line → Line}/Line.d.ts +0 -0
- /package/{dist/types/Line → Line}/config.d.ts +0 -0
- /package/{dist/types/Line → Line}/index.d.ts +0 -0
- /package/{dist/types/Line → Line}/lineUtils.d.ts +0 -0
- /package/{dist/types/Line → Line}/mockdata/LineData.d.ts +0 -0
- /package/{dist/types/LinkGraph → LinkGraph}/ESTestDataSources.d.ts +0 -0
- /package/{dist/types/LinkGraph → LinkGraph}/ESTestTemplate.d.ts +0 -0
- /package/{dist/types/LinkGraph → LinkGraph}/LinkGraph.d.ts +0 -0
- /package/{dist/types/LinkGraph → LinkGraph}/PureLinkGraph/PureLinkGraph.d.ts +0 -0
- /package/{dist/types/LinkGraph → LinkGraph}/PureLinkGraph/PureLinkGraphUtils.d.ts +0 -0
- /package/{dist/types/LinkGraph → LinkGraph}/PureLinkGraph/components/Edges.d.ts +0 -0
- /package/{dist/types/LinkGraph → LinkGraph}/PureLinkGraph/components/Field.d.ts +0 -0
- /package/{dist/types/LinkGraph → LinkGraph}/PureLinkGraph/components/FieldStyles.d.ts +0 -0
- /package/{dist/types/LinkGraph → LinkGraph}/PureLinkGraph/components/Graph.d.ts +0 -0
- /package/{dist/types/LinkGraph → LinkGraph}/PureLinkGraph/components/GraphStyles.d.ts +0 -0
- /package/{dist/types/LinkGraph → LinkGraph}/PureLinkGraph/components/Node.d.ts +0 -0
- /package/{dist/types/LinkGraph → LinkGraph}/PureLinkGraph/components/Nodes.d.ts +0 -0
- /package/{dist/types/LinkGraph → LinkGraph}/PureLinkGraph/utils/iconLoader.d.ts +0 -0
- /package/{dist/types/LinkGraph → LinkGraph}/config.d.ts +0 -0
- /package/{dist/types/LinkGraph → LinkGraph}/index.d.ts +0 -0
- /package/{dist/types/Map → Map}/Map.d.ts +0 -0
- /package/{dist/types/Map → Map}/PureMap/BubbleLayer.d.ts +0 -0
- /package/{dist/types/Map → Map}/PureMap/ChoroplethLayer.d.ts +0 -0
- /package/{dist/types/Map → Map}/PureMap/ClusterLayer.d.ts +0 -0
- /package/{dist/types/Map → Map}/PureMap/LocalChoroplethLayer.d.ts +0 -0
- /package/{dist/types/Map → Map}/PureMap/MarkerLayer.d.ts +0 -0
- /package/{dist/types/Map → Map}/PureMap/MarkerWrapper.d.ts +0 -0
- /package/{dist/types/Map → Map}/PureMap/PureMap.d.ts +0 -0
- /package/{dist/types/Map → Map}/PureMap/PureMapContainer.d.ts +0 -0
- /package/{dist/types/Map → Map}/PureMap/Tooltip.d.ts +0 -0
- /package/{dist/types/Map → Map}/config.d.ts +0 -0
- /package/{dist/types/Map → Map}/index.d.ts +0 -0
- /package/{dist/types/Markdown → Markdown}/Markdown.d.ts +0 -0
- /package/{dist/types/Markdown → Markdown}/config.d.ts +0 -0
- /package/{dist/types/Markdown → Markdown}/index.d.ts +0 -0
- /package/{dist/types/MarkerGauge → MarkerGauge}/MarkerGauge.d.ts +0 -0
- /package/{dist/types/MarkerGauge → MarkerGauge}/PureMarkerGauge/MarkerGauge.d.ts +0 -0
- /package/{dist/types/MarkerGauge → MarkerGauge}/config.d.ts +0 -0
- /package/{dist/types/MarkerGauge → MarkerGauge}/index.d.ts +0 -0
- /package/{dist/types/ParallelCoordinates → ParallelCoordinates}/ParallelCoordinates.d.ts +0 -0
- /package/{dist/types/ParallelCoordinates → ParallelCoordinates}/PureParallelCoordinates/PureParallelCoordinates.d.ts +0 -0
- /package/{dist/types/ParallelCoordinates → ParallelCoordinates}/PureParallelCoordinates/src/ParallelCoordinatesCanvas.d.ts +0 -0
- /package/{dist/types/ParallelCoordinates → ParallelCoordinates}/PureParallelCoordinates/src/ParallelCoordinatesChart.d.ts +0 -0
- /package/{dist/types/ParallelCoordinates → ParallelCoordinates}/PureParallelCoordinates/src/ParallelCoordinatesPrompt.d.ts +0 -0
- /package/{dist/types/ParallelCoordinates → ParallelCoordinates}/config.d.ts +0 -0
- /package/{dist/types/ParallelCoordinates → ParallelCoordinates}/index.d.ts +0 -0
- /package/{dist/types/ParallelCoordinates → ParallelCoordinates}/mockdata/arrayValueData.d.ts +0 -0
- /package/{dist/types/ParallelCoordinates → ParallelCoordinates}/mockdata/sampleCarData.d.ts +0 -0
- /package/{dist/types/ParallelCoordinates → ParallelCoordinates}/mockdata/sampleCarNumericalData.d.ts +0 -0
- /package/{dist/types/ParallelCoordinates → ParallelCoordinates}/mockdata/sampleFoodData.d.ts +0 -0
- /package/{dist/types/ParallelCoordinates → ParallelCoordinates}/mockdata/sampleStringNumericalData.d.ts +0 -0
- /package/{dist/types/Pie → Pie}/Pie.d.ts +0 -0
- /package/{dist/types/Pie → Pie}/config.d.ts +0 -0
- /package/{dist/types/Pie → Pie}/index.d.ts +0 -0
- /package/{dist/types/Pie → Pie}/pieUtils.d.ts +0 -0
- /package/{dist/types/Punchcard → Punchcard}/Punchcard.d.ts +0 -0
- /package/{dist/types/Punchcard → Punchcard}/PurePunchcard/Punchcard.d.ts +0 -0
- /package/{dist/types/Punchcard → Punchcard}/PurePunchcard/src/PunchcardAxis.d.ts +0 -0
- /package/{dist/types/Punchcard → Punchcard}/PurePunchcard/src/PunchcardBubble.d.ts +0 -0
- /package/{dist/types/Punchcard → Punchcard}/PurePunchcard/src/PunchcardChartArea.d.ts +0 -0
- /package/{dist/types/Punchcard → Punchcard}/PurePunchcard/src/PunchcardGridLines.d.ts +0 -0
- /package/{dist/types/Punchcard → Punchcard}/PurePunchcard/src/PunchcardLegend.d.ts +0 -0
- /package/{dist/types/Punchcard → Punchcard}/PurePunchcard/src/PunchcardRow.d.ts +0 -0
- /package/{dist/types/Punchcard → Punchcard}/PurePunchcard/src/utils/punchcardUtils.d.ts +0 -0
- /package/{dist/types/Punchcard → Punchcard}/config.d.ts +0 -0
- /package/{dist/types/Punchcard → Punchcard}/index.d.ts +0 -0
- /package/{dist/types/Punchcard → Punchcard}/punchcardUtils.d.ts +0 -0
- /package/{dist/types/Rectangle → Rectangle}/Rectangle.d.ts +0 -0
- /package/{dist/types/Rectangle → Rectangle}/config.d.ts +0 -0
- /package/{dist/types/Rectangle → Rectangle}/index.d.ts +0 -0
- /package/{dist/types/Sankey → Sankey}/PureSankey/PureSankey.d.ts +0 -0
- /package/{dist/types/Sankey → Sankey}/PureSankey/SankeyLink.d.ts +0 -0
- /package/{dist/types/Sankey → Sankey}/PureSankey/SankeyModels.d.ts +0 -0
- /package/{dist/types/Sankey → Sankey}/PureSankey/SankeyNode.d.ts +0 -0
- /package/{dist/types/Sankey → Sankey}/PureSankey/SankeyTooltip.d.ts +0 -0
- /package/{dist/types/Sankey → Sankey}/PureSankey/SankeyUtils.d.ts +0 -0
- /package/{dist/types/Sankey → Sankey}/PureSankey/mockdata/data.d.ts +0 -0
- /package/{dist/types/Sankey → Sankey}/Sankey.d.ts +0 -0
- /package/{dist/types/Sankey → Sankey}/config.d.ts +0 -0
- /package/{dist/types/Sankey → Sankey}/index.d.ts +0 -0
- /package/{dist/types/Scatter → Scatter}/Scatter.d.ts +0 -0
- /package/{dist/types/Scatter → Scatter}/config.d.ts +0 -0
- /package/{dist/types/Scatter → Scatter}/index.d.ts +0 -0
- /package/{dist/types/Scatter → Scatter}/mockdata/data.d.ts +0 -0
- /package/{dist/types/Scatter → Scatter}/scatterUtils.d.ts +0 -0
- /package/{dist/types/SingleValue → SingleValue}/SingleValue.d.ts +0 -0
- /package/{dist/types/SingleValue → SingleValue}/config.d.ts +0 -0
- /package/{dist/types/SingleValue → SingleValue}/index.d.ts +0 -0
- /package/{dist/types/SingleValueBasic → SingleValueBasic}/index.d.ts +0 -0
- /package/{dist/types/SingleValueIcon → SingleValueIcon}/SingleValueIcon.d.ts +0 -0
- /package/{dist/types/SingleValueIcon → SingleValueIcon}/config.d.ts +0 -0
- /package/{dist/types/SingleValueIcon → SingleValueIcon}/index.d.ts +0 -0
- /package/{dist/types/SingleValueRadial → SingleValueRadial}/PureSingleValueRadial/GaugeGraph.d.ts +0 -0
- /package/{dist/types/SingleValueRadial → SingleValueRadial}/PureSingleValueRadial/utils/gaugeUtils.d.ts +0 -0
- /package/{dist/types/SingleValueRadial → SingleValueRadial}/SingleValueRadial.d.ts +0 -0
- /package/{dist/types/SingleValueRadial → SingleValueRadial}/config.d.ts +0 -0
- /package/{dist/types/SingleValueRadial → SingleValueRadial}/index.d.ts +0 -0
- /package/{dist/types/SparkLine → SparkLine}/index.d.ts +0 -0
- /package/{dist/types/Table → Table}/PureTable.d.ts +0 -0
- /package/{dist/types/Table → Table}/cells/ArrayCell.d.ts +0 -0
- /package/{dist/types/Table → Table}/cells/SparklineCell.d.ts +0 -0
- /package/{dist/types/Table → Table}/cells/SwitchTableCell.d.ts +0 -0
- /package/{dist/types/Table → Table}/cells/TextCell.d.ts +0 -0
- /package/{dist/types/Table → Table}/cells/index.d.ts +0 -0
- /package/{dist/types/Table → Table}/config.d.ts +0 -0
- /package/{dist/types/Table → Table}/index.d.ts +0 -0
- /package/{dist/types/Timeline → Timeline}/PureTimeline/PureTimeline.d.ts +0 -0
- /package/{dist/types/Timeline → Timeline}/PureTimeline/src/CursorPlugin.d.ts +0 -0
- /package/{dist/types/Timeline → Timeline}/PureTimeline/src/TimelineLegend.d.ts +0 -0
- /package/{dist/types/Timeline → Timeline}/PureTimeline/src/TimelineTooltip.d.ts +0 -0
- /package/{dist/types/Timeline → Timeline}/PureTimeline/src/TimelineUplot.d.ts +0 -0
- /package/{dist/types/Timeline → Timeline}/PureTimeline/src/TimelineYAxis.d.ts +0 -0
- /package/{dist/types/Timeline → Timeline}/Timeline.d.ts +0 -0
- /package/{dist/types/Timeline → Timeline}/config.d.ts +0 -0
- /package/{dist/types/Timeline → Timeline}/index.d.ts +0 -0
- /package/{dist/types/Timeline → Timeline}/mockdata/basicTimelineData.d.ts +0 -0
- /package/{dist/types/Timeline → Timeline}/mockdata/categoricalTimelineData.d.ts +0 -0
- /package/{dist/types/Timeline → Timeline}/mockdata/timelineDataSource.d.ts +0 -0
- /package/{dist/types/common → common}/ChartingApi.d.ts +0 -0
- /package/{dist/types/common → common}/DocExampleWithVizSandbox.d.ts +0 -0
- /package/{dist/types/common → common}/OverviewDoc.d.ts +0 -0
- /package/{dist/types/common → common}/SplunkVisualization.d.ts +0 -0
- /package/{dist/types/common → common}/SplunkVisualizationApi.d.ts +0 -0
- /package/{dist/types/common → common}/ThemedDefaults.d.ts +0 -0
- /package/{dist/types/common → common}/components/IconPlaceholder.d.ts +0 -0
- /package/{dist/types/common → common}/components/MissingPropsMessage.d.ts +0 -0
- /package/{dist/types/common → common}/components/TrellisTitle.d.ts +0 -0
- /package/{dist/types/common → common}/configContext/singleValueContext.d.ts +0 -0
- /package/{dist/types/common → common}/docUtils.d.ts +0 -0
- /package/{dist/types/common → common}/editorConfig/AxesChartColorAndStyle.d.ts +0 -0
- /package/{dist/types/common → common}/editorConfig/AxesChartDataConfig.d.ts +0 -0
- /package/{dist/types/common → common}/editorConfig/AxesChartDataDisplay.d.ts +0 -0
- /package/{dist/types/common → common}/editorConfig/AxesChartLegend.d.ts +0 -0
- /package/{dist/types/common → common}/editorConfig/AxesChartXGridAndLabels.d.ts +0 -0
- /package/{dist/types/common → common}/editorConfig/AxesChartY2GridAndLabels.d.ts +0 -0
- /package/{dist/types/common → common}/editorConfig/AxesChartYGridAndLabels.d.ts +0 -0
- /package/{dist/types/common → common}/editorConfig/BackgroundColor.d.ts +0 -0
- /package/{dist/types/common → common}/editorConfig/DynamicFillColorEditor.d.ts +0 -0
- /package/{dist/types/common → common}/editorConfig/DynamicGaugeColorEditor.d.ts +0 -0
- /package/{dist/types/common → common}/editorConfig/DynamicStrokeColorEditor.d.ts +0 -0
- /package/{dist/types/common → common}/editorConfig/Gauge.d.ts +0 -0
- /package/{dist/types/common → common}/editorConfig/Legend.d.ts +0 -0
- /package/{dist/types/common → common}/editorConfig/RadialBackgroundColor.d.ts +0 -0
- /package/{dist/types/common → common}/editorConfig/StaticFillColorEditor.d.ts +0 -0
- /package/{dist/types/common → common}/editorConfig/StaticGaugeColorEditor.d.ts +0 -0
- /package/{dist/types/common → common}/editorConfig/StaticStrokeColorEditor.d.ts +0 -0
- /package/{dist/types/common → common}/editorConfig/TrellisEditors.d.ts +0 -0
- /package/{dist/types/common → common}/gaugeUtils.d.ts +0 -0
- /package/{dist/types/common → common}/hocs/FixedSizeContainer.d.ts +0 -0
- /package/{dist/types/common → common}/hocs/mockdata/trellisData.d.ts +0 -0
- /package/{dist/types/common → common}/hocs/withEditModeCover.d.ts +0 -0
- /package/{dist/types/common → common}/hocs/withPlaceholder.d.ts +0 -0
- /package/{dist/types/common → common}/hocs/withTrellis.d.ts +0 -0
- /package/{dist/types/common → common}/hooks/useDeepMemo.d.ts +0 -0
- /package/{dist/types/common → common}/hooks/useDownsampleDataSources.d.ts +0 -0
- /package/{dist/types/common → common}/hooks/useEventCallback.d.ts +0 -0
- /package/{dist/types/common → common}/hooks/useGetXAndYFields.d.ts +0 -0
- /package/{dist/types/common → common}/hooks/usePagination.d.ts +0 -0
- /package/{dist/types/common → common}/hooks/usePrevious.d.ts +0 -0
- /package/{dist/types/common → common}/hooks/useSorting.d.ts +0 -0
- /package/{dist/types/common → common}/hooks/useTrellisEnabled.d.ts +0 -0
- /package/{dist/types/common → common}/interfaces/ChartEvent.d.ts +0 -0
- /package/{dist/types/common → common}/interfaces/DashboardVizProps.d.ts +0 -0
- /package/{dist/types/common → common}/interfaces/DataContract.d.ts +0 -0
- /package/{dist/types/common → common}/interfaces/DataSource.d.ts +0 -0
- /package/{dist/types/common → common}/interfaces/DefaultContext.d.ts +0 -0
- /package/{dist/types/common → common}/interfaces/Editor.d.ts +0 -0
- /package/{dist/types/common → common}/interfaces/ExtendedDashViz.d.ts +0 -0
- /package/{dist/types/common → common}/interfaces/Object.d.ts +0 -0
- /package/{dist/types/common → common}/interfaces/Overview.d.ts +0 -0
- /package/{dist/types/common → common}/interfaces/ThemedDefaults.d.ts +0 -0
- /package/{dist/types/common → common}/interfaces/VizActionHandler.d.ts +0 -0
- /package/{dist/types/common → common}/interfaces/VizBehavior.d.ts +0 -0
- /package/{dist/types/common → common}/interfaces/VizCategory.d.ts +0 -0
- /package/{dist/types/common → common}/interfaces/VizConfig.d.ts +0 -0
- /package/{dist/types/common → common}/interfaces/VizEvent.d.ts +0 -0
- /package/{dist/types/common → common}/interfaces/VizProps.d.ts +0 -0
- /package/{dist/types/common → common}/interfaces/VizRegistry.d.ts +0 -0
- /package/{dist/types/common → common}/interfaces/VizSize.d.ts +0 -0
- /package/{dist/types/common → common}/interfaces/VizStatus.d.ts +0 -0
- /package/{dist/types/common → common}/interfaces/index.d.ts +0 -0
- /package/{dist/types/common → common}/shapeUtils.d.ts +0 -0
- /package/{dist/types/common → common}/utils/configUtils.d.ts +0 -0
- /package/{dist/types/common → common}/utils/dataUtils.d.ts +0 -0
- /package/{dist/types/common → common}/utils/hocUtils.d.ts +0 -0
- /package/{dist/types/common → common}/utils/mapUtils.d.ts +0 -0
- /package/{dist/types/common → common}/utils/styleUtils.d.ts +0 -0
- /package/{dist/types/common → common}/utils/trellisUtils.d.ts +0 -0
- /package/{dist/types/common → common}/utils/urlUtils.d.ts +0 -0
package/Table.js
CHANGED
|
@@ -90,113 +90,131 @@ var defaultImport2 = __toESM(require("@splunk/visualizations-shared/colorUtils")
|
|
|
90
90
|
__reExport(colorUtils_exports, require("@splunk/visualizations-shared/colorUtils"));
|
|
91
91
|
var colorUtils_default = "default" in defaultImport2 ? defaultImport2.default : defaultImport2;
|
|
92
92
|
|
|
93
|
+
// esm-externals:react
|
|
94
|
+
var react_exports = {};
|
|
95
|
+
__export(react_exports, {
|
|
96
|
+
default: () => react_default
|
|
97
|
+
});
|
|
98
|
+
var defaultImport3 = __toESM(require("react"));
|
|
99
|
+
__reExport(react_exports, require("react"));
|
|
100
|
+
var react_default = "default" in defaultImport3 ? defaultImport3.default : defaultImport3;
|
|
101
|
+
|
|
102
|
+
// esm-externals:@splunk/ui-utils/id
|
|
103
|
+
var id_exports = {};
|
|
104
|
+
__export(id_exports, {
|
|
105
|
+
default: () => id_default
|
|
106
|
+
});
|
|
107
|
+
var defaultImport4 = __toESM(require("@splunk/ui-utils/id"));
|
|
108
|
+
__reExport(id_exports, require("@splunk/ui-utils/id"));
|
|
109
|
+
var id_default = "default" in defaultImport4 ? defaultImport4.default : defaultImport4;
|
|
110
|
+
|
|
93
111
|
// esm-externals:@splunk/ui-utils/i18n
|
|
94
112
|
var i18n_exports = {};
|
|
95
113
|
__export(i18n_exports, {
|
|
96
114
|
default: () => i18n_default
|
|
97
115
|
});
|
|
98
|
-
var
|
|
116
|
+
var defaultImport5 = __toESM(require("@splunk/ui-utils/i18n"));
|
|
99
117
|
__reExport(i18n_exports, require("@splunk/ui-utils/i18n"));
|
|
100
|
-
var i18n_default = "default" in
|
|
118
|
+
var i18n_default = "default" in defaultImport5 ? defaultImport5.default : defaultImport5;
|
|
101
119
|
|
|
102
120
|
// esm-externals:@splunk/visualization-schemas
|
|
103
121
|
var visualization_schemas_exports = {};
|
|
104
122
|
__export(visualization_schemas_exports, {
|
|
105
123
|
default: () => visualization_schemas_default
|
|
106
124
|
});
|
|
107
|
-
var
|
|
125
|
+
var defaultImport6 = __toESM(require("@splunk/visualization-schemas"));
|
|
108
126
|
__reExport(visualization_schemas_exports, require("@splunk/visualization-schemas"));
|
|
109
|
-
var visualization_schemas_default = "default" in
|
|
127
|
+
var visualization_schemas_default = "default" in defaultImport6 ? defaultImport6.default : defaultImport6;
|
|
110
128
|
|
|
111
129
|
// esm-externals:@splunk/visualization-color-palettes/editors/PresetPalettes
|
|
112
130
|
var PresetPalettes_exports = {};
|
|
113
131
|
__export(PresetPalettes_exports, {
|
|
114
132
|
default: () => PresetPalettes_default
|
|
115
133
|
});
|
|
116
|
-
var
|
|
134
|
+
var defaultImport7 = __toESM(require("@splunk/visualization-color-palettes/editors/PresetPalettes"));
|
|
117
135
|
__reExport(PresetPalettes_exports, require("@splunk/visualization-color-palettes/editors/PresetPalettes"));
|
|
118
|
-
var PresetPalettes_default = "default" in
|
|
136
|
+
var PresetPalettes_default = "default" in defaultImport7 ? defaultImport7.default : defaultImport7;
|
|
119
137
|
|
|
120
138
|
// esm-externals:@splunk/visualizations-shared/colorConstants
|
|
121
139
|
var colorConstants_exports = {};
|
|
122
140
|
__export(colorConstants_exports, {
|
|
123
141
|
default: () => colorConstants_default
|
|
124
142
|
});
|
|
125
|
-
var
|
|
143
|
+
var defaultImport8 = __toESM(require("@splunk/visualizations-shared/colorConstants"));
|
|
126
144
|
__reExport(colorConstants_exports, require("@splunk/visualizations-shared/colorConstants"));
|
|
127
|
-
var colorConstants_default = "default" in
|
|
145
|
+
var colorConstants_default = "default" in defaultImport8 ? defaultImport8.default : defaultImport8;
|
|
128
146
|
|
|
129
147
|
// esm-externals:@splunk/visualization-icons
|
|
130
148
|
var visualization_icons_exports = {};
|
|
131
149
|
__export(visualization_icons_exports, {
|
|
132
150
|
default: () => visualization_icons_default
|
|
133
151
|
});
|
|
134
|
-
var
|
|
152
|
+
var defaultImport9 = __toESM(require("@splunk/visualization-icons"));
|
|
135
153
|
__reExport(visualization_icons_exports, require("@splunk/visualization-icons"));
|
|
136
|
-
var visualization_icons_default = "default" in
|
|
154
|
+
var visualization_icons_default = "default" in defaultImport9 ? defaultImport9.default : defaultImport9;
|
|
137
155
|
|
|
138
156
|
// esm-externals:@splunk/visualization-icons/placeholders
|
|
139
157
|
var placeholders_exports = {};
|
|
140
158
|
__export(placeholders_exports, {
|
|
141
159
|
default: () => placeholders_default
|
|
142
160
|
});
|
|
143
|
-
var
|
|
161
|
+
var defaultImport10 = __toESM(require("@splunk/visualization-icons/placeholders"));
|
|
144
162
|
__reExport(placeholders_exports, require("@splunk/visualization-icons/placeholders"));
|
|
145
|
-
var placeholders_default = "default" in
|
|
163
|
+
var placeholders_default = "default" in defaultImport10 ? defaultImport10.default : defaultImport10;
|
|
146
164
|
|
|
147
165
|
// esm-externals:@splunk/themes/variables
|
|
148
166
|
var variables_exports = {};
|
|
149
167
|
__export(variables_exports, {
|
|
150
168
|
default: () => variables_default
|
|
151
169
|
});
|
|
152
|
-
var
|
|
170
|
+
var defaultImport11 = __toESM(require("@splunk/themes/variables"));
|
|
153
171
|
__reExport(variables_exports, require("@splunk/themes/variables"));
|
|
154
|
-
var variables_default = "default" in
|
|
172
|
+
var variables_default = "default" in defaultImport11 ? defaultImport11.default : defaultImport11;
|
|
155
173
|
|
|
156
174
|
// esm-externals:@splunk/themes/pick
|
|
157
175
|
var pick_exports = {};
|
|
158
176
|
__export(pick_exports, {
|
|
159
177
|
default: () => pick_default
|
|
160
178
|
});
|
|
161
|
-
var
|
|
179
|
+
var defaultImport12 = __toESM(require("@splunk/themes/pick"));
|
|
162
180
|
__reExport(pick_exports, require("@splunk/themes/pick"));
|
|
163
|
-
var pick_default = "default" in
|
|
181
|
+
var pick_default = "default" in defaultImport12 ? defaultImport12.default : defaultImport12;
|
|
164
182
|
|
|
165
183
|
// esm-externals:@splunk/react-icons/TextAlignCenter
|
|
166
184
|
var TextAlignCenter_exports = {};
|
|
167
185
|
__export(TextAlignCenter_exports, {
|
|
168
186
|
default: () => TextAlignCenter_default
|
|
169
187
|
});
|
|
170
|
-
var
|
|
188
|
+
var defaultImport13 = __toESM(require("@splunk/react-icons/TextAlignCenter"));
|
|
171
189
|
__reExport(TextAlignCenter_exports, require("@splunk/react-icons/TextAlignCenter"));
|
|
172
|
-
var TextAlignCenter_default = "default" in
|
|
190
|
+
var TextAlignCenter_default = "default" in defaultImport13 ? defaultImport13.default : defaultImport13;
|
|
173
191
|
|
|
174
192
|
// esm-externals:@splunk/react-icons/TextAlignLeft
|
|
175
193
|
var TextAlignLeft_exports = {};
|
|
176
194
|
__export(TextAlignLeft_exports, {
|
|
177
195
|
default: () => TextAlignLeft_default
|
|
178
196
|
});
|
|
179
|
-
var
|
|
197
|
+
var defaultImport14 = __toESM(require("@splunk/react-icons/TextAlignLeft"));
|
|
180
198
|
__reExport(TextAlignLeft_exports, require("@splunk/react-icons/TextAlignLeft"));
|
|
181
|
-
var TextAlignLeft_default = "default" in
|
|
199
|
+
var TextAlignLeft_default = "default" in defaultImport14 ? defaultImport14.default : defaultImport14;
|
|
182
200
|
|
|
183
201
|
// esm-externals:@splunk/react-icons/TextAlignRight
|
|
184
202
|
var TextAlignRight_exports = {};
|
|
185
203
|
__export(TextAlignRight_exports, {
|
|
186
204
|
default: () => TextAlignRight_default
|
|
187
205
|
});
|
|
188
|
-
var
|
|
206
|
+
var defaultImport15 = __toESM(require("@splunk/react-icons/TextAlignRight"));
|
|
189
207
|
__reExport(TextAlignRight_exports, require("@splunk/react-icons/TextAlignRight"));
|
|
190
|
-
var TextAlignRight_default = "default" in
|
|
208
|
+
var TextAlignRight_default = "default" in defaultImport15 ? defaultImport15.default : defaultImport15;
|
|
191
209
|
|
|
192
210
|
// esm-externals:@splunk/visualizations-shared/configUtils
|
|
193
211
|
var configUtils_exports = {};
|
|
194
212
|
__export(configUtils_exports, {
|
|
195
213
|
default: () => configUtils_default
|
|
196
214
|
});
|
|
197
|
-
var
|
|
215
|
+
var defaultImport16 = __toESM(require("@splunk/visualizations-shared/configUtils"));
|
|
198
216
|
__reExport(configUtils_exports, require("@splunk/visualizations-shared/configUtils"));
|
|
199
|
-
var configUtils_default = "default" in
|
|
217
|
+
var configUtils_default = "default" in defaultImport16 ? defaultImport16.default : defaultImport16;
|
|
200
218
|
|
|
201
219
|
// src/common/utils/configUtils.ts
|
|
202
220
|
function enhanceConfig(vizConfig) {
|
|
@@ -788,125 +806,119 @@ var buildTotalsByFieldFromFieldsMeta = (fieldsMeta) => {
|
|
|
788
806
|
});
|
|
789
807
|
return totalsByField;
|
|
790
808
|
};
|
|
791
|
-
var
|
|
809
|
+
var buildFooterDataFrames = (fieldsMeta) => {
|
|
810
|
+
const totalsByField = buildTotalsByFieldFromFieldsMeta(fieldsMeta);
|
|
792
811
|
const entries = Object.entries(totalsByField).filter(([, v]) => Number.isFinite(v));
|
|
793
812
|
const grandTotal = entries.reduce((acc, [, v]) => acc + Number(v), 0);
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
813
|
+
const percentagesByField = {};
|
|
814
|
+
if (grandTotal > 0) {
|
|
815
|
+
entries.forEach(([k, v]) => {
|
|
816
|
+
const pct = (Number(v) / grandTotal * 100).toFixed(2);
|
|
817
|
+
percentagesByField[k] = `${pct}%`;
|
|
818
|
+
});
|
|
819
|
+
}
|
|
820
|
+
const fields = Array.isArray(fieldsMeta) ? fieldsMeta : [];
|
|
821
|
+
const fieldNames = fields.map((f) => f.name).filter(Boolean);
|
|
822
|
+
const combinedFooterFields = fieldNames.map((name) => ({ name }));
|
|
823
|
+
const combinedFooterColumns = fieldNames.map((name) => {
|
|
824
|
+
const total = totalsByField[name];
|
|
825
|
+
const pct = percentagesByField[name];
|
|
826
|
+
return [typeof total === "number" ? total : "", pct || ""];
|
|
799
827
|
});
|
|
800
|
-
return
|
|
828
|
+
return {
|
|
829
|
+
footer: { fields: combinedFooterFields, columns: combinedFooterColumns }
|
|
830
|
+
};
|
|
801
831
|
};
|
|
802
832
|
|
|
803
|
-
// esm-externals:react
|
|
804
|
-
var react_exports = {};
|
|
805
|
-
__export(react_exports, {
|
|
806
|
-
default: () => react_default
|
|
807
|
-
});
|
|
808
|
-
var defaultImport15 = __toESM(require("react"));
|
|
809
|
-
__reExport(react_exports, require("react"));
|
|
810
|
-
var react_default = "default" in defaultImport15 ? defaultImport15.default : defaultImport15;
|
|
811
|
-
|
|
812
833
|
// esm-externals:@splunk/themes/getSettingsFromThemedProps
|
|
813
834
|
var getSettingsFromThemedProps_exports = {};
|
|
814
835
|
__export(getSettingsFromThemedProps_exports, {
|
|
815
836
|
default: () => getSettingsFromThemedProps_default
|
|
816
837
|
});
|
|
817
|
-
var
|
|
838
|
+
var defaultImport17 = __toESM(require("@splunk/themes/getSettingsFromThemedProps"));
|
|
818
839
|
__reExport(getSettingsFromThemedProps_exports, require("@splunk/themes/getSettingsFromThemedProps"));
|
|
819
|
-
var getSettingsFromThemedProps_default = "default" in
|
|
840
|
+
var getSettingsFromThemedProps_default = "default" in defaultImport17 ? defaultImport17.default : defaultImport17;
|
|
820
841
|
|
|
821
842
|
// esm-externals:@splunk/visualization-encoding/Options
|
|
822
843
|
var Options_exports = {};
|
|
823
844
|
__export(Options_exports, {
|
|
824
845
|
default: () => Options_default
|
|
825
846
|
});
|
|
826
|
-
var
|
|
847
|
+
var defaultImport18 = __toESM(require("@splunk/visualization-encoding/Options"));
|
|
827
848
|
__reExport(Options_exports, require("@splunk/visualization-encoding/Options"));
|
|
828
|
-
var Options_default = "default" in
|
|
849
|
+
var Options_default = "default" in defaultImport18 ? defaultImport18.default : defaultImport18;
|
|
829
850
|
|
|
830
851
|
// esm-externals:@splunk/visualizations-shared/SanitizeProps
|
|
831
852
|
var SanitizeProps_exports = {};
|
|
832
853
|
__export(SanitizeProps_exports, {
|
|
833
854
|
default: () => SanitizeProps_default
|
|
834
855
|
});
|
|
835
|
-
var
|
|
856
|
+
var defaultImport19 = __toESM(require("@splunk/visualizations-shared/SanitizeProps"));
|
|
836
857
|
__reExport(SanitizeProps_exports, require("@splunk/visualizations-shared/SanitizeProps"));
|
|
837
|
-
var SanitizeProps_default = "default" in
|
|
858
|
+
var SanitizeProps_default = "default" in defaultImport19 ? defaultImport19.default : defaultImport19;
|
|
838
859
|
|
|
839
860
|
// esm-externals:@splunk/visualization-context/TimezoneContext
|
|
840
861
|
var TimezoneContext_exports = {};
|
|
841
862
|
__export(TimezoneContext_exports, {
|
|
842
863
|
default: () => TimezoneContext_default
|
|
843
864
|
});
|
|
844
|
-
var
|
|
865
|
+
var defaultImport20 = __toESM(require("@splunk/visualization-context/TimezoneContext"));
|
|
845
866
|
__reExport(TimezoneContext_exports, require("@splunk/visualization-context/TimezoneContext"));
|
|
846
|
-
var TimezoneContext_default = "default" in
|
|
867
|
+
var TimezoneContext_default = "default" in defaultImport20 ? defaultImport20.default : defaultImport20;
|
|
847
868
|
|
|
848
869
|
// esm-externals:@splunk/moment
|
|
849
870
|
var moment_exports = {};
|
|
850
871
|
__export(moment_exports, {
|
|
851
872
|
default: () => moment_default
|
|
852
873
|
});
|
|
853
|
-
var
|
|
874
|
+
var defaultImport21 = __toESM(require("@splunk/moment"));
|
|
854
875
|
__reExport(moment_exports, require("@splunk/moment"));
|
|
855
|
-
var moment_default = "default" in
|
|
876
|
+
var moment_default = "default" in defaultImport21 ? defaultImport21.default : defaultImport21;
|
|
856
877
|
|
|
857
878
|
// esm-externals:@splunk/visualization-context/FeatureFlagContext
|
|
858
879
|
var FeatureFlagContext_exports = {};
|
|
859
880
|
__export(FeatureFlagContext_exports, {
|
|
860
881
|
default: () => FeatureFlagContext_default
|
|
861
882
|
});
|
|
862
|
-
var
|
|
883
|
+
var defaultImport22 = __toESM(require("@splunk/visualization-context/FeatureFlagContext"));
|
|
863
884
|
__reExport(FeatureFlagContext_exports, require("@splunk/visualization-context/FeatureFlagContext"));
|
|
864
|
-
var FeatureFlagContext_default = "default" in
|
|
885
|
+
var FeatureFlagContext_default = "default" in defaultImport22 ? defaultImport22.default : defaultImport22;
|
|
865
886
|
|
|
866
887
|
// esm-externals:styled-components
|
|
867
888
|
var styled_components_exports = {};
|
|
868
889
|
__export(styled_components_exports, {
|
|
869
890
|
default: () => styled_components_default
|
|
870
891
|
});
|
|
871
|
-
var
|
|
892
|
+
var defaultImport23 = __toESM(require("styled-components"));
|
|
872
893
|
__reExport(styled_components_exports, require("styled-components"));
|
|
873
|
-
var styled_components_default = "default" in
|
|
894
|
+
var styled_components_default = "default" in defaultImport23 ? defaultImport23.default : defaultImport23;
|
|
874
895
|
|
|
875
896
|
// esm-externals:@splunk/visualizations-shared/hocUtils
|
|
876
897
|
var hocUtils_exports = {};
|
|
877
898
|
__export(hocUtils_exports, {
|
|
878
899
|
default: () => hocUtils_default
|
|
879
900
|
});
|
|
880
|
-
var
|
|
901
|
+
var defaultImport24 = __toESM(require("@splunk/visualizations-shared/hocUtils"));
|
|
881
902
|
__reExport(hocUtils_exports, require("@splunk/visualizations-shared/hocUtils"));
|
|
882
|
-
var hocUtils_default = "default" in
|
|
903
|
+
var hocUtils_default = "default" in defaultImport24 ? defaultImport24.default : defaultImport24;
|
|
883
904
|
|
|
884
905
|
// esm-externals:@splunk/visualizations-shared/JSONSchemaUtils
|
|
885
906
|
var JSONSchemaUtils_exports = {};
|
|
886
907
|
__export(JSONSchemaUtils_exports, {
|
|
887
908
|
default: () => JSONSchemaUtils_default
|
|
888
909
|
});
|
|
889
|
-
var
|
|
910
|
+
var defaultImport25 = __toESM(require("@splunk/visualizations-shared/JSONSchemaUtils"));
|
|
890
911
|
__reExport(JSONSchemaUtils_exports, require("@splunk/visualizations-shared/JSONSchemaUtils"));
|
|
891
|
-
var JSONSchemaUtils_default = "default" in
|
|
912
|
+
var JSONSchemaUtils_default = "default" in defaultImport25 ? defaultImport25.default : defaultImport25;
|
|
892
913
|
|
|
893
914
|
// esm-externals:@splunk/async-dynamic-options-evaluator
|
|
894
915
|
var async_dynamic_options_evaluator_exports = {};
|
|
895
916
|
__export(async_dynamic_options_evaluator_exports, {
|
|
896
917
|
default: () => async_dynamic_options_evaluator_default
|
|
897
918
|
});
|
|
898
|
-
var
|
|
919
|
+
var defaultImport26 = __toESM(require("@splunk/async-dynamic-options-evaluator"));
|
|
899
920
|
__reExport(async_dynamic_options_evaluator_exports, require("@splunk/async-dynamic-options-evaluator"));
|
|
900
|
-
var async_dynamic_options_evaluator_default = "default" in
|
|
901
|
-
|
|
902
|
-
// esm-externals:@splunk/ui-utils/id
|
|
903
|
-
var id_exports = {};
|
|
904
|
-
__export(id_exports, {
|
|
905
|
-
default: () => id_default
|
|
906
|
-
});
|
|
907
|
-
var defaultImport26 = __toESM(require("@splunk/ui-utils/id"));
|
|
908
|
-
__reExport(id_exports, require("@splunk/ui-utils/id"));
|
|
909
|
-
var id_default = "default" in defaultImport26 ? defaultImport26.default : defaultImport26;
|
|
921
|
+
var async_dynamic_options_evaluator_default = "default" in defaultImport26 ? defaultImport26.default : defaultImport26;
|
|
910
922
|
|
|
911
923
|
// esm-externals:prop-types
|
|
912
924
|
var prop_types_exports = {};
|
|
@@ -1189,7 +1201,7 @@ var Cover = styled_components_default.div`
|
|
|
1189
1201
|
bottom: 0;
|
|
1190
1202
|
`;
|
|
1191
1203
|
var Blocker = styled_components_default.div.attrs({
|
|
1192
|
-
"data-splunk-visualization-version": "28.
|
|
1204
|
+
"data-splunk-visualization-version": "28.3.0 - 843e0f60b"
|
|
1193
1205
|
})`
|
|
1194
1206
|
position: relative;
|
|
1195
1207
|
width: 100%;
|
|
@@ -1270,7 +1282,7 @@ var withFixedSizeContainer = (Viz) => {
|
|
|
1270
1282
|
FixSizeItem,
|
|
1271
1283
|
{
|
|
1272
1284
|
"data-test": "fix-size-item",
|
|
1273
|
-
"data-splunk-visualization-version": "28.
|
|
1285
|
+
"data-splunk-visualization-version": "28.3.0 - 843e0f60b",
|
|
1274
1286
|
width,
|
|
1275
1287
|
height,
|
|
1276
1288
|
backgroundColor
|
|
@@ -1824,9 +1836,14 @@ var getAnnotationsForCanvas = ({
|
|
|
1824
1836
|
var StyledTriangle = styled_components_default(Triangle_default)`
|
|
1825
1837
|
color: ${(props) => props.eventColor || variables_default.severityColorNotice(props)};
|
|
1826
1838
|
`;
|
|
1827
|
-
var triangleEventAnnotationRenderer = ({
|
|
1839
|
+
var triangleEventAnnotationRenderer = ({
|
|
1840
|
+
event,
|
|
1841
|
+
dimensions
|
|
1842
|
+
}) => {
|
|
1828
1843
|
const eventWithColor = event;
|
|
1829
1844
|
return react_default.createElement(StyledTriangle, {
|
|
1845
|
+
width: `${dimensions.width}px`,
|
|
1846
|
+
height: `${dimensions.height}px`,
|
|
1830
1847
|
viewBox: "0 0 24 24",
|
|
1831
1848
|
variant: "filled",
|
|
1832
1849
|
eventColor: eventWithColor.color
|
|
@@ -1916,12 +1933,15 @@ var getFieldName = (field) => {
|
|
|
1916
1933
|
var getFieldNames = (fields) => {
|
|
1917
1934
|
return fields.map((field) => getFieldName(field));
|
|
1918
1935
|
};
|
|
1919
|
-
var getXScaleConfig = (label) => {
|
|
1936
|
+
var getXScaleConfig = (label, xAxisLabelVisibility) => {
|
|
1920
1937
|
const xConfig = { x: {} };
|
|
1921
1938
|
xConfig.x.label = label;
|
|
1939
|
+
if (xAxisLabelVisibility === "hide") {
|
|
1940
|
+
xConfig.x.hideLabels = true;
|
|
1941
|
+
}
|
|
1922
1942
|
return xConfig;
|
|
1923
1943
|
};
|
|
1924
|
-
var getYScaleConfig = (label, yAxisAbbreviation, yAxisScale) => {
|
|
1944
|
+
var getYScaleConfig = (label, yAxisAbbreviation, yAxisScale, yAxisLabelVisibility) => {
|
|
1925
1945
|
const scaleType = yAxisScale != null ? yAxisScale : "linear";
|
|
1926
1946
|
const yConfig = { y: {} };
|
|
1927
1947
|
yConfig.y.label = label;
|
|
@@ -1934,9 +1954,12 @@ var getYScaleConfig = (label, yAxisAbbreviation, yAxisScale) => {
|
|
|
1934
1954
|
} else {
|
|
1935
1955
|
yConfig.y.width = label && label.length > 0 ? 30 : 10;
|
|
1936
1956
|
}
|
|
1957
|
+
if (yAxisLabelVisibility === "hide") {
|
|
1958
|
+
yConfig.y.hideLabels = true;
|
|
1959
|
+
}
|
|
1937
1960
|
return yConfig;
|
|
1938
1961
|
};
|
|
1939
|
-
var getY2ScaleConfig = (label, axisAbbreviation, axisScale, roundAxisLabelsToInteger) => {
|
|
1962
|
+
var getY2ScaleConfig = (label, axisAbbreviation, axisScale, roundAxisLabelsToInteger, y2AxisLabelVisibility) => {
|
|
1940
1963
|
const y2Config = { y2: {} };
|
|
1941
1964
|
const scaleType = axisScale != null ? axisScale : "linear";
|
|
1942
1965
|
y2Config.y2.label = label;
|
|
@@ -1948,9 +1971,12 @@ var getY2ScaleConfig = (label, axisAbbreviation, axisScale, roundAxisLabelsToInt
|
|
|
1948
1971
|
} else if (roundAxisLabelsToInteger) {
|
|
1949
1972
|
y2Config.y2.tickFmt = (v) => roundAxisLabelsToInteger ? Math.round(v).toString() : v.toString();
|
|
1950
1973
|
}
|
|
1974
|
+
if (y2AxisLabelVisibility === "hide") {
|
|
1975
|
+
y2Config.y2.hideLabels = true;
|
|
1976
|
+
}
|
|
1951
1977
|
return y2Config;
|
|
1952
1978
|
};
|
|
1953
|
-
var getSeriesOverrides = (yfields, y2fields, lineWidth, overlayFields, y2Enabled, nullValueMode) => {
|
|
1979
|
+
var getSeriesOverrides = (yfields, y2fields, lineWidth, overlayFields, y2Enabled, nullValueMode, markerDisplay) => {
|
|
1954
1980
|
const seriesConfig = {};
|
|
1955
1981
|
let spanGaps;
|
|
1956
1982
|
let replaceNullsWithZero;
|
|
@@ -1982,6 +2008,9 @@ var getSeriesOverrides = (yfields, y2fields, lineWidth, overlayFields, y2Enabled
|
|
|
1982
2008
|
if (overlayFields == null ? void 0 : overlayFields.includes(field)) {
|
|
1983
2009
|
seriesConfig[field].type = "line";
|
|
1984
2010
|
}
|
|
2011
|
+
if (markerDisplay !== void 0) {
|
|
2012
|
+
seriesConfig[field].markerDisplay = markerDisplay;
|
|
2013
|
+
}
|
|
1985
2014
|
if (replaceNullsWithZero !== void 0) {
|
|
1986
2015
|
seriesConfig[field].replaceNullsWithZero = replaceNullsWithZero;
|
|
1987
2016
|
}
|
|
@@ -1998,27 +2027,30 @@ var TimeSeriesChartContainer = styled_components_default.div`
|
|
|
1998
2027
|
position: absolute !important; // This is needed for canvas element export pdf/png to work correctly
|
|
1999
2028
|
}
|
|
2000
2029
|
`;
|
|
2001
|
-
var handleClick = (chartEvent,
|
|
2030
|
+
var handleClick = (chartEvent, onClick) => {
|
|
2002
2031
|
const payload = __spreadProps(__spreadValues({}, (0, lodash_exports.pick)(chartEvent, "value", "seriesKey")), {
|
|
2003
2032
|
name: chartEvent.seriesKey
|
|
2004
2033
|
});
|
|
2005
2034
|
delete payload.seriesKey;
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2035
|
+
if (chartEvent.rowContext) {
|
|
2036
|
+
Object.keys(chartEvent.rowContext).forEach((fieldName) => {
|
|
2037
|
+
payload[`row.${fieldName}.value`] = chartEvent.rowContext[fieldName];
|
|
2038
|
+
});
|
|
2039
|
+
}
|
|
2040
|
+
if (onClick) {
|
|
2041
|
+
onClick({
|
|
2009
2042
|
type: "point.click",
|
|
2010
2043
|
originalEvent: chartEvent,
|
|
2011
2044
|
payload
|
|
2012
2045
|
});
|
|
2013
2046
|
}
|
|
2014
2047
|
};
|
|
2015
|
-
var handleLegendClick = (chartEvent,
|
|
2048
|
+
var handleLegendClick = (chartEvent, onClick) => {
|
|
2016
2049
|
const payload = {
|
|
2017
2050
|
name: chartEvent
|
|
2018
2051
|
};
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
clickHandler({
|
|
2052
|
+
if (onClick) {
|
|
2053
|
+
onClick({
|
|
2022
2054
|
type: "legend.click",
|
|
2023
2055
|
originalEvent: chartEvent,
|
|
2024
2056
|
payload
|
|
@@ -2026,7 +2058,21 @@ var handleLegendClick = (chartEvent, props) => {
|
|
|
2026
2058
|
}
|
|
2027
2059
|
};
|
|
2028
2060
|
var TimeSeriesChartWrapper = (props) => {
|
|
2029
|
-
const {
|
|
2061
|
+
const {
|
|
2062
|
+
width,
|
|
2063
|
+
height,
|
|
2064
|
+
chartData,
|
|
2065
|
+
options,
|
|
2066
|
+
userLocale,
|
|
2067
|
+
annotationX,
|
|
2068
|
+
annotationLabel,
|
|
2069
|
+
annotationColor,
|
|
2070
|
+
legendDisplay,
|
|
2071
|
+
markerDisplay,
|
|
2072
|
+
onClick,
|
|
2073
|
+
onPointMouseOver,
|
|
2074
|
+
onPointMouseOut
|
|
2075
|
+
} = props;
|
|
2030
2076
|
const {
|
|
2031
2077
|
backgroundColor,
|
|
2032
2078
|
seriesColors: seriesColorsStr,
|
|
@@ -2037,6 +2083,9 @@ var TimeSeriesChartWrapper = (props) => {
|
|
|
2037
2083
|
"axisTitleX.visibility": xAxisTitleVisibility,
|
|
2038
2084
|
"axisTitleY.visibility": yAxisTitleVisibility,
|
|
2039
2085
|
"axisTitleY2.visibility": y2AxisTitleVisibility,
|
|
2086
|
+
"axisLabelsX.majorLabelVisibility": xAxisLabelVisibility,
|
|
2087
|
+
"axisLabelsY.majorLabelVisibility": yAxisLabelVisibility,
|
|
2088
|
+
"axisLabelsY2.majorLabelVisibility": y2AxisLabelVisibility,
|
|
2040
2089
|
"axisY.abbreviation": yAxisAbbreviation,
|
|
2041
2090
|
"axisY.scale": yAxisScale,
|
|
2042
2091
|
"axisY2.abbreviation": y2AxisAbbreviation,
|
|
@@ -2073,11 +2122,17 @@ var TimeSeriesChartWrapper = (props) => {
|
|
|
2073
2122
|
const fieldsForY2Axis = y2Fields.length > 0 ? y2Fields : overlayFields;
|
|
2074
2123
|
let y2AxisTitle = getComputedAxisTitles(y2AxisTitleText, fieldsForY2Axis, y2AxisTitleVisibility);
|
|
2075
2124
|
y2AxisTitle = ellipsisAxisTitle(y2AxisTitle, containerHeight);
|
|
2076
|
-
const xScaleConfig = getXScaleConfig(xAxisTitle);
|
|
2077
|
-
const yScaleConfig = getYScaleConfig(yAxisTitle, yAxisAbbreviation, yAxisScale);
|
|
2125
|
+
const xScaleConfig = getXScaleConfig(xAxisTitle, xAxisLabelVisibility);
|
|
2126
|
+
const yScaleConfig = getYScaleConfig(yAxisTitle, yAxisAbbreviation, yAxisScale, yAxisLabelVisibility);
|
|
2078
2127
|
let y2ScaleConfig = {};
|
|
2079
2128
|
if (y2Enabled) {
|
|
2080
|
-
y2ScaleConfig = getY2ScaleConfig(
|
|
2129
|
+
y2ScaleConfig = getY2ScaleConfig(
|
|
2130
|
+
y2AxisTitle,
|
|
2131
|
+
y2AxisAbbreviation,
|
|
2132
|
+
y2AxisScale,
|
|
2133
|
+
y2IntegerUnits,
|
|
2134
|
+
y2AxisLabelVisibility
|
|
2135
|
+
);
|
|
2081
2136
|
}
|
|
2082
2137
|
const uplotContainerElement = (0, react_exports.useRef)(null);
|
|
2083
2138
|
const seriesDataFormatted = [
|
|
@@ -2086,24 +2141,87 @@ var TimeSeriesChartWrapper = (props) => {
|
|
|
2086
2141
|
];
|
|
2087
2142
|
chartData.fields = filteredChartData.fields;
|
|
2088
2143
|
chartData.columns = seriesDataFormatted;
|
|
2089
|
-
const seriesOverrides =
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2144
|
+
const seriesOverrides = (0, react_exports.useMemo)(
|
|
2145
|
+
() => getSeriesOverrides(
|
|
2146
|
+
yFields,
|
|
2147
|
+
y2Fields,
|
|
2148
|
+
lineWidth,
|
|
2149
|
+
overlayFields,
|
|
2150
|
+
y2Enabled,
|
|
2151
|
+
nullValueMode,
|
|
2152
|
+
markerDisplay
|
|
2153
|
+
),
|
|
2154
|
+
[yFields, y2Fields, lineWidth, overlayFields, y2Enabled, nullValueMode, markerDisplay]
|
|
2155
|
+
);
|
|
2156
|
+
const chartingEventAnnotations = (0, react_exports.useMemo)(
|
|
2157
|
+
() => getAnnotationsForCanvas({
|
|
2158
|
+
annotationX,
|
|
2159
|
+
annotationColor,
|
|
2160
|
+
annotationLabel
|
|
2161
|
+
}),
|
|
2162
|
+
[annotationX, annotationColor, annotationLabel]
|
|
2163
|
+
);
|
|
2164
|
+
const scaleConfig = (0, react_exports.useMemo)(
|
|
2165
|
+
() => __spreadValues(__spreadValues(__spreadValues({}, xScaleConfig), yScaleConfig), y2ScaleConfig),
|
|
2166
|
+
[xScaleConfig, yScaleConfig, y2ScaleConfig]
|
|
2167
|
+
);
|
|
2168
|
+
const legend = (0, react_exports.useMemo)(() => getLegend({ legendDisplay }), [legendDisplay]);
|
|
2169
|
+
const handleChartClick = react_exports.useCallback(
|
|
2170
|
+
(event) => {
|
|
2171
|
+
if (onClick) {
|
|
2172
|
+
handleClick(event, onClick);
|
|
2173
|
+
}
|
|
2174
|
+
},
|
|
2175
|
+
[onClick]
|
|
2176
|
+
);
|
|
2177
|
+
const handleChartLegendClick = react_exports.useCallback(
|
|
2178
|
+
(event) => {
|
|
2179
|
+
if (onClick) {
|
|
2180
|
+
handleLegendClick(event, onClick);
|
|
2181
|
+
}
|
|
2182
|
+
},
|
|
2183
|
+
[onClick]
|
|
2184
|
+
);
|
|
2185
|
+
const lastPayloadRef = react_exports.useRef(null);
|
|
2186
|
+
const lastOriginalEventRef = react_exports.useRef(null);
|
|
2187
|
+
const handleChartCrosshairChange = react_exports.useCallback(
|
|
2188
|
+
(event) => {
|
|
2189
|
+
if (onPointMouseOver || onPointMouseOut) {
|
|
2190
|
+
if (!event) {
|
|
2191
|
+
if (onPointMouseOut && lastPayloadRef.current) {
|
|
2192
|
+
onPointMouseOut({
|
|
2193
|
+
type: "point.mouseout",
|
|
2194
|
+
originalEvent: lastOriginalEventRef.current,
|
|
2195
|
+
payload: lastPayloadRef.current
|
|
2196
|
+
});
|
|
2197
|
+
}
|
|
2198
|
+
return;
|
|
2199
|
+
}
|
|
2200
|
+
const payload = __spreadProps(__spreadValues({}, (0, lodash_exports.pick)(event, "value", "seriesKey", "time", "index", "seriesIndex")), {
|
|
2201
|
+
name: event.seriesKey
|
|
2202
|
+
});
|
|
2203
|
+
delete payload.seriesKey;
|
|
2204
|
+
if (event.rowContext) {
|
|
2205
|
+
Object.keys(event.rowContext).forEach((fieldName) => {
|
|
2206
|
+
payload[`row.${fieldName}.value`] = event.rowContext[fieldName];
|
|
2207
|
+
});
|
|
2208
|
+
}
|
|
2209
|
+
lastPayloadRef.current = payload;
|
|
2210
|
+
lastOriginalEventRef.current = event;
|
|
2211
|
+
if (onPointMouseOver) {
|
|
2212
|
+
onPointMouseOver({
|
|
2213
|
+
type: "point.mouseover",
|
|
2214
|
+
originalEvent: event,
|
|
2215
|
+
payload
|
|
2216
|
+
});
|
|
2217
|
+
}
|
|
2218
|
+
}
|
|
2219
|
+
},
|
|
2220
|
+
[onPointMouseOver, onPointMouseOut]
|
|
2096
2221
|
);
|
|
2097
|
-
const chartingEventAnnotations = getAnnotationsForCanvas({
|
|
2098
|
-
annotationX,
|
|
2099
|
-
annotationColor,
|
|
2100
|
-
annotationLabel
|
|
2101
|
-
});
|
|
2102
|
-
const MemoizedChart = react_exports.memo(visualization_canvas_exports.TimeSeriesChart);
|
|
2103
|
-
const scaleConfig = __spreadValues(__spreadValues(__spreadValues({}, xScaleConfig), yScaleConfig), y2ScaleConfig);
|
|
2104
2222
|
const memoizedChart = (0, react_exports.useMemo)(
|
|
2105
2223
|
() => /* @__PURE__ */ react_exports.createElement(
|
|
2106
|
-
|
|
2224
|
+
visualization_canvas_exports.TimeSeriesChart,
|
|
2107
2225
|
{
|
|
2108
2226
|
data: chartData,
|
|
2109
2227
|
width: containerWidth,
|
|
@@ -2111,34 +2229,39 @@ var TimeSeriesChartWrapper = (props) => {
|
|
|
2111
2229
|
seriesColors,
|
|
2112
2230
|
seriesColorsByField,
|
|
2113
2231
|
seriesConfig: seriesOverrides,
|
|
2114
|
-
legend
|
|
2232
|
+
legend,
|
|
2115
2233
|
scaleConfig,
|
|
2116
2234
|
timestampFormat: "expanded",
|
|
2117
|
-
onCrosshairClick:
|
|
2118
|
-
|
|
2235
|
+
onCrosshairClick: onClick ? handleChartClick : void 0,
|
|
2236
|
+
onCrosshairChange: onPointMouseOver || onPointMouseOut ? handleChartCrosshairChange : void 0,
|
|
2237
|
+
onSeriesClick: onClick ? handleChartLegendClick : void 0,
|
|
2119
2238
|
userLocale,
|
|
2120
2239
|
events: chartingEventAnnotations,
|
|
2121
2240
|
eventsConfig: { renderer: triangleEventAnnotationRenderer }
|
|
2122
2241
|
}
|
|
2123
2242
|
),
|
|
2124
2243
|
[
|
|
2125
|
-
MemoizedChart,
|
|
2126
2244
|
chartData,
|
|
2127
2245
|
containerWidth,
|
|
2128
2246
|
containerHeight,
|
|
2129
2247
|
seriesColors,
|
|
2130
2248
|
seriesColorsByField,
|
|
2131
2249
|
seriesOverrides,
|
|
2132
|
-
|
|
2133
|
-
props,
|
|
2250
|
+
legend,
|
|
2134
2251
|
scaleConfig,
|
|
2135
2252
|
userLocale,
|
|
2136
|
-
chartingEventAnnotations
|
|
2253
|
+
chartingEventAnnotations,
|
|
2254
|
+
onClick,
|
|
2255
|
+
handleChartClick,
|
|
2256
|
+
onPointMouseOver,
|
|
2257
|
+
onPointMouseOut,
|
|
2258
|
+
handleChartCrosshairChange,
|
|
2259
|
+
handleChartLegendClick
|
|
2137
2260
|
]
|
|
2138
2261
|
);
|
|
2139
2262
|
const memoizedVisualization = (0, react_exports.useMemo)(() => {
|
|
2140
2263
|
return /* @__PURE__ */ react_exports.createElement(VizStyleWrapper_default, { backgroundColor }, memoizedChart);
|
|
2141
|
-
}, [backgroundColor]);
|
|
2264
|
+
}, [backgroundColor, memoizedChart]);
|
|
2142
2265
|
return /* @__PURE__ */ react_exports.createElement(
|
|
2143
2266
|
TimeSeriesChartContainer,
|
|
2144
2267
|
{
|
|
@@ -2154,6 +2277,7 @@ var TimeSeriesChartWrapper = (props) => {
|
|
|
2154
2277
|
var TimeSeriesChartWrapper_default = TimeSeriesChartWrapper;
|
|
2155
2278
|
|
|
2156
2279
|
// src/common/withDashboardViz.tsx
|
|
2280
|
+
var SanitizedTimeSeriesChartWrapper = (0, SanitizeProps_exports.withSanitizedProps)(TimeSeriesChartWrapper_default);
|
|
2157
2281
|
var withDashboardViz = (opts) => {
|
|
2158
2282
|
const {
|
|
2159
2283
|
ReactViz,
|
|
@@ -2162,6 +2286,7 @@ var withDashboardViz = (opts) => {
|
|
|
2162
2286
|
},
|
|
2163
2287
|
computeVizPropsBeforeEval = () => {
|
|
2164
2288
|
},
|
|
2289
|
+
computeDataFrames,
|
|
2165
2290
|
disableEditModeCover,
|
|
2166
2291
|
useIconPlaceholder
|
|
2167
2292
|
} = opts;
|
|
@@ -2290,11 +2415,19 @@ var withDashboardViz = (opts) => {
|
|
|
2290
2415
|
);
|
|
2291
2416
|
setDataFramesInState(dataFrames);
|
|
2292
2417
|
}
|
|
2418
|
+
let mergedFrames = dataFrames;
|
|
2419
|
+
if (computeDataFrames && dataFrames) {
|
|
2420
|
+
const derivedFrames = computeDataFrames({
|
|
2421
|
+
dataSources: downsampledDataSources,
|
|
2422
|
+
options: optionsToEvaluate.options
|
|
2423
|
+
});
|
|
2424
|
+
mergedFrames = __spreadValues(__spreadValues({}, dataFrames), derivedFrames);
|
|
2425
|
+
}
|
|
2293
2426
|
const result = Options_exports.Options.evaluate(
|
|
2294
2427
|
optionsToEvaluate,
|
|
2295
2428
|
downsampledDataSources,
|
|
2296
2429
|
themeFunc,
|
|
2297
|
-
|
|
2430
|
+
mergedFrames,
|
|
2298
2431
|
getFeatureFlag(featureFlagContext, "visualizations_bypassCloneDeepOptionScope")
|
|
2299
2432
|
);
|
|
2300
2433
|
return result;
|
|
@@ -2382,7 +2515,7 @@ var withDashboardViz = (opts) => {
|
|
|
2382
2515
|
});
|
|
2383
2516
|
}
|
|
2384
2517
|
eventCallbackProps[eventCallbackPropName] = (ev) => {
|
|
2385
|
-
if (ev
|
|
2518
|
+
if (ev == null ? void 0 : ev.payload) {
|
|
2386
2519
|
payload = __spreadValues({}, ev.payload);
|
|
2387
2520
|
}
|
|
2388
2521
|
return onEventTrigger({
|
|
@@ -2406,10 +2539,7 @@ var withDashboardViz = (opts) => {
|
|
|
2406
2539
|
if (useAsyncEvaluatedOptions && Object.keys(evaluatedOptionsToUse).length === 0) {
|
|
2407
2540
|
return null;
|
|
2408
2541
|
}
|
|
2409
|
-
|
|
2410
|
-
if (isAcceleratedRenderOn) {
|
|
2411
|
-
SanitizedViz = (0, SanitizeProps_exports.withSanitizedProps)(TimeSeriesChartWrapper_default);
|
|
2412
|
-
}
|
|
2542
|
+
const SanitizedViz = isAcceleratedRenderOn ? SanitizedTimeSeriesChartWrapper : SanitizedReactViz;
|
|
2413
2543
|
return /* @__PURE__ */ react_exports.createElement(
|
|
2414
2544
|
SanitizedViz,
|
|
2415
2545
|
__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadProps(__spreadValues({}, SplunkVisualization_default.defaults), {
|
|
@@ -2938,11 +3068,7 @@ var useTable = (tableArgs = {}) => {
|
|
|
2938
3068
|
showInternalFields,
|
|
2939
3069
|
longestColumnLength
|
|
2940
3070
|
});
|
|
2941
|
-
const {
|
|
2942
|
-
footers,
|
|
2943
|
-
showFooterTotals = false,
|
|
2944
|
-
showFooterPercentages = false
|
|
2945
|
-
} = tableArgs;
|
|
3071
|
+
const { showFooterTotals = false, showFooterPercentages = false } = tableArgs;
|
|
2946
3072
|
const resolveByField = (fieldId, displayName, map) => {
|
|
2947
3073
|
if (!map) return void 0;
|
|
2948
3074
|
if (Object.prototype.hasOwnProperty.call(map, fieldId)) return map[fieldId];
|
|
@@ -2959,44 +3085,41 @@ var useTable = (tableArgs = {}) => {
|
|
|
2959
3085
|
Math.max(0, longestColumnLength - 1)
|
|
2960
3086
|
) || getTableFormatAlign(tableFormat, colIdx, Math.max(0, longestColumnLength - 1)) || "right";
|
|
2961
3087
|
};
|
|
2962
|
-
const buildFooterRow = (key,
|
|
3088
|
+
const buildFooterRow = (key, styleExtras, rowIndexBase) => {
|
|
2963
3089
|
const idx = rowIndexBase + tableFooter.rows.length;
|
|
2964
3090
|
const row = { key, index: idx, cells: [] };
|
|
2965
3091
|
tableHeader.cells.forEach((colMeta, colIdx) => {
|
|
2966
|
-
var _a, _b, _c;
|
|
3092
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
2967
3093
|
const fieldId = colMeta.columnId;
|
|
2968
3094
|
const label = colMeta.value;
|
|
2969
|
-
const
|
|
2970
|
-
|
|
2971
|
-
|
|
3095
|
+
const columnFooterRaw = (_c = (_a = columnFormat == null ? void 0 : columnFormat[fieldId]) == null ? void 0 : _a.footer) != null ? _c : (_b = columnFormat == null ? void 0 : columnFormat[label]) == null ? void 0 : _b.footer;
|
|
3096
|
+
let displayValue = "";
|
|
3097
|
+
if (Array.isArray(columnFooterRaw)) {
|
|
3098
|
+
displayValue = key === "footer-percentages" ? (_d = columnFooterRaw[1]) != null ? _d : "" : (_e = columnFooterRaw[0]) != null ? _e : "";
|
|
3099
|
+
} else if (typeof columnFooterRaw !== "undefined") {
|
|
3100
|
+
displayValue = key === "footer-percentages" ? "" : columnFooterRaw;
|
|
3101
|
+
} else {
|
|
3102
|
+
displayValue = "";
|
|
3103
|
+
}
|
|
3104
|
+
const derivedAlign = computeDerivedAlign(colMeta, colIdx, void 0);
|
|
2972
3105
|
row.cells.push({
|
|
2973
3106
|
key: `${key}-${colIdx}`,
|
|
2974
3107
|
value: displayValue,
|
|
2975
3108
|
align: derivedAlign,
|
|
2976
3109
|
style: __spreadValues(__spreadValues({
|
|
2977
|
-
backgroundColor: ((
|
|
2978
|
-
color: (
|
|
3110
|
+
backgroundColor: ((_f = tableHeader.style) == null ? void 0 : _f.backgroundColor) || ((_g = tableHeader.style) == null ? void 0 : _g.color),
|
|
3111
|
+
color: (_h = tableHeader.style) == null ? void 0 : _h.color
|
|
2979
3112
|
}, styleExtras.bold ? { fontWeight: 600 } : {}), typeof styleExtras.opacity === "number" ? { opacity: styleExtras.opacity } : {})
|
|
2980
3113
|
});
|
|
2981
3114
|
});
|
|
2982
3115
|
return row;
|
|
2983
3116
|
};
|
|
2984
|
-
if (
|
|
2985
|
-
const totalsRow = buildFooterRow(
|
|
2986
|
-
"footer-totals",
|
|
2987
|
-
footers == null ? void 0 : footers.totalsByField,
|
|
2988
|
-
{ bold: true },
|
|
2989
|
-
tableBody.rows.length
|
|
2990
|
-
);
|
|
3117
|
+
if (showFooterTotals) {
|
|
3118
|
+
const totalsRow = buildFooterRow("footer-totals", { bold: true }, tableBody.rows.length);
|
|
2991
3119
|
tableFooter.rows.push(totalsRow);
|
|
2992
3120
|
}
|
|
2993
|
-
if (
|
|
2994
|
-
const percentagesRow = buildFooterRow(
|
|
2995
|
-
"footer-percentages",
|
|
2996
|
-
footers == null ? void 0 : footers.percentagesByField,
|
|
2997
|
-
{},
|
|
2998
|
-
tableBody.rows.length
|
|
2999
|
-
);
|
|
3121
|
+
if (showFooterPercentages) {
|
|
3122
|
+
const percentagesRow = buildFooterRow("footer-percentages", {}, tableBody.rows.length);
|
|
3000
3123
|
tableFooter.rows.push(percentagesRow);
|
|
3001
3124
|
}
|
|
3002
3125
|
return {
|
|
@@ -3129,7 +3252,7 @@ var _SparkLine = class _SparkLine extends react_exports.Component {
|
|
|
3129
3252
|
const { pointIndex: pointIndexStr } = target.dataset || {};
|
|
3130
3253
|
const { activeIndex, componentIsFocused, hoveredIndex } = this.state;
|
|
3131
3254
|
if (pointIndexStr !== void 0) {
|
|
3132
|
-
const pointIndex = parseInt(pointIndexStr, 10);
|
|
3255
|
+
const pointIndex = Number.parseInt(pointIndexStr, 10);
|
|
3133
3256
|
if (activeIndex !== pointIndex || !componentIsFocused || hoveredIndex !== null) {
|
|
3134
3257
|
this.setState({
|
|
3135
3258
|
activeIndex: pointIndex,
|
|
@@ -3158,7 +3281,7 @@ var _SparkLine = class _SparkLine extends react_exports.Component {
|
|
|
3158
3281
|
if (!allowedKeys.includes(event.key)) {
|
|
3159
3282
|
return;
|
|
3160
3283
|
}
|
|
3161
|
-
let newIndex
|
|
3284
|
+
let newIndex;
|
|
3162
3285
|
switch (event.key) {
|
|
3163
3286
|
case "Home":
|
|
3164
3287
|
newIndex = 0;
|
|
@@ -3185,7 +3308,7 @@ var _SparkLine = class _SparkLine extends react_exports.Component {
|
|
|
3185
3308
|
handleMouseOver(event) {
|
|
3186
3309
|
const pointIndexStr = event.target.dataset && event.target.dataset.pointIndex;
|
|
3187
3310
|
if (pointIndexStr !== void 0) {
|
|
3188
|
-
const pointIndex = parseInt(pointIndexStr, 10);
|
|
3311
|
+
const pointIndex = Number.parseInt(pointIndexStr, 10);
|
|
3189
3312
|
if (this.state.hoveredIndex !== pointIndex) {
|
|
3190
3313
|
this.setState({ hoveredIndex: pointIndex });
|
|
3191
3314
|
}
|
|
@@ -3199,12 +3322,12 @@ var _SparkLine = class _SparkLine extends react_exports.Component {
|
|
|
3199
3322
|
getMax() {
|
|
3200
3323
|
const { data, acceptNull, yMax } = this.props;
|
|
3201
3324
|
const dataMax = () => acceptNull ? (0, lodash_exports.max)(this.fillNull()) : (0, lodash_exports.max)(data);
|
|
3202
|
-
return yMax
|
|
3325
|
+
return yMax === void 0 ? dataMax() : yMax;
|
|
3203
3326
|
}
|
|
3204
3327
|
getMin() {
|
|
3205
3328
|
const { data, acceptNull, yMin } = this.props;
|
|
3206
3329
|
const dataMin = () => acceptNull ? (0, lodash_exports.min)(this.fillNull()) : (0, lodash_exports.min)(data);
|
|
3207
|
-
return yMin
|
|
3330
|
+
return yMin === void 0 ? dataMin() : yMin;
|
|
3208
3331
|
}
|
|
3209
3332
|
/**
|
|
3210
3333
|
* Gets unit value of x axis.
|
|
@@ -3241,7 +3364,7 @@ var _SparkLine = class _SparkLine extends react_exports.Component {
|
|
|
3241
3364
|
const { acceptNull } = this.props;
|
|
3242
3365
|
const lines = [];
|
|
3243
3366
|
let currentLine = [];
|
|
3244
|
-
data.
|
|
3367
|
+
for (const [idx, p] of data.entries()) {
|
|
3245
3368
|
if (!acceptNull && (0, lodash_exports.isNull)(p)) {
|
|
3246
3369
|
if (currentLine.length > 1) {
|
|
3247
3370
|
lines.push(currentLine);
|
|
@@ -3250,7 +3373,7 @@ var _SparkLine = class _SparkLine extends react_exports.Component {
|
|
|
3250
3373
|
} else {
|
|
3251
3374
|
currentLine.push(points[idx]);
|
|
3252
3375
|
}
|
|
3253
|
-
}
|
|
3376
|
+
}
|
|
3254
3377
|
if (currentLine.length > 1) {
|
|
3255
3378
|
lines.push(currentLine);
|
|
3256
3379
|
}
|
|
@@ -3298,7 +3421,7 @@ var _SparkLine = class _SparkLine extends react_exports.Component {
|
|
|
3298
3421
|
"rect",
|
|
3299
3422
|
{
|
|
3300
3423
|
key: `${i}_${p[0]}`,
|
|
3301
|
-
role: "
|
|
3424
|
+
role: "graphics-symbol",
|
|
3302
3425
|
"aria-label": `Value: ${data[i] === null ? "N/A" : data[i]}, point ${i + 1} of ${data.length}`,
|
|
3303
3426
|
"data-test": `rect-${i}`,
|
|
3304
3427
|
"data-point-index": i,
|
|
@@ -3306,7 +3429,7 @@ var _SparkLine = class _SparkLine extends react_exports.Component {
|
|
|
3306
3429
|
ref: (el) => {
|
|
3307
3430
|
this.pointRefs[i] = el;
|
|
3308
3431
|
},
|
|
3309
|
-
x:
|
|
3432
|
+
x: Math.max(0, p[0] - xUnit / 2),
|
|
3310
3433
|
y: 0,
|
|
3311
3434
|
width: i === 0 && data.length !== 1 ? xUnit / 2 : xUnit,
|
|
3312
3435
|
height,
|
|
@@ -3325,7 +3448,7 @@ var _SparkLine = class _SparkLine extends react_exports.Component {
|
|
|
3325
3448
|
let segments = this.getSegmentSets(data, points);
|
|
3326
3449
|
segments = segments.map(
|
|
3327
3450
|
(s) => s.concat([
|
|
3328
|
-
[s
|
|
3451
|
+
[s.at(-1)[0], height],
|
|
3329
3452
|
// down to bottom of graph
|
|
3330
3453
|
[s[0][0], height],
|
|
3331
3454
|
// over to below first data point
|
|
@@ -3436,6 +3559,53 @@ var _SparkLine = class _SparkLine extends react_exports.Component {
|
|
|
3436
3559
|
}
|
|
3437
3560
|
)));
|
|
3438
3561
|
}
|
|
3562
|
+
getInteractionState({ data, points, showTooltip, activeIndex, hoveredIndex, componentIsFocused }) {
|
|
3563
|
+
if (!showTooltip) {
|
|
3564
|
+
return {
|
|
3565
|
+
currentPointX: null,
|
|
3566
|
+
tooltipValue: null,
|
|
3567
|
+
showCursorAndTooltip: false,
|
|
3568
|
+
interactiveProps: {}
|
|
3569
|
+
};
|
|
3570
|
+
}
|
|
3571
|
+
const interactiveProps = {
|
|
3572
|
+
onKeyDown: this.handleKeyDown,
|
|
3573
|
+
onMouseOver: this.handleMouseOver,
|
|
3574
|
+
onMouseLeave: this.handleMouseLeave,
|
|
3575
|
+
onFocus: this.handleFocus,
|
|
3576
|
+
onBlur: this.handleBlur
|
|
3577
|
+
};
|
|
3578
|
+
const isHovered = hoveredIndex !== null;
|
|
3579
|
+
const shouldDisplayInteractiveElements = (isHovered || componentIsFocused) && data.length > 0;
|
|
3580
|
+
if (!shouldDisplayInteractiveElements) {
|
|
3581
|
+
return {
|
|
3582
|
+
currentPointX: null,
|
|
3583
|
+
tooltipValue: null,
|
|
3584
|
+
showCursorAndTooltip: false,
|
|
3585
|
+
interactiveProps
|
|
3586
|
+
};
|
|
3587
|
+
}
|
|
3588
|
+
const displayIndex = isHovered ? hoveredIndex : activeIndex;
|
|
3589
|
+
const isValidIndex = displayIndex !== null && displayIndex >= 0;
|
|
3590
|
+
const withinBounds = isValidIndex && displayIndex < data.length && displayIndex < points.length;
|
|
3591
|
+
if (!withinBounds) {
|
|
3592
|
+
return {
|
|
3593
|
+
currentPointX: null,
|
|
3594
|
+
tooltipValue: null,
|
|
3595
|
+
showCursorAndTooltip: false,
|
|
3596
|
+
interactiveProps
|
|
3597
|
+
};
|
|
3598
|
+
}
|
|
3599
|
+
const displayPointCoords = points[displayIndex];
|
|
3600
|
+
const currentPointX = displayPointCoords ? displayPointCoords[0] : null;
|
|
3601
|
+
const tooltipValue = data[displayIndex];
|
|
3602
|
+
return {
|
|
3603
|
+
currentPointX,
|
|
3604
|
+
tooltipValue,
|
|
3605
|
+
showCursorAndTooltip: currentPointX !== null,
|
|
3606
|
+
interactiveProps
|
|
3607
|
+
};
|
|
3608
|
+
}
|
|
3439
3609
|
render() {
|
|
3440
3610
|
const {
|
|
3441
3611
|
data,
|
|
@@ -3462,39 +3632,20 @@ var _SparkLine = class _SparkLine extends react_exports.Component {
|
|
|
3462
3632
|
const yMargin = Math.max(lineStrokeWidth / 2, endDotRadius + endDotStrokeWidth / 2);
|
|
3463
3633
|
const points = this.dataToPoints(xMargin, yMargin);
|
|
3464
3634
|
const dotsToShow = Math.max(showEndDot && 1, (0, lodash_exports.isFinite)(endDotCount) && endDotCount > 0 && endDotCount);
|
|
3465
|
-
|
|
3466
|
-
|
|
3467
|
-
|
|
3468
|
-
|
|
3469
|
-
|
|
3470
|
-
|
|
3471
|
-
|
|
3472
|
-
|
|
3473
|
-
const displayIndex = isHovered ? hoveredIndex : activeIndex;
|
|
3474
|
-
if (displayIndex !== null && displayIndex >= 0 && data.length > displayIndex && points.length > displayIndex) {
|
|
3475
|
-
const displayPointCoords = points[displayIndex];
|
|
3476
|
-
if (displayPointCoords) {
|
|
3477
|
-
[currentPointX] = displayPointCoords;
|
|
3478
|
-
}
|
|
3479
|
-
tooltipValue = data[displayIndex];
|
|
3480
|
-
showCursorAndTooltip = currentPointX !== null;
|
|
3481
|
-
}
|
|
3482
|
-
}
|
|
3483
|
-
interactiveProps = {
|
|
3484
|
-
onKeyDown: this.handleKeyDown,
|
|
3485
|
-
onMouseOver: this.handleMouseOver,
|
|
3486
|
-
onMouseLeave: this.handleMouseLeave,
|
|
3487
|
-
onFocus: this.handleFocus,
|
|
3488
|
-
onBlur: this.handleBlur
|
|
3489
|
-
};
|
|
3490
|
-
}
|
|
3635
|
+
const { currentPointX, tooltipValue, showCursorAndTooltip, interactiveProps } = this.getInteractionState({
|
|
3636
|
+
data,
|
|
3637
|
+
points,
|
|
3638
|
+
showTooltip,
|
|
3639
|
+
activeIndex,
|
|
3640
|
+
hoveredIndex,
|
|
3641
|
+
componentIsFocused
|
|
3642
|
+
});
|
|
3491
3643
|
const ariaLabel = title || (0, i18n_exports._)("Source count over time sparkline trend");
|
|
3492
3644
|
return /* @__PURE__ */ react_default.createElement(
|
|
3493
3645
|
"div",
|
|
3494
3646
|
__spreadValues(__spreadValues({
|
|
3495
3647
|
"data-test": "line",
|
|
3496
3648
|
"data-test-type": isArea ? "area" : "line",
|
|
3497
|
-
role: "group",
|
|
3498
3649
|
ref: (el) => {
|
|
3499
3650
|
this.containerRef.current = el;
|
|
3500
3651
|
if (typeof elementRef === "function") {
|
|
@@ -3838,8 +3989,6 @@ var withEmptyTableMessage = (Viz) => {
|
|
|
3838
3989
|
showRowNumbers,
|
|
3839
3990
|
showInternalFields,
|
|
3840
3991
|
headersMetadata,
|
|
3841
|
-
// plumb down named-map footers and toggles if present on props
|
|
3842
|
-
footers: props.footers,
|
|
3843
3992
|
showFooterTotals: props.showFooterTotals,
|
|
3844
3993
|
showFooterPercentages: props.showFooterPercentages,
|
|
3845
3994
|
tableFormat: __spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues({}, tableFormat), (tableFormat == null ? void 0 : tableFormat.headerAlign) && {
|
|
@@ -4264,7 +4413,7 @@ var PureTable_default = withEmptyTableMessage(FixedSizeContainer_default(PureTab
|
|
|
4264
4413
|
// src/Table/Table.tsx
|
|
4265
4414
|
var computeVizProps = (_a) => {
|
|
4266
4415
|
var props = __objRest(_a, []);
|
|
4267
|
-
var _a2, _b, _c, _d, _e, _f, _g
|
|
4416
|
+
var _a2, _b, _c, _d, _e, _f, _g;
|
|
4268
4417
|
const vizProps = __spreadValues({}, props);
|
|
4269
4418
|
vizProps.columnIds = (_d = (_c = (_b = (_a2 = vizProps.dataSources) == null ? void 0 : _a2.primary) == null ? void 0 : _b.data) == null ? void 0 : _c.fields.map((field) => {
|
|
4270
4419
|
var _a3;
|
|
@@ -4274,15 +4423,6 @@ var computeVizProps = (_a) => {
|
|
|
4274
4423
|
vizProps.columnIds = vizProps.headers;
|
|
4275
4424
|
}
|
|
4276
4425
|
vizProps.headersMetadata = (_g = (_f = (_e = vizProps.dataSources) == null ? void 0 : _e.primary) == null ? void 0 : _f.data) == null ? void 0 : _g.fields;
|
|
4277
|
-
const fieldsMeta = ((_j = (_i = (_h = vizProps.dataSources) == null ? void 0 : _h.primary) == null ? void 0 : _i.data) == null ? void 0 : _j.fields) || [];
|
|
4278
|
-
const totalsByField = buildTotalsByFieldFromFieldsMeta(fieldsMeta);
|
|
4279
|
-
if (Object.keys(totalsByField).length > 0) {
|
|
4280
|
-
vizProps.footers = __spreadProps(__spreadValues({}, vizProps.footers || {}), { totalsByField });
|
|
4281
|
-
const percentagesByField = buildPercentagesByFieldFromTotals(totalsByField);
|
|
4282
|
-
if (Object.keys(percentagesByField).length > 0) {
|
|
4283
|
-
vizProps.footers = __spreadProps(__spreadValues({}, vizProps.footers || {}), { percentagesByField });
|
|
4284
|
-
}
|
|
4285
|
-
}
|
|
4286
4426
|
if (vizProps.columnFormat) {
|
|
4287
4427
|
const columns = vizProps.columnFormat;
|
|
4288
4428
|
const themeRowBackgroundColorOdd = vizProps.themeFunc("rowBackgroundColorOdd");
|
|
@@ -4332,12 +4472,75 @@ var computeVizProps = (_a) => {
|
|
|
4332
4472
|
}
|
|
4333
4473
|
return vizProps;
|
|
4334
4474
|
};
|
|
4335
|
-
var
|
|
4336
|
-
|
|
4337
|
-
|
|
4338
|
-
|
|
4339
|
-
|
|
4340
|
-
}
|
|
4475
|
+
var withTableFooter = (Viz) => {
|
|
4476
|
+
const VizWithTableFooter = (_a) => {
|
|
4477
|
+
var _b = _a, {
|
|
4478
|
+
dataSources,
|
|
4479
|
+
options = {}
|
|
4480
|
+
} = _b, otherProps = __objRest(_b, [
|
|
4481
|
+
"dataSources",
|
|
4482
|
+
"options"
|
|
4483
|
+
]);
|
|
4484
|
+
var _a2;
|
|
4485
|
+
if (!((_a2 = dataSources == null ? void 0 : dataSources.primary) == null ? void 0 : _a2.data)) {
|
|
4486
|
+
return /* @__PURE__ */ react_exports.createElement(Viz, __spreadValues({ dataSources, options }, otherProps));
|
|
4487
|
+
}
|
|
4488
|
+
const fieldsMeta = dataSources.primary.data.fields || [];
|
|
4489
|
+
const footerData = buildFooterDataFrames(fieldsMeta);
|
|
4490
|
+
let footerKey = `footer${(0, id_exports.createDOMID)().replace(/-/g, "")}`;
|
|
4491
|
+
while (dataSources[footerKey]) {
|
|
4492
|
+
footerKey = `footer${(0, id_exports.createDOMID)().replace(/-/g, "")}`;
|
|
4493
|
+
}
|
|
4494
|
+
const newDataSources = __spreadProps(__spreadValues({}, dataSources), {
|
|
4495
|
+
[footerKey]: { data: footerData.footer }
|
|
4496
|
+
});
|
|
4497
|
+
const showFooterTotals = Boolean(options == null ? void 0 : options.showFooterTotals);
|
|
4498
|
+
const showFooterPercentages = Boolean(options == null ? void 0 : options.showFooterPercentages);
|
|
4499
|
+
let newOptions = options;
|
|
4500
|
+
if (showFooterTotals || showFooterPercentages) {
|
|
4501
|
+
const columnFormat = __spreadValues({}, (options == null ? void 0 : options.columnFormat) || {});
|
|
4502
|
+
const fieldNames = (fieldsMeta || []).map((f) => f && (f.name || f)).filter(Boolean);
|
|
4503
|
+
fieldNames.forEach((fieldName) => {
|
|
4504
|
+
var _a3, _b2;
|
|
4505
|
+
if (!fieldName || fieldName === "#") return;
|
|
4506
|
+
const existingFooter = (_a3 = columnFormat == null ? void 0 : columnFormat[fieldName]) == null ? void 0 : _a3.footer;
|
|
4507
|
+
if (typeof existingFooter === "undefined") {
|
|
4508
|
+
const dataDsl = (_b2 = columnFormat == null ? void 0 : columnFormat[fieldName]) == null ? void 0 : _b2.data;
|
|
4509
|
+
let configToken = null;
|
|
4510
|
+
if (typeof dataDsl === "string") {
|
|
4511
|
+
const m = /formatByType\(([^)]+)\)/.exec(dataDsl);
|
|
4512
|
+
configToken = m ? m[1] : null;
|
|
4513
|
+
}
|
|
4514
|
+
let footerDsl = `> ${footerKey} | seriesByName("${fieldName}")`;
|
|
4515
|
+
if (configToken) footerDsl += ` | formatByType(${configToken})`;
|
|
4516
|
+
columnFormat[fieldName] = __spreadProps(__spreadValues({}, columnFormat[fieldName] || {}), {
|
|
4517
|
+
footer: footerDsl
|
|
4518
|
+
});
|
|
4519
|
+
} else if (typeof existingFooter === "string") {
|
|
4520
|
+
const updatedFooterDsl = existingFooter.replace(/>\s*footer\b/g, `> ${footerKey}`);
|
|
4521
|
+
if (updatedFooterDsl !== existingFooter) {
|
|
4522
|
+
columnFormat[fieldName] = __spreadProps(__spreadValues({}, columnFormat[fieldName] || {}), {
|
|
4523
|
+
footer: updatedFooterDsl
|
|
4524
|
+
});
|
|
4525
|
+
}
|
|
4526
|
+
}
|
|
4527
|
+
});
|
|
4528
|
+
newOptions = __spreadProps(__spreadValues({}, options || {}), { columnFormat });
|
|
4529
|
+
}
|
|
4530
|
+
return /* @__PURE__ */ react_exports.createElement(Viz, __spreadValues({ dataSources: newDataSources, options: newOptions }, otherProps));
|
|
4531
|
+
};
|
|
4532
|
+
VizWithTableFooter.defaultProps = Viz.defaultProps;
|
|
4533
|
+
VizWithTableFooter.config = Viz.config;
|
|
4534
|
+
return VizWithTableFooter;
|
|
4535
|
+
};
|
|
4536
|
+
var Table = withTableFooter(
|
|
4537
|
+
withDashboardViz_default({
|
|
4538
|
+
ReactViz: PureTable_default,
|
|
4539
|
+
vizConfig: config_default,
|
|
4540
|
+
disableEditModeCover: true,
|
|
4541
|
+
computeVizProps
|
|
4542
|
+
})
|
|
4543
|
+
);
|
|
4341
4544
|
var { themes: themes2 } = config_default;
|
|
4342
4545
|
var Table_default2 = Table;
|
|
4343
4546
|
//# sourceMappingURL=Table.js.map
|