@splunk/visualizations 24.0.0 → 24.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.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_PureLinkGraph_Background_Color.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Field_Order.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Field_Order_First_And_Last.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Field_Order_Some.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Fields_Columns.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Handles_Large_Data_Set.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Link_Color.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Link_Width.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Node_Color.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Node_Height.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Node_Highlight_Color.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Node_Spacing_X.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Node_Spacing_Y.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Node_Width.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Result_Limit.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Show_Node_Counts_False.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Show_Value_Counts_False.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureLinkGraph_Width_Height.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_Line_Line_Basic_Line_with_offset_IANA_timezone.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Basic_Line_with_offset_serialized_timezone.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Line_Line_Basic_Line_with_offset_utc_timezone.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_LinkGraph_LinkGraph_Basic_LinkGraph.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_LinkGraph_LinkGraph_Field_Order_First_and_Last_Fields.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_LinkGraph_LinkGraph_Field_Order_From_the_First_to_the_Last_Fields.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_LinkGraph_LinkGraph_Field_Order_From_the_Last_to_the_First_Fields.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_LinkGraph_LinkGraph_Node_Text_Color.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_LinkGraph_LinkGraph_Node_Text_Highlight_Color.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_LinkGraph_LinkGraph_Result_Limit_3.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_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 +19 -15
- package/Area.config.js.map +1 -1
- package/Area.js +102 -82
- package/Area.js.map +1 -1
- package/Bar.config.js +15 -15
- package/Bar.config.js.map +1 -1
- package/Bar.js +91 -75
- package/Bar.js.map +1 -1
- package/Bubble.config.js +8 -8
- package/Bubble.config.js.map +1 -1
- package/Bubble.js +82 -66
- package/Bubble.js.map +1 -1
- package/ChoroplethSvg.config.js +11 -9
- package/ChoroplethSvg.config.js.map +1 -1
- package/ChoroplethSvg.js +92 -82
- package/ChoroplethSvg.js.map +1 -1
- package/Column.config.js +15 -15
- package/Column.config.js.map +1 -1
- package/Column.js +91 -75
- package/Column.js.map +1 -1
- package/Ellipse.config.js +22 -6
- package/Ellipse.config.js.map +1 -1
- package/Ellipse.js +80 -56
- package/Ellipse.js.map +1 -1
- package/FillerGauge.config.js +8 -8
- package/FillerGauge.config.js.map +1 -1
- package/FillerGauge.js +64 -56
- package/FillerGauge.js.map +1 -1
- package/Image.js +46 -41
- package/Image.js.map +1 -1
- package/Line.config.js +8 -8
- package/Line.config.js.map +1 -1
- package/Line.js +89 -73
- package/Line.js.map +1 -1
- package/LinkGraph.config.js +52 -5
- package/LinkGraph.config.js.map +1 -1
- package/LinkGraph.js +161 -90
- package/LinkGraph.js.map +1 -1
- package/Map.config.js +740 -0
- package/Map.config.js.map +1 -0
- package/Map.js +3137 -0
- package/Map.js.map +1 -0
- package/Markdown.config.js +12 -16
- package/Markdown.config.js.map +1 -1
- package/Markdown.js +57 -56
- package/Markdown.js.map +1 -1
- package/MarkerGauge.config.js +6 -6
- package/MarkerGauge.config.js.map +1 -1
- package/MarkerGauge.js +2960 -3046
- package/MarkerGauge.js.map +1 -1
- package/ParallelCoordinates.config.js +11 -11
- package/ParallelCoordinates.config.js.map +1 -1
- package/ParallelCoordinates.js +97 -78
- package/ParallelCoordinates.js.map +1 -1
- package/Pie.config.js +13 -17
- package/Pie.config.js.map +1 -1
- package/Pie.js +917 -999
- package/Pie.js.map +1 -1
- package/Punchcard.config.js +11 -11
- package/Punchcard.config.js.map +1 -1
- package/Punchcard.js +114 -95
- package/Punchcard.js.map +1 -1
- package/README.internal.md +36 -3
- package/README.md +7 -9
- package/Rectangle.config.js +32 -16
- package/Rectangle.config.js.map +1 -1
- package/Rectangle.js +153 -132
- package/Rectangle.js.map +1 -1
- package/Sankey.config.js +35 -25
- package/Sankey.config.js.map +1 -1
- package/Sankey.js +2951 -3045
- package/Sankey.js.map +1 -1
- package/Scatter.config.js +11 -11
- package/Scatter.config.js.map +1 -1
- package/Scatter.js +301 -286
- package/Scatter.js.map +1 -1
- package/SingleValue.config.js +23 -22
- package/SingleValue.config.js.map +1 -1
- package/SingleValue.js +271 -266
- package/SingleValue.js.map +1 -1
- package/SingleValueBasic.js +14 -14
- package/SingleValueBasic.js.map +1 -1
- package/SingleValueIcon.config.js +33 -34
- package/SingleValueIcon.config.js.map +1 -1
- package/SingleValueIcon.js +156 -140
- package/SingleValueIcon.js.map +1 -1
- package/SingleValueRadial.config.js +22 -22
- package/SingleValueRadial.config.js.map +1 -1
- package/SingleValueRadial.js +301 -296
- package/SingleValueRadial.js.map +1 -1
- package/Table.config.js +28 -8
- package/Table.config.js.map +1 -1
- package/Table.js +427 -259
- package/Table.js.map +1 -1
- package/common/Charting.js +19 -10
- package/common/Charting.js.map +1 -1
- package/common/EventsDoc.js +3 -2
- 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 +10 -9
- package/common/OptionsDoc.js.map +1 -1
- package/common/OverviewDoc.js +22 -22
- package/common/OverviewDoc.js.map +1 -1
- package/common/SplunkVisualizationApi.js +2 -2
- package/common/SplunkVisualizationApi.js.map +1 -1
- package/common/ThemesDoc.js +2 -2
- package/common/ThemesDoc.js.map +1 -1
- package/common/chartingUtils.js +2 -2
- package/common/chartingUtils.js.map +1 -1
- package/common/docUtils.js +4 -4
- package/common/docUtils.js.map +1 -1
- package/common/gaugeUtils.js +7 -7
- package/common/gaugeUtils.js.map +1 -1
- package/common/shapeUtils.js +8 -8
- package/common/shapeUtils.js.map +1 -1
- package/common/withDashboardViz.js +38 -32
- package/common/withDashboardViz.js.map +1 -1
- package/loki.config.js +2 -0
- package/package.json +20 -15
- package/.loki/reference/chrome_docker_PureVisualizations_PureSingleValueRadial_Trend_Indicator_Position_pushed_below_value_does_not_fit_inside_of_radial.png +0 -0
package/LinkGraph.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 = 175);
|
|
91
91
|
/******/ })
|
|
92
92
|
/************************************************************************/
|
|
93
93
|
/******/ ([
|
|
@@ -164,7 +164,7 @@ var VizBehavior;
|
|
|
164
164
|
"use strict";
|
|
165
165
|
|
|
166
166
|
|
|
167
|
-
var _defineProperty = __webpack_require__(
|
|
167
|
+
var _defineProperty = __webpack_require__(8);
|
|
168
168
|
|
|
169
169
|
var __rest = this && this.__rest || function (s, e) {
|
|
170
170
|
var t = {};
|
|
@@ -350,18 +350,12 @@ exports.generatePrecisionValues = generatePrecisionValues;
|
|
|
350
350
|
|
|
351
351
|
/***/ }),
|
|
352
352
|
/* 7 */
|
|
353
|
-
/***/ (function(module, exports) {
|
|
354
|
-
|
|
355
|
-
module.exports = require("@babel/runtime/helpers/defineProperty");
|
|
356
|
-
|
|
357
|
-
/***/ }),
|
|
358
|
-
/* 8 */
|
|
359
353
|
/***/ (function(module, exports, __webpack_require__) {
|
|
360
354
|
|
|
361
355
|
"use strict";
|
|
362
356
|
|
|
363
357
|
|
|
364
|
-
var _typeof = __webpack_require__(
|
|
358
|
+
var _typeof = __webpack_require__(20);
|
|
365
359
|
|
|
366
360
|
Object.defineProperty(exports, "__esModule", {
|
|
367
361
|
value: true
|
|
@@ -426,6 +420,12 @@ var deepMergeWithArrayOverrides = function deepMergeWithArrayOverrides(initial)
|
|
|
426
420
|
|
|
427
421
|
exports.deepMergeWithArrayOverrides = deepMergeWithArrayOverrides;
|
|
428
422
|
|
|
423
|
+
/***/ }),
|
|
424
|
+
/* 8 */
|
|
425
|
+
/***/ (function(module, exports) {
|
|
426
|
+
|
|
427
|
+
module.exports = require("@babel/runtime/helpers/defineProperty");
|
|
428
|
+
|
|
429
429
|
/***/ }),
|
|
430
430
|
/* 9 */
|
|
431
431
|
/***/ (function(module, exports) {
|
|
@@ -459,7 +459,7 @@ var React = __webpack_require__(1);
|
|
|
459
459
|
|
|
460
460
|
var styled_components_1 = __webpack_require__(4);
|
|
461
461
|
|
|
462
|
-
var SizeAwareWrapper_1 = __webpack_require__(
|
|
462
|
+
var SizeAwareWrapper_1 = __webpack_require__(16);
|
|
463
463
|
|
|
464
464
|
var style_1 = __webpack_require__(13);
|
|
465
465
|
|
|
@@ -520,6 +520,7 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
|
|
|
520
520
|
|
|
521
521
|
return React.createElement(FixSizeItem, {
|
|
522
522
|
"data-test": "fix-size-item",
|
|
523
|
+
"data-splunk-visualization-version": "24.3.0 - 1c1ae4b3c",
|
|
523
524
|
width: width,
|
|
524
525
|
height: height,
|
|
525
526
|
backgroundColor: backgroundColor
|
|
@@ -552,19 +553,19 @@ module.exports = require("@splunk/visualizations-shared/style");
|
|
|
552
553
|
module.exports = require("@splunk/visualizations-shared/schemaUtils");
|
|
553
554
|
|
|
554
555
|
/***/ }),
|
|
555
|
-
/* 15
|
|
556
|
-
/* 16 */
|
|
556
|
+
/* 15 */
|
|
557
557
|
/***/ (function(module, exports) {
|
|
558
558
|
|
|
559
559
|
module.exports = require("@babel/runtime/helpers/createClass");
|
|
560
560
|
|
|
561
561
|
/***/ }),
|
|
562
|
-
/*
|
|
562
|
+
/* 16 */
|
|
563
563
|
/***/ (function(module, exports) {
|
|
564
564
|
|
|
565
565
|
module.exports = require("@splunk/visualizations-shared/SizeAwareWrapper");
|
|
566
566
|
|
|
567
567
|
/***/ }),
|
|
568
|
+
/* 17 */,
|
|
568
569
|
/* 18 */,
|
|
569
570
|
/* 19 */
|
|
570
571
|
/***/ (function(module, exports) {
|
|
@@ -575,23 +576,23 @@ module.exports = require("@splunk/themes/variables");
|
|
|
575
576
|
/* 20 */
|
|
576
577
|
/***/ (function(module, exports) {
|
|
577
578
|
|
|
578
|
-
module.exports = require("@
|
|
579
|
+
module.exports = require("@babel/runtime/helpers/typeof");
|
|
579
580
|
|
|
580
581
|
/***/ }),
|
|
581
|
-
/* 21
|
|
582
|
-
/* 22 */
|
|
582
|
+
/* 21 */
|
|
583
583
|
/***/ (function(module, exports) {
|
|
584
584
|
|
|
585
|
-
module.exports = require("@
|
|
585
|
+
module.exports = require("@splunk/themes/pick");
|
|
586
586
|
|
|
587
587
|
/***/ }),
|
|
588
|
+
/* 22 */,
|
|
588
589
|
/* 23 */
|
|
589
590
|
/***/ (function(module, exports, __webpack_require__) {
|
|
590
591
|
|
|
591
592
|
"use strict";
|
|
592
593
|
|
|
593
594
|
|
|
594
|
-
var _defineProperty = __webpack_require__(
|
|
595
|
+
var _defineProperty = __webpack_require__(8);
|
|
595
596
|
|
|
596
597
|
Object.defineProperty(exports, "__esModule", {
|
|
597
598
|
value: true
|
|
@@ -875,7 +876,7 @@ var withEditModeCover_1 = __webpack_require__(37);
|
|
|
875
876
|
|
|
876
877
|
var withPlaceholder_1 = __webpack_require__(38);
|
|
877
878
|
|
|
878
|
-
var hocUtils_1 = __webpack_require__(
|
|
879
|
+
var hocUtils_1 = __webpack_require__(7);
|
|
879
880
|
/**
|
|
880
881
|
* hoc that wraps a pure react visualization in a Dashboard visualization
|
|
881
882
|
* @param {DashboardVizOpts} opts
|
|
@@ -888,6 +889,7 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
888
889
|
vizConfig = opts.vizConfig,
|
|
889
890
|
_opts$computeVizProps = opts.computeVizProps,
|
|
890
891
|
computeVizProps = _opts$computeVizProps === void 0 ? function () {} : _opts$computeVizProps,
|
|
892
|
+
disableEditModeCover = opts.disableEditModeCover,
|
|
891
893
|
useIconPlaceholder = opts.useIconPlaceholder; // sanitizing props before sending them to reactviz.
|
|
892
894
|
|
|
893
895
|
var SanitizedReactViz = SanitizeProps_1.withSanitizedProps(ReactViz);
|
|
@@ -1052,7 +1054,7 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
1052
1054
|
|
|
1053
1055
|
DashboardViz.config = vizConfig; // @ts-ignore: TODO fix sc upgrade TS issues
|
|
1054
1056
|
|
|
1055
|
-
return styled_components_1.withTheme(withPlaceholder_1.default(withEditModeCover_1.default(DashboardViz), useIconPlaceholder));
|
|
1057
|
+
return styled_components_1.withTheme(withPlaceholder_1.default(withEditModeCover_1.default(DashboardViz, disableEditModeCover), useIconPlaceholder));
|
|
1056
1058
|
};
|
|
1057
1059
|
|
|
1058
1060
|
exports.default = withDashboardViz;
|
|
@@ -1235,7 +1237,7 @@ exports.default = SplunkVisualization;
|
|
|
1235
1237
|
|
|
1236
1238
|
var _classCallCheck = __webpack_require__(10);
|
|
1237
1239
|
|
|
1238
|
-
var _createClass = __webpack_require__(
|
|
1240
|
+
var _createClass = __webpack_require__(15);
|
|
1239
1241
|
|
|
1240
1242
|
Object.defineProperty(exports, "__esModule", {
|
|
1241
1243
|
value: true
|
|
@@ -1449,13 +1451,15 @@ var React = __webpack_require__(1);
|
|
|
1449
1451
|
|
|
1450
1452
|
var styled_components_1 = __webpack_require__(4);
|
|
1451
1453
|
|
|
1452
|
-
var hocUtils_1 = __webpack_require__(
|
|
1454
|
+
var hocUtils_1 = __webpack_require__(7);
|
|
1453
1455
|
|
|
1454
1456
|
var Cover = styled_components_1.default.div.withConfig({
|
|
1455
1457
|
displayName: "withEditModeCover__Cover",
|
|
1456
1458
|
componentId: "sc-1gsbnxb-0"
|
|
1457
1459
|
})(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
|
|
1458
|
-
var Blocker = styled_components_1.default.div.
|
|
1460
|
+
var Blocker = styled_components_1.default.div.attrs({
|
|
1461
|
+
'data-splunk-visualization-version': "24.3.0 - 1c1ae4b3c"
|
|
1462
|
+
}).withConfig({
|
|
1459
1463
|
displayName: "withEditModeCover__Blocker",
|
|
1460
1464
|
componentId: "sc-1gsbnxb-1"
|
|
1461
1465
|
})(["position:relative;width:100%;height:100%;"]);
|
|
@@ -1466,10 +1470,11 @@ var Blocker = styled_components_1.default.div.withConfig({
|
|
|
1466
1470
|
* @returns {ExtendedDashViz} Wrapper
|
|
1467
1471
|
*/
|
|
1468
1472
|
|
|
1469
|
-
var withEditModeCover = function withEditModeCover(Visualization) {
|
|
1473
|
+
var withEditModeCover = function withEditModeCover(Visualization, disableEditModeCover) {
|
|
1470
1474
|
var Wrapper = function Wrapper(props) {
|
|
1471
1475
|
var mode = props.mode;
|
|
1472
|
-
|
|
1476
|
+
var showEditCover = mode === 'edit' && !disableEditModeCover;
|
|
1477
|
+
return React.createElement(Blocker, null, React.createElement(Visualization, Object.assign({}, props)), showEditCover && React.createElement(Cover, {
|
|
1473
1478
|
"data-test": "edit-mode-cover"
|
|
1474
1479
|
}));
|
|
1475
1480
|
};
|
|
@@ -1502,7 +1507,7 @@ var IconPlaceholder_1 = __webpack_require__(25);
|
|
|
1502
1507
|
|
|
1503
1508
|
var VizBehavior_1 = __webpack_require__(5);
|
|
1504
1509
|
|
|
1505
|
-
var hocUtils_1 = __webpack_require__(
|
|
1510
|
+
var hocUtils_1 = __webpack_require__(7);
|
|
1506
1511
|
|
|
1507
1512
|
var withPlaceholder = function withPlaceholder(Visualization) {
|
|
1508
1513
|
var useIconPlaceholder = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : IconPlaceholder_1.shouldShowIconPlaceholder;
|
|
@@ -1572,7 +1577,12 @@ module.exports = require("@splunk/visualization-icons");
|
|
|
1572
1577
|
/* 45 */,
|
|
1573
1578
|
/* 46 */,
|
|
1574
1579
|
/* 47 */,
|
|
1575
|
-
/* 48
|
|
1580
|
+
/* 48 */
|
|
1581
|
+
/***/ (function(module, exports) {
|
|
1582
|
+
|
|
1583
|
+
module.exports = require("@babel/runtime/helpers/slicedToArray");
|
|
1584
|
+
|
|
1585
|
+
/***/ }),
|
|
1576
1586
|
/* 49 */,
|
|
1577
1587
|
/* 50 */,
|
|
1578
1588
|
/* 51 */,
|
|
@@ -1584,12 +1594,7 @@ module.exports = require("@splunk/visualization-icons");
|
|
|
1584
1594
|
/* 57 */,
|
|
1585
1595
|
/* 58 */,
|
|
1586
1596
|
/* 59 */,
|
|
1587
|
-
/* 60
|
|
1588
|
-
/***/ (function(module, exports) {
|
|
1589
|
-
|
|
1590
|
-
module.exports = require("@babel/runtime/helpers/slicedToArray");
|
|
1591
|
-
|
|
1592
|
-
/***/ }),
|
|
1597
|
+
/* 60 */,
|
|
1593
1598
|
/* 61 */,
|
|
1594
1599
|
/* 62 */,
|
|
1595
1600
|
/* 63 */,
|
|
@@ -1616,25 +1621,25 @@ module.exports = require("@babel/runtime/helpers/slicedToArray");
|
|
|
1616
1621
|
/* 84 */,
|
|
1617
1622
|
/* 85 */,
|
|
1618
1623
|
/* 86 */,
|
|
1619
|
-
/* 87
|
|
1624
|
+
/* 87 */,
|
|
1625
|
+
/* 88 */
|
|
1620
1626
|
/***/ (function(module, exports) {
|
|
1621
1627
|
|
|
1622
1628
|
module.exports = require("@babel/runtime/helpers/inherits");
|
|
1623
1629
|
|
|
1624
1630
|
/***/ }),
|
|
1625
|
-
/*
|
|
1631
|
+
/* 89 */
|
|
1626
1632
|
/***/ (function(module, exports) {
|
|
1627
1633
|
|
|
1628
1634
|
module.exports = require("@babel/runtime/helpers/possibleConstructorReturn");
|
|
1629
1635
|
|
|
1630
1636
|
/***/ }),
|
|
1631
|
-
/*
|
|
1637
|
+
/* 90 */
|
|
1632
1638
|
/***/ (function(module, exports) {
|
|
1633
1639
|
|
|
1634
1640
|
module.exports = require("@babel/runtime/helpers/getPrototypeOf");
|
|
1635
1641
|
|
|
1636
1642
|
/***/ }),
|
|
1637
|
-
/* 90 */,
|
|
1638
1643
|
/* 91 */,
|
|
1639
1644
|
/* 92 */,
|
|
1640
1645
|
/* 93 */,
|
|
@@ -1642,13 +1647,13 @@ module.exports = require("@babel/runtime/helpers/getPrototypeOf");
|
|
|
1642
1647
|
/* 95 */,
|
|
1643
1648
|
/* 96 */,
|
|
1644
1649
|
/* 97 */,
|
|
1645
|
-
/* 98
|
|
1650
|
+
/* 98 */,
|
|
1651
|
+
/* 99 */
|
|
1646
1652
|
/***/ (function(module, exports) {
|
|
1647
1653
|
|
|
1648
1654
|
module.exports = require("@splunk/visualizations-shared/dataSourceUtils");
|
|
1649
1655
|
|
|
1650
1656
|
/***/ }),
|
|
1651
|
-
/* 99 */,
|
|
1652
1657
|
/* 100 */,
|
|
1653
1658
|
/* 101 */,
|
|
1654
1659
|
/* 102 */,
|
|
@@ -1667,7 +1672,9 @@ module.exports = require("@splunk/visualizations-shared/dataSourceUtils");
|
|
|
1667
1672
|
/* 115 */,
|
|
1668
1673
|
/* 116 */,
|
|
1669
1674
|
/* 117 */,
|
|
1670
|
-
/* 118
|
|
1675
|
+
/* 118 */,
|
|
1676
|
+
/* 119 */,
|
|
1677
|
+
/* 120 */
|
|
1671
1678
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1672
1679
|
|
|
1673
1680
|
"use strict";
|
|
@@ -1693,15 +1700,15 @@ exports.PureLinkGraph = exports.LinkGraph = exports.config = exports.themes = ex
|
|
|
1693
1700
|
|
|
1694
1701
|
var lodash_1 = __webpack_require__(2);
|
|
1695
1702
|
|
|
1696
|
-
var dataSourceUtils_1 = __webpack_require__(
|
|
1703
|
+
var dataSourceUtils_1 = __webpack_require__(99);
|
|
1697
1704
|
|
|
1698
1705
|
var withDashboardViz_1 = __webpack_require__(27);
|
|
1699
1706
|
|
|
1700
|
-
var PureLinkGraph_1 = __webpack_require__(
|
|
1707
|
+
var PureLinkGraph_1 = __webpack_require__(176);
|
|
1701
1708
|
|
|
1702
1709
|
exports.PureLinkGraph = PureLinkGraph_1.default;
|
|
1703
1710
|
|
|
1704
|
-
var config_1 = __webpack_require__(
|
|
1711
|
+
var config_1 = __webpack_require__(188);
|
|
1705
1712
|
|
|
1706
1713
|
exports.config = config_1.default;
|
|
1707
1714
|
/**
|
|
@@ -1759,7 +1766,7 @@ exports.themes = themes;
|
|
|
1759
1766
|
exports.default = LinkGraph;
|
|
1760
1767
|
|
|
1761
1768
|
/***/ }),
|
|
1762
|
-
/*
|
|
1769
|
+
/* 121 */
|
|
1763
1770
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1764
1771
|
|
|
1765
1772
|
"use strict";
|
|
@@ -1769,7 +1776,7 @@ var _toConsumableArray = __webpack_require__(39);
|
|
|
1769
1776
|
|
|
1770
1777
|
var _classCallCheck = __webpack_require__(10);
|
|
1771
1778
|
|
|
1772
|
-
var _createClass = __webpack_require__(
|
|
1779
|
+
var _createClass = __webpack_require__(15);
|
|
1773
1780
|
|
|
1774
1781
|
Object.defineProperty(exports, "__esModule", {
|
|
1775
1782
|
value: true
|
|
@@ -2017,7 +2024,7 @@ var sortGraphColumn = function sortGraphColumn(graph, field, sortKey, nodeHeight
|
|
|
2017
2024
|
exports.sortGraphColumn = sortGraphColumn;
|
|
2018
2025
|
|
|
2019
2026
|
/***/ }),
|
|
2020
|
-
/*
|
|
2027
|
+
/* 122 */
|
|
2021
2028
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2022
2029
|
|
|
2023
2030
|
"use strict";
|
|
@@ -2030,17 +2037,21 @@ exports.StyledEdgesPath = exports.StyledViewport = void 0;
|
|
|
2030
2037
|
|
|
2031
2038
|
var styled_components_1 = __webpack_require__(4);
|
|
2032
2039
|
|
|
2033
|
-
var pick_1 = __webpack_require__(
|
|
2040
|
+
var pick_1 = __webpack_require__(21);
|
|
2034
2041
|
|
|
2035
2042
|
var variables_1 = __webpack_require__(19);
|
|
2036
2043
|
|
|
2037
2044
|
exports.StyledViewport = styled_components_1.default.div.withConfig({
|
|
2038
2045
|
displayName: "GraphStyles__StyledViewport",
|
|
2039
2046
|
componentId: "sc-5hdhcf-0"
|
|
2040
|
-
})(["position:absolute;top:0px;left:0px;width:100%;height:100%;.node{transition:background 0.05s ease-out;background:", ";border:2px solid transparent;}.node.hovering{background:", ";}.node.selected{border-radius:1px;border:2px solid ", ";}.edge{transition:opacity 0.05s ease-out;stroke:", ";opacity:0.3;}.edge.hovering{opacity:0.8;}> button{border-radius:1px;position:absolute;overflow:hidden;background:none;color:inherit;border:none;padding:0;font:inherit;cursor:pointer;outline:inherit;display:flex;justify-content:space-between;align-items:center;.center-content{width:100%;max-width:100%;flex:1 1 100%;display:flex;flex-wrap:nowrap;justify-content:flex-start;width:0;padding-left:8px;padding-right:8px;> p{color:", ";}> p:nth-child(1){font-size:10px;padding:0;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}> p:nth-child(2){flex:0 auto;margin:0;font-size:10px;padding-left:8px;}}.left-content{padding-left:8px;}.right-content{padding-right:8px;}.left-content,.right-content{flex:0 0 auto;> p{height:100%;font-weight:bold;font-size:10px;padding:0;margin:0;color:", ";}}}"], function (props) {
|
|
2047
|
+
})(["position:absolute;top:0px;left:0px;width:100%;height:100%;.node{transition:background 0.05s ease-out;background:", ";border:2px solid transparent;p{color:", " !important;}}.node.hovering{background:", ";p{color:", " !important;}}.node.selected{border-radius:1px;border:2px solid ", ";}.edge{transition:opacity 0.05s ease-out;stroke:", ";opacity:0.3;}.edge.hovering{opacity:0.8;}> button{border-radius:1px;position:absolute;overflow:hidden;background:none;color:inherit;border:none;padding:0;font:inherit;cursor:pointer;outline:inherit;display:flex;justify-content:space-between;align-items:center;.center-content{width:100%;max-width:100%;flex:1 1 100%;display:flex;flex-wrap:nowrap;justify-content:flex-start;width:0;padding-left:8px;padding-right:8px;> p{color:", ";}> p:nth-child(1){font-size:10px;padding:0;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}> p:nth-child(2){flex:0 auto;margin:0;font-size:10px;padding-left:8px;}}.left-content{padding-left:8px;}.right-content{padding-right:8px;}.left-content,.right-content{flex:0 0 auto;> p{height:100%;font-weight:bold;font-size:10px;padding:0;margin:0;color:", ";}}}"], function (props) {
|
|
2041
2048
|
return props.nodeColor;
|
|
2049
|
+
}, function (props) {
|
|
2050
|
+
return props.nodeTextColor;
|
|
2042
2051
|
}, function (props) {
|
|
2043
2052
|
return props.nodeHighlightColor;
|
|
2053
|
+
}, function (props) {
|
|
2054
|
+
return props.nodeTextHighlightColor;
|
|
2044
2055
|
}, pick_1.default({
|
|
2045
2056
|
enterprise: variables_1.default.accentColorD10,
|
|
2046
2057
|
prisma: variables_1.default.interactiveColorPrimary
|
|
@@ -2070,8 +2081,6 @@ exports.StyledEdgesPath = styled_components_1.default.path.withConfig({
|
|
|
2070
2081
|
});
|
|
2071
2082
|
|
|
2072
2083
|
/***/ }),
|
|
2073
|
-
/* 121 */,
|
|
2074
|
-
/* 122 */,
|
|
2075
2084
|
/* 123 */,
|
|
2076
2085
|
/* 124 */,
|
|
2077
2086
|
/* 125 */,
|
|
@@ -2121,7 +2130,10 @@ exports.StyledEdgesPath = styled_components_1.default.path.withConfig({
|
|
|
2121
2130
|
/* 169 */,
|
|
2122
2131
|
/* 170 */,
|
|
2123
2132
|
/* 171 */,
|
|
2124
|
-
/* 172
|
|
2133
|
+
/* 172 */,
|
|
2134
|
+
/* 173 */,
|
|
2135
|
+
/* 174 */,
|
|
2136
|
+
/* 175 */
|
|
2125
2137
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2126
2138
|
|
|
2127
2139
|
"use strict";
|
|
@@ -2151,9 +2163,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2151
2163
|
});
|
|
2152
2164
|
exports.default = void 0;
|
|
2153
2165
|
|
|
2154
|
-
__exportStar(__webpack_require__(
|
|
2166
|
+
__exportStar(__webpack_require__(120), exports);
|
|
2155
2167
|
|
|
2156
|
-
var LinkGraph_1 = __webpack_require__(
|
|
2168
|
+
var LinkGraph_1 = __webpack_require__(120);
|
|
2157
2169
|
|
|
2158
2170
|
Object.defineProperty(exports, "default", {
|
|
2159
2171
|
enumerable: true,
|
|
@@ -2163,13 +2175,13 @@ Object.defineProperty(exports, "default", {
|
|
|
2163
2175
|
});
|
|
2164
2176
|
|
|
2165
2177
|
/***/ }),
|
|
2166
|
-
/*
|
|
2178
|
+
/* 176 */
|
|
2167
2179
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2168
2180
|
|
|
2169
2181
|
"use strict";
|
|
2170
2182
|
|
|
2171
2183
|
|
|
2172
|
-
var _slicedToArray = __webpack_require__(
|
|
2184
|
+
var _slicedToArray = __webpack_require__(48);
|
|
2173
2185
|
|
|
2174
2186
|
Object.defineProperty(exports, "__esModule", {
|
|
2175
2187
|
value: true
|
|
@@ -2186,13 +2198,13 @@ var lodash_1 = __webpack_require__(2);
|
|
|
2186
2198
|
|
|
2187
2199
|
var FixedSizeContainer_1 = __webpack_require__(12);
|
|
2188
2200
|
|
|
2189
|
-
var PureLinkGraphUtils_1 = __webpack_require__(
|
|
2201
|
+
var PureLinkGraphUtils_1 = __webpack_require__(121);
|
|
2190
2202
|
|
|
2191
|
-
var Graph_1 = __webpack_require__(
|
|
2203
|
+
var Graph_1 = __webpack_require__(177);
|
|
2192
2204
|
|
|
2193
|
-
var Field_1 = __webpack_require__(
|
|
2205
|
+
var Field_1 = __webpack_require__(182);
|
|
2194
2206
|
|
|
2195
|
-
var FieldStyles_1 = __webpack_require__(
|
|
2207
|
+
var FieldStyles_1 = __webpack_require__(187);
|
|
2196
2208
|
|
|
2197
2209
|
var LinkGraphContainer = styled_components_1.default.div.withConfig({
|
|
2198
2210
|
displayName: "PureLinkGraph__LinkGraphContainer",
|
|
@@ -2229,7 +2241,9 @@ var PureLinkGraph = function PureLinkGraph(props) {
|
|
|
2229
2241
|
onNodeClick = props.onNodeClick,
|
|
2230
2242
|
linkColor = props.linkColor,
|
|
2231
2243
|
nodeColor = props.nodeColor,
|
|
2244
|
+
nodeTextColor = props.nodeTextColor,
|
|
2232
2245
|
nodeHighlightColor = props.nodeHighlightColor,
|
|
2246
|
+
nodeTextHighlightColor = props.nodeTextHighlightColor,
|
|
2233
2247
|
resultLimit = props.resultLimit,
|
|
2234
2248
|
linkWidth = props.linkWidth,
|
|
2235
2249
|
showValueCounts = props.showValueCounts,
|
|
@@ -2274,7 +2288,9 @@ var PureLinkGraph = function PureLinkGraph(props) {
|
|
|
2274
2288
|
}, React.createElement(Graph_1.default, {
|
|
2275
2289
|
linkColor: linkColor,
|
|
2276
2290
|
nodeColor: nodeColor,
|
|
2291
|
+
nodeTextColor: nodeTextColor,
|
|
2277
2292
|
nodeHighlightColor: nodeHighlightColor,
|
|
2293
|
+
nodeTextHighlightColor: nodeTextHighlightColor,
|
|
2278
2294
|
graphDataModel: graphDataModelState,
|
|
2279
2295
|
onNodeClick: onNodeClick,
|
|
2280
2296
|
linkWidth: linkWidth,
|
|
@@ -2312,7 +2328,9 @@ exports.PureLinkGraph.propTypes = {
|
|
|
2312
2328
|
nodeSpacingY: T.number,
|
|
2313
2329
|
linkColor: T.string,
|
|
2314
2330
|
nodeColor: T.string,
|
|
2331
|
+
nodeTextColor: T.string,
|
|
2315
2332
|
nodeHighlightColor: T.string,
|
|
2333
|
+
nodeTextHighlightColor: T.string,
|
|
2316
2334
|
resultLimit: T.number,
|
|
2317
2335
|
linkWidth: T.number,
|
|
2318
2336
|
showValueCounts: T.bool,
|
|
@@ -2333,7 +2351,9 @@ exports.PureLinkGraph.defaultProps = {
|
|
|
2333
2351
|
linkWidth: 1,
|
|
2334
2352
|
linkColor: '#B5B5B5',
|
|
2335
2353
|
nodeColor: '#1E2024',
|
|
2354
|
+
nodeTextColor: '#FFFFFF',
|
|
2336
2355
|
nodeHighlightColor: '#7B56DB',
|
|
2356
|
+
nodeTextHighlightColor: '#FFFFFF',
|
|
2337
2357
|
resultLimit: 50,
|
|
2338
2358
|
showValueCounts: true,
|
|
2339
2359
|
showNodeCounts: true,
|
|
@@ -2344,7 +2364,7 @@ exports.PureLinkGraph.displayName = 'VizLinkGraph';
|
|
|
2344
2364
|
exports.default = FixedSizeContainer_1.default(exports.PureLinkGraph);
|
|
2345
2365
|
|
|
2346
2366
|
/***/ }),
|
|
2347
|
-
/*
|
|
2367
|
+
/* 177 */
|
|
2348
2368
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2349
2369
|
|
|
2350
2370
|
"use strict";
|
|
@@ -2354,13 +2374,13 @@ var _toConsumableArray = __webpack_require__(39);
|
|
|
2354
2374
|
|
|
2355
2375
|
var _classCallCheck = __webpack_require__(10);
|
|
2356
2376
|
|
|
2357
|
-
var _createClass = __webpack_require__(
|
|
2377
|
+
var _createClass = __webpack_require__(15);
|
|
2358
2378
|
|
|
2359
|
-
var _inherits = __webpack_require__(
|
|
2379
|
+
var _inherits = __webpack_require__(88);
|
|
2360
2380
|
|
|
2361
|
-
var _possibleConstructorReturn = __webpack_require__(
|
|
2381
|
+
var _possibleConstructorReturn = __webpack_require__(89);
|
|
2362
2382
|
|
|
2363
|
-
var _getPrototypeOf = __webpack_require__(
|
|
2383
|
+
var _getPrototypeOf = __webpack_require__(90);
|
|
2364
2384
|
|
|
2365
2385
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
2366
2386
|
|
|
@@ -2374,13 +2394,13 @@ var React = __webpack_require__(1);
|
|
|
2374
2394
|
|
|
2375
2395
|
var lodash_1 = __webpack_require__(2);
|
|
2376
2396
|
|
|
2377
|
-
var Edges_1 = __webpack_require__(
|
|
2397
|
+
var Edges_1 = __webpack_require__(178);
|
|
2378
2398
|
|
|
2379
|
-
var Nodes_1 = __webpack_require__(
|
|
2399
|
+
var Nodes_1 = __webpack_require__(179);
|
|
2380
2400
|
|
|
2381
|
-
var GraphStyles_1 = __webpack_require__(
|
|
2401
|
+
var GraphStyles_1 = __webpack_require__(122);
|
|
2382
2402
|
|
|
2383
|
-
var PureLinkGraphUtils_1 = __webpack_require__(
|
|
2403
|
+
var PureLinkGraphUtils_1 = __webpack_require__(121);
|
|
2384
2404
|
|
|
2385
2405
|
var Graph = /*#__PURE__*/function (_React$Component) {
|
|
2386
2406
|
_inherits(Graph, _React$Component);
|
|
@@ -2659,13 +2679,17 @@ var Graph = /*#__PURE__*/function (_React$Component) {
|
|
|
2659
2679
|
nodeHighlightColor = _this$props.nodeHighlightColor,
|
|
2660
2680
|
linkColor = _this$props.linkColor,
|
|
2661
2681
|
linkWidth = _this$props.linkWidth,
|
|
2662
|
-
showValueCounts = _this$props.showValueCounts
|
|
2682
|
+
showValueCounts = _this$props.showValueCounts,
|
|
2683
|
+
nodeTextColor = _this$props.nodeTextColor,
|
|
2684
|
+
nodeTextHighlightColor = _this$props.nodeTextHighlightColor;
|
|
2663
2685
|
var newEdges = edges.filter(function (edge) {
|
|
2664
2686
|
return nodes[edge.sourceNode] && nodes[edge.targetNode];
|
|
2665
2687
|
});
|
|
2666
2688
|
return React.createElement(GraphStyles_1.StyledViewport, {
|
|
2667
2689
|
nodeColor: nodeColor,
|
|
2690
|
+
nodeTextColor: nodeTextColor,
|
|
2668
2691
|
nodeHighlightColor: nodeHighlightColor,
|
|
2692
|
+
nodeTextHighlightColor: nodeTextHighlightColor,
|
|
2669
2693
|
linkColor: linkColor,
|
|
2670
2694
|
ref: function ref(c) {
|
|
2671
2695
|
_this8.viewport = c;
|
|
@@ -2732,7 +2756,7 @@ var Graph = /*#__PURE__*/function (_React$Component) {
|
|
|
2732
2756
|
exports.default = Graph;
|
|
2733
2757
|
|
|
2734
2758
|
/***/ }),
|
|
2735
|
-
/*
|
|
2759
|
+
/* 178 */
|
|
2736
2760
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2737
2761
|
|
|
2738
2762
|
"use strict";
|
|
@@ -2744,7 +2768,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2744
2768
|
|
|
2745
2769
|
var React = __webpack_require__(1);
|
|
2746
2770
|
|
|
2747
|
-
var GraphStyles_1 = __webpack_require__(
|
|
2771
|
+
var GraphStyles_1 = __webpack_require__(122);
|
|
2748
2772
|
|
|
2749
2773
|
var Edges = function Edges(props) {
|
|
2750
2774
|
var edges = props.edges,
|
|
@@ -2773,7 +2797,7 @@ var Edges = function Edges(props) {
|
|
|
2773
2797
|
exports.default = Edges;
|
|
2774
2798
|
|
|
2775
2799
|
/***/ }),
|
|
2776
|
-
/*
|
|
2800
|
+
/* 179 */
|
|
2777
2801
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2778
2802
|
|
|
2779
2803
|
"use strict";
|
|
@@ -2785,7 +2809,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2785
2809
|
|
|
2786
2810
|
var React = __webpack_require__(1);
|
|
2787
2811
|
|
|
2788
|
-
var Node_1 = __webpack_require__(
|
|
2812
|
+
var Node_1 = __webpack_require__(180);
|
|
2789
2813
|
|
|
2790
2814
|
var Nodes = function Nodes(props) {
|
|
2791
2815
|
return Object.keys(props.nodes).map(function (key) {
|
|
@@ -2813,7 +2837,7 @@ var Nodes = function Nodes(props) {
|
|
|
2813
2837
|
exports.default = Nodes;
|
|
2814
2838
|
|
|
2815
2839
|
/***/ }),
|
|
2816
|
-
/*
|
|
2840
|
+
/* 180 */
|
|
2817
2841
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2818
2842
|
|
|
2819
2843
|
"use strict";
|
|
@@ -2825,7 +2849,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2825
2849
|
|
|
2826
2850
|
var React = __webpack_require__(1);
|
|
2827
2851
|
|
|
2828
|
-
var Paragraph_1 = __webpack_require__(
|
|
2852
|
+
var Paragraph_1 = __webpack_require__(181);
|
|
2829
2853
|
|
|
2830
2854
|
var Node = function Node(props) {
|
|
2831
2855
|
var data = props.data,
|
|
@@ -2840,13 +2864,13 @@ var Node = function Node(props) {
|
|
|
2840
2864
|
exports.default = Node;
|
|
2841
2865
|
|
|
2842
2866
|
/***/ }),
|
|
2843
|
-
/*
|
|
2867
|
+
/* 181 */
|
|
2844
2868
|
/***/ (function(module, exports) {
|
|
2845
2869
|
|
|
2846
2870
|
module.exports = require("@splunk/react-ui/Paragraph");
|
|
2847
2871
|
|
|
2848
2872
|
/***/ }),
|
|
2849
|
-
/*
|
|
2873
|
+
/* 182 */
|
|
2850
2874
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2851
2875
|
|
|
2852
2876
|
"use strict";
|
|
@@ -2858,13 +2882,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2858
2882
|
|
|
2859
2883
|
var React = __webpack_require__(1);
|
|
2860
2884
|
|
|
2861
|
-
var Dropdown_1 = __webpack_require__(
|
|
2885
|
+
var Dropdown_1 = __webpack_require__(183);
|
|
2862
2886
|
|
|
2863
|
-
var Button_1 = __webpack_require__(
|
|
2887
|
+
var Button_1 = __webpack_require__(184);
|
|
2864
2888
|
|
|
2865
|
-
var Menu_1 = __webpack_require__(
|
|
2889
|
+
var Menu_1 = __webpack_require__(185);
|
|
2866
2890
|
|
|
2867
|
-
var Chip_1 = __webpack_require__(
|
|
2891
|
+
var Chip_1 = __webpack_require__(186);
|
|
2868
2892
|
|
|
2869
2893
|
var Field = function Field(_ref) {
|
|
2870
2894
|
var field = _ref.field,
|
|
@@ -2908,31 +2932,31 @@ Field.displayName = 'Field';
|
|
|
2908
2932
|
exports.default = Field;
|
|
2909
2933
|
|
|
2910
2934
|
/***/ }),
|
|
2911
|
-
/*
|
|
2935
|
+
/* 183 */
|
|
2912
2936
|
/***/ (function(module, exports) {
|
|
2913
2937
|
|
|
2914
2938
|
module.exports = require("@splunk/react-ui/Dropdown");
|
|
2915
2939
|
|
|
2916
2940
|
/***/ }),
|
|
2917
|
-
/*
|
|
2941
|
+
/* 184 */
|
|
2918
2942
|
/***/ (function(module, exports) {
|
|
2919
2943
|
|
|
2920
2944
|
module.exports = require("@splunk/react-ui/Button");
|
|
2921
2945
|
|
|
2922
2946
|
/***/ }),
|
|
2923
|
-
/*
|
|
2947
|
+
/* 185 */
|
|
2924
2948
|
/***/ (function(module, exports) {
|
|
2925
2949
|
|
|
2926
2950
|
module.exports = require("@splunk/react-ui/Menu");
|
|
2927
2951
|
|
|
2928
2952
|
/***/ }),
|
|
2929
|
-
/*
|
|
2953
|
+
/* 186 */
|
|
2930
2954
|
/***/ (function(module, exports) {
|
|
2931
2955
|
|
|
2932
2956
|
module.exports = require("@splunk/react-ui/Chip");
|
|
2933
2957
|
|
|
2934
2958
|
/***/ }),
|
|
2935
|
-
/*
|
|
2959
|
+
/* 187 */
|
|
2936
2960
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2937
2961
|
|
|
2938
2962
|
"use strict";
|
|
@@ -2945,7 +2969,7 @@ exports.StyledFields = void 0;
|
|
|
2945
2969
|
|
|
2946
2970
|
var styled_components_1 = __webpack_require__(4);
|
|
2947
2971
|
|
|
2948
|
-
var pick_1 = __webpack_require__(
|
|
2972
|
+
var pick_1 = __webpack_require__(21);
|
|
2949
2973
|
|
|
2950
2974
|
exports.StyledFields = styled_components_1.default.div.withConfig({
|
|
2951
2975
|
displayName: "FieldStyles__StyledFields",
|
|
@@ -2959,7 +2983,7 @@ exports.StyledFields = styled_components_1.default.div.withConfig({
|
|
|
2959
2983
|
}));
|
|
2960
2984
|
|
|
2961
2985
|
/***/ }),
|
|
2962
|
-
/*
|
|
2986
|
+
/* 188 */
|
|
2963
2987
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2964
2988
|
|
|
2965
2989
|
"use strict";
|
|
@@ -2979,7 +3003,7 @@ var schemaUtils_1 = __webpack_require__(14);
|
|
|
2979
3003
|
|
|
2980
3004
|
var i18n_1 = __webpack_require__(3);
|
|
2981
3005
|
|
|
2982
|
-
var pick_1 = __webpack_require__(
|
|
3006
|
+
var pick_1 = __webpack_require__(21);
|
|
2983
3007
|
|
|
2984
3008
|
var variables_1 = __webpack_require__(19);
|
|
2985
3009
|
|
|
@@ -3010,7 +3034,16 @@ var size = {
|
|
|
3010
3034
|
initialWidth: 900,
|
|
3011
3035
|
initialHeight: 400
|
|
3012
3036
|
};
|
|
3013
|
-
var defaultContext = {
|
|
3037
|
+
var defaultContext = {
|
|
3038
|
+
nodeTextColorMaxContrast: {
|
|
3039
|
+
colors: ['> themes.textColor', '> themes.inverseTextColor'],
|
|
3040
|
+
default: '> themes.textColor'
|
|
3041
|
+
},
|
|
3042
|
+
nodeHighlightTextColorMaxContrast: {
|
|
3043
|
+
colors: ['> themes.defaultNodeColor', '> themes.inverseDefaultNodeColor'],
|
|
3044
|
+
default: '> themes.textColor'
|
|
3045
|
+
}
|
|
3046
|
+
};
|
|
3014
3047
|
var optionsSchema = {
|
|
3015
3048
|
backgroundColor: {
|
|
3016
3049
|
default: '> themes.defaultBackgroundColor',
|
|
@@ -3043,6 +3076,12 @@ var optionsSchema = {
|
|
|
3043
3076
|
pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA,
|
|
3044
3077
|
type: 'string'
|
|
3045
3078
|
},
|
|
3079
|
+
nodeTextColor: {
|
|
3080
|
+
description: 'Specify the color used for unhighlighted nodes text.',
|
|
3081
|
+
pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA,
|
|
3082
|
+
type: 'string',
|
|
3083
|
+
default: '> nodeColor | maxContrast(nodeTextColorMaxContrast)'
|
|
3084
|
+
},
|
|
3046
3085
|
nodeHeight: {
|
|
3047
3086
|
default: 21,
|
|
3048
3087
|
description: 'Specify, in pixels, the height of each node.',
|
|
@@ -3054,6 +3093,12 @@ var optionsSchema = {
|
|
|
3054
3093
|
pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA,
|
|
3055
3094
|
type: 'string'
|
|
3056
3095
|
},
|
|
3096
|
+
nodeTextHighlightColor: {
|
|
3097
|
+
description: 'Specify the color used for highlighted nodes text.',
|
|
3098
|
+
pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA,
|
|
3099
|
+
type: 'string',
|
|
3100
|
+
default: '> nodeHighlightColor | maxContrast(nodeHighlightTextColorMaxContrast)'
|
|
3101
|
+
},
|
|
3057
3102
|
nodeSpacingX: {
|
|
3058
3103
|
default: 32,
|
|
3059
3104
|
description: 'Specify, in pixels, the horizontal spacing between each node.',
|
|
@@ -3103,6 +3148,32 @@ var themes = {
|
|
|
3103
3148
|
},
|
|
3104
3149
|
prisma: variables_1.default.backgroundColorDialog(props)
|
|
3105
3150
|
})(props);
|
|
3151
|
+
},
|
|
3152
|
+
inverseDefaultNodeColor: function inverseDefaultNodeColor(props) {
|
|
3153
|
+
return pick_1.default({
|
|
3154
|
+
enterprise: {
|
|
3155
|
+
dark: variables_1.default.contentColorInverted(props),
|
|
3156
|
+
light: variables_1.default.white(props) // equal to textColor in enterpriseDark
|
|
3157
|
+
|
|
3158
|
+
},
|
|
3159
|
+
prisma: variables_1.default.contentColorInverted(props)
|
|
3160
|
+
})(props);
|
|
3161
|
+
},
|
|
3162
|
+
textColor: function textColor(props) {
|
|
3163
|
+
return pick_1.default({
|
|
3164
|
+
enterprise: variables_1.default.textColor(props),
|
|
3165
|
+
prisma: variables_1.default.contentColorDefault(props)
|
|
3166
|
+
})(props);
|
|
3167
|
+
},
|
|
3168
|
+
inverseTextColor: function inverseTextColor(props) {
|
|
3169
|
+
return pick_1.default({
|
|
3170
|
+
enterprise: {
|
|
3171
|
+
dark: variables_1.default.contentColorInverted(props),
|
|
3172
|
+
light: variables_1.default.white(props) // equal to textColor in enterpriseDark
|
|
3173
|
+
|
|
3174
|
+
},
|
|
3175
|
+
prisma: variables_1.default.contentColorInverted(props)
|
|
3176
|
+
})(props);
|
|
3106
3177
|
}
|
|
3107
3178
|
};
|
|
3108
3179
|
var EDITOR_LABEL_WIDTH = 140;
|