@splunk/visualizations 25.0.0 → 25.0.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/.loki/reference/chrome_docker_PureVisualizations_PureMap_basic.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMap_marker_layer_dynamic_color.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMap_marker_layer_static_color.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMap_marker_layer_static_color_with_no_seriesColors.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMap_scale_off.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMap_scale_unit_metric.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Area_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Bar_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Bubble_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_ChoroplethSvg_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Column_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Ellipse_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_FillerGauge_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Image_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Line_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_LinkGraph_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Map_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Markdown_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_MarkerGauge_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Parallel_Coordinates_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Pie_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Punchcard_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Rectangle_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Sankey_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Scatter_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Single_Value_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Single_Value_Icon_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Single_Value_Radial_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Table_Editor.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Placeholder_if_datasource_does_not_have_any_data.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Placeholder_if_viz_does_not_connect_to_datasource.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Basic_Map.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Bubble_Layer.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Bubble_Layer_Geostats_By_GET.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Bubble_Layer_Geostats_By_GET_Dynamic_Coloring.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Bubble_Layer_Geostats_By_Internal_Fields.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Bubble_Layer_Geostats_By_Static_Coloring.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Bubble_Layer_Geostats_Dynamic_Coloring.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Marker_layer.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Marker_layer_Dynamic_coloring.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Marker_layer_Result_Limit_Set_To_3.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Restricted_Zoom.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Set_Map_tiles.png +0 -0
- package/Area.config.js +26 -1
- package/Area.config.js.map +1 -1
- package/Area.js +49 -23
- package/Area.js.map +1 -1
- package/Bar.config.js +26 -1
- package/Bar.config.js.map +1 -1
- package/Bar.js +49 -23
- package/Bar.js.map +1 -1
- package/Bubble.config.js +26 -1
- package/Bubble.config.js.map +1 -1
- package/Bubble.js +49 -23
- package/Bubble.js.map +1 -1
- package/ChoroplethSvg.config.js +27 -3
- package/ChoroplethSvg.config.js.map +1 -1
- package/ChoroplethSvg.js +73 -48
- package/ChoroplethSvg.js.map +1 -1
- package/Column.config.js +26 -1
- package/Column.config.js.map +1 -1
- package/Column.js +49 -23
- package/Column.js.map +1 -1
- package/Ellipse.config.js +26 -1
- package/Ellipse.config.js.map +1 -1
- package/Ellipse.js +58 -32
- package/Ellipse.js.map +1 -1
- package/FillerGauge.config.js +27 -2
- package/FillerGauge.config.js.map +1 -1
- package/FillerGauge.js +60 -34
- package/FillerGauge.js.map +1 -1
- package/Image.config.js +27 -3
- package/Image.config.js.map +1 -1
- package/Image.js +58 -34
- package/Image.js.map +1 -1
- package/Line.config.js +26 -1
- package/Line.config.js.map +1 -1
- package/Line.js +49 -23
- package/Line.js.map +1 -1
- package/LinkGraph.config.js +26 -1
- package/LinkGraph.config.js.map +1 -1
- package/LinkGraph.js +87 -61
- package/LinkGraph.js.map +1 -1
- package/Map.config.js +42 -5
- package/Map.config.js.map +1 -1
- package/Map.js +100 -60
- package/Map.js.map +1 -1
- package/Markdown.config.js +28 -5
- package/Markdown.config.js.map +1 -1
- package/Markdown.js +58 -35
- package/Markdown.js.map +1 -1
- package/MarkerGauge.config.js +31 -7
- package/MarkerGauge.config.js.map +1 -1
- package/MarkerGauge.js +2939 -3022
- package/MarkerGauge.js.map +1 -1
- package/ParallelCoordinates.config.js +35 -10
- package/ParallelCoordinates.config.js.map +1 -1
- package/ParallelCoordinates.js +61 -35
- package/ParallelCoordinates.js.map +1 -1
- package/Pie.config.js +32 -8
- package/Pie.config.js.map +1 -1
- package/Pie.js +2242 -2330
- package/Pie.js.map +1 -1
- package/Punchcard.config.js +28 -5
- package/Punchcard.config.js.map +1 -1
- package/Punchcard.js +72 -48
- package/Punchcard.js.map +1 -1
- package/Rectangle.config.js +28 -3
- package/Rectangle.config.js.map +1 -1
- package/Rectangle.js +155 -130
- package/Rectangle.js.map +1 -1
- package/Sankey.config.js +30 -5
- package/Sankey.config.js.map +1 -1
- package/Sankey.js +107 -82
- package/Sankey.js.map +1 -1
- package/Scatter.config.js +29 -3
- package/Scatter.config.js.map +1 -1
- package/Scatter.js +47 -22
- package/Scatter.js.map +1 -1
- package/SingleValue.config.js +33 -7
- package/SingleValue.config.js.map +1 -1
- package/SingleValue.js +63 -38
- package/SingleValue.js.map +1 -1
- package/SingleValueBasic.js +2 -2
- package/SingleValueIcon.config.js +31 -5
- package/SingleValueIcon.config.js.map +1 -1
- package/SingleValueIcon.js +71 -45
- package/SingleValueIcon.js.map +1 -1
- package/SingleValueRadial.config.js +160 -165
- package/SingleValueRadial.config.js.map +1 -1
- package/SingleValueRadial.js +112 -87
- package/SingleValueRadial.js.map +1 -1
- package/Table.config.js +31 -6
- package/Table.config.js.map +1 -1
- package/Table.js +249 -224
- package/Table.js.map +1 -1
- package/common/OptionsDoc.js +26 -1
- package/common/OptionsDoc.js.map +1 -1
- package/common/utils/configUtils.js +26 -1
- package/common/utils/configUtils.js.map +1 -1
- package/common/withDashboardViz.js +2 -2
- package/package.json +10 -10
package/Column.js
CHANGED
|
@@ -87,7 +87,7 @@ module.exports =
|
|
|
87
87
|
/******/
|
|
88
88
|
/******/
|
|
89
89
|
/******/ // Load entry module and return exports
|
|
90
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
90
|
+
/******/ return __webpack_require__(__webpack_require__.s = 167);
|
|
91
91
|
/******/ })
|
|
92
92
|
/************************************************************************/
|
|
93
93
|
/******/ ([
|
|
@@ -184,7 +184,7 @@ var __rest = this && this.__rest || function (s, e) {
|
|
|
184
184
|
Object.defineProperty(exports, "__esModule", {
|
|
185
185
|
value: true
|
|
186
186
|
});
|
|
187
|
-
exports.insertLayout = exports.generatePrecisionValues = exports.getInitialPreset = exports.isDynamicOption = exports.enhanceOptionsSchemaWithDynamicOptions = exports.enhanceConfig = void 0;
|
|
187
|
+
exports.insertLayout = exports.uncollapseEditorConfig = exports.generatePrecisionValues = exports.getInitialPreset = exports.isDynamicOption = exports.enhanceOptionsSchemaWithDynamicOptions = exports.enhanceConfig = void 0;
|
|
188
188
|
|
|
189
189
|
var lodash_1 = __webpack_require__(2);
|
|
190
190
|
|
|
@@ -259,8 +259,10 @@ function enhanceOptionsSchemaWithDynamicOptions(optionsSchema) {
|
|
|
259
259
|
exports.enhanceOptionsSchemaWithDynamicOptions = enhanceOptionsSchemaWithDynamicOptions;
|
|
260
260
|
/**
|
|
261
261
|
* Helper function to enhance a Visualization Config as needed based on behaviors specified in supports block
|
|
262
|
+
* this function also collapse all editor panels
|
|
262
263
|
* @param vizConfig a Visualization Config
|
|
263
264
|
* @returns an enhanced Visualization Config containing updated config entries based on behaviors it supports
|
|
265
|
+
* and containing `open: false` for all editor panels in editorConfig
|
|
264
266
|
*/
|
|
265
267
|
|
|
266
268
|
function enhanceConfig(vizConfig) {
|
|
@@ -270,10 +272,33 @@ function enhanceConfig(vizConfig) {
|
|
|
270
272
|
enhancedConfig.optionsSchema = enhanceOptionsSchemaWithDynamicOptions(vizConfig.optionsSchema);
|
|
271
273
|
}
|
|
272
274
|
|
|
275
|
+
enhancedConfig.editorConfig = vizConfig.editorConfig.map(function (config) {
|
|
276
|
+
return Object.assign(Object.assign({}, config), {
|
|
277
|
+
open: false
|
|
278
|
+
});
|
|
279
|
+
});
|
|
273
280
|
return enhancedConfig;
|
|
274
281
|
}
|
|
275
282
|
|
|
276
283
|
exports.enhanceConfig = enhanceConfig;
|
|
284
|
+
/**
|
|
285
|
+
* Helper function to uncollapse all editor panels by adding `open: true` to the editorConfig
|
|
286
|
+
* Created for editor unit tests
|
|
287
|
+
* @param vizConfig a Visualization Config
|
|
288
|
+
* @returns a Visualization Config containing `open: true` for all editor panels in editorConfig
|
|
289
|
+
*/
|
|
290
|
+
|
|
291
|
+
function uncollapseEditorConfig(vizConfig) {
|
|
292
|
+
var editorPanelUncollapsedConfig = vizConfig;
|
|
293
|
+
editorPanelUncollapsedConfig.editorConfig = vizConfig.editorConfig.map(function (config) {
|
|
294
|
+
return Object.assign(Object.assign({}, config), {
|
|
295
|
+
open: true
|
|
296
|
+
});
|
|
297
|
+
});
|
|
298
|
+
return editorPanelUncollapsedConfig;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
exports.uncollapseEditorConfig = uncollapseEditorConfig;
|
|
277
302
|
|
|
278
303
|
function isDynamicOption(option) {
|
|
279
304
|
return option && typeof option === 'string' && option.trim().startsWith('>') || false;
|
|
@@ -381,7 +406,7 @@ module.exports = require("@babel/runtime/helpers/defineProperty");
|
|
|
381
406
|
"use strict";
|
|
382
407
|
|
|
383
408
|
|
|
384
|
-
var _typeof = __webpack_require__(
|
|
409
|
+
var _typeof = __webpack_require__(25);
|
|
385
410
|
|
|
386
411
|
Object.defineProperty(exports, "__esModule", {
|
|
387
412
|
value: true
|
|
@@ -566,7 +591,7 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
|
|
|
566
591
|
|
|
567
592
|
return React.createElement(FixSizeItem, {
|
|
568
593
|
"data-test": "fix-size-item",
|
|
569
|
-
"data-splunk-visualization-version": "25.0.
|
|
594
|
+
"data-splunk-visualization-version": "25.0.1 - de10ad954",
|
|
570
595
|
width: width,
|
|
571
596
|
height: height,
|
|
572
597
|
backgroundColor: backgroundColor
|
|
@@ -630,14 +655,8 @@ module.exports = require("@splunk/visualization-context/TimezoneContext");
|
|
|
630
655
|
module.exports = require("@splunk/visualizations-shared/propUtils");
|
|
631
656
|
|
|
632
657
|
/***/ }),
|
|
633
|
-
/* 23
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
module.exports = require("@babel/runtime/helpers/typeof");
|
|
637
|
-
|
|
638
|
-
/***/ }),
|
|
639
|
-
/* 24 */,
|
|
640
|
-
/* 25 */
|
|
658
|
+
/* 23 */,
|
|
659
|
+
/* 24 */
|
|
641
660
|
/***/ (function(module, exports, __webpack_require__) {
|
|
642
661
|
|
|
643
662
|
"use strict";
|
|
@@ -669,6 +688,12 @@ var pickFieldFromJSONSchema = function pickFieldFromJSONSchema(optionsSchema) {
|
|
|
669
688
|
|
|
670
689
|
exports.pickFieldFromJSONSchema = pickFieldFromJSONSchema;
|
|
671
690
|
|
|
691
|
+
/***/ }),
|
|
692
|
+
/* 25 */
|
|
693
|
+
/***/ (function(module, exports) {
|
|
694
|
+
|
|
695
|
+
module.exports = require("@babel/runtime/helpers/typeof");
|
|
696
|
+
|
|
672
697
|
/***/ }),
|
|
673
698
|
/* 26 */
|
|
674
699
|
/***/ (function(module, exports, __webpack_require__) {
|
|
@@ -959,7 +984,7 @@ var getPagination_1 = __webpack_require__(28);
|
|
|
959
984
|
|
|
960
985
|
var useDeepMemo_1 = __webpack_require__(38);
|
|
961
986
|
|
|
962
|
-
var JSONSchemaUtils_1 = __webpack_require__(
|
|
987
|
+
var JSONSchemaUtils_1 = __webpack_require__(24);
|
|
963
988
|
|
|
964
989
|
var MissingPropsMessage_1 = __webpack_require__(39);
|
|
965
990
|
|
|
@@ -1539,7 +1564,7 @@ var Cover = styled_components_1.default.div.withConfig({
|
|
|
1539
1564
|
componentId: "sc-1gsbnxb-0"
|
|
1540
1565
|
})(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
|
|
1541
1566
|
var Blocker = styled_components_1.default.div.attrs({
|
|
1542
|
-
'data-splunk-visualization-version': "25.0.
|
|
1567
|
+
'data-splunk-visualization-version': "25.0.1 - de10ad954"
|
|
1543
1568
|
}).withConfig({
|
|
1544
1569
|
displayName: "withEditModeCover__Blocker",
|
|
1545
1570
|
componentId: "sc-1gsbnxb-1"
|
|
@@ -3468,7 +3493,8 @@ exports.default = axesChartY2GridAndLabels;
|
|
|
3468
3493
|
/* 118 */,
|
|
3469
3494
|
/* 119 */,
|
|
3470
3495
|
/* 120 */,
|
|
3471
|
-
/* 121
|
|
3496
|
+
/* 121 */,
|
|
3497
|
+
/* 122 */
|
|
3472
3498
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3473
3499
|
|
|
3474
3500
|
"use strict";
|
|
@@ -3502,13 +3528,13 @@ var charting_bundle_1 = __webpack_require__(51);
|
|
|
3502
3528
|
|
|
3503
3529
|
var simpleXMLOptions_1 = __webpack_require__(61);
|
|
3504
3530
|
|
|
3505
|
-
var config_1 = __webpack_require__(
|
|
3531
|
+
var config_1 = __webpack_require__(168);
|
|
3506
3532
|
|
|
3507
3533
|
exports.config = config_1.default;
|
|
3508
3534
|
|
|
3509
3535
|
var withDashboardViz_1 = __webpack_require__(30);
|
|
3510
3536
|
|
|
3511
|
-
var columnUtils_1 = __webpack_require__(
|
|
3537
|
+
var columnUtils_1 = __webpack_require__(169);
|
|
3512
3538
|
|
|
3513
3539
|
var chartingUtils_1 = __webpack_require__(50);
|
|
3514
3540
|
|
|
@@ -3589,7 +3615,6 @@ exports.themes = themes;
|
|
|
3589
3615
|
exports.default = Column;
|
|
3590
3616
|
|
|
3591
3617
|
/***/ }),
|
|
3592
|
-
/* 122 */,
|
|
3593
3618
|
/* 123 */,
|
|
3594
3619
|
/* 124 */,
|
|
3595
3620
|
/* 125 */,
|
|
@@ -3633,7 +3658,8 @@ exports.default = Column;
|
|
|
3633
3658
|
/* 163 */,
|
|
3634
3659
|
/* 164 */,
|
|
3635
3660
|
/* 165 */,
|
|
3636
|
-
/* 166
|
|
3661
|
+
/* 166 */,
|
|
3662
|
+
/* 167 */
|
|
3637
3663
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3638
3664
|
|
|
3639
3665
|
"use strict";
|
|
@@ -3663,9 +3689,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3663
3689
|
});
|
|
3664
3690
|
exports.default = void 0;
|
|
3665
3691
|
|
|
3666
|
-
__exportStar(__webpack_require__(
|
|
3692
|
+
__exportStar(__webpack_require__(122), exports);
|
|
3667
3693
|
|
|
3668
|
-
var Column_1 = __webpack_require__(
|
|
3694
|
+
var Column_1 = __webpack_require__(122);
|
|
3669
3695
|
|
|
3670
3696
|
Object.defineProperty(exports, "default", {
|
|
3671
3697
|
enumerable: true,
|
|
@@ -3675,7 +3701,7 @@ Object.defineProperty(exports, "default", {
|
|
|
3675
3701
|
});
|
|
3676
3702
|
|
|
3677
3703
|
/***/ }),
|
|
3678
|
-
/*
|
|
3704
|
+
/* 168 */
|
|
3679
3705
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3680
3706
|
|
|
3681
3707
|
"use strict";
|
|
@@ -4240,7 +4266,7 @@ var config = {
|
|
|
4240
4266
|
exports.default = configUtils_1.enhanceConfig(config);
|
|
4241
4267
|
|
|
4242
4268
|
/***/ }),
|
|
4243
|
-
/*
|
|
4269
|
+
/* 169 */
|
|
4244
4270
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4245
4271
|
|
|
4246
4272
|
"use strict";
|