@splunk/visualizations 28.4.0 → 28.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Area.config.js +28 -7
- package/Area.config.js.map +2 -2
- package/Area.js +109 -39
- package/Area.js.map +2 -2
- package/Bar.config.js +28 -7
- package/Bar.config.js.map +2 -2
- package/Bar.js +109 -39
- package/Bar.js.map +2 -2
- package/Bubble.config.js +4 -4
- package/Bubble.config.js.map +2 -2
- package/Bubble.js +81 -30
- package/Bubble.js.map +2 -2
- package/CHANGELOG.external.md +98 -0
- package/ChoroplethSvg.js +74 -26
- package/ChoroplethSvg.js.map +2 -2
- package/Column.config.js +28 -7
- package/Column.config.js.map +2 -2
- package/Column.js +109 -39
- package/Column.js.map +2 -2
- package/Ellipse/config.d.ts.map +1 -1
- package/Ellipse.config.js +14 -5
- package/Ellipse.config.js.map +4 -4
- package/Ellipse.js +130 -73
- package/Ellipse.js.map +4 -4
- package/Events.js +74 -26
- package/Events.js.map +2 -2
- package/FillerGauge.js +234 -47
- package/FillerGauge.js.map +2 -2
- package/Image.js +74 -26
- package/Image.js.map +2 -2
- package/Line/lineUtils.d.ts.map +1 -1
- package/Line/mockdata/LineData.d.ts +95 -0
- package/Line/mockdata/LineData.d.ts.map +1 -1
- package/Line.config.js +28 -7
- package/Line.config.js.map +2 -2
- package/Line.js +125 -41
- package/Line.js.map +2 -2
- package/LinkGraph.js +74 -26
- package/LinkGraph.js.map +2 -2
- package/Map/PureMap/BubbleLayer.d.ts.map +1 -1
- package/Map/PureMap/ClusterLayer.d.ts.map +1 -1
- package/Map/PureMap/MapUtils.d.ts +2 -2
- package/Map/PureMap/MapUtils.d.ts.map +1 -1
- package/Map/PureMap/PureMap.d.ts.map +1 -1
- package/Map.js +111 -37
- package/Map.js.map +2 -2
- package/Markdown/config.d.ts.map +1 -1
- package/Markdown.config.js +14 -5
- package/Markdown.config.js.map +4 -4
- package/Markdown.js +91 -34
- package/Markdown.js.map +4 -4
- package/MarkerGauge.js +243 -56
- package/MarkerGauge.js.map +4 -4
- package/NetworkGraph/PureNetworkGraph/PureNetworkGraph.d.ts.map +1 -1
- package/NetworkGraph/PureNetworkGraph/components/Node.d.ts.map +1 -1
- package/NetworkGraph/PureNetworkGraph/components/ZoomControls.d.ts.map +1 -1
- package/NetworkGraph/PureNetworkGraph/utils/dragUtils.d.ts +78 -0
- package/NetworkGraph/PureNetworkGraph/utils/dragUtils.d.ts.map +1 -0
- package/NetworkGraph/PureNetworkGraph/utils/networkGraphUtils.d.ts +1 -2
- package/NetworkGraph/PureNetworkGraph/utils/networkGraphUtils.d.ts.map +1 -1
- package/NetworkGraph/config.d.ts.map +1 -1
- package/NetworkGraph.config.js +1 -0
- package/NetworkGraph.config.js.map +2 -2
- package/NetworkGraph.js +366 -105
- package/NetworkGraph.js.map +4 -4
- package/PERFORMANCE.md +23 -0
- package/ParallelCoordinates/ParallelCoordinates.d.ts +1 -46
- package/ParallelCoordinates/ParallelCoordinates.d.ts.map +1 -1
- package/ParallelCoordinates/PureParallelCoordinates/PureParallelCoordinates.d.ts +12 -58
- package/ParallelCoordinates/PureParallelCoordinates/PureParallelCoordinates.d.ts.map +1 -1
- package/ParallelCoordinates/PureParallelCoordinates/src/ParallelCoordinatesChart.d.ts +1 -0
- package/ParallelCoordinates/PureParallelCoordinates/src/ParallelCoordinatesChart.d.ts.map +1 -1
- package/ParallelCoordinates.js +150 -153
- package/ParallelCoordinates.js.map +4 -4
- package/Pie/Pie.d.ts.map +1 -1
- package/Pie/config.d.ts.map +1 -1
- package/Pie/pieUtils.d.ts +4 -0
- package/Pie/pieUtils.d.ts.map +1 -1
- package/Pie.config.js +16 -0
- package/Pie.config.js.map +2 -2
- package/Pie.js +121 -35
- package/Pie.js.map +2 -2
- package/Punchcard.js +74 -26
- package/Punchcard.js.map +2 -2
- package/Rectangle/config.d.ts.map +1 -1
- package/Rectangle.config.js +14 -5
- package/Rectangle.config.js.map +4 -4
- package/Rectangle.js +92 -35
- package/Rectangle.js.map +4 -4
- package/Sankey/PureSankey/PureSankey.d.ts +26 -72
- package/Sankey/PureSankey/PureSankey.d.ts.map +1 -1
- package/Sankey/PureSankey/SankeyLink.d.ts +3 -19
- package/Sankey/PureSankey/SankeyLink.d.ts.map +1 -1
- package/Sankey/PureSankey/SankeyNode.d.ts +3 -20
- package/Sankey/PureSankey/SankeyNode.d.ts.map +1 -1
- package/Sankey/PureSankey/SankeyTooltip.d.ts +3 -24
- package/Sankey/PureSankey/SankeyTooltip.d.ts.map +1 -1
- package/Sankey.js +270 -336
- package/Sankey.js.map +2 -2
- package/Scatter.config.js +168 -147
- package/Scatter.config.js.map +4 -4
- package/Scatter.js +249 -179
- package/Scatter.js.map +4 -4
- package/SingleValue.js +96 -75
- package/SingleValue.js.map +2 -2
- package/SingleValueIcon/config.d.ts.map +1 -1
- package/SingleValueIcon.config.js +14 -5
- package/SingleValueIcon.config.js.map +4 -4
- package/SingleValueIcon.js +118 -76
- package/SingleValueIcon.js.map +4 -4
- package/SingleValueRadial/PureSingleValueRadial/GaugeGraph.d.ts.map +1 -1
- package/SingleValueRadial.js +95 -76
- package/SingleValueRadial.js.map +2 -2
- package/Table/Table.d.ts.map +1 -1
- package/Table/hooks.d.ts +2 -0
- package/Table/hooks.d.ts.map +1 -1
- package/Table.js +95 -49
- package/Table.js.map +2 -2
- package/Timeline/PureTimeline/PureTimeline.d.ts.map +1 -1
- package/Timeline/PureTimeline/src/TimelinePlugin.d.ts.map +1 -1
- package/Timeline/PureTimeline/src/TimelineYAxis.d.ts.map +1 -1
- package/Timeline/PureTimeline/src/utils/timelineUtils.d.ts +2 -1
- package/Timeline/PureTimeline/src/utils/timelineUtils.d.ts.map +1 -1
- package/Timeline.js +154 -54
- package/Timeline.js.map +2 -2
- package/common/Charting.d.ts.map +1 -1
- package/common/Charting.js +3 -0
- package/common/Charting.js.map +2 -2
- package/common/GaugeMajorTicks.js +150 -13
- package/common/GaugeMajorTicks.js.map +4 -4
- package/common/GaugeValueMarker.js +84 -17
- package/common/GaugeValueMarker.js.map +4 -4
- package/common/OptionsDoc.js.map +1 -1
- package/common/OverviewDoc.d.ts.map +1 -1
- package/common/OverviewDoc.js +2 -2
- package/common/OverviewDoc.js.map +2 -2
- package/common/TimeSeriesChartWrapper.d.ts.map +1 -1
- package/common/TimeSeriesChartWrapper.js +72 -24
- package/common/TimeSeriesChartWrapper.js.map +2 -2
- package/common/chartingUtils.d.ts +9 -3
- package/common/chartingUtils.d.ts.map +1 -1
- package/common/chartingUtils.js +21 -16
- package/common/chartingUtils.js.map +2 -2
- package/common/editorConfig/AxesChartDataConfig.d.ts +3 -3
- package/common/editorConfig/AxesChartDataConfig.d.ts.map +1 -1
- package/common/editorConfig/AxesChartDataDisplay.d.ts +4 -0
- package/common/editorConfig/AxesChartDataDisplay.d.ts.map +1 -1
- package/common/editorConfig/AxesChartLegend.d.ts.map +1 -1
- package/common/gaugeUtils.d.ts +37 -0
- package/common/gaugeUtils.d.ts.map +1 -1
- package/common/gaugeUtils.js +152 -2
- package/common/gaugeUtils.js.map +4 -4
- package/common/hocs/mockdata/trellisData.d.ts +119 -0
- package/common/hocs/mockdata/trellisData.d.ts.map +1 -1
- package/common/interfaces/Overview.d.ts +1 -0
- package/common/interfaces/Overview.d.ts.map +1 -1
- package/common/interfaces/VizConfig.d.ts +2 -1
- package/common/interfaces/VizConfig.d.ts.map +1 -1
- package/common/utils/mapUtils.js.map +1 -1
- package/common/utils/trellisUtils.d.ts.map +1 -1
- package/common/utils/trellisUtils.js +4 -6
- package/common/utils/trellisUtils.js.map +2 -2
- package/common/withDashboardViz.js +74 -26
- package/common/withDashboardViz.js.map +2 -2
- package/package.json +36 -36
package/Ellipse.js
CHANGED
|
@@ -141,14 +141,23 @@ var defaultImport8 = __toESM(require("@splunk/themes/variables"));
|
|
|
141
141
|
__reExport(variables_exports, require("@splunk/themes/variables"));
|
|
142
142
|
var variables_default = "default" in defaultImport8 ? defaultImport8.default : defaultImport8;
|
|
143
143
|
|
|
144
|
+
// esm-externals:@splunk/react-icons/Circle
|
|
145
|
+
var Circle_exports = {};
|
|
146
|
+
__export(Circle_exports, {
|
|
147
|
+
default: () => Circle_default
|
|
148
|
+
});
|
|
149
|
+
var defaultImport9 = __toESM(require("@splunk/react-icons/Circle"));
|
|
150
|
+
__reExport(Circle_exports, require("@splunk/react-icons/Circle"));
|
|
151
|
+
var Circle_default = "default" in defaultImport9 ? defaultImport9.default : defaultImport9;
|
|
152
|
+
|
|
144
153
|
// esm-externals:@splunk/visualizations-shared/configUtils
|
|
145
154
|
var configUtils_exports = {};
|
|
146
155
|
__export(configUtils_exports, {
|
|
147
156
|
default: () => configUtils_default
|
|
148
157
|
});
|
|
149
|
-
var
|
|
158
|
+
var defaultImport10 = __toESM(require("@splunk/visualizations-shared/configUtils"));
|
|
150
159
|
__reExport(configUtils_exports, require("@splunk/visualizations-shared/configUtils"));
|
|
151
|
-
var configUtils_default = "default" in
|
|
160
|
+
var configUtils_default = "default" in defaultImport10 ? defaultImport10.default : defaultImport10;
|
|
152
161
|
|
|
153
162
|
// src/common/utils/configUtils.ts
|
|
154
163
|
function enhanceConfig(vizConfig) {
|
|
@@ -535,7 +544,7 @@ var config = {
|
|
|
535
544
|
/**
|
|
536
545
|
* viz icon
|
|
537
546
|
*/
|
|
538
|
-
icon:
|
|
547
|
+
icon: Circle_default,
|
|
539
548
|
dataContract,
|
|
540
549
|
size,
|
|
541
550
|
defaultContext,
|
|
@@ -557,99 +566,99 @@ var getSettingsFromThemedProps_exports = {};
|
|
|
557
566
|
__export(getSettingsFromThemedProps_exports, {
|
|
558
567
|
default: () => getSettingsFromThemedProps_default
|
|
559
568
|
});
|
|
560
|
-
var
|
|
569
|
+
var defaultImport11 = __toESM(require("@splunk/themes/getSettingsFromThemedProps"));
|
|
561
570
|
__reExport(getSettingsFromThemedProps_exports, require("@splunk/themes/getSettingsFromThemedProps"));
|
|
562
|
-
var getSettingsFromThemedProps_default = "default" in
|
|
571
|
+
var getSettingsFromThemedProps_default = "default" in defaultImport11 ? defaultImport11.default : defaultImport11;
|
|
563
572
|
|
|
564
573
|
// esm-externals:@splunk/visualization-encoding/Options
|
|
565
574
|
var Options_exports = {};
|
|
566
575
|
__export(Options_exports, {
|
|
567
576
|
default: () => Options_default
|
|
568
577
|
});
|
|
569
|
-
var
|
|
578
|
+
var defaultImport12 = __toESM(require("@splunk/visualization-encoding/Options"));
|
|
570
579
|
__reExport(Options_exports, require("@splunk/visualization-encoding/Options"));
|
|
571
|
-
var Options_default = "default" in
|
|
580
|
+
var Options_default = "default" in defaultImport12 ? defaultImport12.default : defaultImport12;
|
|
572
581
|
|
|
573
582
|
// esm-externals:@splunk/visualizations-shared/SanitizeProps
|
|
574
583
|
var SanitizeProps_exports = {};
|
|
575
584
|
__export(SanitizeProps_exports, {
|
|
576
585
|
default: () => SanitizeProps_default
|
|
577
586
|
});
|
|
578
|
-
var
|
|
587
|
+
var defaultImport13 = __toESM(require("@splunk/visualizations-shared/SanitizeProps"));
|
|
579
588
|
__reExport(SanitizeProps_exports, require("@splunk/visualizations-shared/SanitizeProps"));
|
|
580
|
-
var SanitizeProps_default = "default" in
|
|
589
|
+
var SanitizeProps_default = "default" in defaultImport13 ? defaultImport13.default : defaultImport13;
|
|
581
590
|
|
|
582
591
|
// esm-externals:@splunk/visualization-context/TimezoneContext
|
|
583
592
|
var TimezoneContext_exports = {};
|
|
584
593
|
__export(TimezoneContext_exports, {
|
|
585
594
|
default: () => TimezoneContext_default
|
|
586
595
|
});
|
|
587
|
-
var
|
|
596
|
+
var defaultImport14 = __toESM(require("@splunk/visualization-context/TimezoneContext"));
|
|
588
597
|
__reExport(TimezoneContext_exports, require("@splunk/visualization-context/TimezoneContext"));
|
|
589
|
-
var TimezoneContext_default = "default" in
|
|
598
|
+
var TimezoneContext_default = "default" in defaultImport14 ? defaultImport14.default : defaultImport14;
|
|
590
599
|
|
|
591
600
|
// esm-externals:@splunk/moment
|
|
592
601
|
var moment_exports = {};
|
|
593
602
|
__export(moment_exports, {
|
|
594
603
|
default: () => moment_default
|
|
595
604
|
});
|
|
596
|
-
var
|
|
605
|
+
var defaultImport15 = __toESM(require("@splunk/moment"));
|
|
597
606
|
__reExport(moment_exports, require("@splunk/moment"));
|
|
598
|
-
var moment_default = "default" in
|
|
607
|
+
var moment_default = "default" in defaultImport15 ? defaultImport15.default : defaultImport15;
|
|
599
608
|
|
|
600
609
|
// esm-externals:@splunk/visualization-context/FeatureFlagContext
|
|
601
610
|
var FeatureFlagContext_exports = {};
|
|
602
611
|
__export(FeatureFlagContext_exports, {
|
|
603
612
|
default: () => FeatureFlagContext_default
|
|
604
613
|
});
|
|
605
|
-
var
|
|
614
|
+
var defaultImport16 = __toESM(require("@splunk/visualization-context/FeatureFlagContext"));
|
|
606
615
|
__reExport(FeatureFlagContext_exports, require("@splunk/visualization-context/FeatureFlagContext"));
|
|
607
|
-
var FeatureFlagContext_default = "default" in
|
|
616
|
+
var FeatureFlagContext_default = "default" in defaultImport16 ? defaultImport16.default : defaultImport16;
|
|
608
617
|
|
|
609
618
|
// esm-externals:@splunk/visualizations-shared/hocUtils
|
|
610
619
|
var hocUtils_exports = {};
|
|
611
620
|
__export(hocUtils_exports, {
|
|
612
621
|
default: () => hocUtils_default
|
|
613
622
|
});
|
|
614
|
-
var
|
|
623
|
+
var defaultImport17 = __toESM(require("@splunk/visualizations-shared/hocUtils"));
|
|
615
624
|
__reExport(hocUtils_exports, require("@splunk/visualizations-shared/hocUtils"));
|
|
616
|
-
var hocUtils_default = "default" in
|
|
625
|
+
var hocUtils_default = "default" in defaultImport17 ? defaultImport17.default : defaultImport17;
|
|
617
626
|
|
|
618
627
|
// esm-externals:@splunk/visualizations-shared/JSONSchemaUtils
|
|
619
628
|
var JSONSchemaUtils_exports = {};
|
|
620
629
|
__export(JSONSchemaUtils_exports, {
|
|
621
630
|
default: () => JSONSchemaUtils_default
|
|
622
631
|
});
|
|
623
|
-
var
|
|
632
|
+
var defaultImport18 = __toESM(require("@splunk/visualizations-shared/JSONSchemaUtils"));
|
|
624
633
|
__reExport(JSONSchemaUtils_exports, require("@splunk/visualizations-shared/JSONSchemaUtils"));
|
|
625
|
-
var JSONSchemaUtils_default = "default" in
|
|
634
|
+
var JSONSchemaUtils_default = "default" in defaultImport18 ? defaultImport18.default : defaultImport18;
|
|
626
635
|
|
|
627
636
|
// esm-externals:@splunk/async-dynamic-options-evaluator
|
|
628
637
|
var async_dynamic_options_evaluator_exports = {};
|
|
629
638
|
__export(async_dynamic_options_evaluator_exports, {
|
|
630
639
|
default: () => async_dynamic_options_evaluator_default
|
|
631
640
|
});
|
|
632
|
-
var
|
|
641
|
+
var defaultImport19 = __toESM(require("@splunk/async-dynamic-options-evaluator"));
|
|
633
642
|
__reExport(async_dynamic_options_evaluator_exports, require("@splunk/async-dynamic-options-evaluator"));
|
|
634
|
-
var async_dynamic_options_evaluator_default = "default" in
|
|
643
|
+
var async_dynamic_options_evaluator_default = "default" in defaultImport19 ? defaultImport19.default : defaultImport19;
|
|
635
644
|
|
|
636
645
|
// esm-externals:@splunk/ui-utils/id
|
|
637
646
|
var id_exports = {};
|
|
638
647
|
__export(id_exports, {
|
|
639
648
|
default: () => id_default
|
|
640
649
|
});
|
|
641
|
-
var
|
|
650
|
+
var defaultImport20 = __toESM(require("@splunk/ui-utils/id"));
|
|
642
651
|
__reExport(id_exports, require("@splunk/ui-utils/id"));
|
|
643
|
-
var id_default = "default" in
|
|
652
|
+
var id_default = "default" in defaultImport20 ? defaultImport20.default : defaultImport20;
|
|
644
653
|
|
|
645
654
|
// esm-externals:prop-types
|
|
646
655
|
var prop_types_exports = {};
|
|
647
656
|
__export(prop_types_exports, {
|
|
648
657
|
default: () => prop_types_default
|
|
649
658
|
});
|
|
650
|
-
var
|
|
659
|
+
var defaultImport21 = __toESM(require("prop-types"));
|
|
651
660
|
__reExport(prop_types_exports, require("prop-types"));
|
|
652
|
-
var prop_types_default = "default" in
|
|
661
|
+
var prop_types_default = "default" in defaultImport21 ? defaultImport21.default : defaultImport21;
|
|
653
662
|
|
|
654
663
|
// src/common/interfaces/VizActionHandler.ts
|
|
655
664
|
var DefaultVizActionHandler = class {
|
|
@@ -857,18 +866,18 @@ var Message_exports = {};
|
|
|
857
866
|
__export(Message_exports, {
|
|
858
867
|
default: () => Message_default
|
|
859
868
|
});
|
|
860
|
-
var
|
|
869
|
+
var defaultImport22 = __toESM(require("@splunk/visualizations-shared/Message"));
|
|
861
870
|
__reExport(Message_exports, require("@splunk/visualizations-shared/Message"));
|
|
862
|
-
var Message_default = "default" in
|
|
871
|
+
var Message_default = "default" in defaultImport22 ? defaultImport22.default : defaultImport22;
|
|
863
872
|
|
|
864
873
|
// esm-externals:@splunk/visualizations-shared/SizeAwareWrapper
|
|
865
874
|
var SizeAwareWrapper_exports = {};
|
|
866
875
|
__export(SizeAwareWrapper_exports, {
|
|
867
876
|
default: () => SizeAwareWrapper_default
|
|
868
877
|
});
|
|
869
|
-
var
|
|
878
|
+
var defaultImport23 = __toESM(require("@splunk/visualizations-shared/SizeAwareWrapper"));
|
|
870
879
|
__reExport(SizeAwareWrapper_exports, require("@splunk/visualizations-shared/SizeAwareWrapper"));
|
|
871
|
-
var SizeAwareWrapper_default = "default" in
|
|
880
|
+
var SizeAwareWrapper_default = "default" in defaultImport23 ? defaultImport23.default : defaultImport23;
|
|
872
881
|
|
|
873
882
|
// src/common/components/MissingPropsMessage.tsx
|
|
874
883
|
var isMissing = (v) => {
|
|
@@ -923,7 +932,7 @@ var Cover = styled_components_default.div`
|
|
|
923
932
|
bottom: 0;
|
|
924
933
|
`;
|
|
925
934
|
var Blocker = styled_components_default.div.attrs({
|
|
926
|
-
"data-splunk-visualization-version": "28.
|
|
935
|
+
"data-splunk-visualization-version": "28.5.1 - 617766eb3"
|
|
927
936
|
})`
|
|
928
937
|
position: relative;
|
|
929
938
|
width: 100%;
|
|
@@ -945,18 +954,18 @@ var colorUtils_exports = {};
|
|
|
945
954
|
__export(colorUtils_exports, {
|
|
946
955
|
default: () => colorUtils_default
|
|
947
956
|
});
|
|
948
|
-
var
|
|
957
|
+
var defaultImport24 = __toESM(require("@splunk/visualizations-shared/colorUtils"));
|
|
949
958
|
__reExport(colorUtils_exports, require("@splunk/visualizations-shared/colorUtils"));
|
|
950
|
-
var colorUtils_default = "default" in
|
|
959
|
+
var colorUtils_default = "default" in defaultImport24 ? defaultImport24.default : defaultImport24;
|
|
951
960
|
|
|
952
961
|
// esm-externals:@splunk/visualizations-shared/style
|
|
953
962
|
var style_exports = {};
|
|
954
963
|
__export(style_exports, {
|
|
955
964
|
default: () => style_default
|
|
956
965
|
});
|
|
957
|
-
var
|
|
966
|
+
var defaultImport25 = __toESM(require("@splunk/visualizations-shared/style"));
|
|
958
967
|
__reExport(style_exports, require("@splunk/visualizations-shared/style"));
|
|
959
|
-
var style_default = "default" in
|
|
968
|
+
var style_default = "default" in defaultImport25 ? defaultImport25.default : defaultImport25;
|
|
960
969
|
|
|
961
970
|
// src/common/hocs/FixedSizeContainer.tsx
|
|
962
971
|
var Item = styled_components_default.div.attrs(({ width }) => ({
|
|
@@ -1013,7 +1022,7 @@ var withFixedSizeContainer = (Viz) => {
|
|
|
1013
1022
|
FixSizeItem,
|
|
1014
1023
|
{
|
|
1015
1024
|
"data-test": "fix-size-item",
|
|
1016
|
-
"data-splunk-visualization-version": "28.
|
|
1025
|
+
"data-splunk-visualization-version": "28.5.1 - 617766eb3",
|
|
1017
1026
|
width,
|
|
1018
1027
|
height,
|
|
1019
1028
|
backgroundColor
|
|
@@ -1104,9 +1113,9 @@ var numberUtils_exports = {};
|
|
|
1104
1113
|
__export(numberUtils_exports, {
|
|
1105
1114
|
default: () => numberUtils_default
|
|
1106
1115
|
});
|
|
1107
|
-
var
|
|
1116
|
+
var defaultImport26 = __toESM(require("@splunk/visualizations-shared/numberUtils"));
|
|
1108
1117
|
__reExport(numberUtils_exports, require("@splunk/visualizations-shared/numberUtils"));
|
|
1109
|
-
var numberUtils_default = "default" in
|
|
1118
|
+
var numberUtils_default = "default" in defaultImport26 ? defaultImport26.default : defaultImport26;
|
|
1110
1119
|
|
|
1111
1120
|
// src/common/utils/dataUtils.ts
|
|
1112
1121
|
var getFieldName = (field) => typeof field === "string" ? field : field.name;
|
|
@@ -1487,9 +1496,9 @@ var FeatureFlags_exports = {};
|
|
|
1487
1496
|
__export(FeatureFlags_exports, {
|
|
1488
1497
|
default: () => FeatureFlags_default
|
|
1489
1498
|
});
|
|
1490
|
-
var
|
|
1499
|
+
var defaultImport27 = __toESM(require("@splunk/visualization-context/FeatureFlags"));
|
|
1491
1500
|
__reExport(FeatureFlags_exports, require("@splunk/visualization-context/FeatureFlags"));
|
|
1492
|
-
var FeatureFlags_default = "default" in
|
|
1501
|
+
var FeatureFlags_default = "default" in defaultImport27 ? defaultImport27.default : defaultImport27;
|
|
1493
1502
|
|
|
1494
1503
|
// src/common/utils/featureFlagUtils.ts
|
|
1495
1504
|
var getFeatureFlag = (context, flagName) => {
|
|
@@ -1507,9 +1516,9 @@ var trellisUtils_exports = {};
|
|
|
1507
1516
|
__export(trellisUtils_exports, {
|
|
1508
1517
|
default: () => trellisUtils_default
|
|
1509
1518
|
});
|
|
1510
|
-
var
|
|
1519
|
+
var defaultImport28 = __toESM(require("@splunk/visualizations-shared/trellisUtils"));
|
|
1511
1520
|
__reExport(trellisUtils_exports, require("@splunk/visualizations-shared/trellisUtils"));
|
|
1512
|
-
var trellisUtils_default = "default" in
|
|
1521
|
+
var trellisUtils_default = "default" in defaultImport28 ? defaultImport28.default : defaultImport28;
|
|
1513
1522
|
|
|
1514
1523
|
// src/common/utils/trellisUtils.ts
|
|
1515
1524
|
var turnOffLegendDisplayWhenTrellisIsOn = (isTrellisOn, options) => {
|
|
@@ -1526,9 +1535,9 @@ var visualization_canvas_exports = {};
|
|
|
1526
1535
|
__export(visualization_canvas_exports, {
|
|
1527
1536
|
default: () => visualization_canvas_default
|
|
1528
1537
|
});
|
|
1529
|
-
var
|
|
1538
|
+
var defaultImport29 = __toESM(require("@splunk/visualization-canvas"));
|
|
1530
1539
|
__reExport(visualization_canvas_exports, require("@splunk/visualization-canvas"));
|
|
1531
|
-
var visualization_canvas_default = "default" in
|
|
1540
|
+
var visualization_canvas_default = "default" in defaultImport29 ? defaultImport29.default : defaultImport29;
|
|
1532
1541
|
|
|
1533
1542
|
// src/common/components/VizStyleWrapper.jsx
|
|
1534
1543
|
var VizStyleWrapper = styled_components_default.div.attrs(({ dataTestKey }) => ({
|
|
@@ -1550,9 +1559,9 @@ var Triangle_exports = {};
|
|
|
1550
1559
|
__export(Triangle_exports, {
|
|
1551
1560
|
default: () => Triangle_default
|
|
1552
1561
|
});
|
|
1553
|
-
var
|
|
1562
|
+
var defaultImport30 = __toESM(require("@splunk/react-icons/Triangle"));
|
|
1554
1563
|
__reExport(Triangle_exports, require("@splunk/react-icons/Triangle"));
|
|
1555
|
-
var Triangle_default = "default" in
|
|
1564
|
+
var Triangle_default = "default" in defaultImport30 ? defaultImport30.default : defaultImport30;
|
|
1556
1565
|
|
|
1557
1566
|
// src/common/chartingUtils.ts
|
|
1558
1567
|
var DEFAULT_LINE_WIDTH = 2;
|
|
@@ -1618,25 +1627,27 @@ var parseAxisValue = (val) => {
|
|
|
1618
1627
|
const num = typeof val === "number" ? val : Number.parseFloat(val);
|
|
1619
1628
|
return Number.isNaN(num) ? void 0 : num;
|
|
1620
1629
|
};
|
|
1621
|
-
var
|
|
1622
|
-
|
|
1630
|
+
var parseXAxisLineVisibility = (visibility) => {
|
|
1631
|
+
if (visibility === "hide") return false;
|
|
1632
|
+
if (visibility === "show") return true;
|
|
1633
|
+
return void 0;
|
|
1634
|
+
};
|
|
1623
1635
|
var getLegend = (props) => {
|
|
1624
1636
|
const legendPlacement = props == null ? void 0 : props.legendDisplay;
|
|
1625
|
-
const { isSeriesCompare } = props;
|
|
1637
|
+
const { isSeriesCompare, legendTruncation } = props;
|
|
1626
1638
|
const commonLegendProps = {
|
|
1627
1639
|
center: true,
|
|
1628
1640
|
fontSize: 12,
|
|
1629
1641
|
largerTiles: true,
|
|
1630
|
-
hideSeriesValue: !isSeriesCompare
|
|
1642
|
+
hideSeriesValue: !isSeriesCompare,
|
|
1631
1643
|
// Show values if in seriesCompare mode
|
|
1644
|
+
legendTruncation
|
|
1632
1645
|
};
|
|
1633
1646
|
switch (legendPlacement) {
|
|
1634
1647
|
case "off":
|
|
1635
1648
|
return false;
|
|
1636
1649
|
case "left":
|
|
1637
|
-
return (0, visualization_canvas_exports.LeftLegendFactory)(__spreadValues({
|
|
1638
|
-
width: isSeriesCompare ? SeriesCompareLegendWidth : SideLegendWidth
|
|
1639
|
-
}, commonLegendProps));
|
|
1650
|
+
return (0, visualization_canvas_exports.LeftLegendFactory)(__spreadValues({}, commonLegendProps));
|
|
1640
1651
|
case "bottom":
|
|
1641
1652
|
return (0, visualization_canvas_exports.BottomLegendFactory)(__spreadValues({
|
|
1642
1653
|
wrap: true
|
|
@@ -1646,9 +1657,7 @@ var getLegend = (props) => {
|
|
|
1646
1657
|
wrap: true
|
|
1647
1658
|
}, commonLegendProps));
|
|
1648
1659
|
default:
|
|
1649
|
-
return (0, visualization_canvas_exports.SideLegendFactory)(__spreadValues({
|
|
1650
|
-
width: isSeriesCompare ? SeriesCompareLegendWidth : SideLegendWidth
|
|
1651
|
-
}, commonLegendProps));
|
|
1660
|
+
return (0, visualization_canvas_exports.SideLegendFactory)(__spreadValues({}, commonLegendProps));
|
|
1652
1661
|
}
|
|
1653
1662
|
};
|
|
1654
1663
|
var getComputedAxisTitles = (inputAxisTitle, fields, axisTitleVisibility) => {
|
|
@@ -1709,9 +1718,7 @@ var getYScaleConfig = (label, yAxisAbbreviation, yAxisScale, yAxisLabelVisibilit
|
|
|
1709
1718
|
if (yAxisAbbreviation !== "none") {
|
|
1710
1719
|
yConfig.y.tickFmt = (v) => (0, visualization_canvas_exports.shortenNumber)(v, 1);
|
|
1711
1720
|
}
|
|
1712
|
-
if (yAxisAbbreviation
|
|
1713
|
-
yConfig.y.width = 55;
|
|
1714
|
-
} else {
|
|
1721
|
+
if (yAxisAbbreviation !== "none") {
|
|
1715
1722
|
yConfig.y.width = label && label.length > 0 ? 30 : 10;
|
|
1716
1723
|
}
|
|
1717
1724
|
if (yAxisLabelVisibility === "hide") {
|
|
@@ -1734,6 +1741,7 @@ var getY2ScaleConfig = (label, axisAbbreviation, axisScale, roundAxisLabelsToInt
|
|
|
1734
1741
|
y2Config.y2.type = scaleType;
|
|
1735
1742
|
if (axisAbbreviation !== "none") {
|
|
1736
1743
|
y2Config.y2.tickFmt = (v) => (0, visualization_canvas_exports.shortenNumber)(v, 1, roundAxisLabelsToInteger);
|
|
1744
|
+
y2Config.y2.width = label && label.length > 0 ? 50 : 10;
|
|
1737
1745
|
} else if (roundAxisLabelsToInteger) {
|
|
1738
1746
|
y2Config.y2.tickFmt = (v) => roundAxisLabelsToInteger ? Math.round(v).toString() : v.toString();
|
|
1739
1747
|
}
|
|
@@ -1749,7 +1757,7 @@ var getY2ScaleConfig = (label, axisAbbreviation, axisScale, roundAxisLabelsToInt
|
|
|
1749
1757
|
}
|
|
1750
1758
|
return y2Config;
|
|
1751
1759
|
};
|
|
1752
|
-
var getSeriesOverrides = (yfields, y2fields, lineWidth, overlayFields, y2Enabled, nullValueMode, markerDisplay, lineDashStyle, lineDashStylesByField) => {
|
|
1760
|
+
var getSeriesOverrides = (yfields, y2fields, lineWidth, overlayFields, y2Enabled, nullValueMode, markerDisplay, lineDashStyle, lineDashStylesByField, stepPosition, stepPositionsByField) => {
|
|
1753
1761
|
const seriesConfig = {};
|
|
1754
1762
|
let spanGaps;
|
|
1755
1763
|
let replaceNullsWithZero;
|
|
@@ -1776,6 +1784,8 @@ var getSeriesOverrides = (yfields, y2fields, lineWidth, overlayFields, y2Enabled
|
|
|
1776
1784
|
);
|
|
1777
1785
|
if (shouldAssignToY2) {
|
|
1778
1786
|
seriesConfig[field].overrides.scale = "y2";
|
|
1787
|
+
} else {
|
|
1788
|
+
seriesConfig[field].overrides.scale = "y";
|
|
1779
1789
|
}
|
|
1780
1790
|
}
|
|
1781
1791
|
if (overlayFields == null ? void 0 : overlayFields.includes(field)) {
|
|
@@ -1788,6 +1798,11 @@ var getSeriesOverrides = (yfields, y2fields, lineWidth, overlayFields, y2Enabled
|
|
|
1788
1798
|
if (fieldDashStyle) {
|
|
1789
1799
|
seriesConfig[field].lineDashStyle = fieldDashStyle;
|
|
1790
1800
|
}
|
|
1801
|
+
const hasFieldStepPosition = Object.hasOwn(stepPositionsByField || {}, field);
|
|
1802
|
+
const fieldStepPosition = hasFieldStepPosition ? stepPositionsByField == null ? void 0 : stepPositionsByField[field] : stepPosition;
|
|
1803
|
+
if (fieldStepPosition && fieldStepPosition !== "off") {
|
|
1804
|
+
seriesConfig[field].stepPosition = fieldStepPosition;
|
|
1805
|
+
}
|
|
1791
1806
|
if (replaceNullsWithZero !== void 0) {
|
|
1792
1807
|
seriesConfig[field].replaceNullsWithZero = replaceNullsWithZero;
|
|
1793
1808
|
}
|
|
@@ -2012,6 +2027,9 @@ var TimeSeriesChartWrapper = (props) => {
|
|
|
2012
2027
|
backgroundColor,
|
|
2013
2028
|
defaultFontColor,
|
|
2014
2029
|
additionalTooltipValues,
|
|
2030
|
+
xAxisLineVisibility: xAxisLineVisibility,
|
|
2031
|
+
yAxisLineVisibility,
|
|
2032
|
+
y2AxisLineVisibility,
|
|
2015
2033
|
showYAxisWithZero: showYAxisWithZeroFromProps,
|
|
2016
2034
|
showY2AxisWithZero: showY2AxisWithZeroFromProps
|
|
2017
2035
|
} = _a, otherOptions = __objRest(_a, [
|
|
@@ -2035,6 +2053,10 @@ var TimeSeriesChartWrapper = (props) => {
|
|
|
2035
2053
|
"backgroundColor",
|
|
2036
2054
|
"defaultFontColor",
|
|
2037
2055
|
"additionalTooltipValues",
|
|
2056
|
+
// Extract axis line visibility options from props
|
|
2057
|
+
"xAxisLineVisibility",
|
|
2058
|
+
"yAxisLineVisibility",
|
|
2059
|
+
"y2AxisLineVisibility",
|
|
2038
2060
|
// Extract showYAxisWithZero directly from props for accelerated render mode
|
|
2039
2061
|
"showYAxisWithZero",
|
|
2040
2062
|
"showY2AxisWithZero"
|
|
@@ -2047,6 +2069,7 @@ var TimeSeriesChartWrapper = (props) => {
|
|
|
2047
2069
|
fieldColors,
|
|
2048
2070
|
legendLabels: legendLabelsStr,
|
|
2049
2071
|
legendMode,
|
|
2072
|
+
legendTruncation,
|
|
2050
2073
|
"axisTitleX.text": xAxisTitleText,
|
|
2051
2074
|
"axisTitleY.text": yAxisTitleText,
|
|
2052
2075
|
"axisTitleY2.text": y2AxisTitleText,
|
|
@@ -2055,6 +2078,7 @@ var TimeSeriesChartWrapper = (props) => {
|
|
|
2055
2078
|
"axisTitleY2.visibility": y2AxisTitleVisibility,
|
|
2056
2079
|
"axisLabelsX.majorLabelVisibility": xAxisLabelVisibility,
|
|
2057
2080
|
"axisLabelsX.majorLabelStyle.rotation": xAxisLabelRotation,
|
|
2081
|
+
"axisLabelsX.maxLabelParts": xAxisMaxLabelParts,
|
|
2058
2082
|
"axisLabelsY.majorLabelVisibility": yAxisLabelVisibility,
|
|
2059
2083
|
"axisLabelsY.majorUnit": yAxisMajorUnitFromSimpleXML,
|
|
2060
2084
|
"axisLabelsY2.majorLabelVisibility": y2AxisLabelVisibility,
|
|
@@ -2072,6 +2096,8 @@ var TimeSeriesChartWrapper = (props) => {
|
|
|
2072
2096
|
lineWidth,
|
|
2073
2097
|
lineDashStyle,
|
|
2074
2098
|
fieldDashStyles: lineDashStylesByFieldStr,
|
|
2099
|
+
stepPosition,
|
|
2100
|
+
fieldStepPositions: stepPositionsByFieldStr,
|
|
2075
2101
|
yAxisMin: yAxisMinRaw,
|
|
2076
2102
|
yAxisMax: yAxisMaxRaw,
|
|
2077
2103
|
y2AxisMin: y2AxisMinRaw,
|
|
@@ -2082,6 +2108,8 @@ var TimeSeriesChartWrapper = (props) => {
|
|
|
2082
2108
|
showYMinorGridLines,
|
|
2083
2109
|
showY2MinorGridLines,
|
|
2084
2110
|
showLineSmoothing,
|
|
2111
|
+
xAxisMajorTickVisibility,
|
|
2112
|
+
xAxisMajorTickSize,
|
|
2085
2113
|
yAxisMajorTickVisibility,
|
|
2086
2114
|
y2AxisMajorTickVisibility,
|
|
2087
2115
|
yAxisMajorTickSize,
|
|
@@ -2098,10 +2126,14 @@ var TimeSeriesChartWrapper = (props) => {
|
|
|
2098
2126
|
const dataValuesDisplay = showDataLabels === "none" ? "off" : showDataLabels;
|
|
2099
2127
|
const showYAxisWithZero = showYAxisWithZeroFromProps != null ? showYAxisWithZeroFromProps : showYAxisWithZeroFromOptions;
|
|
2100
2128
|
const showY2AxisWithZero = showY2AxisWithZeroFromProps != null ? showY2AxisWithZeroFromProps : showY2AxisWithZeroFromOptions;
|
|
2129
|
+
const showXMajorTicks = xAxisMajorTickVisibility !== "hide";
|
|
2101
2130
|
const showYMajorTicks = yAxisMajorTickVisibility === "show";
|
|
2102
2131
|
const showY2MajorTicks = y2AxisMajorTickVisibility === "show";
|
|
2103
2132
|
const showYMinorTicks = yAxisMinorTickVisibility === "show";
|
|
2104
2133
|
const showY2MinorTicks = y2AxisMinorTickVisibility === "show";
|
|
2134
|
+
const showXAxisLine = parseXAxisLineVisibility(xAxisLineVisibility);
|
|
2135
|
+
const showYAxisLine = yAxisLineVisibility === "show";
|
|
2136
|
+
const showY2AxisLine = y2AxisLineVisibility === "show";
|
|
2105
2137
|
const yAxisMin = parseAxisValue(yAxisMinRaw);
|
|
2106
2138
|
const yAxisMax = parseAxisValue(yAxisMaxRaw);
|
|
2107
2139
|
const y2AxisMin = parseAxisValue(y2AxisMinRaw);
|
|
@@ -2116,13 +2148,15 @@ var TimeSeriesChartWrapper = (props) => {
|
|
|
2116
2148
|
y2AxisMajorUnitFromSimpleXML,
|
|
2117
2149
|
y2AxisMajorTickInterval
|
|
2118
2150
|
);
|
|
2119
|
-
const
|
|
2120
|
-
const
|
|
2121
|
-
const
|
|
2122
|
-
const
|
|
2151
|
+
const xAxisMajorTickSizeNum = xAxisMajorTickSize != null ? Number(xAxisMajorTickSize) : void 0;
|
|
2152
|
+
const yAxisMajorTickSizeNum = yAxisMajorTickSize != null ? Number(yAxisMajorTickSize) : void 0;
|
|
2153
|
+
const y2AxisMajorTickSizeNum = y2AxisMajorTickSize != null ? Number(y2AxisMajorTickSize) : void 0;
|
|
2154
|
+
const yAxisMinorTickSizeNum = yAxisMinorTickSize != null ? Number(yAxisMinorTickSize) : void 0;
|
|
2155
|
+
const y2AxisMinorTickSizeNum = y2AxisMinorTickSize != null ? Number(y2AxisMinorTickSize) : void 0;
|
|
2123
2156
|
const seriesColors = seriesColorsStr ? JSON.parse(seriesColorsStr) : void 0;
|
|
2124
2157
|
const seriesColorsByField = fieldColors ? JSON.parse(fieldColors) : void 0;
|
|
2125
2158
|
const lineDashStylesByField = lineDashStylesByFieldStr ? JSON.parse(lineDashStylesByFieldStr) : void 0;
|
|
2159
|
+
const stepPositionsByField = stepPositionsByFieldStr ? JSON.parse(stepPositionsByFieldStr) : void 0;
|
|
2126
2160
|
const legendLabels = parseArrayOption(legendLabelsStr);
|
|
2127
2161
|
const bgColor = backgroundColor || bgColorFromOptions;
|
|
2128
2162
|
const [containerWidth, setContainerWidth] = react_exports.useState(Number(props.width));
|
|
@@ -2210,7 +2244,9 @@ var TimeSeriesChartWrapper = (props) => {
|
|
|
2210
2244
|
nullValueMode,
|
|
2211
2245
|
markerDisplay,
|
|
2212
2246
|
lineDashStyle,
|
|
2213
|
-
lineDashStylesByField
|
|
2247
|
+
lineDashStylesByField,
|
|
2248
|
+
stepPosition,
|
|
2249
|
+
stepPositionsByField
|
|
2214
2250
|
),
|
|
2215
2251
|
[
|
|
2216
2252
|
yFields,
|
|
@@ -2221,7 +2257,9 @@ var TimeSeriesChartWrapper = (props) => {
|
|
|
2221
2257
|
nullValueMode,
|
|
2222
2258
|
markerDisplay,
|
|
2223
2259
|
lineDashStyle,
|
|
2224
|
-
lineDashStylesByField
|
|
2260
|
+
lineDashStylesByField,
|
|
2261
|
+
stepPosition,
|
|
2262
|
+
stepPositionsByField
|
|
2225
2263
|
]
|
|
2226
2264
|
);
|
|
2227
2265
|
const chartingEventAnnotations = (0, react_exports.useMemo)(
|
|
@@ -2236,9 +2274,14 @@ var TimeSeriesChartWrapper = (props) => {
|
|
|
2236
2274
|
() => __spreadValues(__spreadValues(__spreadValues({}, xScaleConfig), yScaleConfig), y2ScaleConfig),
|
|
2237
2275
|
[xScaleConfig, yScaleConfig, y2ScaleConfig]
|
|
2238
2276
|
);
|
|
2277
|
+
const isSeriesCompare = legendMode === "seriesCompare";
|
|
2239
2278
|
const legend = (0, react_exports.useMemo)(
|
|
2240
|
-
() => getLegend({
|
|
2241
|
-
|
|
2279
|
+
() => getLegend({
|
|
2280
|
+
legendDisplay: isSeriesCompare && legendDisplay !== "off" ? "right" : legendDisplay,
|
|
2281
|
+
isSeriesCompare,
|
|
2282
|
+
legendTruncation
|
|
2283
|
+
}),
|
|
2284
|
+
[legendDisplay, isSeriesCompare, legendTruncation]
|
|
2242
2285
|
);
|
|
2243
2286
|
const handleChartClick = react_exports.useCallback(
|
|
2244
2287
|
(event) => {
|
|
@@ -2343,6 +2386,7 @@ var TimeSeriesChartWrapper = (props) => {
|
|
|
2343
2386
|
seriesConfig: seriesOverrides,
|
|
2344
2387
|
legend,
|
|
2345
2388
|
legendLabels,
|
|
2389
|
+
legendTruncation,
|
|
2346
2390
|
isSeriesCompare: legendMode === "seriesCompare",
|
|
2347
2391
|
maxSeriesFocus: legendMode === "seriesCompare" ? 0 : void 0,
|
|
2348
2392
|
scaleConfig,
|
|
@@ -2364,6 +2408,8 @@ var TimeSeriesChartWrapper = (props) => {
|
|
|
2364
2408
|
showY2MinorGridLines,
|
|
2365
2409
|
showLineSmoothing,
|
|
2366
2410
|
dataValuesDisplay,
|
|
2411
|
+
showXMajorTicks,
|
|
2412
|
+
xAxisMajorTickSize: xAxisMajorTickSizeNum,
|
|
2367
2413
|
showYMajorTicks,
|
|
2368
2414
|
showY2MajorTicks,
|
|
2369
2415
|
yAxisMajorTickSize: yAxisMajorTickSizeNum,
|
|
@@ -2375,7 +2421,11 @@ var TimeSeriesChartWrapper = (props) => {
|
|
|
2375
2421
|
yAxisMinorTickSize: yAxisMinorTickSizeNum,
|
|
2376
2422
|
y2AxisMinorTickSize: y2AxisMinorTickSizeNum,
|
|
2377
2423
|
showYAxisWithZero,
|
|
2378
|
-
showY2AxisWithZero
|
|
2424
|
+
showY2AxisWithZero,
|
|
2425
|
+
showXAxisLine,
|
|
2426
|
+
showYAxisLine,
|
|
2427
|
+
showY2AxisLine,
|
|
2428
|
+
xAxisMaxLabelParts
|
|
2379
2429
|
}
|
|
2380
2430
|
));
|
|
2381
2431
|
}, [
|
|
@@ -2390,6 +2440,7 @@ var TimeSeriesChartWrapper = (props) => {
|
|
|
2390
2440
|
seriesOverrides,
|
|
2391
2441
|
legend,
|
|
2392
2442
|
legendLabels,
|
|
2443
|
+
legendTruncation,
|
|
2393
2444
|
scaleConfig,
|
|
2394
2445
|
onClick,
|
|
2395
2446
|
handleChartClick,
|
|
@@ -2408,6 +2459,8 @@ var TimeSeriesChartWrapper = (props) => {
|
|
|
2408
2459
|
showY2MinorGridLines,
|
|
2409
2460
|
showLineSmoothing,
|
|
2410
2461
|
dataValuesDisplay,
|
|
2462
|
+
showXMajorTicks,
|
|
2463
|
+
xAxisMajorTickSizeNum,
|
|
2411
2464
|
showYMajorTicks,
|
|
2412
2465
|
showY2MajorTicks,
|
|
2413
2466
|
yAxisMajorTickSizeNum,
|
|
@@ -2420,7 +2473,11 @@ var TimeSeriesChartWrapper = (props) => {
|
|
|
2420
2473
|
y2AxisMinorTickSizeNum,
|
|
2421
2474
|
showYAxisWithZero,
|
|
2422
2475
|
showY2AxisWithZero,
|
|
2423
|
-
|
|
2476
|
+
showXAxisLine,
|
|
2477
|
+
showYAxisLine,
|
|
2478
|
+
showY2AxisLine,
|
|
2479
|
+
legendMode,
|
|
2480
|
+
xAxisMaxLabelParts
|
|
2424
2481
|
]);
|
|
2425
2482
|
const memoizedVisualization = (0, react_exports.useMemo)(() => {
|
|
2426
2483
|
return /* @__PURE__ */ react_exports.createElement(VizStyleWrapper_default, { backgroundColor: bgColor }, memoizedChart);
|
|
@@ -2737,18 +2794,18 @@ var propUtils_exports = {};
|
|
|
2737
2794
|
__export(propUtils_exports, {
|
|
2738
2795
|
default: () => propUtils_default
|
|
2739
2796
|
});
|
|
2740
|
-
var
|
|
2797
|
+
var defaultImport31 = __toESM(require("@splunk/visualizations-shared/propUtils"));
|
|
2741
2798
|
__reExport(propUtils_exports, require("@splunk/visualizations-shared/propUtils"));
|
|
2742
|
-
var propUtils_default = "default" in
|
|
2799
|
+
var propUtils_default = "default" in defaultImport31 ? defaultImport31.default : defaultImport31;
|
|
2743
2800
|
|
|
2744
2801
|
// esm-externals:@splunk/react-ui/ScreenReaderContent
|
|
2745
2802
|
var ScreenReaderContent_exports = {};
|
|
2746
2803
|
__export(ScreenReaderContent_exports, {
|
|
2747
2804
|
default: () => ScreenReaderContent_default
|
|
2748
2805
|
});
|
|
2749
|
-
var
|
|
2806
|
+
var defaultImport32 = __toESM(require("@splunk/react-ui/ScreenReaderContent"));
|
|
2750
2807
|
__reExport(ScreenReaderContent_exports, require("@splunk/react-ui/ScreenReaderContent"));
|
|
2751
|
-
var ScreenReaderContent_default = "default" in
|
|
2808
|
+
var ScreenReaderContent_default = "default" in defaultImport32 ? defaultImport32.default : defaultImport32;
|
|
2752
2809
|
|
|
2753
2810
|
// src/common/shapeUtils.tsx
|
|
2754
2811
|
var shapeOptionsMapping = {
|