@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/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 = 241);
|
|
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,14 @@ exports.default = withFixedSizeContainer;
|
|
|
219
217
|
|
|
220
218
|
/***/ }),
|
|
221
219
|
|
|
222
|
-
/***/
|
|
220
|
+
/***/ 13:
|
|
221
|
+
/***/ (function(module, exports) {
|
|
222
|
+
|
|
223
|
+
module.exports = require("@splunk/visualizations-shared/style");
|
|
224
|
+
|
|
225
|
+
/***/ }),
|
|
226
|
+
|
|
227
|
+
/***/ 130:
|
|
223
228
|
/***/ (function(module, exports, __webpack_require__) {
|
|
224
229
|
|
|
225
230
|
"use strict";
|
|
@@ -249,19 +254,19 @@ var lodash_1 = __webpack_require__(2); // Charting imports i18n which needs to b
|
|
|
249
254
|
|
|
250
255
|
var Charting_1 = __webpack_require__(51);
|
|
251
256
|
|
|
252
|
-
var charting_bundle_1 = __webpack_require__(
|
|
257
|
+
var charting_bundle_1 = __webpack_require__(47);
|
|
253
258
|
|
|
254
259
|
var simpleXMLOptions_1 = __webpack_require__(58);
|
|
255
260
|
|
|
256
|
-
var config_1 = __webpack_require__(
|
|
261
|
+
var config_1 = __webpack_require__(242);
|
|
257
262
|
|
|
258
263
|
exports.config = config_1.default;
|
|
259
264
|
|
|
260
|
-
var withDashboardViz_1 = __webpack_require__(
|
|
265
|
+
var withDashboardViz_1 = __webpack_require__(27);
|
|
261
266
|
|
|
262
|
-
var scatterUtils_1 = __webpack_require__(
|
|
267
|
+
var scatterUtils_1 = __webpack_require__(243);
|
|
263
268
|
|
|
264
|
-
var chartingUtils_1 = __webpack_require__(
|
|
269
|
+
var chartingUtils_1 = __webpack_require__(46);
|
|
265
270
|
|
|
266
271
|
var validOptions = Object.keys(config_1.default.optionsSchema);
|
|
267
272
|
|
|
@@ -337,52 +342,38 @@ exports.default = Column;
|
|
|
337
342
|
|
|
338
343
|
/***/ }),
|
|
339
344
|
|
|
340
|
-
/***/ 13:
|
|
341
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
342
|
-
|
|
343
|
-
"use strict";
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
Object.defineProperty(exports, "__esModule", {
|
|
347
|
-
value: true
|
|
348
|
-
});
|
|
349
|
-
exports.version = void 0;
|
|
350
|
-
exports.version = '24.2.0';
|
|
351
|
-
|
|
352
|
-
/***/ }),
|
|
353
|
-
|
|
354
345
|
/***/ 14:
|
|
355
346
|
/***/ (function(module, exports) {
|
|
356
347
|
|
|
357
|
-
module.exports = require("@splunk/visualizations-shared/
|
|
348
|
+
module.exports = require("@splunk/visualizations-shared/schemaUtils");
|
|
358
349
|
|
|
359
350
|
/***/ }),
|
|
360
351
|
|
|
361
352
|
/***/ 15:
|
|
362
353
|
/***/ (function(module, exports) {
|
|
363
354
|
|
|
364
|
-
module.exports = require("@
|
|
355
|
+
module.exports = require("@babel/runtime/helpers/createClass");
|
|
365
356
|
|
|
366
357
|
/***/ }),
|
|
367
358
|
|
|
368
|
-
/***/
|
|
359
|
+
/***/ 16:
|
|
369
360
|
/***/ (function(module, exports) {
|
|
370
361
|
|
|
371
|
-
module.exports = require("@
|
|
362
|
+
module.exports = require("@splunk/visualizations-shared/SizeAwareWrapper");
|
|
372
363
|
|
|
373
364
|
/***/ }),
|
|
374
365
|
|
|
375
366
|
/***/ 18:
|
|
376
367
|
/***/ (function(module, exports) {
|
|
377
368
|
|
|
378
|
-
module.exports = require("@splunk/visualizations-shared/
|
|
369
|
+
module.exports = require("@splunk/visualizations-shared/propUtils");
|
|
379
370
|
|
|
380
371
|
/***/ }),
|
|
381
372
|
|
|
382
373
|
/***/ 19:
|
|
383
374
|
/***/ (function(module, exports) {
|
|
384
375
|
|
|
385
|
-
module.exports = require("@splunk/
|
|
376
|
+
module.exports = require("@splunk/themes/variables");
|
|
386
377
|
|
|
387
378
|
/***/ }),
|
|
388
379
|
|
|
@@ -396,7 +387,7 @@ module.exports = require("lodash");
|
|
|
396
387
|
/***/ 20:
|
|
397
388
|
/***/ (function(module, exports) {
|
|
398
389
|
|
|
399
|
-
module.exports = require("@
|
|
390
|
+
module.exports = require("@babel/runtime/helpers/typeof");
|
|
400
391
|
|
|
401
392
|
/***/ }),
|
|
402
393
|
|
|
@@ -408,13 +399,142 @@ module.exports = require("@splunk/themes/pick");
|
|
|
408
399
|
/***/ }),
|
|
409
400
|
|
|
410
401
|
/***/ 23:
|
|
411
|
-
/***/ (function(module, exports) {
|
|
402
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
412
403
|
|
|
413
|
-
|
|
404
|
+
"use strict";
|
|
405
|
+
|
|
406
|
+
|
|
407
|
+
var _defineProperty = __webpack_require__(8);
|
|
408
|
+
|
|
409
|
+
Object.defineProperty(exports, "__esModule", {
|
|
410
|
+
value: true
|
|
411
|
+
});
|
|
412
|
+
exports.getSortingParams = exports.SortParamsPropTypes = void 0;
|
|
413
|
+
|
|
414
|
+
var T = __webpack_require__(0);
|
|
415
|
+
|
|
416
|
+
var lodash_1 = __webpack_require__(2);
|
|
417
|
+
|
|
418
|
+
var DataSource_1 = __webpack_require__(33);
|
|
419
|
+
|
|
420
|
+
exports.SortParamsPropTypes = T.shape({
|
|
421
|
+
currentSortKey: T.string,
|
|
422
|
+
currentSortDir: T.oneOf(DataSource_1.validSortDirs),
|
|
423
|
+
onSort: T.func
|
|
424
|
+
});
|
|
425
|
+
|
|
426
|
+
var getSortingParams = function getSortingParams(_ref) {
|
|
427
|
+
var requestParams = _ref.requestParams,
|
|
428
|
+
onRequestParamsChange = _ref.onRequestParamsChange;
|
|
429
|
+
var currentSortKey;
|
|
430
|
+
var currentSortDir;
|
|
431
|
+
var nextSortDirMap = {
|
|
432
|
+
asc: 'desc',
|
|
433
|
+
desc: 'asc',
|
|
434
|
+
none: 'asc'
|
|
435
|
+
};
|
|
436
|
+
var onSort;
|
|
437
|
+
|
|
438
|
+
if (lodash_1.isFunction(onRequestParamsChange)) {
|
|
439
|
+
if (requestParams && lodash_1.has(requestParams, 'sort')) {
|
|
440
|
+
currentSortKey = Object.keys(requestParams.sort).shift();
|
|
441
|
+
currentSortDir = requestParams.sort[currentSortKey];
|
|
442
|
+
} // undid memoization since there is a dependency on requestParams, which is a deeply nested object
|
|
443
|
+
|
|
444
|
+
|
|
445
|
+
onSort = function onSort(e, _ref2) {
|
|
446
|
+
var sortKey = _ref2.sortKey,
|
|
447
|
+
sortDir = _ref2.sortDir;
|
|
448
|
+
|
|
449
|
+
if (typeof sortKey === 'string') {
|
|
450
|
+
var nextSortDir = lodash_1.has(nextSortDirMap, sortDir) ? nextSortDirMap[sortDir] : 'none';
|
|
451
|
+
onRequestParamsChange(Object.assign(Object.assign({}, requestParams), {
|
|
452
|
+
offset: 0,
|
|
453
|
+
sort: _defineProperty({}, sortKey, nextSortDir)
|
|
454
|
+
}));
|
|
455
|
+
} else {
|
|
456
|
+
onRequestParamsChange(requestParams);
|
|
457
|
+
}
|
|
458
|
+
};
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
return {
|
|
462
|
+
currentSortKey: currentSortKey,
|
|
463
|
+
currentSortDir: currentSortDir,
|
|
464
|
+
onSort: onSort
|
|
465
|
+
};
|
|
466
|
+
};
|
|
467
|
+
|
|
468
|
+
exports.getSortingParams = getSortingParams;
|
|
414
469
|
|
|
415
470
|
/***/ }),
|
|
416
471
|
|
|
417
|
-
/***/
|
|
472
|
+
/***/ 24:
|
|
473
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
474
|
+
|
|
475
|
+
"use strict";
|
|
476
|
+
|
|
477
|
+
|
|
478
|
+
Object.defineProperty(exports, "__esModule", {
|
|
479
|
+
value: true
|
|
480
|
+
});
|
|
481
|
+
exports.getPaginationParams = exports.PaginatorParamsPropTypes = void 0;
|
|
482
|
+
|
|
483
|
+
var T = __webpack_require__(0);
|
|
484
|
+
|
|
485
|
+
var lodash_1 = __webpack_require__(2);
|
|
486
|
+
|
|
487
|
+
exports.PaginatorParamsPropTypes = T.shape({
|
|
488
|
+
isPaging: T.bool,
|
|
489
|
+
current: T.number,
|
|
490
|
+
totalPages: T.number,
|
|
491
|
+
onChange: T.func
|
|
492
|
+
});
|
|
493
|
+
|
|
494
|
+
var getPaginationParams = function getPaginationParams(_ref) {
|
|
495
|
+
var requestParams = _ref.requestParams,
|
|
496
|
+
meta = _ref.meta,
|
|
497
|
+
onRequestParamsChange = _ref.onRequestParamsChange;
|
|
498
|
+
var totalCount = meta && meta.totalCount || 0;
|
|
499
|
+
var offset = requestParams && requestParams.offset || 0;
|
|
500
|
+
var count = requestParams && requestParams.count;
|
|
501
|
+
var totalPages = typeof count === 'number' && count > 0 ? Math.ceil(totalCount / count) : 0;
|
|
502
|
+
var current = typeof count === 'number' && count > 0 ? Math.floor(offset / count) + 1 : 0;
|
|
503
|
+
var isPaging = totalPages > 1 && lodash_1.isFunction(onRequestParamsChange);
|
|
504
|
+
|
|
505
|
+
var onChangeHandler = function onChangeHandler(e, _ref2) {
|
|
506
|
+
var page = _ref2.page,
|
|
507
|
+
countArg = _ref2.count;
|
|
508
|
+
var newParams = lodash_1.cloneDeep(requestParams);
|
|
509
|
+
|
|
510
|
+
if (typeof countArg === 'number') {
|
|
511
|
+
newParams.count = countArg;
|
|
512
|
+
newParams.offset = 0;
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
var pageCount = typeof newParams.count === 'number' ? newParams.count : 10;
|
|
516
|
+
|
|
517
|
+
if (typeof page === 'number' && page > 0) {
|
|
518
|
+
newParams.count = pageCount;
|
|
519
|
+
newParams.offset = (page - 1) * pageCount;
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
onRequestParamsChange(newParams);
|
|
523
|
+
};
|
|
524
|
+
|
|
525
|
+
return {
|
|
526
|
+
isPaging: isPaging,
|
|
527
|
+
current: current,
|
|
528
|
+
totalPages: totalPages,
|
|
529
|
+
onChange: lodash_1.isFunction(onRequestParamsChange) ? onChangeHandler : lodash_1.noop
|
|
530
|
+
};
|
|
531
|
+
};
|
|
532
|
+
|
|
533
|
+
exports.getPaginationParams = getPaginationParams;
|
|
534
|
+
|
|
535
|
+
/***/ }),
|
|
536
|
+
|
|
537
|
+
/***/ 241:
|
|
418
538
|
/***/ (function(module, exports, __webpack_require__) {
|
|
419
539
|
|
|
420
540
|
"use strict";
|
|
@@ -444,9 +564,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
444
564
|
});
|
|
445
565
|
exports.default = void 0;
|
|
446
566
|
|
|
447
|
-
__exportStar(__webpack_require__(
|
|
567
|
+
__exportStar(__webpack_require__(130), exports);
|
|
448
568
|
|
|
449
|
-
var Scatter_1 = __webpack_require__(
|
|
569
|
+
var Scatter_1 = __webpack_require__(130);
|
|
450
570
|
|
|
451
571
|
Object.defineProperty(exports, "default", {
|
|
452
572
|
enumerable: true,
|
|
@@ -457,7 +577,7 @@ Object.defineProperty(exports, "default", {
|
|
|
457
577
|
|
|
458
578
|
/***/ }),
|
|
459
579
|
|
|
460
|
-
/***/
|
|
580
|
+
/***/ 242:
|
|
461
581
|
/***/ (function(module, exports, __webpack_require__) {
|
|
462
582
|
|
|
463
583
|
"use strict";
|
|
@@ -468,21 +588,21 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
468
588
|
});
|
|
469
589
|
exports.optionsSchema = void 0;
|
|
470
590
|
|
|
471
|
-
var visualization_icons_1 = __webpack_require__(
|
|
591
|
+
var visualization_icons_1 = __webpack_require__(42);
|
|
472
592
|
|
|
473
593
|
var pick_1 = __webpack_require__(21);
|
|
474
594
|
|
|
475
|
-
var variables_1 = __webpack_require__(
|
|
595
|
+
var variables_1 = __webpack_require__(19);
|
|
476
596
|
|
|
477
|
-
var schemaUtils_1 = __webpack_require__(
|
|
597
|
+
var schemaUtils_1 = __webpack_require__(14);
|
|
478
598
|
|
|
479
|
-
var visualization_color_palettes_1 = __webpack_require__(
|
|
599
|
+
var visualization_color_palettes_1 = __webpack_require__(41);
|
|
480
600
|
|
|
481
601
|
var i18n_1 = __webpack_require__(3);
|
|
482
602
|
|
|
483
603
|
var VizBehavior_1 = __webpack_require__(5);
|
|
484
604
|
|
|
485
|
-
var VizCategory_1 = __webpack_require__(
|
|
605
|
+
var VizCategory_1 = __webpack_require__(26);
|
|
486
606
|
|
|
487
607
|
var configUtils_1 = __webpack_require__(6);
|
|
488
608
|
|
|
@@ -490,7 +610,7 @@ var Axes_1 = __webpack_require__(60);
|
|
|
490
610
|
|
|
491
611
|
var Legend_1 = __webpack_require__(61);
|
|
492
612
|
|
|
493
|
-
var BackgroundColor_1 = __webpack_require__(
|
|
613
|
+
var BackgroundColor_1 = __webpack_require__(45);
|
|
494
614
|
|
|
495
615
|
var dataContract = {
|
|
496
616
|
requiredDataSources: [{
|
|
@@ -851,7 +971,7 @@ exports.default = configUtils_1.enhanceConfig(config);
|
|
|
851
971
|
|
|
852
972
|
/***/ }),
|
|
853
973
|
|
|
854
|
-
/***/
|
|
974
|
+
/***/ 243:
|
|
855
975
|
/***/ (function(module, exports, __webpack_require__) {
|
|
856
976
|
|
|
857
977
|
"use strict";
|
|
@@ -864,9 +984,9 @@ exports.convertToScatterSCProperties = exports.mapToOldKey = exports.convertToSt
|
|
|
864
984
|
|
|
865
985
|
var lodash_1 = __webpack_require__(2);
|
|
866
986
|
|
|
867
|
-
var propUtils_1 = __webpack_require__(
|
|
987
|
+
var propUtils_1 = __webpack_require__(18);
|
|
868
988
|
|
|
869
|
-
var chartingUtils_1 = __webpack_require__(
|
|
989
|
+
var chartingUtils_1 = __webpack_require__(46); // map for key names which are either new or not present in SimpleXML options mapping
|
|
870
990
|
|
|
871
991
|
|
|
872
992
|
var scatterOptionsSCMapping = {
|
|
@@ -960,148 +1080,12 @@ exports.convertToScatterSCProperties = convertToScatterSCProperties;
|
|
|
960
1080
|
|
|
961
1081
|
/***/ }),
|
|
962
1082
|
|
|
963
|
-
/***/ 24:
|
|
964
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
965
|
-
|
|
966
|
-
"use strict";
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
var _defineProperty = __webpack_require__(7);
|
|
970
|
-
|
|
971
|
-
Object.defineProperty(exports, "__esModule", {
|
|
972
|
-
value: true
|
|
973
|
-
});
|
|
974
|
-
exports.getSortingParams = exports.SortParamsPropTypes = void 0;
|
|
975
|
-
|
|
976
|
-
var T = __webpack_require__(0);
|
|
977
|
-
|
|
978
|
-
var lodash_1 = __webpack_require__(2);
|
|
979
|
-
|
|
980
|
-
var DataSource_1 = __webpack_require__(34);
|
|
981
|
-
|
|
982
|
-
exports.SortParamsPropTypes = T.shape({
|
|
983
|
-
currentSortKey: T.string,
|
|
984
|
-
currentSortDir: T.oneOf(DataSource_1.validSortDirs),
|
|
985
|
-
onSort: T.func
|
|
986
|
-
});
|
|
987
|
-
|
|
988
|
-
var getSortingParams = function getSortingParams(_ref) {
|
|
989
|
-
var requestParams = _ref.requestParams,
|
|
990
|
-
onRequestParamsChange = _ref.onRequestParamsChange;
|
|
991
|
-
var currentSortKey;
|
|
992
|
-
var currentSortDir;
|
|
993
|
-
var nextSortDirMap = {
|
|
994
|
-
asc: 'desc',
|
|
995
|
-
desc: 'asc',
|
|
996
|
-
none: 'asc'
|
|
997
|
-
};
|
|
998
|
-
var onSort;
|
|
999
|
-
|
|
1000
|
-
if (lodash_1.isFunction(onRequestParamsChange)) {
|
|
1001
|
-
if (requestParams && lodash_1.has(requestParams, 'sort')) {
|
|
1002
|
-
currentSortKey = Object.keys(requestParams.sort).shift();
|
|
1003
|
-
currentSortDir = requestParams.sort[currentSortKey];
|
|
1004
|
-
} // undid memoization since there is a dependency on requestParams, which is a deeply nested object
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
onSort = function onSort(e, _ref2) {
|
|
1008
|
-
var sortKey = _ref2.sortKey,
|
|
1009
|
-
sortDir = _ref2.sortDir;
|
|
1010
|
-
|
|
1011
|
-
if (typeof sortKey === 'string') {
|
|
1012
|
-
var nextSortDir = lodash_1.has(nextSortDirMap, sortDir) ? nextSortDirMap[sortDir] : 'none';
|
|
1013
|
-
onRequestParamsChange(Object.assign(Object.assign({}, requestParams), {
|
|
1014
|
-
offset: 0,
|
|
1015
|
-
sort: _defineProperty({}, sortKey, nextSortDir)
|
|
1016
|
-
}));
|
|
1017
|
-
} else {
|
|
1018
|
-
onRequestParamsChange(requestParams);
|
|
1019
|
-
}
|
|
1020
|
-
};
|
|
1021
|
-
}
|
|
1022
|
-
|
|
1023
|
-
return {
|
|
1024
|
-
currentSortKey: currentSortKey,
|
|
1025
|
-
currentSortDir: currentSortDir,
|
|
1026
|
-
onSort: onSort
|
|
1027
|
-
};
|
|
1028
|
-
};
|
|
1029
|
-
|
|
1030
|
-
exports.getSortingParams = getSortingParams;
|
|
1031
|
-
|
|
1032
|
-
/***/ }),
|
|
1033
|
-
|
|
1034
1083
|
/***/ 25:
|
|
1035
1084
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1036
1085
|
|
|
1037
1086
|
"use strict";
|
|
1038
1087
|
|
|
1039
1088
|
|
|
1040
|
-
Object.defineProperty(exports, "__esModule", {
|
|
1041
|
-
value: true
|
|
1042
|
-
});
|
|
1043
|
-
exports.getPaginationParams = exports.PaginatorParamsPropTypes = void 0;
|
|
1044
|
-
|
|
1045
|
-
var T = __webpack_require__(0);
|
|
1046
|
-
|
|
1047
|
-
var lodash_1 = __webpack_require__(2);
|
|
1048
|
-
|
|
1049
|
-
exports.PaginatorParamsPropTypes = T.shape({
|
|
1050
|
-
isPaging: T.bool,
|
|
1051
|
-
current: T.number,
|
|
1052
|
-
totalPages: T.number,
|
|
1053
|
-
onChange: T.func
|
|
1054
|
-
});
|
|
1055
|
-
|
|
1056
|
-
var getPaginationParams = function getPaginationParams(_ref) {
|
|
1057
|
-
var requestParams = _ref.requestParams,
|
|
1058
|
-
meta = _ref.meta,
|
|
1059
|
-
onRequestParamsChange = _ref.onRequestParamsChange;
|
|
1060
|
-
var totalCount = meta && meta.totalCount || 0;
|
|
1061
|
-
var offset = requestParams && requestParams.offset || 0;
|
|
1062
|
-
var count = requestParams && requestParams.count;
|
|
1063
|
-
var totalPages = typeof count === 'number' && count > 0 ? Math.ceil(totalCount / count) : 0;
|
|
1064
|
-
var current = typeof count === 'number' && count > 0 ? Math.floor(offset / count) + 1 : 0;
|
|
1065
|
-
var isPaging = totalPages > 1 && lodash_1.isFunction(onRequestParamsChange);
|
|
1066
|
-
|
|
1067
|
-
var onChangeHandler = function onChangeHandler(e, _ref2) {
|
|
1068
|
-
var page = _ref2.page,
|
|
1069
|
-
countArg = _ref2.count;
|
|
1070
|
-
var newParams = lodash_1.cloneDeep(requestParams);
|
|
1071
|
-
|
|
1072
|
-
if (typeof countArg === 'number') {
|
|
1073
|
-
newParams.count = countArg;
|
|
1074
|
-
newParams.offset = 0;
|
|
1075
|
-
}
|
|
1076
|
-
|
|
1077
|
-
var pageCount = typeof newParams.count === 'number' ? newParams.count : 10;
|
|
1078
|
-
|
|
1079
|
-
if (typeof page === 'number' && page > 0) {
|
|
1080
|
-
newParams.count = pageCount;
|
|
1081
|
-
newParams.offset = (page - 1) * pageCount;
|
|
1082
|
-
}
|
|
1083
|
-
|
|
1084
|
-
onRequestParamsChange(newParams);
|
|
1085
|
-
};
|
|
1086
|
-
|
|
1087
|
-
return {
|
|
1088
|
-
isPaging: isPaging,
|
|
1089
|
-
current: current,
|
|
1090
|
-
totalPages: totalPages,
|
|
1091
|
-
onChange: lodash_1.isFunction(onRequestParamsChange) ? onChangeHandler : lodash_1.noop
|
|
1092
|
-
};
|
|
1093
|
-
};
|
|
1094
|
-
|
|
1095
|
-
exports.getPaginationParams = getPaginationParams;
|
|
1096
|
-
|
|
1097
|
-
/***/ }),
|
|
1098
|
-
|
|
1099
|
-
/***/ 26:
|
|
1100
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1101
|
-
|
|
1102
|
-
"use strict";
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
1089
|
Object.defineProperty(exports, "__esModule", {
|
|
1106
1090
|
value: true
|
|
1107
1091
|
});
|
|
@@ -1185,7 +1169,7 @@ exports.default = FixedSizeContainer_1.default(IconPlaceholder);
|
|
|
1185
1169
|
|
|
1186
1170
|
/***/ }),
|
|
1187
1171
|
|
|
1188
|
-
/***/
|
|
1172
|
+
/***/ 26:
|
|
1189
1173
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1190
1174
|
|
|
1191
1175
|
"use strict";
|
|
@@ -1214,7 +1198,7 @@ var VizCategory;
|
|
|
1214
1198
|
|
|
1215
1199
|
/***/ }),
|
|
1216
1200
|
|
|
1217
|
-
/***/
|
|
1201
|
+
/***/ 27:
|
|
1218
1202
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1219
1203
|
|
|
1220
1204
|
"use strict";
|
|
@@ -1228,33 +1212,33 @@ var React = __webpack_require__(1);
|
|
|
1228
1212
|
|
|
1229
1213
|
var lodash_1 = __webpack_require__(2);
|
|
1230
1214
|
|
|
1231
|
-
var getSettingsFromThemedProps_1 = __webpack_require__(
|
|
1215
|
+
var getSettingsFromThemedProps_1 = __webpack_require__(28);
|
|
1232
1216
|
|
|
1233
|
-
var Options_1 = __webpack_require__(
|
|
1217
|
+
var Options_1 = __webpack_require__(29);
|
|
1234
1218
|
|
|
1235
|
-
var SanitizeProps_1 = __webpack_require__(
|
|
1219
|
+
var SanitizeProps_1 = __webpack_require__(30);
|
|
1236
1220
|
|
|
1237
1221
|
var styled_components_1 = __webpack_require__(4);
|
|
1238
1222
|
|
|
1239
|
-
var SplunkVisualization_1 = __webpack_require__(
|
|
1223
|
+
var SplunkVisualization_1 = __webpack_require__(31);
|
|
1240
1224
|
|
|
1241
1225
|
var VizBehavior_1 = __webpack_require__(5);
|
|
1242
1226
|
|
|
1243
|
-
var getSorting_1 = __webpack_require__(
|
|
1227
|
+
var getSorting_1 = __webpack_require__(23);
|
|
1244
1228
|
|
|
1245
|
-
var getPagination_1 = __webpack_require__(
|
|
1229
|
+
var getPagination_1 = __webpack_require__(24);
|
|
1246
1230
|
|
|
1247
|
-
var useDeepMemo_1 = __webpack_require__(
|
|
1231
|
+
var useDeepMemo_1 = __webpack_require__(34);
|
|
1248
1232
|
|
|
1249
|
-
var JSONSchemaUtils_1 = __webpack_require__(
|
|
1233
|
+
var JSONSchemaUtils_1 = __webpack_require__(35);
|
|
1250
1234
|
|
|
1251
|
-
var MissingPropsMessage_1 = __webpack_require__(
|
|
1235
|
+
var MissingPropsMessage_1 = __webpack_require__(36);
|
|
1252
1236
|
|
|
1253
|
-
var withEditModeCover_1 = __webpack_require__(
|
|
1237
|
+
var withEditModeCover_1 = __webpack_require__(37);
|
|
1254
1238
|
|
|
1255
|
-
var withPlaceholder_1 = __webpack_require__(
|
|
1239
|
+
var withPlaceholder_1 = __webpack_require__(38);
|
|
1256
1240
|
|
|
1257
|
-
var hocUtils_1 = __webpack_require__(
|
|
1241
|
+
var hocUtils_1 = __webpack_require__(7);
|
|
1258
1242
|
/**
|
|
1259
1243
|
* hoc that wraps a pure react visualization in a Dashboard visualization
|
|
1260
1244
|
* @param {DashboardVizOpts} opts
|
|
@@ -1267,6 +1251,7 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
1267
1251
|
vizConfig = opts.vizConfig,
|
|
1268
1252
|
_opts$computeVizProps = opts.computeVizProps,
|
|
1269
1253
|
computeVizProps = _opts$computeVizProps === void 0 ? function () {} : _opts$computeVizProps,
|
|
1254
|
+
disableEditModeCover = opts.disableEditModeCover,
|
|
1270
1255
|
useIconPlaceholder = opts.useIconPlaceholder; // sanitizing props before sending them to reactviz.
|
|
1271
1256
|
|
|
1272
1257
|
var SanitizedReactViz = SanitizeProps_1.withSanitizedProps(ReactViz);
|
|
@@ -1431,42 +1416,42 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
1431
1416
|
|
|
1432
1417
|
DashboardViz.config = vizConfig; // @ts-ignore: TODO fix sc upgrade TS issues
|
|
1433
1418
|
|
|
1434
|
-
return styled_components_1.withTheme(withPlaceholder_1.default(withEditModeCover_1.default(DashboardViz), useIconPlaceholder));
|
|
1419
|
+
return styled_components_1.withTheme(withPlaceholder_1.default(withEditModeCover_1.default(DashboardViz, disableEditModeCover), useIconPlaceholder));
|
|
1435
1420
|
};
|
|
1436
1421
|
|
|
1437
1422
|
exports.default = withDashboardViz;
|
|
1438
1423
|
|
|
1439
1424
|
/***/ }),
|
|
1440
1425
|
|
|
1441
|
-
/***/
|
|
1426
|
+
/***/ 28:
|
|
1442
1427
|
/***/ (function(module, exports) {
|
|
1443
1428
|
|
|
1444
1429
|
module.exports = require("@splunk/themes/getSettingsFromThemedProps");
|
|
1445
1430
|
|
|
1446
1431
|
/***/ }),
|
|
1447
1432
|
|
|
1448
|
-
/***/
|
|
1433
|
+
/***/ 29:
|
|
1449
1434
|
/***/ (function(module, exports) {
|
|
1450
1435
|
|
|
1451
|
-
module.exports = require("@splunk/
|
|
1436
|
+
module.exports = require("@splunk/visualization-encoding/Options");
|
|
1452
1437
|
|
|
1453
1438
|
/***/ }),
|
|
1454
1439
|
|
|
1455
|
-
/***/
|
|
1440
|
+
/***/ 3:
|
|
1456
1441
|
/***/ (function(module, exports) {
|
|
1457
1442
|
|
|
1458
|
-
module.exports = require("@splunk/
|
|
1443
|
+
module.exports = require("@splunk/ui-utils/i18n");
|
|
1459
1444
|
|
|
1460
1445
|
/***/ }),
|
|
1461
1446
|
|
|
1462
|
-
/***/
|
|
1447
|
+
/***/ 30:
|
|
1463
1448
|
/***/ (function(module, exports) {
|
|
1464
1449
|
|
|
1465
1450
|
module.exports = require("@splunk/visualizations-shared/SanitizeProps");
|
|
1466
1451
|
|
|
1467
1452
|
/***/ }),
|
|
1468
1453
|
|
|
1469
|
-
/***/
|
|
1454
|
+
/***/ 31:
|
|
1470
1455
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1471
1456
|
|
|
1472
1457
|
"use strict";
|
|
@@ -1484,7 +1469,7 @@ var T = __webpack_require__(0);
|
|
|
1484
1469
|
|
|
1485
1470
|
var lodash_1 = __webpack_require__(2);
|
|
1486
1471
|
|
|
1487
|
-
var VizActionHandler_1 = __webpack_require__(
|
|
1472
|
+
var VizActionHandler_1 = __webpack_require__(32); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
|
|
1488
1473
|
|
|
1489
1474
|
|
|
1490
1475
|
exports.INITIAL_WIDTH = 250;
|
|
@@ -1618,7 +1603,7 @@ exports.default = SplunkVisualization;
|
|
|
1618
1603
|
|
|
1619
1604
|
/***/ }),
|
|
1620
1605
|
|
|
1621
|
-
/***/
|
|
1606
|
+
/***/ 32:
|
|
1622
1607
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1623
1608
|
|
|
1624
1609
|
"use strict";
|
|
@@ -1626,7 +1611,7 @@ exports.default = SplunkVisualization;
|
|
|
1626
1611
|
|
|
1627
1612
|
var _classCallCheck = __webpack_require__(10);
|
|
1628
1613
|
|
|
1629
|
-
var _createClass = __webpack_require__(
|
|
1614
|
+
var _createClass = __webpack_require__(15);
|
|
1630
1615
|
|
|
1631
1616
|
Object.defineProperty(exports, "__esModule", {
|
|
1632
1617
|
value: true
|
|
@@ -1656,7 +1641,7 @@ exports.DefaultVizActionHandler = DefaultVizActionHandler;
|
|
|
1656
1641
|
|
|
1657
1642
|
/***/ }),
|
|
1658
1643
|
|
|
1659
|
-
/***/
|
|
1644
|
+
/***/ 33:
|
|
1660
1645
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1661
1646
|
|
|
1662
1647
|
"use strict";
|
|
@@ -1670,7 +1655,7 @@ exports.validSortDirs = ['asc', 'desc', 'none'];
|
|
|
1670
1655
|
|
|
1671
1656
|
/***/ }),
|
|
1672
1657
|
|
|
1673
|
-
/***/
|
|
1658
|
+
/***/ 34:
|
|
1674
1659
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1675
1660
|
|
|
1676
1661
|
"use strict";
|
|
@@ -1716,7 +1701,7 @@ exports.useDeepMemo = useDeepMemo;
|
|
|
1716
1701
|
|
|
1717
1702
|
/***/ }),
|
|
1718
1703
|
|
|
1719
|
-
/***/
|
|
1704
|
+
/***/ 35:
|
|
1720
1705
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1721
1706
|
|
|
1722
1707
|
"use strict";
|
|
@@ -1750,7 +1735,7 @@ exports.pickFieldFromJSONSchema = pickFieldFromJSONSchema;
|
|
|
1750
1735
|
|
|
1751
1736
|
/***/ }),
|
|
1752
1737
|
|
|
1753
|
-
/***/
|
|
1738
|
+
/***/ 36:
|
|
1754
1739
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1755
1740
|
|
|
1756
1741
|
"use strict";
|
|
@@ -1831,7 +1816,7 @@ exports.default = FixedSizeContainer_1.default(exports.MissingPropsMessage);
|
|
|
1831
1816
|
|
|
1832
1817
|
/***/ }),
|
|
1833
1818
|
|
|
1834
|
-
/***/
|
|
1819
|
+
/***/ 37:
|
|
1835
1820
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1836
1821
|
|
|
1837
1822
|
"use strict";
|
|
@@ -1845,16 +1830,14 @@ var React = __webpack_require__(1);
|
|
|
1845
1830
|
|
|
1846
1831
|
var styled_components_1 = __webpack_require__(4);
|
|
1847
1832
|
|
|
1848
|
-
var hocUtils_1 = __webpack_require__(
|
|
1849
|
-
|
|
1850
|
-
var version_1 = __webpack_require__(13);
|
|
1833
|
+
var hocUtils_1 = __webpack_require__(7);
|
|
1851
1834
|
|
|
1852
1835
|
var Cover = styled_components_1.default.div.withConfig({
|
|
1853
1836
|
displayName: "withEditModeCover__Cover",
|
|
1854
1837
|
componentId: "sc-1gsbnxb-0"
|
|
1855
1838
|
})(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
|
|
1856
1839
|
var Blocker = styled_components_1.default.div.attrs({
|
|
1857
|
-
'data-splunk-visualization-version':
|
|
1840
|
+
'data-splunk-visualization-version': "24.3.2 - 1cf892b72"
|
|
1858
1841
|
}).withConfig({
|
|
1859
1842
|
displayName: "withEditModeCover__Blocker",
|
|
1860
1843
|
componentId: "sc-1gsbnxb-1"
|
|
@@ -1866,10 +1849,11 @@ var Blocker = styled_components_1.default.div.attrs({
|
|
|
1866
1849
|
* @returns {ExtendedDashViz} Wrapper
|
|
1867
1850
|
*/
|
|
1868
1851
|
|
|
1869
|
-
var withEditModeCover = function withEditModeCover(Visualization) {
|
|
1852
|
+
var withEditModeCover = function withEditModeCover(Visualization, disableEditModeCover) {
|
|
1870
1853
|
var Wrapper = function Wrapper(props) {
|
|
1871
1854
|
var mode = props.mode;
|
|
1872
|
-
|
|
1855
|
+
var showEditCover = mode === 'edit' && !disableEditModeCover;
|
|
1856
|
+
return React.createElement(Blocker, null, React.createElement(Visualization, Object.assign({}, props)), showEditCover && React.createElement(Cover, {
|
|
1873
1857
|
"data-test": "edit-mode-cover"
|
|
1874
1858
|
}));
|
|
1875
1859
|
};
|
|
@@ -1885,7 +1869,7 @@ exports.default = withEditModeCover;
|
|
|
1885
1869
|
|
|
1886
1870
|
/***/ }),
|
|
1887
1871
|
|
|
1888
|
-
/***/
|
|
1872
|
+
/***/ 38:
|
|
1889
1873
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1890
1874
|
|
|
1891
1875
|
"use strict";
|
|
@@ -1899,11 +1883,11 @@ var React = __webpack_require__(1);
|
|
|
1899
1883
|
|
|
1900
1884
|
var colorUtils_1 = __webpack_require__(11);
|
|
1901
1885
|
|
|
1902
|
-
var IconPlaceholder_1 = __webpack_require__(
|
|
1886
|
+
var IconPlaceholder_1 = __webpack_require__(25);
|
|
1903
1887
|
|
|
1904
1888
|
var VizBehavior_1 = __webpack_require__(5);
|
|
1905
1889
|
|
|
1906
|
-
var hocUtils_1 = __webpack_require__(
|
|
1890
|
+
var hocUtils_1 = __webpack_require__(7);
|
|
1907
1891
|
|
|
1908
1892
|
var withPlaceholder = function withPlaceholder(Visualization) {
|
|
1909
1893
|
var useIconPlaceholder = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : IconPlaceholder_1.shouldShowIconPlaceholder;
|
|
@@ -1945,35 +1929,35 @@ exports.default = withPlaceholder;
|
|
|
1945
1929
|
|
|
1946
1930
|
/***/ }),
|
|
1947
1931
|
|
|
1948
|
-
/***/
|
|
1932
|
+
/***/ 39:
|
|
1949
1933
|
/***/ (function(module, exports) {
|
|
1950
1934
|
|
|
1951
|
-
module.exports = require("
|
|
1935
|
+
module.exports = require("@babel/runtime/helpers/toConsumableArray");
|
|
1952
1936
|
|
|
1953
1937
|
/***/ }),
|
|
1954
1938
|
|
|
1955
|
-
/***/
|
|
1939
|
+
/***/ 4:
|
|
1956
1940
|
/***/ (function(module, exports) {
|
|
1957
1941
|
|
|
1958
|
-
module.exports = require("
|
|
1942
|
+
module.exports = require("styled-components");
|
|
1959
1943
|
|
|
1960
1944
|
/***/ }),
|
|
1961
1945
|
|
|
1962
|
-
/***/
|
|
1946
|
+
/***/ 41:
|
|
1963
1947
|
/***/ (function(module, exports) {
|
|
1964
1948
|
|
|
1965
1949
|
module.exports = require("@splunk/visualization-color-palettes");
|
|
1966
1950
|
|
|
1967
1951
|
/***/ }),
|
|
1968
1952
|
|
|
1969
|
-
/***/
|
|
1953
|
+
/***/ 42:
|
|
1970
1954
|
/***/ (function(module, exports) {
|
|
1971
1955
|
|
|
1972
1956
|
module.exports = require("@splunk/visualization-icons");
|
|
1973
1957
|
|
|
1974
1958
|
/***/ }),
|
|
1975
1959
|
|
|
1976
|
-
/***/
|
|
1960
|
+
/***/ 45:
|
|
1977
1961
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1978
1962
|
|
|
1979
1963
|
"use strict";
|
|
@@ -2004,13 +1988,13 @@ exports.default = background;
|
|
|
2004
1988
|
|
|
2005
1989
|
/***/ }),
|
|
2006
1990
|
|
|
2007
|
-
/***/
|
|
1991
|
+
/***/ 46:
|
|
2008
1992
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2009
1993
|
|
|
2010
1994
|
"use strict";
|
|
2011
1995
|
|
|
2012
1996
|
|
|
2013
|
-
var _toConsumableArray = __webpack_require__(
|
|
1997
|
+
var _toConsumableArray = __webpack_require__(39);
|
|
2014
1998
|
|
|
2015
1999
|
var __rest = this && this.__rest || function (s, e) {
|
|
2016
2000
|
var t = {};
|
|
@@ -2226,7 +2210,7 @@ exports.constructFieldsAndColumns = constructFieldsAndColumns;
|
|
|
2226
2210
|
|
|
2227
2211
|
/***/ }),
|
|
2228
2212
|
|
|
2229
|
-
/***/
|
|
2213
|
+
/***/ 47:
|
|
2230
2214
|
/***/ (function(module, exports) {
|
|
2231
2215
|
|
|
2232
2216
|
module.exports = require("@splunk/charting-bundle");
|
|
@@ -2287,7 +2271,7 @@ var lodash_1 = __webpack_require__(2);
|
|
|
2287
2271
|
|
|
2288
2272
|
var i18n_1 = __webpack_require__(3);
|
|
2289
2273
|
|
|
2290
|
-
var visualization_color_palettes_1 = __webpack_require__(
|
|
2274
|
+
var visualization_color_palettes_1 = __webpack_require__(41);
|
|
2291
2275
|
|
|
2292
2276
|
var react_1 = __webpack_require__(1);
|
|
2293
2277
|
|
|
@@ -2300,11 +2284,11 @@ var react_event_listener_1 = __webpack_require__(52);
|
|
|
2300
2284
|
__webpack_require__(53); // fixme, @splunk/charting should be refactor to use locale & timezone instead of i18n functions
|
|
2301
2285
|
|
|
2302
2286
|
|
|
2303
|
-
var charting_bundle_1 = __webpack_require__(
|
|
2287
|
+
var charting_bundle_1 = __webpack_require__(47);
|
|
2304
2288
|
|
|
2305
2289
|
var TimezoneContext_1 = __webpack_require__(54);
|
|
2306
2290
|
|
|
2307
|
-
var style_1 = __webpack_require__(
|
|
2291
|
+
var style_1 = __webpack_require__(13);
|
|
2308
2292
|
|
|
2309
2293
|
var styled_components_1 = __webpack_require__(4);
|
|
2310
2294
|
|
|
@@ -2737,7 +2721,7 @@ module.exports = require("@splunk/visualizations-shared/themeUtils");
|
|
|
2737
2721
|
|
|
2738
2722
|
var _classCallCheck = __webpack_require__(10);
|
|
2739
2723
|
|
|
2740
|
-
var _createClass = __webpack_require__(
|
|
2724
|
+
var _createClass = __webpack_require__(15);
|
|
2741
2725
|
|
|
2742
2726
|
Object.defineProperty(exports, "__esModule", {
|
|
2743
2727
|
value: true
|
|
@@ -2811,7 +2795,7 @@ module.exports = require("@splunk/visualizations-shared/simpleXMLOptions");
|
|
|
2811
2795
|
"use strict";
|
|
2812
2796
|
|
|
2813
2797
|
|
|
2814
|
-
var _defineProperty = __webpack_require__(
|
|
2798
|
+
var _defineProperty = __webpack_require__(8);
|
|
2815
2799
|
|
|
2816
2800
|
var __rest = this && this.__rest || function (s, e) {
|
|
2817
2801
|
var t = {};
|
|
@@ -2833,7 +2817,7 @@ exports.generatePrecisionValues = exports.getInitialPreset = exports.isDynamicOp
|
|
|
2833
2817
|
|
|
2834
2818
|
var lodash_1 = __webpack_require__(2);
|
|
2835
2819
|
|
|
2836
|
-
var schemaUtils_1 = __webpack_require__(
|
|
2820
|
+
var schemaUtils_1 = __webpack_require__(14);
|
|
2837
2821
|
|
|
2838
2822
|
var VizBehavior_1 = __webpack_require__(5);
|
|
2839
2823
|
|
|
@@ -3087,19 +3071,12 @@ exports.default = legend;
|
|
|
3087
3071
|
/***/ }),
|
|
3088
3072
|
|
|
3089
3073
|
/***/ 7:
|
|
3090
|
-
/***/ (function(module, exports) {
|
|
3091
|
-
|
|
3092
|
-
module.exports = require("@babel/runtime/helpers/defineProperty");
|
|
3093
|
-
|
|
3094
|
-
/***/ }),
|
|
3095
|
-
|
|
3096
|
-
/***/ 8:
|
|
3097
3074
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3098
3075
|
|
|
3099
3076
|
"use strict";
|
|
3100
3077
|
|
|
3101
3078
|
|
|
3102
|
-
var _typeof = __webpack_require__(
|
|
3079
|
+
var _typeof = __webpack_require__(20);
|
|
3103
3080
|
|
|
3104
3081
|
Object.defineProperty(exports, "__esModule", {
|
|
3105
3082
|
value: true
|
|
@@ -3166,6 +3143,13 @@ exports.deepMergeWithArrayOverrides = deepMergeWithArrayOverrides;
|
|
|
3166
3143
|
|
|
3167
3144
|
/***/ }),
|
|
3168
3145
|
|
|
3146
|
+
/***/ 8:
|
|
3147
|
+
/***/ (function(module, exports) {
|
|
3148
|
+
|
|
3149
|
+
module.exports = require("@babel/runtime/helpers/defineProperty");
|
|
3150
|
+
|
|
3151
|
+
/***/ }),
|
|
3152
|
+
|
|
3169
3153
|
/***/ 9:
|
|
3170
3154
|
/***/ (function(module, exports) {
|
|
3171
3155
|
|