@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/Scatter.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 = 252);
|
|
91
91
|
/******/ })
|
|
92
92
|
/************************************************************************/
|
|
93
93
|
/******/ ({
|
|
@@ -134,7 +134,7 @@ module.exports = require("@splunk/visualizations-shared/colorUtils");
|
|
|
134
134
|
|
|
135
135
|
/***/ }),
|
|
136
136
|
|
|
137
|
-
/***/
|
|
137
|
+
/***/ 138:
|
|
138
138
|
/***/ (function(module, exports, __webpack_require__) {
|
|
139
139
|
|
|
140
140
|
"use strict";
|
|
@@ -168,13 +168,13 @@ var charting_bundle_1 = __webpack_require__(51);
|
|
|
168
168
|
|
|
169
169
|
var simpleXMLOptions_1 = __webpack_require__(61);
|
|
170
170
|
|
|
171
|
-
var config_1 = __webpack_require__(
|
|
171
|
+
var config_1 = __webpack_require__(253);
|
|
172
172
|
|
|
173
173
|
exports.config = config_1.default;
|
|
174
174
|
|
|
175
175
|
var withDashboardViz_1 = __webpack_require__(30);
|
|
176
176
|
|
|
177
|
-
var scatterUtils_1 = __webpack_require__(
|
|
177
|
+
var scatterUtils_1 = __webpack_require__(254);
|
|
178
178
|
|
|
179
179
|
var chartingUtils_1 = __webpack_require__(50);
|
|
180
180
|
|
|
@@ -327,7 +327,7 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
|
|
|
327
327
|
|
|
328
328
|
return React.createElement(FixSizeItem, {
|
|
329
329
|
"data-test": "fix-size-item",
|
|
330
|
-
"data-splunk-visualization-version": "25.0.
|
|
330
|
+
"data-splunk-visualization-version": "25.0.1 - de10ad954",
|
|
331
331
|
width: width,
|
|
332
332
|
height: height,
|
|
333
333
|
backgroundColor: backgroundColor
|
|
@@ -405,14 +405,7 @@ module.exports = require("@splunk/visualizations-shared/propUtils");
|
|
|
405
405
|
|
|
406
406
|
/***/ }),
|
|
407
407
|
|
|
408
|
-
/***/
|
|
409
|
-
/***/ (function(module, exports) {
|
|
410
|
-
|
|
411
|
-
module.exports = require("@babel/runtime/helpers/typeof");
|
|
412
|
-
|
|
413
|
-
/***/ }),
|
|
414
|
-
|
|
415
|
-
/***/ 25:
|
|
408
|
+
/***/ 24:
|
|
416
409
|
/***/ (function(module, exports, __webpack_require__) {
|
|
417
410
|
|
|
418
411
|
"use strict";
|
|
@@ -446,7 +439,14 @@ exports.pickFieldFromJSONSchema = pickFieldFromJSONSchema;
|
|
|
446
439
|
|
|
447
440
|
/***/ }),
|
|
448
441
|
|
|
449
|
-
/***/
|
|
442
|
+
/***/ 25:
|
|
443
|
+
/***/ (function(module, exports) {
|
|
444
|
+
|
|
445
|
+
module.exports = require("@babel/runtime/helpers/typeof");
|
|
446
|
+
|
|
447
|
+
/***/ }),
|
|
448
|
+
|
|
449
|
+
/***/ 252:
|
|
450
450
|
/***/ (function(module, exports, __webpack_require__) {
|
|
451
451
|
|
|
452
452
|
"use strict";
|
|
@@ -476,9 +476,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
476
476
|
});
|
|
477
477
|
exports.default = void 0;
|
|
478
478
|
|
|
479
|
-
__exportStar(__webpack_require__(
|
|
479
|
+
__exportStar(__webpack_require__(138), exports);
|
|
480
480
|
|
|
481
|
-
var Scatter_1 = __webpack_require__(
|
|
481
|
+
var Scatter_1 = __webpack_require__(138);
|
|
482
482
|
|
|
483
483
|
Object.defineProperty(exports, "default", {
|
|
484
484
|
enumerable: true,
|
|
@@ -489,7 +489,7 @@ Object.defineProperty(exports, "default", {
|
|
|
489
489
|
|
|
490
490
|
/***/ }),
|
|
491
491
|
|
|
492
|
-
/***/
|
|
492
|
+
/***/ 253:
|
|
493
493
|
/***/ (function(module, exports, __webpack_require__) {
|
|
494
494
|
|
|
495
495
|
"use strict";
|
|
@@ -905,7 +905,7 @@ exports.default = configUtils_1.enhanceConfig(config);
|
|
|
905
905
|
|
|
906
906
|
/***/ }),
|
|
907
907
|
|
|
908
|
-
/***/
|
|
908
|
+
/***/ 254:
|
|
909
909
|
/***/ (function(module, exports, __webpack_require__) {
|
|
910
910
|
|
|
911
911
|
"use strict";
|
|
@@ -1314,7 +1314,7 @@ var getPagination_1 = __webpack_require__(28);
|
|
|
1314
1314
|
|
|
1315
1315
|
var useDeepMemo_1 = __webpack_require__(38);
|
|
1316
1316
|
|
|
1317
|
-
var JSONSchemaUtils_1 = __webpack_require__(
|
|
1317
|
+
var JSONSchemaUtils_1 = __webpack_require__(24);
|
|
1318
1318
|
|
|
1319
1319
|
var MissingPropsMessage_1 = __webpack_require__(39);
|
|
1320
1320
|
|
|
@@ -1911,7 +1911,7 @@ var Cover = styled_components_1.default.div.withConfig({
|
|
|
1911
1911
|
componentId: "sc-1gsbnxb-0"
|
|
1912
1912
|
})(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
|
|
1913
1913
|
var Blocker = styled_components_1.default.div.attrs({
|
|
1914
|
-
'data-splunk-visualization-version': "25.0.
|
|
1914
|
+
'data-splunk-visualization-version': "25.0.1 - de10ad954"
|
|
1915
1915
|
}).withConfig({
|
|
1916
1916
|
displayName: "withEditModeCover__Blocker",
|
|
1917
1917
|
componentId: "sc-1gsbnxb-1"
|
|
@@ -2811,7 +2811,7 @@ var __rest = this && this.__rest || function (s, e) {
|
|
|
2811
2811
|
Object.defineProperty(exports, "__esModule", {
|
|
2812
2812
|
value: true
|
|
2813
2813
|
});
|
|
2814
|
-
exports.insertLayout = exports.generatePrecisionValues = exports.getInitialPreset = exports.isDynamicOption = exports.enhanceOptionsSchemaWithDynamicOptions = exports.enhanceConfig = void 0;
|
|
2814
|
+
exports.insertLayout = exports.uncollapseEditorConfig = exports.generatePrecisionValues = exports.getInitialPreset = exports.isDynamicOption = exports.enhanceOptionsSchemaWithDynamicOptions = exports.enhanceConfig = void 0;
|
|
2815
2815
|
|
|
2816
2816
|
var lodash_1 = __webpack_require__(2);
|
|
2817
2817
|
|
|
@@ -2886,8 +2886,10 @@ function enhanceOptionsSchemaWithDynamicOptions(optionsSchema) {
|
|
|
2886
2886
|
exports.enhanceOptionsSchemaWithDynamicOptions = enhanceOptionsSchemaWithDynamicOptions;
|
|
2887
2887
|
/**
|
|
2888
2888
|
* Helper function to enhance a Visualization Config as needed based on behaviors specified in supports block
|
|
2889
|
+
* this function also collapse all editor panels
|
|
2889
2890
|
* @param vizConfig a Visualization Config
|
|
2890
2891
|
* @returns an enhanced Visualization Config containing updated config entries based on behaviors it supports
|
|
2892
|
+
* and containing `open: false` for all editor panels in editorConfig
|
|
2891
2893
|
*/
|
|
2892
2894
|
|
|
2893
2895
|
function enhanceConfig(vizConfig) {
|
|
@@ -2897,10 +2899,33 @@ function enhanceConfig(vizConfig) {
|
|
|
2897
2899
|
enhancedConfig.optionsSchema = enhanceOptionsSchemaWithDynamicOptions(vizConfig.optionsSchema);
|
|
2898
2900
|
}
|
|
2899
2901
|
|
|
2902
|
+
enhancedConfig.editorConfig = vizConfig.editorConfig.map(function (config) {
|
|
2903
|
+
return Object.assign(Object.assign({}, config), {
|
|
2904
|
+
open: false
|
|
2905
|
+
});
|
|
2906
|
+
});
|
|
2900
2907
|
return enhancedConfig;
|
|
2901
2908
|
}
|
|
2902
2909
|
|
|
2903
2910
|
exports.enhanceConfig = enhanceConfig;
|
|
2911
|
+
/**
|
|
2912
|
+
* Helper function to uncollapse all editor panels by adding `open: true` to the editorConfig
|
|
2913
|
+
* Created for editor unit tests
|
|
2914
|
+
* @param vizConfig a Visualization Config
|
|
2915
|
+
* @returns a Visualization Config containing `open: true` for all editor panels in editorConfig
|
|
2916
|
+
*/
|
|
2917
|
+
|
|
2918
|
+
function uncollapseEditorConfig(vizConfig) {
|
|
2919
|
+
var editorPanelUncollapsedConfig = vizConfig;
|
|
2920
|
+
editorPanelUncollapsedConfig.editorConfig = vizConfig.editorConfig.map(function (config) {
|
|
2921
|
+
return Object.assign(Object.assign({}, config), {
|
|
2922
|
+
open: true
|
|
2923
|
+
});
|
|
2924
|
+
});
|
|
2925
|
+
return editorPanelUncollapsedConfig;
|
|
2926
|
+
}
|
|
2927
|
+
|
|
2928
|
+
exports.uncollapseEditorConfig = uncollapseEditorConfig;
|
|
2904
2929
|
|
|
2905
2930
|
function isDynamicOption(option) {
|
|
2906
2931
|
return option && typeof option === 'string' && option.trim().startsWith('>') || false;
|
|
@@ -3758,7 +3783,7 @@ module.exports = require("@babel/runtime/helpers/defineProperty");
|
|
|
3758
3783
|
"use strict";
|
|
3759
3784
|
|
|
3760
3785
|
|
|
3761
|
-
var _typeof = __webpack_require__(
|
|
3786
|
+
var _typeof = __webpack_require__(25);
|
|
3762
3787
|
|
|
3763
3788
|
Object.defineProperty(exports, "__esModule", {
|
|
3764
3789
|
value: true
|