@splunk/visualizations 28.3.0 → 28.5.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.config.js +28 -8
- package/Area.config.js.map +2 -2
- package/Area.js +583 -120
- package/Area.js.map +3 -3
- package/Bar/Bar.d.ts.map +1 -1
- package/Bar.config.js +28 -8
- package/Bar.config.js.map +2 -2
- package/Bar.js +593 -120
- package/Bar.js.map +3 -3
- package/Bubble.config.js +4 -5
- package/Bubble.config.js.map +2 -2
- package/Bubble.js +554 -98
- package/Bubble.js.map +3 -3
- package/CHANGELOG.external.md +165 -0
- package/ChoroplethSvg/ChoroplethSvg.d.ts +4 -3
- package/ChoroplethSvg/ChoroplethSvg.d.ts.map +1 -1
- package/ChoroplethSvg.config.js +1 -3
- package/ChoroplethSvg.config.js.map +2 -2
- package/ChoroplethSvg.js +595 -111
- package/ChoroplethSvg.js.map +4 -4
- package/Column/Column.d.ts.map +1 -1
- package/Column.config.js +28 -8
- package/Column.config.js.map +2 -2
- package/Column.js +583 -120
- package/Column.js.map +3 -3
- package/Ellipse/config.d.ts.map +1 -1
- package/Ellipse.config.js +14 -5
- package/Ellipse.config.js.map +4 -4
- package/Ellipse.js +640 -159
- package/Ellipse.js.map +4 -4
- package/Events/PureEvents/PureEvents.d.ts.map +1 -1
- package/Events.js +668 -157
- package/Events.js.map +4 -4
- package/FillerGauge/FillerGauge.d.ts.map +1 -1
- package/FillerGauge/PureFillerGauge/FillerGauge.d.ts.map +1 -1
- package/FillerGauge.js +751 -169
- package/FillerGauge.js.map +4 -4
- package/Image/Image.d.ts.map +1 -1
- package/Image.js +620 -116
- package/Image.js.map +4 -4
- package/Line/Line.d.ts.map +1 -1
- package/Line/lineUtils.d.ts.map +1 -1
- package/Line/mockdata/LineData.d.ts +154 -0
- package/Line/mockdata/LineData.d.ts.map +1 -1
- package/Line.config.js +28 -8
- package/Line.config.js.map +2 -2
- package/Line.js +704 -122
- package/Line.js.map +3 -3
- package/LinkGraph/PureLinkGraph/PureLinkGraph.d.ts +5 -0
- package/LinkGraph/PureLinkGraph/PureLinkGraph.d.ts.map +1 -1
- package/LinkGraph/PureLinkGraph/PureLinkGraphUtils.d.ts.map +1 -1
- package/LinkGraph/PureLinkGraph/components/Graph.d.ts +9 -1
- package/LinkGraph/PureLinkGraph/components/Graph.d.ts.map +1 -1
- package/LinkGraph/PureLinkGraph/components/GraphStyles.d.ts.map +1 -1
- package/LinkGraph/PureLinkGraph/components/Node.d.ts +1 -0
- package/LinkGraph/PureLinkGraph/components/Node.d.ts.map +1 -1
- package/LinkGraph/PureLinkGraph/components/Nodes.d.ts +1 -0
- package/LinkGraph/PureLinkGraph/components/Nodes.d.ts.map +1 -1
- package/LinkGraph/PureLinkGraph/measurementUtils.d.ts +16 -0
- package/LinkGraph/PureLinkGraph/measurementUtils.d.ts.map +1 -0
- package/LinkGraph/PureLinkGraph/utils/iconLoader.d.ts.map +1 -1
- package/LinkGraph/config.d.ts.map +1 -1
- package/LinkGraph.config.js +15 -1
- package/LinkGraph.config.js.map +2 -2
- package/LinkGraph.js +1411 -662
- package/LinkGraph.js.map +4 -4
- package/Map/Map.d.ts +2 -2
- package/Map/Map.d.ts.map +1 -1
- package/Map/PureMap/BubbleLayer.d.ts +5 -0
- package/Map/PureMap/BubbleLayer.d.ts.map +1 -1
- package/Map/PureMap/ClusterLayer.d.ts.map +1 -1
- package/Map/PureMap/LocalChoroplethLayer.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/PureMap/PureMapContainer.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 +0 -1
- package/Map.config.js.map +2 -2
- package/Map.js +831 -247
- package/Map.js.map +4 -4
- package/Markdown/Markdown.d.ts.map +1 -1
- package/Markdown/config.d.ts.map +1 -1
- package/Markdown.config.js +14 -5
- package/Markdown.config.js.map +4 -4
- package/Markdown.js +619 -109
- package/Markdown.js.map +4 -4
- package/MarkerGauge/MarkerGauge.d.ts +5 -1
- package/MarkerGauge/MarkerGauge.d.ts.map +1 -1
- package/MarkerGauge/PureMarkerGauge/MarkerGauge.d.ts +4 -0
- package/MarkerGauge/PureMarkerGauge/MarkerGauge.d.ts.map +1 -1
- package/MarkerGauge/config.d.ts.map +1 -1
- package/MarkerGauge.config.js +121 -3
- package/MarkerGauge.config.js.map +3 -3
- package/MarkerGauge.js +1535 -172
- package/MarkerGauge.js.map +4 -4
- package/NetworkGraph/NetworkGraph.d.ts +22 -0
- package/NetworkGraph/NetworkGraph.d.ts.map +1 -0
- package/NetworkGraph/PureNetworkGraph/PureNetworkGraph.d.ts +60 -0
- package/NetworkGraph/PureNetworkGraph/PureNetworkGraph.d.ts.map +1 -0
- package/NetworkGraph/PureNetworkGraph/components/Link.d.ts +19 -0
- package/NetworkGraph/PureNetworkGraph/components/Link.d.ts.map +1 -0
- package/NetworkGraph/PureNetworkGraph/components/NetworkGraphSvg.d.ts +29 -0
- package/NetworkGraph/PureNetworkGraph/components/NetworkGraphSvg.d.ts.map +1 -0
- package/NetworkGraph/PureNetworkGraph/components/Node.d.ts +27 -0
- package/NetworkGraph/PureNetworkGraph/components/Node.d.ts.map +1 -0
- package/NetworkGraph/PureNetworkGraph/components/Tooltip.d.ts +12 -0
- package/NetworkGraph/PureNetworkGraph/components/Tooltip.d.ts.map +1 -0
- package/NetworkGraph/PureNetworkGraph/components/ZoomControls.d.ts +13 -0
- package/NetworkGraph/PureNetworkGraph/components/ZoomControls.d.ts.map +1 -0
- package/NetworkGraph/PureNetworkGraph/mockdata/data.d.ts +140 -0
- package/NetworkGraph/PureNetworkGraph/mockdata/data.d.ts.map +1 -0
- package/NetworkGraph/PureNetworkGraph/mockdata/datasource.d.ts +89 -0
- package/NetworkGraph/PureNetworkGraph/mockdata/datasource.d.ts.map +1 -0
- package/NetworkGraph/PureNetworkGraph/utils/dragUtils.d.ts +78 -0
- package/NetworkGraph/PureNetworkGraph/utils/dragUtils.d.ts.map +1 -0
- package/NetworkGraph/PureNetworkGraph/utils/forceLayout.d.ts +47 -0
- package/NetworkGraph/PureNetworkGraph/utils/forceLayout.d.ts.map +1 -0
- package/NetworkGraph/PureNetworkGraph/utils/iconLoader.d.ts +78 -0
- package/NetworkGraph/PureNetworkGraph/utils/iconLoader.d.ts.map +1 -0
- package/NetworkGraph/PureNetworkGraph/utils/networkGraphShared.d.ts +111 -0
- package/NetworkGraph/PureNetworkGraph/utils/networkGraphShared.d.ts.map +1 -0
- package/NetworkGraph/PureNetworkGraph/utils/networkGraphUtils.d.ts +122 -0
- package/NetworkGraph/PureNetworkGraph/utils/networkGraphUtils.d.ts.map +1 -0
- package/NetworkGraph/config.d.ts +4 -0
- package/NetworkGraph/config.d.ts.map +1 -0
- package/NetworkGraph/index.d.ts +3 -0
- package/NetworkGraph/index.d.ts.map +1 -0
- package/NetworkGraph.config.js +938 -0
- package/NetworkGraph.config.js.map +7 -0
- package/NetworkGraph.js +7053 -0
- package/NetworkGraph.js.map +7 -0
- 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 +664 -228
- 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 +610 -118
- package/Pie.js.map +3 -3
- package/Punchcard.js +579 -92
- package/Punchcard.js.map +4 -4
- package/Rectangle/config.d.ts.map +1 -1
- package/Rectangle.config.js +14 -5
- package/Rectangle.config.js.map +4 -4
- package/Rectangle.js +611 -130
- 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 +814 -429
- package/Sankey.js.map +4 -4
- package/Scatter/Scatter.d.ts.map +1 -1
- package/Scatter.config.js +168 -148
- package/Scatter.config.js.map +4 -4
- package/Scatter.js +733 -260
- 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 +15 -2
- package/SingleValue.config.js.map +2 -2
- package/SingleValue.js +733 -229
- package/SingleValue.js.map +3 -3
- 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 +14 -6
- package/SingleValueIcon.config.js.map +4 -4
- package/SingleValueIcon.js +612 -182
- package/SingleValueIcon.js.map +4 -4
- package/SingleValueRadial/PureSingleValueRadial/GaugeGraph.d.ts.map +1 -1
- 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.js +0 -1
- package/SingleValueRadial.config.js.map +2 -2
- package/SingleValueRadial.js +594 -182
- package/SingleValueRadial.js.map +4 -4
- package/SparkLine.js +46 -8
- package/SparkLine.js.map +2 -2
- package/Table/PureTable.d.ts +10 -0
- package/Table/PureTable.d.ts.map +1 -1
- package/Table/Table.d.ts.map +1 -1
- package/Table/cells/SparklineCell.d.ts.map +1 -1
- package/Table/config.d.ts.map +1 -1
- package/Table/hooks.d.ts +6 -0
- package/Table/hooks.d.ts.map +1 -1
- package/Table.config.js +1 -1
- package/Table.config.js.map +2 -2
- package/Table.js +836 -253
- package/Table.js.map +4 -4
- package/Timeline/PureTimeline/PureTimeline.d.ts.map +1 -1
- package/Timeline/PureTimeline/src/CursorPlugin.d.ts.map +1 -1
- package/Timeline/PureTimeline/src/TimelineLegend.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/config.d.ts.map +1 -1
- package/Timeline.config.js +31 -12
- package/Timeline.config.js.map +4 -4
- package/Timeline.js +785 -247
- package/Timeline.js.map +4 -4
- package/common/Charting.d.ts +5 -0
- package/common/Charting.d.ts.map +1 -1
- package/common/Charting.js +12 -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/ThemesDoc.js +0 -1
- package/common/ThemesDoc.js.map +2 -2
- package/common/TimeSeriesChartWrapper.d.ts +24 -11
- package/common/TimeSeriesChartWrapper.d.ts.map +1 -1
- package/common/TimeSeriesChartWrapper.js +617 -91
- package/common/TimeSeriesChartWrapper.js.map +4 -4
- package/common/chartingUtils.d.ts +52 -6
- package/common/chartingUtils.d.ts.map +1 -1
- package/common/chartingUtils.js +116 -17
- package/common/chartingUtils.js.map +3 -3
- 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/hocs/withTrellis.d.ts.map +1 -1
- package/common/interfaces/DashboardVizProps.d.ts +0 -3
- package/common/interfaces/DashboardVizProps.d.ts.map +1 -1
- package/common/interfaces/DataSource.d.ts +1 -1
- package/common/interfaces/DataSource.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/shapeUtils.js +5 -20
- package/common/shapeUtils.js.map +2 -2
- package/common/utils/dataUtils.d.ts.map +1 -1
- package/common/utils/dataUtils.js +5 -4
- package/common/utils/dataUtils.js.map +2 -2
- package/common/utils/mapUtils.js +16 -9
- package/common/utils/mapUtils.js.map +2 -2
- package/common/utils/singleValueUtils.js +17 -18
- package/common/utils/singleValueUtils.js.map +2 -2
- package/common/utils/textUtils.d.ts +20 -0
- package/common/utils/textUtils.d.ts.map +1 -0
- package/common/utils/textUtils.js +76 -0
- package/common/utils/textUtils.js.map +7 -0
- package/common/utils/trellisUtils.d.ts.map +1 -1
- package/common/utils/trellisUtils.js +16 -20
- package/common/utils/trellisUtils.js.map +2 -2
- package/common/withDashboardViz.d.ts.map +1 -1
- package/common/withDashboardViz.js +600 -92
- package/common/withDashboardViz.js.map +4 -4
- package/package.json +46 -39
- package/common/utils/styleUtils.d.ts +0 -2
- package/common/utils/styleUtils.d.ts.map +0 -1
- package/common/utils/styleUtils.js +0 -30
- package/common/utils/styleUtils.js.map +0 -7
package/Scatter/Scatter.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Scatter.d.ts","sourceRoot":"","sources":["../src/Scatter/Scatter.tsx"],"names":[],"mappings":"AAMA,OAAO,MAAM,MAAM,UAAU,CAAC;AAQ9B,eAAO,MAAM,eAAe,EAAE,GAiE7B,CAAC;AAEF,QAAA,MAAM,MAAM;
|
|
1
|
+
{"version":3,"file":"Scatter.d.ts","sourceRoot":"","sources":["../src/Scatter/Scatter.tsx"],"names":[],"mappings":"AAMA,OAAO,MAAM,MAAM,UAAU,CAAC;AAQ9B,eAAO,MAAM,eAAe,EAAE,GAiE7B,CAAC;AAEF,QAAA,MAAM,MAAM;sEAWswB,IAAK,OAAO;;;CAL7xB,CAAC;AACF,QAAA,MAAM,MAAM,KAAO,CAAC;AAEpB,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;AAC1B,eAAe,MAAM,CAAC"}
|
package/Scatter.config.js
CHANGED
|
@@ -248,7 +248,7 @@ var TrellisBackgroundColorEditor = {
|
|
|
248
248
|
showEditor: isTrellisEnabled
|
|
249
249
|
};
|
|
250
250
|
|
|
251
|
-
// src/common/editorConfig/
|
|
251
|
+
// src/common/editorConfig/AxesChartDataConfig.ts
|
|
252
252
|
var isTrellisFeatureFlagOn2 = ({ featureFlags }) => {
|
|
253
253
|
return Boolean(featureFlags == null ? void 0 : featureFlags.visualizations_enableTrellis);
|
|
254
254
|
};
|
|
@@ -256,146 +256,8 @@ var isTrellisEnabled2 = ({ options, featureFlags }) => {
|
|
|
256
256
|
const { splitByLayout = visualization_schemas_exports.LAYOUT_TYPE.Off } = options;
|
|
257
257
|
return isTrellisFeatureFlagOn2({ featureFlags }) && splitByLayout === visualization_schemas_exports.LAYOUT_TYPE.Trellis;
|
|
258
258
|
};
|
|
259
|
-
var
|
|
260
|
-
|
|
261
|
-
layout: [
|
|
262
|
-
[
|
|
263
|
-
{
|
|
264
|
-
label: (0, i18n_exports._)("Stack mode"),
|
|
265
|
-
option: "stackMode",
|
|
266
|
-
editor: "editor.select",
|
|
267
|
-
editorProps: {
|
|
268
|
-
values: [
|
|
269
|
-
{ label: (0, i18n_exports._)("Not stacked"), value: "auto" },
|
|
270
|
-
{ label: (0, i18n_exports._)("Stacked"), value: "stacked" },
|
|
271
|
-
{ label: (0, i18n_exports._)("Stacked 100%"), value: "stacked100" }
|
|
272
|
-
]
|
|
273
|
-
}
|
|
274
|
-
}
|
|
275
|
-
],
|
|
276
|
-
[
|
|
277
|
-
{
|
|
278
|
-
label: (0, i18n_exports._)("Null value display"),
|
|
279
|
-
option: "nullValueDisplay",
|
|
280
|
-
editor: "editor.radioBar",
|
|
281
|
-
editorProps: {
|
|
282
|
-
values: [
|
|
283
|
-
{ label: (0, i18n_exports._)("Gaps"), value: "gaps" },
|
|
284
|
-
{ label: (0, i18n_exports._)("Zero"), value: "zero" },
|
|
285
|
-
{ label: (0, i18n_exports._)("Connect"), value: "connect" }
|
|
286
|
-
]
|
|
287
|
-
}
|
|
288
|
-
}
|
|
289
|
-
],
|
|
290
|
-
[
|
|
291
|
-
{
|
|
292
|
-
label: (0, i18n_exports._)("Data value display"),
|
|
293
|
-
option: "dataValuesDisplay",
|
|
294
|
-
editor: "editor.radioBar",
|
|
295
|
-
editorProps: {
|
|
296
|
-
values: [
|
|
297
|
-
{ label: (0, i18n_exports._)("Off"), value: "off" },
|
|
298
|
-
{ label: (0, i18n_exports._)("All"), value: "all" },
|
|
299
|
-
{ label: (0, i18n_exports._)("Min/Max"), value: "minmax" }
|
|
300
|
-
]
|
|
301
|
-
}
|
|
302
|
-
}
|
|
303
|
-
],
|
|
304
|
-
[
|
|
305
|
-
{
|
|
306
|
-
label: (0, i18n_exports._)("Overlay fields"),
|
|
307
|
-
option: "overlayFields",
|
|
308
|
-
editor: "editor.columnMultiSelectionByFieldNameEditor",
|
|
309
|
-
editorProps: {
|
|
310
|
-
filterByTypes: ["number"]
|
|
311
|
-
},
|
|
312
|
-
isDisabled: isTrellisEnabled2
|
|
313
|
-
}
|
|
314
|
-
],
|
|
315
|
-
[
|
|
316
|
-
{
|
|
317
|
-
label: (0, i18n_exports._)("Split series"),
|
|
318
|
-
option: "showSplitSeries",
|
|
319
|
-
editor: "editor.toggle"
|
|
320
|
-
}
|
|
321
|
-
],
|
|
322
|
-
[
|
|
323
|
-
{
|
|
324
|
-
label: (0, i18n_exports._)("Independent y-axis for split series"),
|
|
325
|
-
option: "showIndependentYRanges",
|
|
326
|
-
editor: "editor.checkbox",
|
|
327
|
-
showEditor: ({ options }) => options.showSplitSeries
|
|
328
|
-
}
|
|
329
|
-
],
|
|
330
|
-
...TimechartTrellisEditorConfig
|
|
331
|
-
]
|
|
332
|
-
};
|
|
333
|
-
var AxesChartDataDisplayBar = {
|
|
334
|
-
label: AxesChartDataDisplayBase.label,
|
|
335
|
-
layout: [
|
|
336
|
-
AxesChartDataDisplayBase.layout[0],
|
|
337
|
-
// remove null value display editor at index 1
|
|
338
|
-
...AxesChartDataDisplayBase.layout.slice(2)
|
|
339
|
-
]
|
|
340
|
-
};
|
|
341
|
-
var AxesChartDataDisplayScatter = {
|
|
342
|
-
label: AxesChartDataDisplayBase.label,
|
|
343
|
-
layout: [
|
|
344
|
-
...TrellisEditorConfig,
|
|
345
|
-
[
|
|
346
|
-
{
|
|
347
|
-
label: (0, i18n_exports._)("Shared y-axis scale"),
|
|
348
|
-
option: "trellisSharedScale",
|
|
349
|
-
editor: "editor.checkbox",
|
|
350
|
-
showEditor: isTrellisEnabled2
|
|
351
|
-
}
|
|
352
|
-
]
|
|
353
|
-
]
|
|
354
|
-
};
|
|
355
|
-
var AxesChartDataDisplayColumn = {
|
|
356
|
-
label: AxesChartDataDisplayBase.label,
|
|
357
|
-
layout: [
|
|
358
|
-
AxesChartDataDisplayBase.layout[0],
|
|
359
|
-
// remove null value display and add data value display
|
|
360
|
-
AxesChartDataDisplayBase.layout[2],
|
|
361
|
-
[
|
|
362
|
-
{
|
|
363
|
-
label: (0, i18n_exports._)("Show tooltip on hover"),
|
|
364
|
-
option: "showTooltip",
|
|
365
|
-
editor: "editor.checkbox"
|
|
366
|
-
}
|
|
367
|
-
],
|
|
368
|
-
...AxesChartDataDisplayBase.layout.slice(3),
|
|
369
|
-
[
|
|
370
|
-
{
|
|
371
|
-
label: (0, i18n_exports._)("Column grouping mode"),
|
|
372
|
-
option: "columnGrouping",
|
|
373
|
-
editor: "editor.radioBar",
|
|
374
|
-
editorProps: {
|
|
375
|
-
values: [
|
|
376
|
-
{ label: (0, i18n_exports._)("Auto"), value: "auto" },
|
|
377
|
-
{ label: (0, i18n_exports._)("Overlay"), value: "overlay" }
|
|
378
|
-
]
|
|
379
|
-
}
|
|
380
|
-
}
|
|
381
|
-
]
|
|
382
|
-
]
|
|
383
|
-
};
|
|
384
|
-
var AxesChartDataDisplayLine = {
|
|
385
|
-
label: AxesChartDataDisplayBase.label,
|
|
386
|
-
layout: [
|
|
387
|
-
// remove stacked mode editor
|
|
388
|
-
...AxesChartDataDisplayBase.layout.slice(1)
|
|
389
|
-
]
|
|
390
|
-
};
|
|
391
|
-
|
|
392
|
-
// src/common/editorConfig/AxesChartDataConfig.ts
|
|
393
|
-
var isTrellisFeatureFlagOn3 = ({ featureFlags }) => {
|
|
394
|
-
return Boolean(featureFlags == null ? void 0 : featureFlags.visualizations_enableTrellis);
|
|
395
|
-
};
|
|
396
|
-
var isTrellisEnabled3 = ({ options, featureFlags }) => {
|
|
397
|
-
const { splitByLayout = visualization_schemas_exports.LAYOUT_TYPE.Off } = options;
|
|
398
|
-
return isTrellisFeatureFlagOn3({ featureFlags }) && splitByLayout === visualization_schemas_exports.LAYOUT_TYPE.Trellis;
|
|
259
|
+
var isAcceleratedRenderFeatureFlagOn = ({ featureFlags }) => {
|
|
260
|
+
return Boolean(featureFlags == null ? void 0 : featureFlags.visualizations_enableAcceleratedRender);
|
|
399
261
|
};
|
|
400
262
|
var AxesChartDataConfig = {
|
|
401
263
|
label: (0, i18n_exports._)("Data configurations"),
|
|
@@ -458,7 +320,7 @@ var AxesChartDataConfigBar = {
|
|
|
458
320
|
supportsDSL: true,
|
|
459
321
|
expectedDataPrimitive: ["series", "frame"]
|
|
460
322
|
},
|
|
461
|
-
isDisabled:
|
|
323
|
+
isDisabled: isTrellisEnabled2
|
|
462
324
|
}
|
|
463
325
|
])
|
|
464
326
|
};
|
|
@@ -530,9 +392,6 @@ var AxesChartDataConfigBubble = {
|
|
|
530
392
|
}
|
|
531
393
|
])
|
|
532
394
|
};
|
|
533
|
-
var isAcceleratedRenderFeatureFlagOn = ({ featureFlags }) => {
|
|
534
|
-
return Boolean(featureFlags == null ? void 0 : featureFlags.visualizations_enableAcceleratedRender);
|
|
535
|
-
};
|
|
536
395
|
var AcceleratedRenderEditorLayout = [
|
|
537
396
|
[
|
|
538
397
|
{
|
|
@@ -542,10 +401,9 @@ var AcceleratedRenderEditorLayout = [
|
|
|
542
401
|
showEditor: isAcceleratedRenderFeatureFlagOn,
|
|
543
402
|
editorProps: {
|
|
544
403
|
help: (0, i18n_exports._)(
|
|
545
|
-
"Render visualizations faster for large datasets.
|
|
404
|
+
"Render visualizations faster for large datasets. Split series is not available in this mode."
|
|
546
405
|
),
|
|
547
406
|
helpFormat: "under"
|
|
548
|
-
// TODO: uncomment and replace link with real link (SCP-75907)
|
|
549
407
|
// helpTextLink: {
|
|
550
408
|
// href: 'https://splunkui.splunk.com/Packages/visualizations/Overview',
|
|
551
409
|
// label: 'Learn More.',
|
|
@@ -588,6 +446,168 @@ var AxesChartDataConfigLine = __spreadProps(__spreadValues({}, AxesChartDataConf
|
|
|
588
446
|
layout: [...AcceleratedRenderEditorLayout, ...AxesChartDataConfigAreaColumnLine.layout]
|
|
589
447
|
});
|
|
590
448
|
|
|
449
|
+
// src/common/editorConfig/AxesChartDataDisplay.ts
|
|
450
|
+
var isTrellisFeatureFlagOn3 = ({ featureFlags }) => {
|
|
451
|
+
return Boolean(featureFlags == null ? void 0 : featureFlags.visualizations_enableTrellis);
|
|
452
|
+
};
|
|
453
|
+
var isTrellisEnabled3 = ({ options, featureFlags }) => {
|
|
454
|
+
const { splitByLayout = visualization_schemas_exports.LAYOUT_TYPE.Off } = options;
|
|
455
|
+
return isTrellisFeatureFlagOn3({ featureFlags }) && splitByLayout === visualization_schemas_exports.LAYOUT_TYPE.Trellis;
|
|
456
|
+
};
|
|
457
|
+
var isAcceleratedRenderEnabled = ({ options, featureFlags }) => {
|
|
458
|
+
const { acceleratedRender } = options;
|
|
459
|
+
return isAcceleratedRenderFeatureFlagOn({ featureFlags }) && acceleratedRender;
|
|
460
|
+
};
|
|
461
|
+
var AxesChartDataDisplayBase = {
|
|
462
|
+
label: (0, i18n_exports._)("Data display"),
|
|
463
|
+
layout: [
|
|
464
|
+
[
|
|
465
|
+
{
|
|
466
|
+
label: (0, i18n_exports._)("Stack mode"),
|
|
467
|
+
option: "stackMode",
|
|
468
|
+
editor: "editor.select",
|
|
469
|
+
editorProps: {
|
|
470
|
+
values: [
|
|
471
|
+
{ label: (0, i18n_exports._)("Not stacked"), value: "auto" },
|
|
472
|
+
{ label: (0, i18n_exports._)("Stacked"), value: "stacked" },
|
|
473
|
+
{ label: (0, i18n_exports._)("Stacked 100%"), value: "stacked100" }
|
|
474
|
+
]
|
|
475
|
+
}
|
|
476
|
+
}
|
|
477
|
+
],
|
|
478
|
+
[
|
|
479
|
+
{
|
|
480
|
+
label: (0, i18n_exports._)("Null value display"),
|
|
481
|
+
option: "nullValueDisplay",
|
|
482
|
+
editor: "editor.radioBar",
|
|
483
|
+
editorProps: {
|
|
484
|
+
values: [
|
|
485
|
+
{ label: (0, i18n_exports._)("Gaps"), value: "gaps" },
|
|
486
|
+
{ label: (0, i18n_exports._)("Zero"), value: "zero" },
|
|
487
|
+
{ label: (0, i18n_exports._)("Connect"), value: "connect" }
|
|
488
|
+
]
|
|
489
|
+
}
|
|
490
|
+
}
|
|
491
|
+
],
|
|
492
|
+
[
|
|
493
|
+
{
|
|
494
|
+
label: (0, i18n_exports._)("Data value display"),
|
|
495
|
+
option: "dataValuesDisplay",
|
|
496
|
+
editor: "editor.radioBar",
|
|
497
|
+
editorProps: {
|
|
498
|
+
values: [
|
|
499
|
+
{ label: (0, i18n_exports._)("Off"), value: "off" },
|
|
500
|
+
{ label: (0, i18n_exports._)("All"), value: "all" },
|
|
501
|
+
{ label: (0, i18n_exports._)("Min/Max"), value: "minmax" }
|
|
502
|
+
]
|
|
503
|
+
}
|
|
504
|
+
}
|
|
505
|
+
],
|
|
506
|
+
[
|
|
507
|
+
{
|
|
508
|
+
label: (0, i18n_exports._)("Overlay fields"),
|
|
509
|
+
option: "overlayFields",
|
|
510
|
+
editor: "editor.columnMultiSelectionByFieldNameEditor",
|
|
511
|
+
editorProps: {
|
|
512
|
+
filterByTypes: ["number"]
|
|
513
|
+
},
|
|
514
|
+
isDisabled: isTrellisEnabled3
|
|
515
|
+
}
|
|
516
|
+
],
|
|
517
|
+
[
|
|
518
|
+
{
|
|
519
|
+
label: (0, i18n_exports._)("Split series"),
|
|
520
|
+
option: "showSplitSeries",
|
|
521
|
+
editor: "editor.toggle",
|
|
522
|
+
isDisabled: isAcceleratedRenderEnabled
|
|
523
|
+
}
|
|
524
|
+
],
|
|
525
|
+
[
|
|
526
|
+
{
|
|
527
|
+
label: (0, i18n_exports._)("Independent y-axis for split series"),
|
|
528
|
+
option: "showIndependentYRanges",
|
|
529
|
+
editor: "editor.checkbox",
|
|
530
|
+
showEditor: ({ options, featureFlags }) => options.showSplitSeries && !isAcceleratedRenderEnabled({ options, featureFlags })
|
|
531
|
+
}
|
|
532
|
+
],
|
|
533
|
+
[
|
|
534
|
+
{
|
|
535
|
+
label: (0, i18n_exports._)("Step position"),
|
|
536
|
+
option: "stepPosition",
|
|
537
|
+
editor: "editor.radioBar",
|
|
538
|
+
editorProps: {
|
|
539
|
+
values: [
|
|
540
|
+
{ label: (0, i18n_exports._)("Off"), value: "off" },
|
|
541
|
+
{ label: (0, i18n_exports._)("Before"), value: "before" },
|
|
542
|
+
{ label: (0, i18n_exports._)("After"), value: "after" }
|
|
543
|
+
]
|
|
544
|
+
},
|
|
545
|
+
showEditor: ({ options, featureFlags }) => isAcceleratedRenderEnabled({ options, featureFlags })
|
|
546
|
+
// step position is only supported when accelerated render is enabled
|
|
547
|
+
}
|
|
548
|
+
],
|
|
549
|
+
...TimechartTrellisEditorConfig
|
|
550
|
+
]
|
|
551
|
+
};
|
|
552
|
+
var AxesChartDataDisplayBar = {
|
|
553
|
+
label: AxesChartDataDisplayBase.label,
|
|
554
|
+
layout: [
|
|
555
|
+
AxesChartDataDisplayBase.layout[0],
|
|
556
|
+
// remove null value display editor at index 1
|
|
557
|
+
...AxesChartDataDisplayBase.layout.slice(2)
|
|
558
|
+
]
|
|
559
|
+
};
|
|
560
|
+
var AxesChartDataDisplayScatter = {
|
|
561
|
+
label: AxesChartDataDisplayBase.label,
|
|
562
|
+
layout: [
|
|
563
|
+
...TrellisEditorConfig,
|
|
564
|
+
[
|
|
565
|
+
{
|
|
566
|
+
label: (0, i18n_exports._)("Shared y-axis scale"),
|
|
567
|
+
option: "trellisSharedScale",
|
|
568
|
+
editor: "editor.checkbox",
|
|
569
|
+
showEditor: isTrellisEnabled3
|
|
570
|
+
}
|
|
571
|
+
]
|
|
572
|
+
]
|
|
573
|
+
};
|
|
574
|
+
var AxesChartDataDisplayColumn = {
|
|
575
|
+
label: AxesChartDataDisplayBase.label,
|
|
576
|
+
layout: [
|
|
577
|
+
AxesChartDataDisplayBase.layout[0],
|
|
578
|
+
// remove null value display and add data value display
|
|
579
|
+
AxesChartDataDisplayBase.layout[2],
|
|
580
|
+
[
|
|
581
|
+
{
|
|
582
|
+
label: (0, i18n_exports._)("Show tooltip on hover"),
|
|
583
|
+
option: "showTooltip",
|
|
584
|
+
editor: "editor.checkbox"
|
|
585
|
+
}
|
|
586
|
+
],
|
|
587
|
+
...AxesChartDataDisplayBase.layout.slice(3),
|
|
588
|
+
[
|
|
589
|
+
{
|
|
590
|
+
label: (0, i18n_exports._)("Column grouping mode"),
|
|
591
|
+
option: "columnGrouping",
|
|
592
|
+
editor: "editor.radioBar",
|
|
593
|
+
editorProps: {
|
|
594
|
+
values: [
|
|
595
|
+
{ label: (0, i18n_exports._)("Auto"), value: "auto" },
|
|
596
|
+
{ label: (0, i18n_exports._)("Overlay"), value: "overlay" }
|
|
597
|
+
]
|
|
598
|
+
}
|
|
599
|
+
}
|
|
600
|
+
]
|
|
601
|
+
]
|
|
602
|
+
};
|
|
603
|
+
var AxesChartDataDisplayLine = {
|
|
604
|
+
label: AxesChartDataDisplayBase.label,
|
|
605
|
+
layout: [
|
|
606
|
+
// remove stacked mode editor
|
|
607
|
+
...AxesChartDataDisplayBase.layout.slice(1)
|
|
608
|
+
]
|
|
609
|
+
};
|
|
610
|
+
|
|
591
611
|
// src/common/editorConfig/AxesChartXGridAndLabels.ts
|
|
592
612
|
var AxesChartXGridAndLabelsCommon = {
|
|
593
613
|
label: (0, i18n_exports._)("X-axis grid and labels"),
|
|
@@ -983,7 +1003,7 @@ var AxesChartLegendWithTrellisAndMode = ({
|
|
|
983
1003
|
{ label: (0, i18n_exports._)("Bottom"), value: "bottom" },
|
|
984
1004
|
{ label: (0, i18n_exports._)("Off"), value: "off" }
|
|
985
1005
|
],
|
|
986
|
-
tooltip: showLegendTooltip
|
|
1006
|
+
tooltip: showLegendTooltip ? (0, i18n_exports._)('Legend mode must be "Standard" to configure legend display') : void 0
|
|
987
1007
|
},
|
|
988
1008
|
isDisabled: showLegendTooltip ? ({ options }) => options.legendMode === "seriesCompare" : void 0,
|
|
989
1009
|
overrideDefaultValue: ({ options }) => (options == null ? void 0 : options.splitByLayout) === "trellis" ? "off" : "right"
|