@splunk/visualizations 28.5.3 → 28.6.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 -1
- package/Area/areaUtils.d.ts +1 -1
- package/Area/areaUtils.d.ts.map +1 -1
- package/Area/config.d.ts.map +1 -1
- package/Area.config.js +93 -25
- package/Area.config.js.map +3 -3
- package/Area.js +708 -319
- package/Area.js.map +4 -4
- package/Bar/Bar.d.ts.map +1 -1
- package/Bar.config.js +81 -24
- package/Bar.config.js.map +3 -3
- package/Bar.js +528 -297
- package/Bar.js.map +4 -4
- package/Bubble.config.js +80 -23
- package/Bubble.config.js.map +2 -2
- package/Bubble.js +375 -208
- package/Bubble.js.map +4 -4
- package/CHANGELOG.external.md +56 -10
- package/ChoroplethSvg/PureChoroplethSvg/PureChoroplethSvg.d.ts +1 -0
- package/ChoroplethSvg/PureChoroplethSvg/PureChoroplethSvg.d.ts.map +1 -1
- package/ChoroplethSvg/PureChoroplethSvg/SvgChoroplethDynamic.d.ts +12 -25
- package/ChoroplethSvg/PureChoroplethSvg/SvgChoroplethDynamic.d.ts.map +1 -1
- package/ChoroplethSvg/PureChoroplethSvg/SvgMutator.d.ts +11 -4
- package/ChoroplethSvg/PureChoroplethSvg/SvgMutator.d.ts.map +1 -1
- package/ChoroplethSvg.js +1133 -253
- package/ChoroplethSvg.js.map +4 -4
- package/Column/Column.d.ts.map +1 -1
- package/Column.config.js +81 -24
- package/Column.config.js.map +3 -3
- package/Column.js +531 -300
- package/Column.js.map +4 -4
- package/Ellipse.config.js +1 -1
- package/Ellipse.config.js.map +2 -2
- package/Ellipse.js +277 -161
- package/Ellipse.js.map +4 -4
- package/Events/config.d.ts.map +1 -1
- package/Events.config.js +13 -3
- package/Events.config.js.map +2 -2
- package/Events.js +330 -194
- package/Events.js.map +4 -4
- package/FillerGauge/FillerGauge.d.ts.map +1 -1
- package/FillerGauge/config.d.ts.map +1 -1
- package/FillerGauge.config.js +76 -24
- package/FillerGauge.config.js.map +2 -2
- package/FillerGauge.js +512 -271
- package/FillerGauge.js.map +4 -4
- package/Image/config.d.ts.map +1 -1
- package/Image.config.js +7 -0
- package/Image.config.js.map +2 -2
- package/Image.js +282 -149
- package/Image.js.map +4 -4
- package/LICENSE +13 -0
- package/Line/Line.d.ts.map +1 -1
- package/Line/config.d.ts.map +1 -1
- package/Line/lineUtils.d.ts.map +1 -1
- package/Line/mockdata/LineData.d.ts +21 -0
- package/Line/mockdata/LineData.d.ts.map +1 -1
- package/Line.config.js +86 -25
- package/Line.config.js.map +3 -3
- package/Line.js +638 -382
- package/Line.js.map +4 -4
- package/LinkGraph/PureLinkGraph/PureLinkGraph.d.ts +47 -73
- package/LinkGraph/PureLinkGraph/PureLinkGraph.d.ts.map +1 -1
- package/LinkGraph/PureLinkGraph/PureLinkGraphUtils.d.ts +11 -2
- package/LinkGraph/PureLinkGraph/PureLinkGraphUtils.d.ts.map +1 -1
- package/LinkGraph/PureLinkGraph/components/Graph.d.ts +5 -5
- package/LinkGraph/PureLinkGraph/components/Node.d.ts +2 -2
- package/LinkGraph/PureLinkGraph/components/Nodes.d.ts +2 -2
- package/LinkGraph.js +886 -759
- package/LinkGraph.js.map +4 -4
- package/Map/PureMap/BubbleLayer.d.ts.map +1 -1
- package/Map/PureMap/Tooltip.d.ts.map +1 -1
- package/Map/config.d.ts.map +1 -1
- package/Map.config.js +4 -1
- package/Map.config.js.map +2 -2
- package/Map.js +296 -169
- package/Map.js.map +4 -4
- package/Markdown/Markdown.d.ts.map +1 -1
- package/Markdown.config.js.map +1 -1
- package/Markdown.js +283 -157
- package/Markdown.js.map +4 -4
- package/MarkerGauge/MarkerGauge.d.ts +1 -47
- package/MarkerGauge/MarkerGauge.d.ts.map +1 -1
- package/MarkerGauge/PureMarkerGauge/MarkerGauge.d.ts +22 -68
- package/MarkerGauge/PureMarkerGauge/MarkerGauge.d.ts.map +1 -1
- package/MarkerGauge/config.d.ts.map +1 -1
- package/MarkerGauge.config.js +75 -23
- package/MarkerGauge.config.js.map +2 -2
- package/MarkerGauge.js +560 -375
- package/MarkerGauge.js.map +4 -4
- package/NetworkGraph.config.js.map +1 -1
- package/NetworkGraph.js +544 -417
- package/NetworkGraph.js.map +4 -4
- package/ParallelCoordinates.config.js.map +1 -1
- package/ParallelCoordinates.js +288 -172
- package/ParallelCoordinates.js.map +4 -4
- package/Pie/Pie.d.ts.map +1 -1
- package/Pie/pieUtils.d.ts +2 -2
- package/Pie.config.js +74 -22
- package/Pie.config.js.map +2 -2
- package/Pie.js +522 -296
- package/Pie.js.map +4 -4
- package/ProcessTree/ProcessTree.d.ts +21 -0
- package/ProcessTree/ProcessTree.d.ts.map +1 -0
- package/ProcessTree/PureProcessTree/PureProcessTree.d.ts +32 -0
- package/ProcessTree/PureProcessTree/PureProcessTree.d.ts.map +1 -0
- package/ProcessTree/PureProcessTree/components/DirectionalBytes.d.ts +8 -0
- package/ProcessTree/PureProcessTree/components/DirectionalBytes.d.ts.map +1 -0
- package/ProcessTree/PureProcessTree/components/ProcessTreeLeftPanel.d.ts +44 -0
- package/ProcessTree/PureProcessTree/components/ProcessTreeLeftPanel.d.ts.map +1 -0
- package/ProcessTree/PureProcessTree/components/ProcessTreeRightPanel.d.ts +20 -0
- package/ProcessTree/PureProcessTree/components/ProcessTreeRightPanel.d.ts.map +1 -0
- package/ProcessTree/PureProcessTree/hooks/useProcessTreeExpansionState.d.ts +20 -0
- package/ProcessTree/PureProcessTree/hooks/useProcessTreeExpansionState.d.ts.map +1 -0
- package/ProcessTree/PureProcessTree/hooks/useProcessTreeGraphData.d.ts +44 -0
- package/ProcessTree/PureProcessTree/hooks/useProcessTreeGraphData.d.ts.map +1 -0
- package/ProcessTree/PureProcessTree/hooks/useProcessTreeLinkOverlay.d.ts +23 -0
- package/ProcessTree/PureProcessTree/hooks/useProcessTreeLinkOverlay.d.ts.map +1 -0
- package/ProcessTree/PureProcessTree/mockdata/data.d.ts +235 -0
- package/ProcessTree/PureProcessTree/mockdata/data.d.ts.map +1 -0
- package/ProcessTree/PureProcessTree/utils/iconLoader.d.ts +9 -0
- package/ProcessTree/PureProcessTree/utils/iconLoader.d.ts.map +1 -0
- package/ProcessTree/PureProcessTree/utils/processTreeLinkOverlayUtils.d.ts +36 -0
- package/ProcessTree/PureProcessTree/utils/processTreeLinkOverlayUtils.d.ts.map +1 -0
- package/ProcessTree/PureProcessTree/utils/processTreeUtils.d.ts +80 -0
- package/ProcessTree/PureProcessTree/utils/processTreeUtils.d.ts.map +1 -0
- package/ProcessTree/config.d.ts +4 -0
- package/ProcessTree/config.d.ts.map +1 -0
- package/ProcessTree/index.d.ts +3 -0
- package/ProcessTree/index.d.ts.map +1 -0
- package/ProcessTree.config.js +192 -0
- package/ProcessTree.config.js.map +7 -0
- package/ProcessTree.js +5058 -0
- package/ProcessTree.js.map +7 -0
- package/Punchcard/Punchcard.d.ts +1 -5
- package/Punchcard/Punchcard.d.ts.map +1 -1
- package/Punchcard/PurePunchcard/Punchcard.d.ts +28 -32
- package/Punchcard/PurePunchcard/Punchcard.d.ts.map +1 -1
- package/Punchcard/PurePunchcard/src/PunchcardAxis.d.ts +7 -12
- package/Punchcard/PurePunchcard/src/PunchcardAxis.d.ts.map +1 -1
- package/Punchcard/PurePunchcard/src/PunchcardBubble.d.ts +14 -19
- package/Punchcard/PurePunchcard/src/PunchcardBubble.d.ts.map +1 -1
- package/Punchcard/PurePunchcard/src/PunchcardChartArea.d.ts +22 -27
- package/Punchcard/PurePunchcard/src/PunchcardChartArea.d.ts.map +1 -1
- package/Punchcard/PurePunchcard/src/PunchcardGridLines.d.ts +3 -8
- package/Punchcard/PurePunchcard/src/PunchcardGridLines.d.ts.map +1 -1
- package/Punchcard/PurePunchcard/src/PunchcardLegend.d.ts +9 -14
- package/Punchcard/PurePunchcard/src/PunchcardLegend.d.ts.map +1 -1
- package/Punchcard/PurePunchcard/src/PunchcardRow.d.ts.map +1 -1
- package/Punchcard.config.js.map +1 -1
- package/Punchcard.js +444 -631
- package/Punchcard.js.map +4 -4
- package/Rectangle.config.js +1 -1
- package/Rectangle.config.js.map +2 -2
- package/Rectangle.js +289 -173
- package/Rectangle.js.map +4 -4
- package/RichText/PureRichText/Editor/EditorPanel.d.ts +20 -0
- package/RichText/PureRichText/Editor/EditorPanel.d.ts.map +1 -0
- package/RichText/PureRichText/Editor/EditorPanelStyles.d.ts +17 -0
- package/RichText/PureRichText/Editor/EditorPanelStyles.d.ts.map +1 -0
- package/RichText/PureRichText/Editor/FontSelector.d.ts +15 -0
- package/RichText/PureRichText/Editor/FontSelector.d.ts.map +1 -0
- package/RichText/PureRichText/Editor/FormatButton.d.ts +23 -0
- package/RichText/PureRichText/Editor/FormatButton.d.ts.map +1 -0
- package/RichText/PureRichText/Editor/editorPanelUtils.d.ts +19 -0
- package/RichText/PureRichText/Editor/editorPanelUtils.d.ts.map +1 -0
- package/RichText/PureRichText/Editor/hooks/useLineSpacing.d.ts +11 -0
- package/RichText/PureRichText/Editor/hooks/useLineSpacing.d.ts.map +1 -0
- package/RichText/PureRichText/Editor/hooks/useLinkHandlers.d.ts +26 -0
- package/RichText/PureRichText/Editor/hooks/useLinkHandlers.d.ts.map +1 -0
- package/RichText/PureRichText/Editor/index.d.ts +9 -0
- package/RichText/PureRichText/Editor/index.d.ts.map +1 -0
- package/RichText/PureRichText/InnerEditor.d.ts +41 -0
- package/RichText/PureRichText/InnerEditor.d.ts.map +1 -0
- package/RichText/PureRichText/PureRichText.d.ts +19 -0
- package/RichText/PureRichText/PureRichText.d.ts.map +1 -0
- package/RichText/PureRichText/PureRichTextContext.d.ts +64 -0
- package/RichText/PureRichText/PureRichTextContext.d.ts.map +1 -0
- package/RichText/PureRichText/RichTextStyles.d.ts +25 -0
- package/RichText/PureRichText/RichTextStyles.d.ts.map +1 -0
- package/RichText/PureRichText/activeInstance.d.ts +23 -0
- package/RichText/PureRichText/activeInstance.d.ts.map +1 -0
- package/RichText/PureRichText/config.d.ts +17 -0
- package/RichText/PureRichText/config.d.ts.map +1 -0
- package/RichText/PureRichText/hooks/index.d.ts +12 -0
- package/RichText/PureRichText/hooks/index.d.ts.map +1 -0
- package/RichText/PureRichText/hooks/useContentSave.d.ts +25 -0
- package/RichText/PureRichText/hooks/useContentSave.d.ts.map +1 -0
- package/RichText/PureRichText/hooks/useContentSync.d.ts +28 -0
- package/RichText/PureRichText/hooks/useContentSync.d.ts.map +1 -0
- package/RichText/PureRichText/hooks/useDashboardKeyboardNav.d.ts +33 -0
- package/RichText/PureRichText/hooks/useDashboardKeyboardNav.d.ts.map +1 -0
- package/RichText/PureRichText/hooks/useEditModeEffect.d.ts +10 -0
- package/RichText/PureRichText/hooks/useEditModeEffect.d.ts.map +1 -0
- package/RichText/PureRichText/hooks/useEditorSetup.d.ts +36 -0
- package/RichText/PureRichText/hooks/useEditorSetup.d.ts.map +1 -0
- package/RichText/PureRichText/hooks/useFakeHighlight.d.ts +33 -0
- package/RichText/PureRichText/hooks/useFakeHighlight.d.ts.map +1 -0
- package/RichText/PureRichText/hooks/useFocusHandlers.d.ts +35 -0
- package/RichText/PureRichText/hooks/useFocusHandlers.d.ts.map +1 -0
- package/RichText/PureRichText/hooks/useKeyboardShortcuts.d.ts +18 -0
- package/RichText/PureRichText/hooks/useKeyboardShortcuts.d.ts.map +1 -0
- package/RichText/PureRichText/hooks/useMouseHandlers.d.ts +24 -0
- package/RichText/PureRichText/hooks/useMouseHandlers.d.ts.map +1 -0
- package/RichText/PureRichText/hooks/useRichTextState.d.ts +38 -0
- package/RichText/PureRichText/hooks/useRichTextState.d.ts.map +1 -0
- package/RichText/PureRichText/hooks/useStepFontSize.d.ts +17 -0
- package/RichText/PureRichText/hooks/useStepFontSize.d.ts.map +1 -0
- package/RichText/PureRichText/hooks/useStepLineSpacing.d.ts +18 -0
- package/RichText/PureRichText/hooks/useStepLineSpacing.d.ts.map +1 -0
- package/RichText/PureRichText/hooks/useTokenMap.d.ts +45 -0
- package/RichText/PureRichText/hooks/useTokenMap.d.ts.map +1 -0
- package/RichText/PureRichText/index.d.ts +16 -0
- package/RichText/PureRichText/index.d.ts.map +1 -0
- package/RichText/PureRichText/renderers/ElementRenderer.d.ts +8 -0
- package/RichText/PureRichText/renderers/ElementRenderer.d.ts.map +1 -0
- package/RichText/PureRichText/renderers/LeafRenderer.d.ts +8 -0
- package/RichText/PureRichText/renderers/LeafRenderer.d.ts.map +1 -0
- package/RichText/PureRichText/types.d.ts +111 -0
- package/RichText/PureRichText/types.d.ts.map +1 -0
- package/RichText/PureRichText/utils/a11yUtils.d.ts +9 -0
- package/RichText/PureRichText/utils/a11yUtils.d.ts.map +1 -0
- package/RichText/PureRichText/utils/fontSize.d.ts +6 -0
- package/RichText/PureRichText/utils/fontSize.d.ts.map +1 -0
- package/RichText/PureRichText/utils/slateUtils.d.ts +99 -0
- package/RichText/PureRichText/utils/slateUtils.d.ts.map +1 -0
- package/RichText/RichText.d.ts +17 -0
- package/RichText/RichText.d.ts.map +1 -0
- package/RichText/config.d.ts +4 -0
- package/RichText/config.d.ts.map +1 -0
- package/RichText/index.d.ts +7 -0
- package/RichText/index.d.ts.map +1 -0
- package/RichText.config.js +268 -0
- package/RichText.config.js.map +7 -0
- package/RichText.js +7674 -0
- package/RichText.js.map +7 -0
- package/Sankey/PureSankey/PureSankey.d.ts.map +1 -1
- package/Sankey/PureSankey/SankeyLink.d.ts.map +1 -1
- package/Sankey/PureSankey/SankeyNode.d.ts +10 -3
- package/Sankey/PureSankey/SankeyNode.d.ts.map +1 -1
- package/Sankey/PureSankey/SankeyTooltip.d.ts.map +1 -1
- package/Sankey/PureSankey/SankeyUtils.d.ts +10 -0
- package/Sankey/PureSankey/SankeyUtils.d.ts.map +1 -1
- package/Sankey.config.js.map +1 -1
- package/Sankey.js +562 -290
- package/Sankey.js.map +4 -4
- package/Scatter/Scatter.d.ts.map +1 -1
- package/Scatter.config.js +81 -24
- package/Scatter.config.js.map +3 -3
- package/Scatter.js +528 -297
- package/Scatter.js.map +4 -4
- package/SingleValue/SingleValue.d.ts.map +1 -1
- package/SingleValue/config.d.ts.map +1 -1
- package/SingleValue.config.js +76 -24
- package/SingleValue.config.js.map +2 -2
- package/SingleValue.js +534 -314
- package/SingleValue.js.map +4 -4
- package/SingleValueBasic.js.map +1 -1
- package/SingleValueIcon/SingleValueIcon.d.ts.map +1 -1
- package/SingleValueIcon/config.d.ts.map +1 -1
- package/SingleValueIcon.config.js +76 -24
- package/SingleValueIcon.config.js.map +2 -2
- package/SingleValueIcon.js +512 -287
- package/SingleValueIcon.js.map +4 -4
- package/SingleValueRadial/PureSingleValueRadial/utils/gaugeUtils.d.ts +0 -8
- package/SingleValueRadial/PureSingleValueRadial/utils/gaugeUtils.d.ts.map +1 -1
- package/SingleValueRadial/SingleValueRadial.d.ts.map +1 -1
- package/SingleValueRadial/config.d.ts.map +1 -1
- package/SingleValueRadial.config.js +76 -24
- package/SingleValueRadial.config.js.map +2 -2
- package/SingleValueRadial.js +543 -326
- package/SingleValueRadial.js.map +4 -4
- package/TRELLIS.md +48 -0
- package/Table/PureTable.d.ts +1 -0
- package/Table/PureTable.d.ts.map +1 -1
- package/Table/Table.d.ts.map +1 -1
- package/Table/cells/ArrayCell.d.ts.map +1 -1
- package/Table/config.d.ts.map +1 -1
- package/Table/hooks.d.ts.map +1 -1
- package/Table/tableUtils.d.ts +14 -0
- package/Table/tableUtils.d.ts.map +1 -0
- package/Table.config.js +4 -10
- package/Table.config.js.map +2 -2
- package/Table.js +769 -355
- package/Table.js.map +4 -4
- package/Timeline/PureTimeline/src/TimelineYAxis.d.ts.map +1 -1
- package/Timeline/PureTimeline/src/utils/timelineUtils.d.ts +5 -0
- package/Timeline/PureTimeline/src/utils/timelineUtils.d.ts.map +1 -1
- package/Timeline/Timeline.d.ts +2 -0
- package/Timeline/Timeline.d.ts.map +1 -1
- package/Timeline/config.d.ts.map +1 -1
- package/Timeline/mockdata/timelineDataSource.d.ts +34 -0
- package/Timeline/mockdata/timelineDataSource.d.ts.map +1 -1
- package/Timeline.config.js +15 -0
- package/Timeline.config.js.map +2 -2
- package/Timeline.js +348 -186
- package/Timeline.js.map +4 -4
- package/common/Charting.d.ts.map +1 -1
- package/common/Charting.js +50 -28
- package/common/Charting.js.map +2 -2
- package/common/ChartingApi.d.ts +1 -1
- package/common/ChartingApi.d.ts.map +1 -1
- package/common/ChartingApi.js.map +2 -2
- package/common/DocExampleWithVizSandbox.js.map +1 -1
- package/common/OptionsDoc.js.map +1 -1
- package/common/OverviewDoc.js.map +1 -1
- package/common/SplunkVisualization.d.ts +1 -1
- package/common/SplunkVisualization.d.ts.map +1 -1
- package/common/SplunkVisualization.js +6 -4
- package/common/SplunkVisualization.js.map +2 -2
- package/common/StyledSkipLink.d.ts +2 -0
- package/common/StyledSkipLink.d.ts.map +1 -0
- package/common/StyledSkipLink.js +81 -0
- package/common/StyledSkipLink.js.map +7 -0
- package/common/TimeSeriesChartWrapper.d.ts.map +1 -1
- package/common/TimeSeriesChartWrapper.js +228 -107
- package/common/TimeSeriesChartWrapper.js.map +4 -4
- package/common/chartingUtils.d.ts +32 -6
- package/common/chartingUtils.d.ts.map +1 -1
- package/common/chartingUtils.js +166 -39
- package/common/chartingUtils.js.map +4 -4
- package/common/components/TrellisTitle.d.ts.map +1 -1
- package/common/docUtils.js +1 -1
- package/common/docUtils.js.map +2 -2
- package/common/editorConfig/AxesChartDataDisplay.d.ts.map +1 -1
- package/common/editorConfig/AxesChartYGridAndLabels.d.ts.map +1 -1
- package/common/editorConfig/BackgroundColor.d.ts +2 -2
- package/common/editorConfig/TrellisEditors.d.ts +33 -5
- package/common/editorConfig/TrellisEditors.d.ts.map +1 -1
- package/common/hocs/mockdata/trellisData.d.ts +54 -0
- package/common/hocs/mockdata/trellisData.d.ts.map +1 -1
- package/common/hocs/withTrellis.d.ts +9 -0
- package/common/hocs/withTrellis.d.ts.map +1 -1
- package/common/hooks/useSorting.d.ts +2 -2
- package/common/hooks/useSorting.d.ts.map +1 -1
- package/common/shapeUtils.d.ts +1 -1
- package/common/shapeUtils.d.ts.map +1 -1
- package/common/shapeUtils.js.map +2 -2
- package/common/utils/dataUtils.js +2 -1
- package/common/utils/dataUtils.js.map +2 -2
- package/common/utils/focusUtils.d.ts +4 -0
- package/common/utils/focusUtils.d.ts.map +1 -0
- package/common/utils/focusUtils.js +101 -0
- package/common/utils/focusUtils.js.map +7 -0
- package/common/utils/mapUtils.js +2 -6
- package/common/utils/mapUtils.js.map +2 -2
- package/common/utils/singleValueUtils.js +14 -26
- package/common/utils/singleValueUtils.js.map +2 -2
- package/common/utils/trellisUtils.d.ts.map +1 -1
- package/common/utils/trellisUtils.js +76 -70
- package/common/utils/trellisUtils.js.map +2 -2
- package/common/withDashboardViz.d.ts.map +1 -1
- package/common/withDashboardViz.js +276 -151
- package/common/withDashboardViz.js.map +4 -4
- package/package.json +32 -27
- package/LICENSE.md +0 -449
package/Events.js
CHANGED
|
@@ -12,6 +12,7 @@ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
|
12
12
|
var __getProtoOf = Object.getPrototypeOf;
|
|
13
13
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
14
14
|
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
15
|
+
var __pow = Math.pow;
|
|
15
16
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
16
17
|
var __spreadValues = (a, b) => {
|
|
17
18
|
for (var prop in b || (b = {}))
|
|
@@ -59,6 +60,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
59
60
|
mod
|
|
60
61
|
));
|
|
61
62
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
63
|
+
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
62
64
|
|
|
63
65
|
// src/Events/index.ts
|
|
64
66
|
var Events_exports = {};
|
|
@@ -221,7 +223,7 @@ var DefaultVizActionHandler = class {
|
|
|
221
223
|
var INITIAL_HEIGHT = 250;
|
|
222
224
|
var SplunkVisualization = class {
|
|
223
225
|
};
|
|
224
|
-
SplunkVisualization
|
|
226
|
+
__publicField(SplunkVisualization, "propTypes", {
|
|
225
227
|
/**
|
|
226
228
|
* display mode
|
|
227
229
|
*/
|
|
@@ -297,11 +299,11 @@ SplunkVisualization.propTypes = {
|
|
|
297
299
|
* A callback to request new data with updated request params
|
|
298
300
|
*/
|
|
299
301
|
onRequestParamsChange: prop_types_exports.func
|
|
300
|
-
};
|
|
302
|
+
});
|
|
301
303
|
/**
|
|
302
304
|
*
|
|
303
305
|
*/
|
|
304
|
-
SplunkVisualization
|
|
306
|
+
__publicField(SplunkVisualization, "defaults", {
|
|
305
307
|
// BaseVisualization in dashboard-visualizations uses 100% for width but 250 for height
|
|
306
308
|
width: "100%",
|
|
307
309
|
height: INITIAL_HEIGHT,
|
|
@@ -316,7 +318,7 @@ SplunkVisualization.defaults = {
|
|
|
316
318
|
onComputedProps: () => ({}),
|
|
317
319
|
loading: false,
|
|
318
320
|
onRequestParamsChange: lodash_exports.noop
|
|
319
|
-
};
|
|
321
|
+
});
|
|
320
322
|
var SplunkVisualization_default = SplunkVisualization;
|
|
321
323
|
|
|
322
324
|
// src/common/interfaces/DataSource.ts
|
|
@@ -370,9 +372,9 @@ var usePaginationParams = ({
|
|
|
370
372
|
meta,
|
|
371
373
|
onRequestParamsChange
|
|
372
374
|
}) => {
|
|
373
|
-
const totalCount = meta
|
|
374
|
-
const offset = requestParams
|
|
375
|
-
const count = requestParams
|
|
375
|
+
const totalCount = (meta == null ? void 0 : meta.totalCount) || 0;
|
|
376
|
+
const offset = (requestParams == null ? void 0 : requestParams.offset) || 0;
|
|
377
|
+
const count = requestParams == null ? void 0 : requestParams.count;
|
|
376
378
|
const totalPages = typeof count === "number" && count > 0 ? Math.ceil(totalCount / count) : 0;
|
|
377
379
|
const current = typeof count === "number" && count > 0 ? Math.floor(offset / count) + 1 : 0;
|
|
378
380
|
const isPaging = totalPages > 1 && typeof onRequestParamsChange === "function";
|
|
@@ -489,7 +491,7 @@ var Cover = styled_components_default.div`
|
|
|
489
491
|
bottom: 0;
|
|
490
492
|
`;
|
|
491
493
|
var Blocker = styled_components_default.div.attrs({
|
|
492
|
-
"data-splunk-visualization-version": "28.
|
|
494
|
+
"data-splunk-visualization-version": "28.6.0 - 92427899a"
|
|
493
495
|
})`
|
|
494
496
|
position: relative;
|
|
495
497
|
width: 100%;
|
|
@@ -588,7 +590,7 @@ var withFixedSizeContainer = (Viz) => {
|
|
|
588
590
|
FixSizeItem,
|
|
589
591
|
{
|
|
590
592
|
"data-test": "fix-size-item",
|
|
591
|
-
"data-splunk-visualization-version": "28.
|
|
593
|
+
"data-splunk-visualization-version": "28.6.0 - 92427899a",
|
|
592
594
|
width,
|
|
593
595
|
height,
|
|
594
596
|
backgroundColor
|
|
@@ -685,7 +687,8 @@ var numberUtils_default = "default" in defaultImport22 ? defaultImport22.default
|
|
|
685
687
|
|
|
686
688
|
// src/common/utils/dataUtils.ts
|
|
687
689
|
var convertToArrOfObjects = (columns, fields) => {
|
|
688
|
-
|
|
690
|
+
var _a;
|
|
691
|
+
if (!((_a = columns == null ? void 0 : columns[0]) == null ? void 0 : _a.length)) return [];
|
|
689
692
|
const data = [];
|
|
690
693
|
for (let i = 0; i < columns[0].length; i += 1) {
|
|
691
694
|
const newObj = {};
|
|
@@ -1146,6 +1149,24 @@ var defaultImport26 = __toESM(require("@splunk/react-icons/Triangle"));
|
|
|
1146
1149
|
__reExport(Triangle_exports, require("@splunk/react-icons/Triangle"));
|
|
1147
1150
|
var Triangle_default = "default" in defaultImport26 ? defaultImport26.default : defaultImport26;
|
|
1148
1151
|
|
|
1152
|
+
// esm-externals:@splunk/visualizations-shared/propUtils
|
|
1153
|
+
var propUtils_exports = {};
|
|
1154
|
+
__export(propUtils_exports, {
|
|
1155
|
+
default: () => propUtils_default
|
|
1156
|
+
});
|
|
1157
|
+
var defaultImport27 = __toESM(require("@splunk/visualizations-shared/propUtils"));
|
|
1158
|
+
__reExport(propUtils_exports, require("@splunk/visualizations-shared/propUtils"));
|
|
1159
|
+
var propUtils_default = "default" in defaultImport27 ? defaultImport27.default : defaultImport27;
|
|
1160
|
+
|
|
1161
|
+
// esm-externals:@splunk/visualizations-shared/simpleXMLOptions
|
|
1162
|
+
var simpleXMLOptions_exports = {};
|
|
1163
|
+
__export(simpleXMLOptions_exports, {
|
|
1164
|
+
default: () => simpleXMLOptions_default
|
|
1165
|
+
});
|
|
1166
|
+
var defaultImport28 = __toESM(require("@splunk/visualizations-shared/simpleXMLOptions"));
|
|
1167
|
+
__reExport(simpleXMLOptions_exports, require("@splunk/visualizations-shared/simpleXMLOptions"));
|
|
1168
|
+
var simpleXMLOptions_default = "default" in defaultImport28 ? defaultImport28.default : defaultImport28;
|
|
1169
|
+
|
|
1149
1170
|
// src/common/chartingUtils.ts
|
|
1150
1171
|
var DEFAULT_LINE_WIDTH = 2;
|
|
1151
1172
|
var getAnnotationsForCanvas = ({
|
|
@@ -1183,9 +1204,9 @@ var shouldEnableSearchZoom = (eventHandlers = [], xField = "") => {
|
|
|
1183
1204
|
const xAxisIsTime = xField === "_time";
|
|
1184
1205
|
return !!rangeSelectEventHandler && xAxisIsTime;
|
|
1185
1206
|
};
|
|
1186
|
-
var canvasSupportedTimeSeriesCharts = ["splunk.line"];
|
|
1207
|
+
var canvasSupportedTimeSeriesCharts = ["splunk.line", "splunk.area"];
|
|
1187
1208
|
var isTimeSeriesCanvasRenderSupported = (vizConfigKey) => {
|
|
1188
|
-
return canvasSupportedTimeSeriesCharts.
|
|
1209
|
+
return canvasSupportedTimeSeriesCharts.includes(vizConfigKey);
|
|
1189
1210
|
};
|
|
1190
1211
|
var filterChartDataFromInternalFields = (chartData) => {
|
|
1191
1212
|
const { fields, columns } = chartData;
|
|
@@ -1340,46 +1361,66 @@ var getY2ScaleConfig = (label, axisAbbreviation, axisScale, roundAxisLabelsToInt
|
|
|
1340
1361
|
}
|
|
1341
1362
|
return y2Config;
|
|
1342
1363
|
};
|
|
1343
|
-
var
|
|
1364
|
+
var getSeriesType = (isOverlay, isAreaChart, isStacked) => {
|
|
1365
|
+
if (isOverlay) return "line";
|
|
1366
|
+
if (!isAreaChart) return void 0;
|
|
1367
|
+
return isStacked ? "stacked-area" : "area";
|
|
1368
|
+
};
|
|
1369
|
+
var getY2Scale = (field, y2fields, overlayFields) => {
|
|
1370
|
+
const assignToY2 = (y2fields == null ? void 0 : y2fields.length) > 0 && y2fields.includes(field) || !(y2fields == null ? void 0 : y2fields.length) && (overlayFields == null ? void 0 : overlayFields.includes(field));
|
|
1371
|
+
return assignToY2 ? "y2" : "y";
|
|
1372
|
+
};
|
|
1373
|
+
var getSeriesOverrides = (opts) => {
|
|
1374
|
+
var _a;
|
|
1375
|
+
const {
|
|
1376
|
+
yfields,
|
|
1377
|
+
y2fields,
|
|
1378
|
+
lineWidth,
|
|
1379
|
+
overlayFields,
|
|
1380
|
+
y2Enabled,
|
|
1381
|
+
nullValueMode,
|
|
1382
|
+
markerDisplay,
|
|
1383
|
+
lineDashStyle,
|
|
1384
|
+
lineDashStylesByField,
|
|
1385
|
+
stepPosition,
|
|
1386
|
+
stepPositionsByField,
|
|
1387
|
+
type,
|
|
1388
|
+
stackMode,
|
|
1389
|
+
showLines
|
|
1390
|
+
} = opts;
|
|
1344
1391
|
const seriesConfig = {};
|
|
1345
1392
|
let spanGaps;
|
|
1346
|
-
let replaceNullsWithZero;
|
|
1347
1393
|
if (nullValueMode === "gaps") {
|
|
1348
1394
|
spanGaps = false;
|
|
1349
|
-
} else if (nullValueMode
|
|
1395
|
+
} else if (nullValueMode != null) {
|
|
1350
1396
|
spanGaps = true;
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1397
|
+
} else {
|
|
1398
|
+
spanGaps = void 0;
|
|
1399
|
+
}
|
|
1400
|
+
const replaceNullsWithZero = nullValueMode === "zero" ? true : void 0;
|
|
1401
|
+
const isAreaChart = type === "area";
|
|
1402
|
+
const isStacked = isAreaChart && (stackMode === "stacked" || stackMode === "stacked100");
|
|
1403
|
+
const areaFields = isAreaChart ? yfields.filter((f) => !(overlayFields == null ? void 0 : overlayFields.includes(f))) : yfields;
|
|
1404
|
+
const overlayFieldsInOrder = (_a = overlayFields == null ? void 0 : overlayFields.filter((f) => yfields.includes(f))) != null ? _a : [];
|
|
1405
|
+
const orderedFields = isAreaChart ? [...areaFields, ...overlayFieldsInOrder] : yfields;
|
|
1406
|
+
orderedFields.forEach((field) => {
|
|
1407
|
+
var _a2;
|
|
1408
|
+
const isOverlay = (_a2 = overlayFields == null ? void 0 : overlayFields.includes(field)) != null ? _a2 : false;
|
|
1409
|
+
const isPercent = isAreaChart && stackMode === "stacked100" && !isOverlay;
|
|
1410
|
+
const shouldHideAreaOutline = isAreaChart && showLines === false && !isOverlay;
|
|
1356
1411
|
seriesConfig[field] = {
|
|
1357
|
-
overrides: {
|
|
1412
|
+
overrides: __spreadValues({
|
|
1413
|
+
width: shouldHideAreaOutline ? 0 : lineWidth != null ? lineWidth : DEFAULT_LINE_WIDTH
|
|
1414
|
+
}, isPercent ? { stacking: { mode: "percent", group: "A" } } : {})
|
|
1358
1415
|
};
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
if (y2Enabled)
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
);
|
|
1368
|
-
if (shouldAssignToY2) {
|
|
1369
|
-
seriesConfig[field].overrides.scale = "y2";
|
|
1370
|
-
} else {
|
|
1371
|
-
seriesConfig[field].overrides.scale = "y";
|
|
1372
|
-
}
|
|
1373
|
-
}
|
|
1374
|
-
if (overlayFields == null ? void 0 : overlayFields.includes(field)) {
|
|
1375
|
-
seriesConfig[field].type = "line";
|
|
1376
|
-
}
|
|
1377
|
-
if (markerDisplay !== void 0) {
|
|
1378
|
-
seriesConfig[field].markerDisplay = markerDisplay;
|
|
1379
|
-
}
|
|
1380
|
-
const fieldDashStyle = (lineDashStylesByField == null ? void 0 : lineDashStylesByField[field]) || lineDashStyle;
|
|
1381
|
-
if (fieldDashStyle) {
|
|
1382
|
-
seriesConfig[field].lineDashStyle = fieldDashStyle;
|
|
1416
|
+
const seriesType = getSeriesType(isOverlay, isAreaChart, isStacked);
|
|
1417
|
+
if (seriesType !== void 0) seriesConfig[field].type = seriesType;
|
|
1418
|
+
if (spanGaps !== void 0) seriesConfig[field].overrides.spanGaps = spanGaps;
|
|
1419
|
+
if (y2Enabled) seriesConfig[field].overrides.scale = getY2Scale(field, y2fields, overlayFields);
|
|
1420
|
+
if (markerDisplay !== void 0) seriesConfig[field].markerDisplay = markerDisplay;
|
|
1421
|
+
if (!isAreaChart || isOverlay) {
|
|
1422
|
+
const fieldDashStyle = (lineDashStylesByField == null ? void 0 : lineDashStylesByField[field]) || lineDashStyle;
|
|
1423
|
+
if (fieldDashStyle) seriesConfig[field].lineDashStyle = fieldDashStyle;
|
|
1383
1424
|
}
|
|
1384
1425
|
const hasFieldStepPosition = Object.hasOwn(stepPositionsByField || {}, field);
|
|
1385
1426
|
const fieldStepPosition = hasFieldStepPosition ? stepPositionsByField == null ? void 0 : stepPositionsByField[field] : stepPosition;
|
|
@@ -1427,9 +1468,9 @@ var visualization_schemas_exports = {};
|
|
|
1427
1468
|
__export(visualization_schemas_exports, {
|
|
1428
1469
|
default: () => visualization_schemas_default
|
|
1429
1470
|
});
|
|
1430
|
-
var
|
|
1471
|
+
var defaultImport29 = __toESM(require("@splunk/visualization-schemas"));
|
|
1431
1472
|
__reExport(visualization_schemas_exports, require("@splunk/visualization-schemas"));
|
|
1432
|
-
var visualization_schemas_default = "default" in
|
|
1473
|
+
var visualization_schemas_default = "default" in defaultImport29 ? defaultImport29.default : defaultImport29;
|
|
1433
1474
|
|
|
1434
1475
|
// src/common/hooks/useTrellisEnabled.ts
|
|
1435
1476
|
var useTrellisFeatureFlagOn = () => {
|
|
@@ -1459,8 +1500,27 @@ var TrellisTitleDiv = styled_components_default.div`
|
|
|
1459
1500
|
background-color: ${(props) => props.backgroundColor};
|
|
1460
1501
|
box-shadow: 0 1px ${(props) => props.backgroundColor}; // this is added to avoid a 1px gap between title and viz divs that showed up intermittently because of pixel rounding error in chrome.
|
|
1461
1502
|
`;
|
|
1503
|
+
var formatTrellisKey = (value) => {
|
|
1504
|
+
if (value === null || value === void 0) {
|
|
1505
|
+
return "";
|
|
1506
|
+
}
|
|
1507
|
+
if (typeof value === "string") {
|
|
1508
|
+
return value;
|
|
1509
|
+
}
|
|
1510
|
+
if (typeof value === "number" || typeof value === "boolean") {
|
|
1511
|
+
return value.toString();
|
|
1512
|
+
}
|
|
1513
|
+
if (typeof value === "symbol") {
|
|
1514
|
+
return value.toString();
|
|
1515
|
+
}
|
|
1516
|
+
try {
|
|
1517
|
+
return JSON.stringify(value);
|
|
1518
|
+
} catch (e) {
|
|
1519
|
+
return typeof value === "bigint" ? value.toString() : "";
|
|
1520
|
+
}
|
|
1521
|
+
};
|
|
1462
1522
|
var TrellisTitle = (props) => {
|
|
1463
|
-
const titleText =
|
|
1523
|
+
const titleText = formatTrellisKey(props.trellisKey);
|
|
1464
1524
|
return /* @__PURE__ */ react_exports.createElement(
|
|
1465
1525
|
TrellisTitleDiv,
|
|
1466
1526
|
{
|
|
@@ -1596,6 +1656,38 @@ var parseArrayOption = (value) => {
|
|
|
1596
1656
|
}
|
|
1597
1657
|
return void 0;
|
|
1598
1658
|
};
|
|
1659
|
+
var getAreaOpacityForCanvas = (areaOpacity) => (
|
|
1660
|
+
// Preserve legacy visualizations behavior where area opacity is squared to match charting output.
|
|
1661
|
+
areaOpacity !== void 0 && areaOpacity !== null ? __pow(areaOpacity, 2) : areaOpacity
|
|
1662
|
+
);
|
|
1663
|
+
var parseTickIntervalOption = (simpleXMLValue, canvasValue) => {
|
|
1664
|
+
if (simpleXMLValue) return Number(simpleXMLValue);
|
|
1665
|
+
if (canvasValue) return Number(canvasValue);
|
|
1666
|
+
return void 0;
|
|
1667
|
+
};
|
|
1668
|
+
var getYAxisTitles = ({
|
|
1669
|
+
y2Enabled,
|
|
1670
|
+
yFields,
|
|
1671
|
+
y2Fields,
|
|
1672
|
+
overlayFields,
|
|
1673
|
+
yAxisTitleText,
|
|
1674
|
+
yAxisTitleVisibility,
|
|
1675
|
+
y2AxisTitleText,
|
|
1676
|
+
y2AxisTitleVisibility,
|
|
1677
|
+
containerHeight
|
|
1678
|
+
}) => {
|
|
1679
|
+
const yFieldsForTitle = y2Enabled ? yFields.filter((field) => !y2Fields.includes(field)) : yFields;
|
|
1680
|
+
const fieldsForY2Axis = y2Fields.length > 0 ? y2Fields : overlayFields;
|
|
1681
|
+
const yAxisTitle = ellipsisAxisTitle(
|
|
1682
|
+
getComputedAxisTitles(yAxisTitleText, yFieldsForTitle, yAxisTitleVisibility),
|
|
1683
|
+
containerHeight
|
|
1684
|
+
);
|
|
1685
|
+
const y2AxisTitle = ellipsisAxisTitle(
|
|
1686
|
+
getComputedAxisTitles(y2AxisTitleText, fieldsForY2Axis, y2AxisTitleVisibility),
|
|
1687
|
+
containerHeight
|
|
1688
|
+
);
|
|
1689
|
+
return { yAxisTitle, y2AxisTitle };
|
|
1690
|
+
};
|
|
1599
1691
|
var TimeSeriesChartWrapper = (props) => {
|
|
1600
1692
|
var _b, _c, _d;
|
|
1601
1693
|
const _a = props, {
|
|
@@ -1685,6 +1777,8 @@ var TimeSeriesChartWrapper = (props) => {
|
|
|
1685
1777
|
"chart.overlayFields": overlayFieldsStr,
|
|
1686
1778
|
"chart.nullValueMode": nullValueMode,
|
|
1687
1779
|
"chart.showDataLabels": showDataLabels,
|
|
1780
|
+
"chart.showLines": showLines,
|
|
1781
|
+
"chart.stackMode": stackMode,
|
|
1688
1782
|
lineWidth,
|
|
1689
1783
|
lineDashStyle,
|
|
1690
1784
|
fieldDashStyles: lineDashStylesByFieldStr,
|
|
@@ -1713,7 +1807,10 @@ var TimeSeriesChartWrapper = (props) => {
|
|
|
1713
1807
|
yAxisMinorTickSize,
|
|
1714
1808
|
y2AxisMinorTickSize,
|
|
1715
1809
|
showYAxisWithZero: showYAxisWithZeroFromOptions,
|
|
1716
|
-
showY2AxisWithZero: showY2AxisWithZeroFromOptions
|
|
1810
|
+
showY2AxisWithZero: showY2AxisWithZeroFromOptions,
|
|
1811
|
+
// area only props
|
|
1812
|
+
areaFillOpacity: areaOpacity,
|
|
1813
|
+
chart: chartType
|
|
1717
1814
|
} = options;
|
|
1718
1815
|
const dataValuesDisplay = showDataLabels === "none" ? "off" : showDataLabels;
|
|
1719
1816
|
const showYAxisWithZero = showYAxisWithZeroFromProps != null ? showYAxisWithZeroFromProps : showYAxisWithZeroFromOptions;
|
|
@@ -1730,13 +1827,11 @@ var TimeSeriesChartWrapper = (props) => {
|
|
|
1730
1827
|
const yAxisMax = parseAxisValue(yAxisMaxRaw);
|
|
1731
1828
|
const y2AxisMin = parseAxisValue(y2AxisMinRaw);
|
|
1732
1829
|
const y2AxisMax = parseAxisValue(y2AxisMaxRaw);
|
|
1733
|
-
const
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
const yAxisMajorTickIntervalNum = parseTickInterval(yAxisMajorUnitFromSimpleXML, yAxisMajorTickInterval);
|
|
1739
|
-
const y2AxisMajorTickIntervalNum = parseTickInterval(
|
|
1830
|
+
const yAxisMajorTickIntervalNum = parseTickIntervalOption(
|
|
1831
|
+
yAxisMajorUnitFromSimpleXML,
|
|
1832
|
+
yAxisMajorTickInterval
|
|
1833
|
+
);
|
|
1834
|
+
const y2AxisMajorTickIntervalNum = parseTickIntervalOption(
|
|
1740
1835
|
y2AxisMajorUnitFromSimpleXML,
|
|
1741
1836
|
y2AxisMajorTickInterval
|
|
1742
1837
|
);
|
|
@@ -1745,6 +1840,7 @@ var TimeSeriesChartWrapper = (props) => {
|
|
|
1745
1840
|
const y2AxisMajorTickSizeNum = y2AxisMajorTickSize != null ? Number(y2AxisMajorTickSize) : void 0;
|
|
1746
1841
|
const yAxisMinorTickSizeNum = yAxisMinorTickSize != null ? Number(yAxisMinorTickSize) : void 0;
|
|
1747
1842
|
const y2AxisMinorTickSizeNum = y2AxisMinorTickSize != null ? Number(y2AxisMinorTickSize) : void 0;
|
|
1843
|
+
const areaOpacityForCanvas = getAreaOpacityForCanvas(areaOpacity);
|
|
1748
1844
|
const seriesColors = seriesColorsStr ? JSON.parse(seriesColorsStr) : void 0;
|
|
1749
1845
|
const seriesColorsByField = fieldColors ? JSON.parse(fieldColors) : void 0;
|
|
1750
1846
|
const lineDashStylesByField = lineDashStylesByFieldStr ? JSON.parse(lineDashStylesByFieldStr) : void 0;
|
|
@@ -1775,26 +1871,40 @@ var TimeSeriesChartWrapper = (props) => {
|
|
|
1775
1871
|
);
|
|
1776
1872
|
let xAxisTitle = getComputedAxisTitles(xAxisTitleText, [xField], xAxisTitleVisibility);
|
|
1777
1873
|
xAxisTitle = ellipsisAxisTitle(xAxisTitle, containerWidth);
|
|
1778
|
-
const
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1874
|
+
const { yAxisTitle, y2AxisTitle } = getYAxisTitles({
|
|
1875
|
+
y2Enabled,
|
|
1876
|
+
yFields,
|
|
1877
|
+
y2Fields,
|
|
1878
|
+
overlayFields,
|
|
1879
|
+
yAxisTitleText,
|
|
1880
|
+
yAxisTitleVisibility,
|
|
1881
|
+
y2AxisTitleText,
|
|
1882
|
+
y2AxisTitleVisibility,
|
|
1883
|
+
containerHeight
|
|
1884
|
+
});
|
|
1784
1885
|
const xScaleConfig = (0, react_exports.useMemo)(
|
|
1785
1886
|
() => getXScaleConfig(xAxisTitle, xAxisLabelVisibility, xAxisLabelRotation),
|
|
1786
1887
|
[xAxisTitle, xAxisLabelVisibility, xAxisLabelRotation]
|
|
1787
1888
|
);
|
|
1889
|
+
const isStacked100 = stackMode === "stacked100";
|
|
1788
1890
|
const yScaleConfig = (0, react_exports.useMemo)(
|
|
1789
|
-
() =>
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1891
|
+
() => {
|
|
1892
|
+
const config2 = getYScaleConfig(
|
|
1893
|
+
yAxisTitle,
|
|
1894
|
+
yAxisAbbreviation,
|
|
1895
|
+
yAxisScale,
|
|
1896
|
+
yAxisLabelVisibility,
|
|
1897
|
+
yAxisMin,
|
|
1898
|
+
yAxisMax
|
|
1899
|
+
);
|
|
1900
|
+
if (isStacked100) {
|
|
1901
|
+
config2.y.tickFmt = (v) => `${Math.round(v * 100)}%`;
|
|
1902
|
+
config2.y.range = () => [0, 1];
|
|
1903
|
+
}
|
|
1904
|
+
return config2;
|
|
1905
|
+
},
|
|
1906
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
1907
|
+
[yAxisTitle, yAxisAbbreviation, yAxisScale, yAxisLabelVisibility, yAxisMin, yAxisMax, isStacked100]
|
|
1798
1908
|
);
|
|
1799
1909
|
const y2ScaleConfig = (0, react_exports.useMemo)(() => {
|
|
1800
1910
|
if (y2Enabled) {
|
|
@@ -1826,10 +1936,11 @@ var TimeSeriesChartWrapper = (props) => {
|
|
|
1826
1936
|
];
|
|
1827
1937
|
chartData.fields = filteredChartData.fields;
|
|
1828
1938
|
chartData.columns = seriesDataFormatted;
|
|
1939
|
+
const normalizedStackMode = stackMode === "stacked" || stackMode === "stacked100" ? stackMode : "auto";
|
|
1829
1940
|
const seriesOverrides = (0, react_exports.useMemo)(
|
|
1830
|
-
() => getSeriesOverrides(
|
|
1831
|
-
yFields,
|
|
1832
|
-
y2Fields,
|
|
1941
|
+
() => getSeriesOverrides({
|
|
1942
|
+
yfields: yFields,
|
|
1943
|
+
y2fields: y2Fields,
|
|
1833
1944
|
lineWidth,
|
|
1834
1945
|
overlayFields,
|
|
1835
1946
|
y2Enabled,
|
|
@@ -1838,8 +1949,11 @@ var TimeSeriesChartWrapper = (props) => {
|
|
|
1838
1949
|
lineDashStyle,
|
|
1839
1950
|
lineDashStylesByField,
|
|
1840
1951
|
stepPosition,
|
|
1841
|
-
stepPositionsByField
|
|
1842
|
-
|
|
1952
|
+
stepPositionsByField,
|
|
1953
|
+
type: chartType,
|
|
1954
|
+
stackMode: normalizedStackMode,
|
|
1955
|
+
showLines
|
|
1956
|
+
}),
|
|
1843
1957
|
[
|
|
1844
1958
|
yFields,
|
|
1845
1959
|
y2Fields,
|
|
@@ -1851,7 +1965,10 @@ var TimeSeriesChartWrapper = (props) => {
|
|
|
1851
1965
|
lineDashStyle,
|
|
1852
1966
|
lineDashStylesByField,
|
|
1853
1967
|
stepPosition,
|
|
1854
|
-
stepPositionsByField
|
|
1968
|
+
stepPositionsByField,
|
|
1969
|
+
chartType,
|
|
1970
|
+
normalizedStackMode,
|
|
1971
|
+
showLines
|
|
1855
1972
|
]
|
|
1856
1973
|
);
|
|
1857
1974
|
const chartingEventAnnotations = (0, react_exports.useMemo)(
|
|
@@ -1919,50 +2036,54 @@ var TimeSeriesChartWrapper = (props) => {
|
|
|
1919
2036
|
react_exports.useEffect(() => {
|
|
1920
2037
|
additionalTooltipValuesRef.current = additionalTooltipValues;
|
|
1921
2038
|
}, [additionalTooltipValues]);
|
|
2039
|
+
const handleCrosshairMouseout = react_exports.useCallback(() => {
|
|
2040
|
+
if (onPointMouseOut && lastPayloadRef.current) {
|
|
2041
|
+
onPointMouseOut({
|
|
2042
|
+
type: "point.mouseout",
|
|
2043
|
+
originalEvent: lastOriginalEventRef.current,
|
|
2044
|
+
payload: lastPayloadRef.current
|
|
2045
|
+
});
|
|
2046
|
+
}
|
|
2047
|
+
previousMouseoverPayloadRef.current = null;
|
|
2048
|
+
}, [onPointMouseOut]);
|
|
1922
2049
|
const handleChartCrosshairChange = react_exports.useCallback(
|
|
1923
2050
|
(event) => {
|
|
1924
|
-
if (onPointMouseOver
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
2051
|
+
if (!onPointMouseOver && !onPointMouseOut) {
|
|
2052
|
+
return;
|
|
2053
|
+
}
|
|
2054
|
+
if (!event) {
|
|
2055
|
+
handleCrosshairMouseout();
|
|
2056
|
+
return;
|
|
2057
|
+
}
|
|
2058
|
+
const payload = __spreadProps(__spreadValues({}, (0, lodash_exports.pick)(event, "value", "seriesKey", "time", "index", "seriesIndex")), {
|
|
2059
|
+
name: event.seriesKey
|
|
2060
|
+
});
|
|
2061
|
+
delete payload.seriesKey;
|
|
2062
|
+
if (event.rowContext) {
|
|
2063
|
+
Object.assign(
|
|
2064
|
+
payload,
|
|
2065
|
+
Object.keys(event.rowContext).reduce((acc, fieldName) => {
|
|
2066
|
+
acc[`row.${fieldName}.value`] = event.rowContext[fieldName];
|
|
2067
|
+
return acc;
|
|
2068
|
+
}, {})
|
|
2069
|
+
);
|
|
2070
|
+
}
|
|
2071
|
+
const updatedPayload = appendTrellisToPayload(payload, trellisKey, trellisSplitBy);
|
|
2072
|
+
if (!hasMouseoverPayloadChanged(updatedPayload, previousMouseoverPayloadRef.current)) {
|
|
2073
|
+
return;
|
|
2074
|
+
}
|
|
2075
|
+
lastPayloadRef.current = updatedPayload;
|
|
2076
|
+
lastOriginalEventRef.current = event;
|
|
2077
|
+
previousMouseoverPayloadRef.current = __spreadValues({}, updatedPayload);
|
|
2078
|
+
if (onPointMouseOver) {
|
|
2079
|
+
onPointMouseOver({
|
|
2080
|
+
type: "point.mouseover",
|
|
2081
|
+
originalEvent: event,
|
|
2082
|
+
payload: updatedPayload
|
|
1938
2083
|
});
|
|
1939
|
-
delete payload.seriesKey;
|
|
1940
|
-
if (event.rowContext) {
|
|
1941
|
-
Object.assign(
|
|
1942
|
-
payload,
|
|
1943
|
-
Object.keys(event.rowContext).reduce((acc, fieldName) => {
|
|
1944
|
-
acc[`row.${fieldName}.value`] = event.rowContext[fieldName];
|
|
1945
|
-
return acc;
|
|
1946
|
-
}, {})
|
|
1947
|
-
);
|
|
1948
|
-
}
|
|
1949
|
-
const updatedPayload = appendTrellisToPayload(payload, trellisKey, trellisSplitBy);
|
|
1950
|
-
if (!hasMouseoverPayloadChanged(updatedPayload, previousMouseoverPayloadRef.current)) {
|
|
1951
|
-
return;
|
|
1952
|
-
}
|
|
1953
|
-
lastPayloadRef.current = updatedPayload;
|
|
1954
|
-
lastOriginalEventRef.current = event;
|
|
1955
|
-
previousMouseoverPayloadRef.current = __spreadValues({}, updatedPayload);
|
|
1956
|
-
if (onPointMouseOver) {
|
|
1957
|
-
onPointMouseOver({
|
|
1958
|
-
type: "point.mouseover",
|
|
1959
|
-
originalEvent: event,
|
|
1960
|
-
payload: updatedPayload
|
|
1961
|
-
});
|
|
1962
|
-
}
|
|
1963
2084
|
}
|
|
1964
2085
|
},
|
|
1965
|
-
[onPointMouseOver, onPointMouseOut, trellisKey, trellisSplitBy]
|
|
2086
|
+
[onPointMouseOver, onPointMouseOut, trellisKey, trellisSplitBy, handleCrosshairMouseout]
|
|
1966
2087
|
);
|
|
1967
2088
|
const dataKey = `${(_b = chartData.columns[0]) == null ? void 0 : _b[0]}-${(_c = chartData.columns[0]) == null ? void 0 : _c[chartData.columns[0].length - 1]}-${(_d = chartData.columns[0]) == null ? void 0 : _d.length}`;
|
|
1968
2089
|
const memoizedChart = (0, react_exports.useMemo)(() => {
|
|
@@ -2017,7 +2138,8 @@ var TimeSeriesChartWrapper = (props) => {
|
|
|
2017
2138
|
showXAxisLine,
|
|
2018
2139
|
showYAxisLine,
|
|
2019
2140
|
showY2AxisLine,
|
|
2020
|
-
xAxisMaxLabelParts
|
|
2141
|
+
xAxisMaxLabelParts,
|
|
2142
|
+
areaOpacity: areaOpacityForCanvas
|
|
2021
2143
|
}
|
|
2022
2144
|
));
|
|
2023
2145
|
}, [
|
|
@@ -2069,7 +2191,8 @@ var TimeSeriesChartWrapper = (props) => {
|
|
|
2069
2191
|
showYAxisLine,
|
|
2070
2192
|
showY2AxisLine,
|
|
2071
2193
|
legendMode,
|
|
2072
|
-
xAxisMaxLabelParts
|
|
2194
|
+
xAxisMaxLabelParts,
|
|
2195
|
+
areaOpacityForCanvas
|
|
2073
2196
|
]);
|
|
2074
2197
|
const memoizedVisualization = (0, react_exports.useMemo)(() => {
|
|
2075
2198
|
return /* @__PURE__ */ react_exports.createElement(VizStyleWrapper_default, { backgroundColor: bgColor }, memoizedChart);
|
|
@@ -2097,6 +2220,37 @@ var TimeSeriesChartWrapper_default = TimeSeriesChartWrapper;
|
|
|
2097
2220
|
|
|
2098
2221
|
// src/common/withDashboardViz.tsx
|
|
2099
2222
|
var SanitizedTimeSeriesChartWrapper = (0, SanitizeProps_exports.withSanitizedProps)(TimeSeriesChartWrapper_default);
|
|
2223
|
+
var buildEventCallbackProps = (supportedEvents, evaluatedOptionsToUse, onEventTrigger) => {
|
|
2224
|
+
const result = {};
|
|
2225
|
+
Object.keys(supportedEvents).forEach((eventName) => {
|
|
2226
|
+
const { parentKeys, payloadKeys } = supportedEvents[eventName];
|
|
2227
|
+
const eventCallbackPropName = (0, lodash_exports.camelCase)(`on.${eventName}`);
|
|
2228
|
+
let payload = {};
|
|
2229
|
+
if (Array.isArray(payloadKeys) && payloadKeys.length) {
|
|
2230
|
+
payloadKeys.forEach((p) => {
|
|
2231
|
+
payload[p] = evaluatedOptionsToUse[p];
|
|
2232
|
+
});
|
|
2233
|
+
}
|
|
2234
|
+
result[eventCallbackPropName] = (ev) => {
|
|
2235
|
+
if (ev == null ? void 0 : ev.payload) {
|
|
2236
|
+
payload = __spreadValues({}, ev.payload);
|
|
2237
|
+
}
|
|
2238
|
+
return onEventTrigger({
|
|
2239
|
+
originalEvent: ev,
|
|
2240
|
+
payload,
|
|
2241
|
+
type: eventName
|
|
2242
|
+
});
|
|
2243
|
+
};
|
|
2244
|
+
if (parentKeys) {
|
|
2245
|
+
for (let i = parentKeys.length - 1; i >= 0; i -= 1) {
|
|
2246
|
+
const newObject = {};
|
|
2247
|
+
newObject[parentKeys[i]] = result[eventCallbackPropName];
|
|
2248
|
+
result[eventCallbackPropName] = newObject;
|
|
2249
|
+
}
|
|
2250
|
+
}
|
|
2251
|
+
});
|
|
2252
|
+
return result;
|
|
2253
|
+
};
|
|
2100
2254
|
var withDashboardViz = (opts) => {
|
|
2101
2255
|
const {
|
|
2102
2256
|
ReactViz,
|
|
@@ -2154,9 +2308,7 @@ var withDashboardViz = (opts) => {
|
|
|
2154
2308
|
const isDownsamplingEnabledByFeatureFlag = Boolean(
|
|
2155
2309
|
featureFlagContext == null ? void 0 : featureFlagContext.visualizations_enableDownsampling
|
|
2156
2310
|
);
|
|
2157
|
-
const isTrellisFeatureFlagOn = Boolean(
|
|
2158
|
-
featureFlagContext && featureFlagContext.visualizations_enableTrellis
|
|
2159
|
-
);
|
|
2311
|
+
const isTrellisFeatureFlagOn = Boolean(featureFlagContext == null ? void 0 : featureFlagContext.visualizations_enableTrellis);
|
|
2160
2312
|
const isTrellisOn = isTrellisFeatureFlagOn && ((_a = vizConfig == null ? void 0 : vizConfig.supports) == null ? void 0 : _a.includes("trellis" /* TRELLIS */)) && (options == null ? void 0 : options.splitByLayout) === "trellis" /* TRELLIS */;
|
|
2161
2313
|
const isAcceleratedRenderFeatureFlagOn = Boolean(
|
|
2162
2314
|
featureFlagContext == null ? void 0 : featureFlagContext.visualizations_enableAcceleratedRender
|
|
@@ -2321,38 +2473,12 @@ var withDashboardViz = (opts) => {
|
|
|
2321
2473
|
}
|
|
2322
2474
|
);
|
|
2323
2475
|
}
|
|
2324
|
-
const eventCallbackProps = {};
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
let payload = {};
|
|
2331
|
-
if (Array.isArray(payloadKeys) && payloadKeys.length) {
|
|
2332
|
-
payloadKeys.forEach((p) => {
|
|
2333
|
-
payload[p] = evaluatedOptionsToUse[p];
|
|
2334
|
-
});
|
|
2335
|
-
}
|
|
2336
|
-
eventCallbackProps[eventCallbackPropName] = (ev) => {
|
|
2337
|
-
if (ev == null ? void 0 : ev.payload) {
|
|
2338
|
-
payload = __spreadValues({}, ev.payload);
|
|
2339
|
-
}
|
|
2340
|
-
return onEventTrigger({
|
|
2341
|
-
originalEvent: ev,
|
|
2342
|
-
payload,
|
|
2343
|
-
type: eventName
|
|
2344
|
-
});
|
|
2345
|
-
};
|
|
2346
|
-
if (parentKeys) {
|
|
2347
|
-
for (let i = parentKeys.length - 1; i >= 0; i -= 1) {
|
|
2348
|
-
const newObject = {};
|
|
2349
|
-
newObject[parentKeys[i]] = eventCallbackProps[eventCallbackPropName];
|
|
2350
|
-
eventCallbackProps[eventCallbackPropName] = newObject;
|
|
2351
|
-
}
|
|
2352
|
-
}
|
|
2353
|
-
});
|
|
2354
|
-
}
|
|
2355
|
-
const computedVizProps = computeVizProps2(__spreadProps(__spreadValues(__spreadValues(__spreadValues({}, props), evaluatedOptionsToUse), eventCallbackProps), {
|
|
2476
|
+
const eventCallbackProps = hasEventHandlers && mode === "view" && vizConfig.supports.includes("events" /* EVENTS */) ? buildEventCallbackProps(vizConfig.events, evaluatedOptionsToUse, onEventTrigger) : {};
|
|
2477
|
+
const computedVizProps = computeVizProps2(__spreadProps(__spreadValues(__spreadProps(__spreadValues(__spreadValues({}, props), evaluatedOptionsToUse), {
|
|
2478
|
+
// Align option transformation with the actual renderer selected below.
|
|
2479
|
+
// This prevents canvas-only option preservation from leaking into Highcharts mode.
|
|
2480
|
+
isAcceleratedRenderOn
|
|
2481
|
+
}), eventCallbackProps), {
|
|
2356
2482
|
themeFunc
|
|
2357
2483
|
}));
|
|
2358
2484
|
if (useAsyncEvaluatedOptions && Object.keys(evaluatedOptionsToUse).length === 0) {
|
|
@@ -2386,27 +2512,27 @@ var visualization_icons_exports = {};
|
|
|
2386
2512
|
__export(visualization_icons_exports, {
|
|
2387
2513
|
default: () => visualization_icons_default
|
|
2388
2514
|
});
|
|
2389
|
-
var
|
|
2515
|
+
var defaultImport30 = __toESM(require("@splunk/visualization-icons"));
|
|
2390
2516
|
__reExport(visualization_icons_exports, require("@splunk/visualization-icons"));
|
|
2391
|
-
var visualization_icons_default = "default" in
|
|
2517
|
+
var visualization_icons_default = "default" in defaultImport30 ? defaultImport30.default : defaultImport30;
|
|
2392
2518
|
|
|
2393
2519
|
// esm-externals:@splunk/visualization-icons/placeholders
|
|
2394
2520
|
var placeholders_exports = {};
|
|
2395
2521
|
__export(placeholders_exports, {
|
|
2396
2522
|
default: () => placeholders_default
|
|
2397
2523
|
});
|
|
2398
|
-
var
|
|
2524
|
+
var defaultImport31 = __toESM(require("@splunk/visualization-icons/placeholders"));
|
|
2399
2525
|
__reExport(placeholders_exports, require("@splunk/visualization-icons/placeholders"));
|
|
2400
|
-
var placeholders_default = "default" in
|
|
2526
|
+
var placeholders_default = "default" in defaultImport31 ? defaultImport31.default : defaultImport31;
|
|
2401
2527
|
|
|
2402
2528
|
// esm-externals:@splunk/visualizations-shared/configUtils
|
|
2403
2529
|
var configUtils_exports = {};
|
|
2404
2530
|
__export(configUtils_exports, {
|
|
2405
2531
|
default: () => configUtils_default
|
|
2406
2532
|
});
|
|
2407
|
-
var
|
|
2533
|
+
var defaultImport32 = __toESM(require("@splunk/visualizations-shared/configUtils"));
|
|
2408
2534
|
__reExport(configUtils_exports, require("@splunk/visualizations-shared/configUtils"));
|
|
2409
|
-
var configUtils_default = "default" in
|
|
2535
|
+
var configUtils_default = "default" in defaultImport32 ? defaultImport32.default : defaultImport32;
|
|
2410
2536
|
|
|
2411
2537
|
// src/common/utils/configUtils.ts
|
|
2412
2538
|
function enhanceConfig(vizConfig) {
|
|
@@ -2440,9 +2566,9 @@ var pick_exports = {};
|
|
|
2440
2566
|
__export(pick_exports, {
|
|
2441
2567
|
default: () => pick_default
|
|
2442
2568
|
});
|
|
2443
|
-
var
|
|
2569
|
+
var defaultImport33 = __toESM(require("@splunk/themes/pick"));
|
|
2444
2570
|
__reExport(pick_exports, require("@splunk/themes/pick"));
|
|
2445
|
-
var pick_default = "default" in
|
|
2571
|
+
var pick_default = "default" in defaultImport33 ? defaultImport33.default : defaultImport33;
|
|
2446
2572
|
|
|
2447
2573
|
// src/common/ThemedDefaults.tsx
|
|
2448
2574
|
var defaultBackgroundColor = (props) => pick_default({
|
|
@@ -2470,14 +2596,14 @@ var dataContract = {
|
|
|
2470
2596
|
],
|
|
2471
2597
|
initialRequestParams: {
|
|
2472
2598
|
primary: (options = {}) => {
|
|
2473
|
-
var _a;
|
|
2599
|
+
var _a, _b, _c;
|
|
2474
2600
|
return {
|
|
2475
2601
|
offset: 0,
|
|
2476
|
-
count: options.
|
|
2602
|
+
count: Math.max(1, Math.floor((_b = (_a = options.pageCount) != null ? _a : options.count) != null ? _b : 10)),
|
|
2477
2603
|
requestTotalCount: true,
|
|
2478
2604
|
// this is needed for search-based event highlighting
|
|
2479
2605
|
output_mode: "json",
|
|
2480
|
-
segmentation: (
|
|
2606
|
+
segmentation: (_c = options.highlightFromSource) != null ? _c : "none"
|
|
2481
2607
|
};
|
|
2482
2608
|
}
|
|
2483
2609
|
}
|
|
@@ -2493,6 +2619,16 @@ var editorConfig = [
|
|
|
2493
2619
|
{
|
|
2494
2620
|
label: (0, i18n_exports._)("Data display"),
|
|
2495
2621
|
layout: [
|
|
2622
|
+
[
|
|
2623
|
+
{
|
|
2624
|
+
label: (0, i18n_exports._)("Rows per page"),
|
|
2625
|
+
option: "pageCount",
|
|
2626
|
+
editor: "editor.number",
|
|
2627
|
+
editorProps: {
|
|
2628
|
+
min: 1
|
|
2629
|
+
}
|
|
2630
|
+
}
|
|
2631
|
+
],
|
|
2496
2632
|
[
|
|
2497
2633
|
{
|
|
2498
2634
|
label: (0, i18n_exports._)("Show field summary"),
|
|
@@ -2562,36 +2698,36 @@ var EventsViewer_exports = {};
|
|
|
2562
2698
|
__export(EventsViewer_exports, {
|
|
2563
2699
|
default: () => EventsViewer_default
|
|
2564
2700
|
});
|
|
2565
|
-
var
|
|
2701
|
+
var defaultImport34 = __toESM(require("@splunk/react-events-viewer/components/EventsViewer"));
|
|
2566
2702
|
__reExport(EventsViewer_exports, require("@splunk/react-events-viewer/components/EventsViewer"));
|
|
2567
|
-
var EventsViewer_default = "default" in
|
|
2703
|
+
var EventsViewer_default = "default" in defaultImport34 ? defaultImport34.default : defaultImport34;
|
|
2568
2704
|
|
|
2569
2705
|
// esm-externals:@splunk/visualization-context/EventsContext
|
|
2570
2706
|
var EventsContext_exports = {};
|
|
2571
2707
|
__export(EventsContext_exports, {
|
|
2572
2708
|
default: () => EventsContext_default
|
|
2573
2709
|
});
|
|
2574
|
-
var
|
|
2710
|
+
var defaultImport35 = __toESM(require("@splunk/visualization-context/EventsContext"));
|
|
2575
2711
|
__reExport(EventsContext_exports, require("@splunk/visualization-context/EventsContext"));
|
|
2576
|
-
var EventsContext_default = "default" in
|
|
2712
|
+
var EventsContext_default = "default" in defaultImport35 ? defaultImport35.default : defaultImport35;
|
|
2577
2713
|
|
|
2578
2714
|
// esm-externals:@splunk/react-ui/Menu
|
|
2579
2715
|
var Menu_exports = {};
|
|
2580
2716
|
__export(Menu_exports, {
|
|
2581
2717
|
default: () => Menu_default
|
|
2582
2718
|
});
|
|
2583
|
-
var
|
|
2719
|
+
var defaultImport36 = __toESM(require("@splunk/react-ui/Menu"));
|
|
2584
2720
|
__reExport(Menu_exports, require("@splunk/react-ui/Menu"));
|
|
2585
|
-
var Menu_default = "default" in
|
|
2721
|
+
var Menu_default = "default" in defaultImport36 ? defaultImport36.default : defaultImport36;
|
|
2586
2722
|
|
|
2587
2723
|
// esm-externals:@splunk/time-range-utils/time
|
|
2588
2724
|
var time_exports = {};
|
|
2589
2725
|
__export(time_exports, {
|
|
2590
2726
|
default: () => time_default
|
|
2591
2727
|
});
|
|
2592
|
-
var
|
|
2728
|
+
var defaultImport37 = __toESM(require("@splunk/time-range-utils/time"));
|
|
2593
2729
|
__reExport(time_exports, require("@splunk/time-range-utils/time"));
|
|
2594
|
-
var time_default = "default" in
|
|
2730
|
+
var time_default = "default" in defaultImport37 ? defaultImport37.default : defaultImport37;
|
|
2595
2731
|
|
|
2596
2732
|
// src/Events/EventUtils.ts
|
|
2597
2733
|
var EMPTY_DATASOURCE = {
|
|
@@ -2790,45 +2926,45 @@ var Popover_exports = {};
|
|
|
2790
2926
|
__export(Popover_exports, {
|
|
2791
2927
|
default: () => Popover_default
|
|
2792
2928
|
});
|
|
2793
|
-
var
|
|
2929
|
+
var defaultImport38 = __toESM(require("@splunk/react-ui/Popover"));
|
|
2794
2930
|
__reExport(Popover_exports, require("@splunk/react-ui/Popover"));
|
|
2795
|
-
var Popover_default = "default" in
|
|
2931
|
+
var Popover_default = "default" in defaultImport38 ? defaultImport38.default : defaultImport38;
|
|
2796
2932
|
|
|
2797
2933
|
// esm-externals:@splunk/react-ui/Markdown
|
|
2798
2934
|
var Markdown_exports = {};
|
|
2799
2935
|
__export(Markdown_exports, {
|
|
2800
2936
|
default: () => Markdown_default
|
|
2801
2937
|
});
|
|
2802
|
-
var
|
|
2938
|
+
var defaultImport39 = __toESM(require("@splunk/react-ui/Markdown"));
|
|
2803
2939
|
__reExport(Markdown_exports, require("@splunk/react-ui/Markdown"));
|
|
2804
|
-
var Markdown_default = "default" in
|
|
2940
|
+
var Markdown_default = "default" in defaultImport39 ? defaultImport39.default : defaultImport39;
|
|
2805
2941
|
|
|
2806
2942
|
// esm-externals:@splunk/react-field-summary/components/FieldSummary
|
|
2807
2943
|
var FieldSummary_exports = {};
|
|
2808
2944
|
__export(FieldSummary_exports, {
|
|
2809
2945
|
default: () => FieldSummary_default
|
|
2810
2946
|
});
|
|
2811
|
-
var
|
|
2947
|
+
var defaultImport40 = __toESM(require("@splunk/react-field-summary/components/FieldSummary"));
|
|
2812
2948
|
__reExport(FieldSummary_exports, require("@splunk/react-field-summary/components/FieldSummary"));
|
|
2813
|
-
var FieldSummary_default = "default" in
|
|
2949
|
+
var FieldSummary_default = "default" in defaultImport40 ? defaultImport40.default : defaultImport40;
|
|
2814
2950
|
|
|
2815
2951
|
// esm-externals:@splunk/react-ui/Button
|
|
2816
2952
|
var Button_exports = {};
|
|
2817
2953
|
__export(Button_exports, {
|
|
2818
2954
|
default: () => Button_default
|
|
2819
2955
|
});
|
|
2820
|
-
var
|
|
2956
|
+
var defaultImport41 = __toESM(require("@splunk/react-ui/Button"));
|
|
2821
2957
|
__reExport(Button_exports, require("@splunk/react-ui/Button"));
|
|
2822
|
-
var Button_default = "default" in
|
|
2958
|
+
var Button_default = "default" in defaultImport41 ? defaultImport41.default : defaultImport41;
|
|
2823
2959
|
|
|
2824
2960
|
// esm-externals:@splunk/react-icons/Cross
|
|
2825
2961
|
var Cross_exports = {};
|
|
2826
2962
|
__export(Cross_exports, {
|
|
2827
2963
|
default: () => Cross_default
|
|
2828
2964
|
});
|
|
2829
|
-
var
|
|
2965
|
+
var defaultImport42 = __toESM(require("@splunk/react-icons/Cross"));
|
|
2830
2966
|
__reExport(Cross_exports, require("@splunk/react-icons/Cross"));
|
|
2831
|
-
var Cross_default = "default" in
|
|
2967
|
+
var Cross_default = "default" in defaultImport42 ? defaultImport42.default : defaultImport42;
|
|
2832
2968
|
|
|
2833
2969
|
// src/Events/PureEvents/FieldSummaryTooltip.tsx
|
|
2834
2970
|
var StyledContainer = styled_components_default.div`
|
|
@@ -2944,54 +3080,54 @@ var ControlGroup_exports = {};
|
|
|
2944
3080
|
__export(ControlGroup_exports, {
|
|
2945
3081
|
default: () => ControlGroup_default
|
|
2946
3082
|
});
|
|
2947
|
-
var
|
|
3083
|
+
var defaultImport43 = __toESM(require("@splunk/react-ui/ControlGroup"));
|
|
2948
3084
|
__reExport(ControlGroup_exports, require("@splunk/react-ui/ControlGroup"));
|
|
2949
|
-
var ControlGroup_default = "default" in
|
|
3085
|
+
var ControlGroup_default = "default" in defaultImport43 ? defaultImport43.default : defaultImport43;
|
|
2950
3086
|
|
|
2951
3087
|
// esm-externals:@splunk/react-ui/Text
|
|
2952
3088
|
var Text_exports = {};
|
|
2953
3089
|
__export(Text_exports, {
|
|
2954
3090
|
default: () => Text_default
|
|
2955
3091
|
});
|
|
2956
|
-
var
|
|
3092
|
+
var defaultImport44 = __toESM(require("@splunk/react-ui/Text"));
|
|
2957
3093
|
__reExport(Text_exports, require("@splunk/react-ui/Text"));
|
|
2958
|
-
var Text_default = "default" in
|
|
3094
|
+
var Text_default = "default" in defaultImport44 ? defaultImport44.default : defaultImport44;
|
|
2959
3095
|
|
|
2960
3096
|
// esm-externals:@splunk/react-ui/Message
|
|
2961
3097
|
var Message_exports2 = {};
|
|
2962
3098
|
__export(Message_exports2, {
|
|
2963
3099
|
default: () => Message_default2
|
|
2964
3100
|
});
|
|
2965
|
-
var
|
|
3101
|
+
var defaultImport45 = __toESM(require("@splunk/react-ui/Message"));
|
|
2966
3102
|
__reExport(Message_exports2, require("@splunk/react-ui/Message"));
|
|
2967
|
-
var Message_default2 = "default" in
|
|
3103
|
+
var Message_default2 = "default" in defaultImport45 ? defaultImport45.default : defaultImport45;
|
|
2968
3104
|
|
|
2969
3105
|
// esm-externals:@splunk/react-ui/Select
|
|
2970
3106
|
var Select_exports = {};
|
|
2971
3107
|
__export(Select_exports, {
|
|
2972
3108
|
default: () => Select_default
|
|
2973
3109
|
});
|
|
2974
|
-
var
|
|
3110
|
+
var defaultImport46 = __toESM(require("@splunk/react-ui/Select"));
|
|
2975
3111
|
__reExport(Select_exports, require("@splunk/react-ui/Select"));
|
|
2976
|
-
var Select_default = "default" in
|
|
3112
|
+
var Select_default = "default" in defaultImport46 ? defaultImport46.default : defaultImport46;
|
|
2977
3113
|
|
|
2978
3114
|
// esm-externals:@splunk/react-ui/Link
|
|
2979
3115
|
var Link_exports = {};
|
|
2980
3116
|
__export(Link_exports, {
|
|
2981
3117
|
default: () => Link_default
|
|
2982
3118
|
});
|
|
2983
|
-
var
|
|
3119
|
+
var defaultImport47 = __toESM(require("@splunk/react-ui/Link"));
|
|
2984
3120
|
__reExport(Link_exports, require("@splunk/react-ui/Link"));
|
|
2985
|
-
var Link_default = "default" in
|
|
3121
|
+
var Link_default = "default" in defaultImport47 ? defaultImport47.default : defaultImport47;
|
|
2986
3122
|
|
|
2987
3123
|
// esm-externals:@splunk/react-ui/Heading
|
|
2988
3124
|
var Heading_exports = {};
|
|
2989
3125
|
__export(Heading_exports, {
|
|
2990
3126
|
default: () => Heading_default
|
|
2991
3127
|
});
|
|
2992
|
-
var
|
|
3128
|
+
var defaultImport48 = __toESM(require("@splunk/react-ui/Heading"));
|
|
2993
3129
|
__reExport(Heading_exports, require("@splunk/react-ui/Heading"));
|
|
2994
|
-
var Heading_default = "default" in
|
|
3130
|
+
var Heading_default = "default" in defaultImport48 ? defaultImport48.default : defaultImport48;
|
|
2995
3131
|
|
|
2996
3132
|
// src/Events/PureEvents/TimeControlsPopover.tsx
|
|
2997
3133
|
var TimePopoverContainer = styled_components_default.div`
|