@splunk/visualizations 24.2.0 → 24.3.2
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_PureFillerGauge_Orientation_horizontal_height_90_show_placeholder.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureFillerGauge_Too_Small_to_Render.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMap_Tooltip_Dark.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMap_Tooltip_Hover.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMap_Tooltip_Light.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMap_base_map_light.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMap_basic.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMap_bubble_layer_dynamic_color.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMap_bubble_layer_geostats_by.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMap_bubble_layer_static_color.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMap_bubble_layer_static_color_with_no_seriesColors.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMap_center_seattle.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_PureVisualizations_PureMap_zoom_9.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Invalid_ranges_duplicate_entries_from.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Invalid_ranges_duplicate_entries_to.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Invalid_ranges_invalid_entries_discontinuous_ranges.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Invalid_ranges_invalid_entries_from_equals_to_to.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Invalid_ranges_invalid_entries_from_is_larger_than_to.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Invalid_ranges_missing_entries.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Orientation_horizontal_width_150_show_placeholder.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureMarkerGauge_Too_Small_to_Render.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSankey_dimensions_less_than_minWidth_300_and_minHeight_200.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureSankey_invalid_columns_data.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Map_Editor.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Choropleth_Svg_Choropleth_Svg_Missing_Props_Message_When_No_Svg.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Filler_Gauge_Filler_Gauge_Orientation_horizontal_height_90_show_placeholder.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_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_Marker_layer_with_geostats_data_No_render.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Set_Map_tiles.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Markdown_Markdown_Markdown_with_number_as_DSL.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Pie_Pie_Missing_Column.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Sankey_Sankey_Dimension_Too_Small.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Align_By_Type_Custom.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Align_Default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Align_Kitchen_Sink.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Align_Right.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Align_Single_Column.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Background_Color_light_blue.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Background_No_Stripe.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Background_Stripe.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Basic_Table.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Basic_Table_With_No_Click.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Cell_Types.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Column_Gradient.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Column_Override.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Column_Width.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Count_2.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Custom_Header_Colors.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Custom_Row_Colors.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Custom_Stripe.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Dark_Background_No_Stripe.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Dark_Background_Stripe.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Format_Number.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Format_Number_Adv.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Header_Visibility_fixed.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Header_Visibility_none.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Height_Percentage.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Height_Percentage_100_no_paginator.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Invalid_Background_Color.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Multi_Value_Field.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_No_Stripes.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_No_Stripes_Row_Numbers.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Show_Internal_Fields_false.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Show_Internal_Fields_true_default.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Show_Row_Numbers_true.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Sparkline.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Sparkline_Custom.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Sparkline_Width.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Sparklines_Adv.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Table_Formatting.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Table_Gradient.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Time_Formatting.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Width_Height.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Width_Percentage.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Width_Px.png +0 -0
- package/Area.config.js +15 -15
- package/Area.config.js.map +1 -1
- package/Area.js +108 -121
- package/Area.js.map +1 -1
- package/Bar.config.js +15 -15
- package/Bar.config.js.map +1 -1
- package/Bar.js +101 -114
- package/Bar.js.map +1 -1
- package/Bubble.config.js +8 -8
- package/Bubble.config.js.map +1 -1
- package/Bubble.js +94 -107
- package/Bubble.js.map +1 -1
- package/ChoroplethSvg.config.js +11 -9
- package/ChoroplethSvg.config.js.map +1 -1
- package/ChoroplethSvg.js +123 -134
- package/ChoroplethSvg.js.map +1 -1
- package/Column.config.js +15 -15
- package/Column.config.js.map +1 -1
- package/Column.js +101 -114
- package/Column.js.map +1 -1
- package/Ellipse.config.js +22 -2
- package/Ellipse.config.js.map +1 -1
- package/Ellipse.js +109 -102
- package/Ellipse.js.map +1 -1
- package/FillerGauge.config.js +8 -8
- package/FillerGauge.config.js.map +1 -1
- package/FillerGauge.js +110 -123
- package/FillerGauge.js.map +1 -1
- package/Image.js +81 -97
- package/Image.js.map +1 -1
- package/Line.config.js +8 -8
- package/Line.config.js.map +1 -1
- package/Line.js +101 -114
- package/Line.js.map +1 -1
- package/LinkGraph.config.js +4 -4
- package/LinkGraph.js +128 -141
- package/LinkGraph.js.map +1 -1
- package/Map.config.js +740 -0
- package/Map.config.js.map +1 -0
- package/Map.js +3141 -0
- package/Map.js.map +1 -0
- package/Markdown.config.js +12 -12
- package/Markdown.config.js.map +1 -1
- package/Markdown.js +104 -118
- package/Markdown.js.map +1 -1
- package/MarkerGauge.config.js +6 -6
- package/MarkerGauge.config.js.map +1 -1
- package/MarkerGauge.js +2953 -3060
- package/MarkerGauge.js.map +1 -1
- package/ParallelCoordinates.config.js +11 -11
- package/ParallelCoordinates.config.js.map +1 -1
- package/ParallelCoordinates.js +137 -139
- package/ParallelCoordinates.js.map +1 -1
- package/Pie.config.js +13 -13
- package/Pie.config.js.map +1 -1
- package/Pie.js +912 -1019
- package/Pie.js.map +1 -1
- package/Punchcard.config.js +11 -11
- package/Punchcard.config.js.map +1 -1
- package/Punchcard.js +153 -155
- package/Punchcard.js.map +1 -1
- package/README.internal.md +36 -3
- package/README.md +7 -9
- package/Rectangle.config.js +32 -12
- package/Rectangle.config.js.map +1 -1
- package/Rectangle.js +189 -185
- package/Rectangle.js.map +1 -1
- package/Sankey.config.js +35 -25
- package/Sankey.config.js.map +1 -1
- package/Sankey.js +2963 -3078
- package/Sankey.js.map +1 -1
- package/Scatter.config.js +11 -11
- package/Scatter.config.js.map +1 -1
- package/Scatter.js +231 -247
- package/Scatter.js.map +1 -1
- package/SingleValue.config.js +23 -22
- package/SingleValue.config.js.map +1 -1
- package/SingleValue.js +425 -441
- package/SingleValue.js.map +1 -1
- package/SingleValueBasic.js +20 -20
- package/SingleValueBasic.js.map +1 -1
- package/SingleValueIcon.config.js +33 -34
- package/SingleValueIcon.config.js.map +1 -1
- package/SingleValueIcon.js +179 -184
- package/SingleValueIcon.js.map +1 -1
- package/SingleValueRadial.config.js +22 -22
- package/SingleValueRadial.config.js.map +1 -1
- package/SingleValueRadial.js +391 -407
- package/SingleValueRadial.js.map +1 -1
- package/Table.config.js +17 -6
- package/Table.config.js.map +1 -1
- package/Table.js +358 -321
- package/Table.js.map +1 -1
- package/common/Charting.js +21 -22
- package/common/Charting.js.map +1 -1
- package/common/ChartingApi.js +2 -2
- package/common/ChartingApi.js.map +1 -1
- package/common/EventsDoc.js +14 -15
- package/common/EventsDoc.js.map +1 -1
- package/common/GaugeMajorTicks.js +2 -2
- package/common/GaugeMajorTicks.js.map +1 -1
- package/common/GaugeValueMarker.js +2 -2
- package/common/GaugeValueMarker.js.map +1 -1
- package/common/OptionsDoc.js +7 -8
- package/common/OptionsDoc.js.map +1 -1
- package/common/OverviewDoc.js +22 -22
- package/common/OverviewDoc.js.map +1 -1
- package/common/SplunkVisualization.js +4 -4
- package/common/SplunkVisualization.js.map +1 -1
- package/common/SplunkVisualizationApi.js +2 -2
- package/common/SplunkVisualizationApi.js.map +1 -1
- package/common/ThemesDoc.js +16 -16
- package/common/ThemesDoc.js.map +1 -1
- package/common/chartingUtils.js +4 -4
- package/common/chartingUtils.js.map +1 -1
- package/common/docUtils.js +4 -4
- package/common/docUtils.js.map +1 -1
- package/common/gaugeUtils.js +13 -13
- package/common/gaugeUtils.js.map +1 -1
- package/common/shapeUtils.js +8 -8
- package/common/shapeUtils.js.map +1 -1
- package/common/withDashboardViz.js +53 -68
- package/common/withDashboardViz.js.map +1 -1
- package/loki.config.js +2 -0
- package/package.json +19 -15
- package/common/version.js +0 -110
- package/common/version.js.map +0 -1
- package/scripts/generateVersion.js +0 -13
package/Rectangle.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 = 232);
|
|
91
91
|
/******/ })
|
|
92
92
|
/************************************************************************/
|
|
93
93
|
/******/ ({
|
|
@@ -134,14 +134,12 @@ var React = __webpack_require__(1);
|
|
|
134
134
|
|
|
135
135
|
var styled_components_1 = __webpack_require__(4);
|
|
136
136
|
|
|
137
|
-
var SizeAwareWrapper_1 = __webpack_require__(
|
|
137
|
+
var SizeAwareWrapper_1 = __webpack_require__(16);
|
|
138
138
|
|
|
139
|
-
var style_1 = __webpack_require__(
|
|
139
|
+
var style_1 = __webpack_require__(13);
|
|
140
140
|
|
|
141
141
|
var colorUtils_1 = __webpack_require__(11);
|
|
142
142
|
|
|
143
|
-
var version_1 = __webpack_require__(13);
|
|
144
|
-
|
|
145
143
|
var Item = styled_components_1.default.div.attrs(function (_ref) {
|
|
146
144
|
var width = _ref.width;
|
|
147
145
|
return {
|
|
@@ -197,7 +195,7 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
|
|
|
197
195
|
|
|
198
196
|
return React.createElement(FixSizeItem, {
|
|
199
197
|
"data-test": "fix-size-item",
|
|
200
|
-
"data-splunk-visualization-version":
|
|
198
|
+
"data-splunk-visualization-version": "24.3.2 - 1cf892b72",
|
|
201
199
|
width: width,
|
|
202
200
|
height: height,
|
|
203
201
|
backgroundColor: backgroundColor
|
|
@@ -219,7 +217,7 @@ exports.default = withFixedSizeContainer;
|
|
|
219
217
|
|
|
220
218
|
/***/ }),
|
|
221
219
|
|
|
222
|
-
/***/
|
|
220
|
+
/***/ 128:
|
|
223
221
|
/***/ (function(module, exports, __webpack_require__) {
|
|
224
222
|
|
|
225
223
|
"use strict";
|
|
@@ -251,13 +249,13 @@ var lodash_1 = __webpack_require__(2);
|
|
|
251
249
|
|
|
252
250
|
var T = __webpack_require__(0);
|
|
253
251
|
|
|
254
|
-
var withDashboardViz_1 = __webpack_require__(
|
|
252
|
+
var withDashboardViz_1 = __webpack_require__(27);
|
|
255
253
|
|
|
256
|
-
var config_1 = __webpack_require__(
|
|
254
|
+
var config_1 = __webpack_require__(233);
|
|
257
255
|
|
|
258
256
|
exports.config = config_1.default;
|
|
259
257
|
|
|
260
|
-
var shapeUtils_1 = __webpack_require__(
|
|
258
|
+
var shapeUtils_1 = __webpack_require__(95);
|
|
261
259
|
|
|
262
260
|
var SVGContainer = styled_components_1.default.svg.withConfig({
|
|
263
261
|
displayName: "Rectangle__SVGContainer",
|
|
@@ -332,51 +330,44 @@ exports.default = Rectangle;
|
|
|
332
330
|
/***/ }),
|
|
333
331
|
|
|
334
332
|
/***/ 13:
|
|
335
|
-
/***/ (function(module, exports
|
|
336
|
-
|
|
337
|
-
"use strict";
|
|
338
|
-
|
|
333
|
+
/***/ (function(module, exports) {
|
|
339
334
|
|
|
340
|
-
|
|
341
|
-
value: true
|
|
342
|
-
});
|
|
343
|
-
exports.version = void 0;
|
|
344
|
-
exports.version = '24.2.0';
|
|
335
|
+
module.exports = require("@splunk/visualizations-shared/style");
|
|
345
336
|
|
|
346
337
|
/***/ }),
|
|
347
338
|
|
|
348
339
|
/***/ 14:
|
|
349
340
|
/***/ (function(module, exports) {
|
|
350
341
|
|
|
351
|
-
module.exports = require("@splunk/visualizations-shared/
|
|
342
|
+
module.exports = require("@splunk/visualizations-shared/schemaUtils");
|
|
352
343
|
|
|
353
344
|
/***/ }),
|
|
354
345
|
|
|
355
346
|
/***/ 15:
|
|
356
347
|
/***/ (function(module, exports) {
|
|
357
348
|
|
|
358
|
-
module.exports = require("@
|
|
349
|
+
module.exports = require("@babel/runtime/helpers/createClass");
|
|
359
350
|
|
|
360
351
|
/***/ }),
|
|
361
352
|
|
|
362
|
-
/***/
|
|
353
|
+
/***/ 16:
|
|
363
354
|
/***/ (function(module, exports) {
|
|
364
355
|
|
|
365
|
-
module.exports = require("@
|
|
356
|
+
module.exports = require("@splunk/visualizations-shared/SizeAwareWrapper");
|
|
366
357
|
|
|
367
358
|
/***/ }),
|
|
368
359
|
|
|
369
360
|
/***/ 18:
|
|
370
361
|
/***/ (function(module, exports) {
|
|
371
362
|
|
|
372
|
-
module.exports = require("@splunk/visualizations-shared/
|
|
363
|
+
module.exports = require("@splunk/visualizations-shared/propUtils");
|
|
373
364
|
|
|
374
365
|
/***/ }),
|
|
375
366
|
|
|
376
367
|
/***/ 19:
|
|
377
368
|
/***/ (function(module, exports) {
|
|
378
369
|
|
|
379
|
-
module.exports = require("@splunk/
|
|
370
|
+
module.exports = require("@splunk/themes/variables");
|
|
380
371
|
|
|
381
372
|
/***/ }),
|
|
382
373
|
|
|
@@ -390,7 +381,7 @@ module.exports = require("lodash");
|
|
|
390
381
|
/***/ 20:
|
|
391
382
|
/***/ (function(module, exports) {
|
|
392
383
|
|
|
393
|
-
module.exports = require("@
|
|
384
|
+
module.exports = require("@babel/runtime/helpers/typeof");
|
|
394
385
|
|
|
395
386
|
/***/ }),
|
|
396
387
|
|
|
@@ -401,7 +392,78 @@ module.exports = require("@splunk/themes/pick");
|
|
|
401
392
|
|
|
402
393
|
/***/ }),
|
|
403
394
|
|
|
404
|
-
/***/
|
|
395
|
+
/***/ 23:
|
|
396
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
397
|
+
|
|
398
|
+
"use strict";
|
|
399
|
+
|
|
400
|
+
|
|
401
|
+
var _defineProperty = __webpack_require__(8);
|
|
402
|
+
|
|
403
|
+
Object.defineProperty(exports, "__esModule", {
|
|
404
|
+
value: true
|
|
405
|
+
});
|
|
406
|
+
exports.getSortingParams = exports.SortParamsPropTypes = void 0;
|
|
407
|
+
|
|
408
|
+
var T = __webpack_require__(0);
|
|
409
|
+
|
|
410
|
+
var lodash_1 = __webpack_require__(2);
|
|
411
|
+
|
|
412
|
+
var DataSource_1 = __webpack_require__(33);
|
|
413
|
+
|
|
414
|
+
exports.SortParamsPropTypes = T.shape({
|
|
415
|
+
currentSortKey: T.string,
|
|
416
|
+
currentSortDir: T.oneOf(DataSource_1.validSortDirs),
|
|
417
|
+
onSort: T.func
|
|
418
|
+
});
|
|
419
|
+
|
|
420
|
+
var getSortingParams = function getSortingParams(_ref) {
|
|
421
|
+
var requestParams = _ref.requestParams,
|
|
422
|
+
onRequestParamsChange = _ref.onRequestParamsChange;
|
|
423
|
+
var currentSortKey;
|
|
424
|
+
var currentSortDir;
|
|
425
|
+
var nextSortDirMap = {
|
|
426
|
+
asc: 'desc',
|
|
427
|
+
desc: 'asc',
|
|
428
|
+
none: 'asc'
|
|
429
|
+
};
|
|
430
|
+
var onSort;
|
|
431
|
+
|
|
432
|
+
if (lodash_1.isFunction(onRequestParamsChange)) {
|
|
433
|
+
if (requestParams && lodash_1.has(requestParams, 'sort')) {
|
|
434
|
+
currentSortKey = Object.keys(requestParams.sort).shift();
|
|
435
|
+
currentSortDir = requestParams.sort[currentSortKey];
|
|
436
|
+
} // undid memoization since there is a dependency on requestParams, which is a deeply nested object
|
|
437
|
+
|
|
438
|
+
|
|
439
|
+
onSort = function onSort(e, _ref2) {
|
|
440
|
+
var sortKey = _ref2.sortKey,
|
|
441
|
+
sortDir = _ref2.sortDir;
|
|
442
|
+
|
|
443
|
+
if (typeof sortKey === 'string') {
|
|
444
|
+
var nextSortDir = lodash_1.has(nextSortDirMap, sortDir) ? nextSortDirMap[sortDir] : 'none';
|
|
445
|
+
onRequestParamsChange(Object.assign(Object.assign({}, requestParams), {
|
|
446
|
+
offset: 0,
|
|
447
|
+
sort: _defineProperty({}, sortKey, nextSortDir)
|
|
448
|
+
}));
|
|
449
|
+
} else {
|
|
450
|
+
onRequestParamsChange(requestParams);
|
|
451
|
+
}
|
|
452
|
+
};
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
return {
|
|
456
|
+
currentSortKey: currentSortKey,
|
|
457
|
+
currentSortDir: currentSortDir,
|
|
458
|
+
onSort: onSort
|
|
459
|
+
};
|
|
460
|
+
};
|
|
461
|
+
|
|
462
|
+
exports.getSortingParams = getSortingParams;
|
|
463
|
+
|
|
464
|
+
/***/ }),
|
|
465
|
+
|
|
466
|
+
/***/ 232:
|
|
405
467
|
/***/ (function(module, exports, __webpack_require__) {
|
|
406
468
|
|
|
407
469
|
"use strict";
|
|
@@ -431,9 +493,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
431
493
|
});
|
|
432
494
|
exports.default = void 0;
|
|
433
495
|
|
|
434
|
-
__exportStar(__webpack_require__(
|
|
496
|
+
__exportStar(__webpack_require__(128), exports);
|
|
435
497
|
|
|
436
|
-
var Rectangle_1 = __webpack_require__(
|
|
498
|
+
var Rectangle_1 = __webpack_require__(128);
|
|
437
499
|
|
|
438
500
|
Object.defineProperty(exports, "default", {
|
|
439
501
|
enumerable: true,
|
|
@@ -444,7 +506,7 @@ Object.defineProperty(exports, "default", {
|
|
|
444
506
|
|
|
445
507
|
/***/ }),
|
|
446
508
|
|
|
447
|
-
/***/
|
|
509
|
+
/***/ 233:
|
|
448
510
|
/***/ (function(module, exports, __webpack_require__) {
|
|
449
511
|
|
|
450
512
|
"use strict";
|
|
@@ -455,29 +517,29 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
455
517
|
});
|
|
456
518
|
exports.optionsSchema = void 0;
|
|
457
519
|
|
|
458
|
-
var visualization_icons_1 = __webpack_require__(
|
|
520
|
+
var visualization_icons_1 = __webpack_require__(42);
|
|
459
521
|
|
|
460
|
-
var schemaUtils_1 = __webpack_require__(
|
|
522
|
+
var schemaUtils_1 = __webpack_require__(14);
|
|
461
523
|
|
|
462
524
|
var i18n_1 = __webpack_require__(3);
|
|
463
525
|
|
|
464
|
-
var PresetPalettes_1 = __webpack_require__(
|
|
526
|
+
var PresetPalettes_1 = __webpack_require__(48);
|
|
465
527
|
|
|
466
|
-
var themes_1 = __webpack_require__(
|
|
528
|
+
var themes_1 = __webpack_require__(70);
|
|
467
529
|
|
|
468
530
|
var VizBehavior_1 = __webpack_require__(5);
|
|
469
531
|
|
|
470
|
-
var VizCategory_1 = __webpack_require__(
|
|
532
|
+
var VizCategory_1 = __webpack_require__(26);
|
|
471
533
|
|
|
472
534
|
var configUtils_1 = __webpack_require__(6);
|
|
473
535
|
|
|
474
|
-
var DynamicFillColorEditor_1 = __webpack_require__(
|
|
536
|
+
var DynamicFillColorEditor_1 = __webpack_require__(91);
|
|
475
537
|
|
|
476
|
-
var DynamicStrokeColorEditor_1 = __webpack_require__(
|
|
538
|
+
var DynamicStrokeColorEditor_1 = __webpack_require__(92);
|
|
477
539
|
|
|
478
|
-
var StaticFillColorEditor_1 = __webpack_require__(
|
|
540
|
+
var StaticFillColorEditor_1 = __webpack_require__(93);
|
|
479
541
|
|
|
480
|
-
var StaticStrokeColorEditor_1 = __webpack_require__(
|
|
542
|
+
var StaticStrokeColorEditor_1 = __webpack_require__(94);
|
|
481
543
|
|
|
482
544
|
var dataContract = {
|
|
483
545
|
requiredDataSources: [],
|
|
@@ -550,6 +612,14 @@ var defaultContext = {
|
|
|
550
612
|
}, {
|
|
551
613
|
to: 0,
|
|
552
614
|
value: '#FE3A3A'
|
|
615
|
+
}],
|
|
616
|
+
fillColorMatchConfig: [{
|
|
617
|
+
match: '',
|
|
618
|
+
value: '#5C33FF'
|
|
619
|
+
}],
|
|
620
|
+
strokeColorMatchConfig: [{
|
|
621
|
+
match: '',
|
|
622
|
+
value: '#5C33FF'
|
|
553
623
|
}]
|
|
554
624
|
};
|
|
555
625
|
exports.optionsSchema = {
|
|
@@ -785,90 +855,12 @@ exports.default = configUtils_1.enhanceConfig(config);
|
|
|
785
855
|
|
|
786
856
|
/***/ }),
|
|
787
857
|
|
|
788
|
-
/***/ 23:
|
|
789
|
-
/***/ (function(module, exports) {
|
|
790
|
-
|
|
791
|
-
module.exports = require("@babel/runtime/helpers/typeof");
|
|
792
|
-
|
|
793
|
-
/***/ }),
|
|
794
|
-
|
|
795
858
|
/***/ 24:
|
|
796
859
|
/***/ (function(module, exports, __webpack_require__) {
|
|
797
860
|
|
|
798
861
|
"use strict";
|
|
799
862
|
|
|
800
863
|
|
|
801
|
-
var _defineProperty = __webpack_require__(7);
|
|
802
|
-
|
|
803
|
-
Object.defineProperty(exports, "__esModule", {
|
|
804
|
-
value: true
|
|
805
|
-
});
|
|
806
|
-
exports.getSortingParams = exports.SortParamsPropTypes = void 0;
|
|
807
|
-
|
|
808
|
-
var T = __webpack_require__(0);
|
|
809
|
-
|
|
810
|
-
var lodash_1 = __webpack_require__(2);
|
|
811
|
-
|
|
812
|
-
var DataSource_1 = __webpack_require__(34);
|
|
813
|
-
|
|
814
|
-
exports.SortParamsPropTypes = T.shape({
|
|
815
|
-
currentSortKey: T.string,
|
|
816
|
-
currentSortDir: T.oneOf(DataSource_1.validSortDirs),
|
|
817
|
-
onSort: T.func
|
|
818
|
-
});
|
|
819
|
-
|
|
820
|
-
var getSortingParams = function getSortingParams(_ref) {
|
|
821
|
-
var requestParams = _ref.requestParams,
|
|
822
|
-
onRequestParamsChange = _ref.onRequestParamsChange;
|
|
823
|
-
var currentSortKey;
|
|
824
|
-
var currentSortDir;
|
|
825
|
-
var nextSortDirMap = {
|
|
826
|
-
asc: 'desc',
|
|
827
|
-
desc: 'asc',
|
|
828
|
-
none: 'asc'
|
|
829
|
-
};
|
|
830
|
-
var onSort;
|
|
831
|
-
|
|
832
|
-
if (lodash_1.isFunction(onRequestParamsChange)) {
|
|
833
|
-
if (requestParams && lodash_1.has(requestParams, 'sort')) {
|
|
834
|
-
currentSortKey = Object.keys(requestParams.sort).shift();
|
|
835
|
-
currentSortDir = requestParams.sort[currentSortKey];
|
|
836
|
-
} // undid memoization since there is a dependency on requestParams, which is a deeply nested object
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
onSort = function onSort(e, _ref2) {
|
|
840
|
-
var sortKey = _ref2.sortKey,
|
|
841
|
-
sortDir = _ref2.sortDir;
|
|
842
|
-
|
|
843
|
-
if (typeof sortKey === 'string') {
|
|
844
|
-
var nextSortDir = lodash_1.has(nextSortDirMap, sortDir) ? nextSortDirMap[sortDir] : 'none';
|
|
845
|
-
onRequestParamsChange(Object.assign(Object.assign({}, requestParams), {
|
|
846
|
-
offset: 0,
|
|
847
|
-
sort: _defineProperty({}, sortKey, nextSortDir)
|
|
848
|
-
}));
|
|
849
|
-
} else {
|
|
850
|
-
onRequestParamsChange(requestParams);
|
|
851
|
-
}
|
|
852
|
-
};
|
|
853
|
-
}
|
|
854
|
-
|
|
855
|
-
return {
|
|
856
|
-
currentSortKey: currentSortKey,
|
|
857
|
-
currentSortDir: currentSortDir,
|
|
858
|
-
onSort: onSort
|
|
859
|
-
};
|
|
860
|
-
};
|
|
861
|
-
|
|
862
|
-
exports.getSortingParams = getSortingParams;
|
|
863
|
-
|
|
864
|
-
/***/ }),
|
|
865
|
-
|
|
866
|
-
/***/ 25:
|
|
867
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
868
|
-
|
|
869
|
-
"use strict";
|
|
870
|
-
|
|
871
|
-
|
|
872
864
|
Object.defineProperty(exports, "__esModule", {
|
|
873
865
|
value: true
|
|
874
866
|
});
|
|
@@ -928,7 +920,7 @@ exports.getPaginationParams = getPaginationParams;
|
|
|
928
920
|
|
|
929
921
|
/***/ }),
|
|
930
922
|
|
|
931
|
-
/***/
|
|
923
|
+
/***/ 25:
|
|
932
924
|
/***/ (function(module, exports, __webpack_require__) {
|
|
933
925
|
|
|
934
926
|
"use strict";
|
|
@@ -1017,7 +1009,7 @@ exports.default = FixedSizeContainer_1.default(IconPlaceholder);
|
|
|
1017
1009
|
|
|
1018
1010
|
/***/ }),
|
|
1019
1011
|
|
|
1020
|
-
/***/
|
|
1012
|
+
/***/ 26:
|
|
1021
1013
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1022
1014
|
|
|
1023
1015
|
"use strict";
|
|
@@ -1046,7 +1038,7 @@ var VizCategory;
|
|
|
1046
1038
|
|
|
1047
1039
|
/***/ }),
|
|
1048
1040
|
|
|
1049
|
-
/***/
|
|
1041
|
+
/***/ 27:
|
|
1050
1042
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1051
1043
|
|
|
1052
1044
|
"use strict";
|
|
@@ -1060,33 +1052,33 @@ var React = __webpack_require__(1);
|
|
|
1060
1052
|
|
|
1061
1053
|
var lodash_1 = __webpack_require__(2);
|
|
1062
1054
|
|
|
1063
|
-
var getSettingsFromThemedProps_1 = __webpack_require__(
|
|
1055
|
+
var getSettingsFromThemedProps_1 = __webpack_require__(28);
|
|
1064
1056
|
|
|
1065
|
-
var Options_1 = __webpack_require__(
|
|
1057
|
+
var Options_1 = __webpack_require__(29);
|
|
1066
1058
|
|
|
1067
|
-
var SanitizeProps_1 = __webpack_require__(
|
|
1059
|
+
var SanitizeProps_1 = __webpack_require__(30);
|
|
1068
1060
|
|
|
1069
1061
|
var styled_components_1 = __webpack_require__(4);
|
|
1070
1062
|
|
|
1071
|
-
var SplunkVisualization_1 = __webpack_require__(
|
|
1063
|
+
var SplunkVisualization_1 = __webpack_require__(31);
|
|
1072
1064
|
|
|
1073
1065
|
var VizBehavior_1 = __webpack_require__(5);
|
|
1074
1066
|
|
|
1075
|
-
var getSorting_1 = __webpack_require__(
|
|
1067
|
+
var getSorting_1 = __webpack_require__(23);
|
|
1076
1068
|
|
|
1077
|
-
var getPagination_1 = __webpack_require__(
|
|
1069
|
+
var getPagination_1 = __webpack_require__(24);
|
|
1078
1070
|
|
|
1079
|
-
var useDeepMemo_1 = __webpack_require__(
|
|
1071
|
+
var useDeepMemo_1 = __webpack_require__(34);
|
|
1080
1072
|
|
|
1081
|
-
var JSONSchemaUtils_1 = __webpack_require__(
|
|
1073
|
+
var JSONSchemaUtils_1 = __webpack_require__(35);
|
|
1082
1074
|
|
|
1083
|
-
var MissingPropsMessage_1 = __webpack_require__(
|
|
1075
|
+
var MissingPropsMessage_1 = __webpack_require__(36);
|
|
1084
1076
|
|
|
1085
|
-
var withEditModeCover_1 = __webpack_require__(
|
|
1077
|
+
var withEditModeCover_1 = __webpack_require__(37);
|
|
1086
1078
|
|
|
1087
|
-
var withPlaceholder_1 = __webpack_require__(
|
|
1079
|
+
var withPlaceholder_1 = __webpack_require__(38);
|
|
1088
1080
|
|
|
1089
|
-
var hocUtils_1 = __webpack_require__(
|
|
1081
|
+
var hocUtils_1 = __webpack_require__(7);
|
|
1090
1082
|
/**
|
|
1091
1083
|
* hoc that wraps a pure react visualization in a Dashboard visualization
|
|
1092
1084
|
* @param {DashboardVizOpts} opts
|
|
@@ -1099,6 +1091,7 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
1099
1091
|
vizConfig = opts.vizConfig,
|
|
1100
1092
|
_opts$computeVizProps = opts.computeVizProps,
|
|
1101
1093
|
computeVizProps = _opts$computeVizProps === void 0 ? function () {} : _opts$computeVizProps,
|
|
1094
|
+
disableEditModeCover = opts.disableEditModeCover,
|
|
1102
1095
|
useIconPlaceholder = opts.useIconPlaceholder; // sanitizing props before sending them to reactviz.
|
|
1103
1096
|
|
|
1104
1097
|
var SanitizedReactViz = SanitizeProps_1.withSanitizedProps(ReactViz);
|
|
@@ -1263,42 +1256,42 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
1263
1256
|
|
|
1264
1257
|
DashboardViz.config = vizConfig; // @ts-ignore: TODO fix sc upgrade TS issues
|
|
1265
1258
|
|
|
1266
|
-
return styled_components_1.withTheme(withPlaceholder_1.default(withEditModeCover_1.default(DashboardViz), useIconPlaceholder));
|
|
1259
|
+
return styled_components_1.withTheme(withPlaceholder_1.default(withEditModeCover_1.default(DashboardViz, disableEditModeCover), useIconPlaceholder));
|
|
1267
1260
|
};
|
|
1268
1261
|
|
|
1269
1262
|
exports.default = withDashboardViz;
|
|
1270
1263
|
|
|
1271
1264
|
/***/ }),
|
|
1272
1265
|
|
|
1273
|
-
/***/
|
|
1266
|
+
/***/ 28:
|
|
1274
1267
|
/***/ (function(module, exports) {
|
|
1275
1268
|
|
|
1276
1269
|
module.exports = require("@splunk/themes/getSettingsFromThemedProps");
|
|
1277
1270
|
|
|
1278
1271
|
/***/ }),
|
|
1279
1272
|
|
|
1280
|
-
/***/
|
|
1273
|
+
/***/ 29:
|
|
1281
1274
|
/***/ (function(module, exports) {
|
|
1282
1275
|
|
|
1283
|
-
module.exports = require("@splunk/
|
|
1276
|
+
module.exports = require("@splunk/visualization-encoding/Options");
|
|
1284
1277
|
|
|
1285
1278
|
/***/ }),
|
|
1286
1279
|
|
|
1287
|
-
/***/
|
|
1280
|
+
/***/ 3:
|
|
1288
1281
|
/***/ (function(module, exports) {
|
|
1289
1282
|
|
|
1290
|
-
module.exports = require("@splunk/
|
|
1283
|
+
module.exports = require("@splunk/ui-utils/i18n");
|
|
1291
1284
|
|
|
1292
1285
|
/***/ }),
|
|
1293
1286
|
|
|
1294
|
-
/***/
|
|
1287
|
+
/***/ 30:
|
|
1295
1288
|
/***/ (function(module, exports) {
|
|
1296
1289
|
|
|
1297
1290
|
module.exports = require("@splunk/visualizations-shared/SanitizeProps");
|
|
1298
1291
|
|
|
1299
1292
|
/***/ }),
|
|
1300
1293
|
|
|
1301
|
-
/***/
|
|
1294
|
+
/***/ 31:
|
|
1302
1295
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1303
1296
|
|
|
1304
1297
|
"use strict";
|
|
@@ -1316,7 +1309,7 @@ var T = __webpack_require__(0);
|
|
|
1316
1309
|
|
|
1317
1310
|
var lodash_1 = __webpack_require__(2);
|
|
1318
1311
|
|
|
1319
|
-
var VizActionHandler_1 = __webpack_require__(
|
|
1312
|
+
var VizActionHandler_1 = __webpack_require__(32); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
|
|
1320
1313
|
|
|
1321
1314
|
|
|
1322
1315
|
exports.INITIAL_WIDTH = 250;
|
|
@@ -1450,7 +1443,7 @@ exports.default = SplunkVisualization;
|
|
|
1450
1443
|
|
|
1451
1444
|
/***/ }),
|
|
1452
1445
|
|
|
1453
|
-
/***/
|
|
1446
|
+
/***/ 32:
|
|
1454
1447
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1455
1448
|
|
|
1456
1449
|
"use strict";
|
|
@@ -1458,7 +1451,7 @@ exports.default = SplunkVisualization;
|
|
|
1458
1451
|
|
|
1459
1452
|
var _classCallCheck = __webpack_require__(10);
|
|
1460
1453
|
|
|
1461
|
-
var _createClass = __webpack_require__(
|
|
1454
|
+
var _createClass = __webpack_require__(15);
|
|
1462
1455
|
|
|
1463
1456
|
Object.defineProperty(exports, "__esModule", {
|
|
1464
1457
|
value: true
|
|
@@ -1488,7 +1481,7 @@ exports.DefaultVizActionHandler = DefaultVizActionHandler;
|
|
|
1488
1481
|
|
|
1489
1482
|
/***/ }),
|
|
1490
1483
|
|
|
1491
|
-
/***/
|
|
1484
|
+
/***/ 33:
|
|
1492
1485
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1493
1486
|
|
|
1494
1487
|
"use strict";
|
|
@@ -1502,7 +1495,7 @@ exports.validSortDirs = ['asc', 'desc', 'none'];
|
|
|
1502
1495
|
|
|
1503
1496
|
/***/ }),
|
|
1504
1497
|
|
|
1505
|
-
/***/
|
|
1498
|
+
/***/ 34:
|
|
1506
1499
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1507
1500
|
|
|
1508
1501
|
"use strict";
|
|
@@ -1548,7 +1541,7 @@ exports.useDeepMemo = useDeepMemo;
|
|
|
1548
1541
|
|
|
1549
1542
|
/***/ }),
|
|
1550
1543
|
|
|
1551
|
-
/***/
|
|
1544
|
+
/***/ 35:
|
|
1552
1545
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1553
1546
|
|
|
1554
1547
|
"use strict";
|
|
@@ -1582,7 +1575,7 @@ exports.pickFieldFromJSONSchema = pickFieldFromJSONSchema;
|
|
|
1582
1575
|
|
|
1583
1576
|
/***/ }),
|
|
1584
1577
|
|
|
1585
|
-
/***/
|
|
1578
|
+
/***/ 36:
|
|
1586
1579
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1587
1580
|
|
|
1588
1581
|
"use strict";
|
|
@@ -1663,7 +1656,7 @@ exports.default = FixedSizeContainer_1.default(exports.MissingPropsMessage);
|
|
|
1663
1656
|
|
|
1664
1657
|
/***/ }),
|
|
1665
1658
|
|
|
1666
|
-
/***/
|
|
1659
|
+
/***/ 37:
|
|
1667
1660
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1668
1661
|
|
|
1669
1662
|
"use strict";
|
|
@@ -1677,16 +1670,14 @@ var React = __webpack_require__(1);
|
|
|
1677
1670
|
|
|
1678
1671
|
var styled_components_1 = __webpack_require__(4);
|
|
1679
1672
|
|
|
1680
|
-
var hocUtils_1 = __webpack_require__(
|
|
1681
|
-
|
|
1682
|
-
var version_1 = __webpack_require__(13);
|
|
1673
|
+
var hocUtils_1 = __webpack_require__(7);
|
|
1683
1674
|
|
|
1684
1675
|
var Cover = styled_components_1.default.div.withConfig({
|
|
1685
1676
|
displayName: "withEditModeCover__Cover",
|
|
1686
1677
|
componentId: "sc-1gsbnxb-0"
|
|
1687
1678
|
})(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
|
|
1688
1679
|
var Blocker = styled_components_1.default.div.attrs({
|
|
1689
|
-
'data-splunk-visualization-version':
|
|
1680
|
+
'data-splunk-visualization-version': "24.3.2 - 1cf892b72"
|
|
1690
1681
|
}).withConfig({
|
|
1691
1682
|
displayName: "withEditModeCover__Blocker",
|
|
1692
1683
|
componentId: "sc-1gsbnxb-1"
|
|
@@ -1698,10 +1689,11 @@ var Blocker = styled_components_1.default.div.attrs({
|
|
|
1698
1689
|
* @returns {ExtendedDashViz} Wrapper
|
|
1699
1690
|
*/
|
|
1700
1691
|
|
|
1701
|
-
var withEditModeCover = function withEditModeCover(Visualization) {
|
|
1692
|
+
var withEditModeCover = function withEditModeCover(Visualization, disableEditModeCover) {
|
|
1702
1693
|
var Wrapper = function Wrapper(props) {
|
|
1703
1694
|
var mode = props.mode;
|
|
1704
|
-
|
|
1695
|
+
var showEditCover = mode === 'edit' && !disableEditModeCover;
|
|
1696
|
+
return React.createElement(Blocker, null, React.createElement(Visualization, Object.assign({}, props)), showEditCover && React.createElement(Cover, {
|
|
1705
1697
|
"data-test": "edit-mode-cover"
|
|
1706
1698
|
}));
|
|
1707
1699
|
};
|
|
@@ -1717,7 +1709,7 @@ exports.default = withEditModeCover;
|
|
|
1717
1709
|
|
|
1718
1710
|
/***/ }),
|
|
1719
1711
|
|
|
1720
|
-
/***/
|
|
1712
|
+
/***/ 38:
|
|
1721
1713
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1722
1714
|
|
|
1723
1715
|
"use strict";
|
|
@@ -1731,11 +1723,11 @@ var React = __webpack_require__(1);
|
|
|
1731
1723
|
|
|
1732
1724
|
var colorUtils_1 = __webpack_require__(11);
|
|
1733
1725
|
|
|
1734
|
-
var IconPlaceholder_1 = __webpack_require__(
|
|
1726
|
+
var IconPlaceholder_1 = __webpack_require__(25);
|
|
1735
1727
|
|
|
1736
1728
|
var VizBehavior_1 = __webpack_require__(5);
|
|
1737
1729
|
|
|
1738
|
-
var hocUtils_1 = __webpack_require__(
|
|
1730
|
+
var hocUtils_1 = __webpack_require__(7);
|
|
1739
1731
|
|
|
1740
1732
|
var withPlaceholder = function withPlaceholder(Visualization) {
|
|
1741
1733
|
var useIconPlaceholder = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : IconPlaceholder_1.shouldShowIconPlaceholder;
|
|
@@ -1784,14 +1776,14 @@ module.exports = require("styled-components");
|
|
|
1784
1776
|
|
|
1785
1777
|
/***/ }),
|
|
1786
1778
|
|
|
1787
|
-
/***/
|
|
1779
|
+
/***/ 42:
|
|
1788
1780
|
/***/ (function(module, exports) {
|
|
1789
1781
|
|
|
1790
1782
|
module.exports = require("@splunk/visualization-icons");
|
|
1791
1783
|
|
|
1792
1784
|
/***/ }),
|
|
1793
1785
|
|
|
1794
|
-
/***/
|
|
1786
|
+
/***/ 48:
|
|
1795
1787
|
/***/ (function(module, exports) {
|
|
1796
1788
|
|
|
1797
1789
|
module.exports = require("@splunk/visualization-color-palettes/editors/PresetPalettes");
|
|
@@ -1842,7 +1834,7 @@ var VizBehavior;
|
|
|
1842
1834
|
"use strict";
|
|
1843
1835
|
|
|
1844
1836
|
|
|
1845
|
-
var _defineProperty = __webpack_require__(
|
|
1837
|
+
var _defineProperty = __webpack_require__(8);
|
|
1846
1838
|
|
|
1847
1839
|
var __rest = this && this.__rest || function (s, e) {
|
|
1848
1840
|
var t = {};
|
|
@@ -1864,7 +1856,7 @@ exports.generatePrecisionValues = exports.getInitialPreset = exports.isDynamicOp
|
|
|
1864
1856
|
|
|
1865
1857
|
var lodash_1 = __webpack_require__(2);
|
|
1866
1858
|
|
|
1867
|
-
var schemaUtils_1 = __webpack_require__(
|
|
1859
|
+
var schemaUtils_1 = __webpack_require__(14);
|
|
1868
1860
|
|
|
1869
1861
|
var VizBehavior_1 = __webpack_require__(5);
|
|
1870
1862
|
|
|
@@ -2029,26 +2021,12 @@ exports.generatePrecisionValues = generatePrecisionValues;
|
|
|
2029
2021
|
/***/ }),
|
|
2030
2022
|
|
|
2031
2023
|
/***/ 7:
|
|
2032
|
-
/***/ (function(module, exports) {
|
|
2033
|
-
|
|
2034
|
-
module.exports = require("@babel/runtime/helpers/defineProperty");
|
|
2035
|
-
|
|
2036
|
-
/***/ }),
|
|
2037
|
-
|
|
2038
|
-
/***/ 74:
|
|
2039
|
-
/***/ (function(module, exports) {
|
|
2040
|
-
|
|
2041
|
-
module.exports = require("@splunk/themes");
|
|
2042
|
-
|
|
2043
|
-
/***/ }),
|
|
2044
|
-
|
|
2045
|
-
/***/ 8:
|
|
2046
2024
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2047
2025
|
|
|
2048
2026
|
"use strict";
|
|
2049
2027
|
|
|
2050
2028
|
|
|
2051
|
-
var _typeof = __webpack_require__(
|
|
2029
|
+
var _typeof = __webpack_require__(20);
|
|
2052
2030
|
|
|
2053
2031
|
Object.defineProperty(exports, "__esModule", {
|
|
2054
2032
|
value: true
|
|
@@ -2115,6 +2093,20 @@ exports.deepMergeWithArrayOverrides = deepMergeWithArrayOverrides;
|
|
|
2115
2093
|
|
|
2116
2094
|
/***/ }),
|
|
2117
2095
|
|
|
2096
|
+
/***/ 70:
|
|
2097
|
+
/***/ (function(module, exports) {
|
|
2098
|
+
|
|
2099
|
+
module.exports = require("@splunk/themes");
|
|
2100
|
+
|
|
2101
|
+
/***/ }),
|
|
2102
|
+
|
|
2103
|
+
/***/ 8:
|
|
2104
|
+
/***/ (function(module, exports) {
|
|
2105
|
+
|
|
2106
|
+
module.exports = require("@babel/runtime/helpers/defineProperty");
|
|
2107
|
+
|
|
2108
|
+
/***/ }),
|
|
2109
|
+
|
|
2118
2110
|
/***/ 9:
|
|
2119
2111
|
/***/ (function(module, exports) {
|
|
2120
2112
|
|
|
@@ -2122,7 +2114,7 @@ module.exports = require("@splunk/visualizations-shared/Message");
|
|
|
2122
2114
|
|
|
2123
2115
|
/***/ }),
|
|
2124
2116
|
|
|
2125
|
-
/***/
|
|
2117
|
+
/***/ 91:
|
|
2126
2118
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2127
2119
|
|
|
2128
2120
|
"use strict";
|
|
@@ -2156,7 +2148,13 @@ var getDynamicFillColorEditor = function getDynamicFillColorEditor(_ref) {
|
|
|
2156
2148
|
label: i18n_1._('Ranges'),
|
|
2157
2149
|
value: 'rangeValue',
|
|
2158
2150
|
defaults: {
|
|
2159
|
-
|
|
2151
|
+
fillDataValue: defaultContext.fillColorConfig
|
|
2152
|
+
}
|
|
2153
|
+
}, {
|
|
2154
|
+
label: i18n_1._('Matches'),
|
|
2155
|
+
value: 'matchValue',
|
|
2156
|
+
defaults: {
|
|
2157
|
+
fillDataValue: defaultContext.fillColorMatchConfig
|
|
2160
2158
|
}
|
|
2161
2159
|
}],
|
|
2162
2160
|
dataSelectors: [{
|
|
@@ -2172,7 +2170,7 @@ exports.getDynamicFillColorEditor = getDynamicFillColorEditor;
|
|
|
2172
2170
|
|
|
2173
2171
|
/***/ }),
|
|
2174
2172
|
|
|
2175
|
-
/***/
|
|
2173
|
+
/***/ 92:
|
|
2176
2174
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2177
2175
|
|
|
2178
2176
|
"use strict";
|
|
@@ -2206,7 +2204,13 @@ var getDynamicStrokeColorEditor = function getDynamicStrokeColorEditor(_ref) {
|
|
|
2206
2204
|
label: i18n_1._('Ranges'),
|
|
2207
2205
|
value: 'rangeValue',
|
|
2208
2206
|
defaults: {
|
|
2209
|
-
|
|
2207
|
+
strokeDataValue: defaultContext.strokeColorConfig
|
|
2208
|
+
}
|
|
2209
|
+
}, {
|
|
2210
|
+
label: i18n_1._('Matches'),
|
|
2211
|
+
value: 'matchValue',
|
|
2212
|
+
defaults: {
|
|
2213
|
+
strokeDataValue: defaultContext.strokeColorMatchConfig
|
|
2210
2214
|
}
|
|
2211
2215
|
}],
|
|
2212
2216
|
dataSelectors: [{
|
|
@@ -2222,7 +2226,7 @@ exports.getDynamicStrokeColorEditor = getDynamicStrokeColorEditor;
|
|
|
2222
2226
|
|
|
2223
2227
|
/***/ }),
|
|
2224
2228
|
|
|
2225
|
-
/***/
|
|
2229
|
+
/***/ 93:
|
|
2226
2230
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2227
2231
|
|
|
2228
2232
|
"use strict";
|
|
@@ -2249,7 +2253,7 @@ exports.default = StaticFillColorEditor;
|
|
|
2249
2253
|
|
|
2250
2254
|
/***/ }),
|
|
2251
2255
|
|
|
2252
|
-
/***/
|
|
2256
|
+
/***/ 94:
|
|
2253
2257
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2254
2258
|
|
|
2255
2259
|
"use strict";
|
|
@@ -2276,7 +2280,7 @@ exports.default = StaticStrokeColorEditor;
|
|
|
2276
2280
|
|
|
2277
2281
|
/***/ }),
|
|
2278
2282
|
|
|
2279
|
-
/***/
|
|
2283
|
+
/***/ 95:
|
|
2280
2284
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2281
2285
|
|
|
2282
2286
|
"use strict";
|
|
@@ -2293,9 +2297,9 @@ var styled_components_1 = __webpack_require__(4);
|
|
|
2293
2297
|
|
|
2294
2298
|
var pick_1 = __webpack_require__(21);
|
|
2295
2299
|
|
|
2296
|
-
var variables_1 = __webpack_require__(
|
|
2300
|
+
var variables_1 = __webpack_require__(19);
|
|
2297
2301
|
|
|
2298
|
-
var propUtils_1 = __webpack_require__(
|
|
2302
|
+
var propUtils_1 = __webpack_require__(18); // map for new options names to old option names
|
|
2299
2303
|
|
|
2300
2304
|
|
|
2301
2305
|
var shapeOptionsMapping = {
|