@splunk/visualizations 24.4.0 → 24.5.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_VisualizationEditors_Editors_Area_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Bar_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Bubble_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_ChoroplethSvg_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Column_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Ellipse_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_FillerGauge_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Image_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Line_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_LinkGraph_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Map_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Markdown_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_MarkerGauge_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Parallel_Coordinates_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Pie_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Punchcard_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Rectangle_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Sankey_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Scatter_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Single_Value_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Single_Value_Icon_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Single_Value_Radial_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Table_Editor.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Choropleth_Svg_Choropleth_Svg_Placeholder_If_No_Svg_And_No_Data.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Bubble_Layer_Geostats_By_GET_Dynamic_Coloring.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Bubble_Layer_Geostats_By_Internal_Fields.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Bubble_Layer_Geostats_By_Mostly_null.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_Markdown_Markdown_Background_Color_af575a.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Markdown_Markdown_Basic_Markdown.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Markdown_Markdown_Begin_with_Text_Instead_of_Header.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Markdown_Markdown_Font_Color_purple.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Markdown_Markdown_Font_Size_extraLarge.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Pie_Pie_Placeholder_if_empty_columns_and_fields.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Pie_Pie_Placeholder_if_invalid_label_data_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Pie_Pie_Placeholder_if_invalid_value_data_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Pie_Pie_Placeholder_if_missing_column.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Use_Time_Type_Series_Data.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Use_Time_Type_Series_Data.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Cell_Types.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_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_Sparklines_Adv.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Time_Zone_Time_Formatting.png +0 -0
- package/Area.js +246 -218
- package/Area.js.map +1 -1
- package/Bar.js +238 -210
- package/Bar.js.map +1 -1
- package/Bubble.js +231 -203
- package/Bubble.js.map +1 -1
- package/ChoroplethSvg.js +230 -197
- package/ChoroplethSvg.js.map +1 -1
- package/Column.js +238 -210
- package/Column.js.map +1 -1
- package/Ellipse.js +203 -170
- package/Ellipse.js.map +1 -1
- package/FillerGauge.js +222 -189
- package/FillerGauge.js.map +1 -1
- package/Image.js +199 -164
- package/Image.js.map +1 -1
- package/Line.js +239 -211
- package/Line.js.map +1 -1
- package/LinkGraph.js +264 -223
- package/LinkGraph.js.map +1 -1
- package/Map.config.js +39 -25
- package/Map.config.js.map +1 -1
- package/Map.js +460 -334
- package/Map.js.map +1 -1
- package/Markdown.config.js +29 -1
- package/Markdown.config.js.map +1 -1
- package/Markdown.js +513 -267
- package/Markdown.js.map +1 -1
- package/MarkerGauge.js +941 -906
- package/MarkerGauge.js.map +1 -1
- package/ParallelCoordinates.js +230 -196
- package/ParallelCoordinates.js.map +1 -1
- package/Pie.js +309 -249
- package/Pie.js.map +1 -1
- package/Punchcard.js +263 -229
- package/Punchcard.js.map +1 -1
- package/Rectangle.js +217 -182
- package/Rectangle.js.map +1 -1
- package/Sankey.js +269 -230
- package/Sankey.js.map +1 -1
- package/Scatter.js +314 -286
- package/Scatter.js.map +1 -1
- package/SingleValue.js +398 -363
- package/SingleValue.js.map +1 -1
- package/SingleValueBasic.js +25 -25
- package/SingleValueBasic.js.map +1 -1
- package/SingleValueIcon.js +2821 -2653
- package/SingleValueIcon.js.map +1 -1
- package/SingleValueRadial.js +359 -324
- package/SingleValueRadial.js.map +1 -1
- package/Table.config.js +2 -1
- package/Table.config.js.map +1 -1
- package/Table.js +629 -347
- package/Table.js.map +1 -1
- package/common/Charting.js +21 -21
- package/common/Charting.js.map +1 -1
- package/common/ChartingApi.js +2 -2
- package/common/ChartingApi.js.map +1 -1
- package/common/EventsDoc.js +18 -18
- package/common/EventsDoc.js.map +1 -1
- package/common/GaugeMajorTicks.js +10 -10
- package/common/GaugeMajorTicks.js.map +1 -1
- package/common/GaugeValueMarker.js +10 -10
- package/common/GaugeValueMarker.js.map +1 -1
- package/common/OptionsDoc.js +217 -174
- package/common/OptionsDoc.js.map +1 -1
- package/common/SplunkVisualization.js +4 -4
- package/common/SplunkVisualization.js.map +1 -1
- package/common/ThemesDoc.js +26 -26
- package/common/ThemesDoc.js.map +1 -1
- package/common/chartingUtils.js +3 -3
- package/common/chartingUtils.js.map +1 -1
- package/common/gaugeUtils.js +2 -2
- package/common/shapeUtils.js +2 -2
- package/common/withDashboardViz.js +80 -48
- package/common/withDashboardViz.js.map +1 -1
- package/package.json +13 -11
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 = 181);
|
|
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__(7);
|
|
168
168
|
|
|
169
169
|
var __rest = this && this.__rest || function (s, e) {
|
|
170
170
|
var t = {};
|
|
@@ -350,12 +350,18 @@ 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 */
|
|
353
359
|
/***/ (function(module, exports, __webpack_require__) {
|
|
354
360
|
|
|
355
361
|
"use strict";
|
|
356
362
|
|
|
357
363
|
|
|
358
|
-
var _typeof = __webpack_require__(
|
|
364
|
+
var _typeof = __webpack_require__(21);
|
|
359
365
|
|
|
360
366
|
Object.defineProperty(exports, "__esModule", {
|
|
361
367
|
value: true
|
|
@@ -476,12 +482,6 @@ var findClosestMatchFromDefaultList = function findClosestMatchFromDefaultList(s
|
|
|
476
482
|
|
|
477
483
|
exports.findClosestMatchFromDefaultList = findClosestMatchFromDefaultList;
|
|
478
484
|
|
|
479
|
-
/***/ }),
|
|
480
|
-
/* 8 */
|
|
481
|
-
/***/ (function(module, exports) {
|
|
482
|
-
|
|
483
|
-
module.exports = require("@babel/runtime/helpers/defineProperty");
|
|
484
|
-
|
|
485
485
|
/***/ }),
|
|
486
486
|
/* 9 */
|
|
487
487
|
/***/ (function(module, exports) {
|
|
@@ -582,7 +582,7 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
|
|
|
582
582
|
|
|
583
583
|
return React.createElement(FixSizeItem, {
|
|
584
584
|
"data-test": "fix-size-item",
|
|
585
|
-
"data-splunk-visualization-version": "24.
|
|
585
|
+
"data-splunk-visualization-version": "24.5.2 - c5ebe25a8",
|
|
586
586
|
width: width,
|
|
587
587
|
height: height,
|
|
588
588
|
backgroundColor: backgroundColor
|
|
@@ -628,21 +628,27 @@ module.exports = require("@splunk/visualizations-shared/SizeAwareWrapper");
|
|
|
628
628
|
|
|
629
629
|
/***/ }),
|
|
630
630
|
/* 18 */,
|
|
631
|
-
/* 19
|
|
632
|
-
/* 20 */
|
|
631
|
+
/* 19 */
|
|
633
632
|
/***/ (function(module, exports) {
|
|
634
633
|
|
|
635
|
-
module.exports = require("@
|
|
634
|
+
module.exports = require("@splunk/visualization-context/TimezoneContext");
|
|
636
635
|
|
|
637
636
|
/***/ }),
|
|
637
|
+
/* 20 */,
|
|
638
638
|
/* 21 */
|
|
639
639
|
/***/ (function(module, exports) {
|
|
640
640
|
|
|
641
|
+
module.exports = require("@babel/runtime/helpers/typeof");
|
|
642
|
+
|
|
643
|
+
/***/ }),
|
|
644
|
+
/* 22 */
|
|
645
|
+
/***/ (function(module, exports) {
|
|
646
|
+
|
|
641
647
|
module.exports = require("@splunk/themes/pick");
|
|
642
648
|
|
|
643
649
|
/***/ }),
|
|
644
|
-
/*
|
|
645
|
-
/*
|
|
650
|
+
/* 23 */,
|
|
651
|
+
/* 24 */
|
|
646
652
|
/***/ (function(module, exports, __webpack_require__) {
|
|
647
653
|
|
|
648
654
|
"use strict";
|
|
@@ -675,13 +681,104 @@ var pickFieldFromJSONSchema = function pickFieldFromJSONSchema(optionsSchema) {
|
|
|
675
681
|
exports.pickFieldFromJSONSchema = pickFieldFromJSONSchema;
|
|
676
682
|
|
|
677
683
|
/***/ }),
|
|
678
|
-
/*
|
|
684
|
+
/* 25 */
|
|
685
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
686
|
+
|
|
687
|
+
"use strict";
|
|
688
|
+
|
|
689
|
+
|
|
690
|
+
Object.defineProperty(exports, "__esModule", {
|
|
691
|
+
value: true
|
|
692
|
+
});
|
|
693
|
+
exports.shouldShowIconPlaceholder = void 0;
|
|
694
|
+
|
|
695
|
+
var React = __webpack_require__(1);
|
|
696
|
+
|
|
697
|
+
var T = __webpack_require__(0);
|
|
698
|
+
|
|
699
|
+
var lodash_1 = __webpack_require__(2);
|
|
700
|
+
|
|
701
|
+
var i18n_1 = __webpack_require__(3);
|
|
702
|
+
|
|
703
|
+
var Message_1 = __webpack_require__(9);
|
|
704
|
+
|
|
705
|
+
var FixedSizeContainer_1 = __webpack_require__(13);
|
|
706
|
+
/**
|
|
707
|
+
* @method shouldShowIconPlaceholder
|
|
708
|
+
* @param {object} dataSources
|
|
709
|
+
* @param {boolean} loading
|
|
710
|
+
* @returns {boolean}
|
|
711
|
+
*/
|
|
712
|
+
|
|
713
|
+
|
|
714
|
+
var shouldShowIconPlaceholder = function shouldShowIconPlaceholder(dataSources) {
|
|
715
|
+
var loading = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
716
|
+
var data = lodash_1.get(dataSources, 'primary.data.columns[0]', undefined);
|
|
717
|
+
var noData = data === undefined;
|
|
718
|
+
var fields = lodash_1.get(dataSources, 'primary.data.fields[0]', undefined);
|
|
719
|
+
var noFields = fields === undefined;
|
|
720
|
+
return loading || noData || noFields;
|
|
721
|
+
};
|
|
722
|
+
|
|
723
|
+
exports.shouldShowIconPlaceholder = shouldShowIconPlaceholder;
|
|
724
|
+
var propTypes = {
|
|
725
|
+
icon: T.func,
|
|
726
|
+
width: T.oneOfType([T.string, T.number]),
|
|
727
|
+
height: T.oneOfType([T.string, T.number]),
|
|
728
|
+
// eslint-disable-next-line react/no-unused-prop-types
|
|
729
|
+
backgroundColor: T.string,
|
|
730
|
+
iconColor: T.string
|
|
731
|
+
};
|
|
732
|
+
/**
|
|
733
|
+
* @method IconPlaceholder
|
|
734
|
+
* @param {IconPlaceholderProps} props
|
|
735
|
+
* @returns {React.ReactElement}
|
|
736
|
+
*/
|
|
737
|
+
|
|
738
|
+
var IconPlaceholder = function IconPlaceholder(props) {
|
|
739
|
+
var width = props.width,
|
|
740
|
+
height = props.height,
|
|
741
|
+
icon = props.icon,
|
|
742
|
+
iconColor = props.iconColor;
|
|
743
|
+
|
|
744
|
+
if (icon) {
|
|
745
|
+
return React.createElement(icon, {
|
|
746
|
+
style: {
|
|
747
|
+
left: '50%',
|
|
748
|
+
top: '50%',
|
|
749
|
+
color: iconColor,
|
|
750
|
+
opacity: 0.15,
|
|
751
|
+
position: 'absolute',
|
|
752
|
+
transform: 'translate(-50%, -50%)'
|
|
753
|
+
},
|
|
754
|
+
width: '50%',
|
|
755
|
+
height: '50%'
|
|
756
|
+
});
|
|
757
|
+
}
|
|
758
|
+
|
|
759
|
+
return React.createElement(Message_1.default, {
|
|
760
|
+
width: width,
|
|
761
|
+
height: height,
|
|
762
|
+
level: "warning",
|
|
763
|
+
message: i18n_1._('No DataSource Connected')
|
|
764
|
+
});
|
|
765
|
+
};
|
|
766
|
+
|
|
767
|
+
IconPlaceholder.propTypes = propTypes;
|
|
768
|
+
IconPlaceholder.defaultProps = {
|
|
769
|
+
width: '100%',
|
|
770
|
+
height: 250
|
|
771
|
+
};
|
|
772
|
+
exports.default = FixedSizeContainer_1.default(IconPlaceholder);
|
|
773
|
+
|
|
774
|
+
/***/ }),
|
|
775
|
+
/* 26 */
|
|
679
776
|
/***/ (function(module, exports, __webpack_require__) {
|
|
680
777
|
|
|
681
778
|
"use strict";
|
|
682
779
|
|
|
683
780
|
|
|
684
|
-
var _defineProperty = __webpack_require__(
|
|
781
|
+
var _defineProperty = __webpack_require__(7);
|
|
685
782
|
|
|
686
783
|
Object.defineProperty(exports, "__esModule", {
|
|
687
784
|
value: true
|
|
@@ -692,7 +789,7 @@ var T = __webpack_require__(0);
|
|
|
692
789
|
|
|
693
790
|
var lodash_1 = __webpack_require__(2);
|
|
694
791
|
|
|
695
|
-
var DataSource_1 = __webpack_require__(
|
|
792
|
+
var DataSource_1 = __webpack_require__(36);
|
|
696
793
|
|
|
697
794
|
exports.SortParamsPropTypes = T.shape({
|
|
698
795
|
currentSortKey: T.string,
|
|
@@ -745,7 +842,7 @@ var getSortingParams = function getSortingParams(_ref) {
|
|
|
745
842
|
exports.getSortingParams = getSortingParams;
|
|
746
843
|
|
|
747
844
|
/***/ }),
|
|
748
|
-
/*
|
|
845
|
+
/* 27 */
|
|
749
846
|
/***/ (function(module, exports, __webpack_require__) {
|
|
750
847
|
|
|
751
848
|
"use strict";
|
|
@@ -809,98 +906,7 @@ var getPaginationParams = function getPaginationParams(_ref) {
|
|
|
809
906
|
exports.getPaginationParams = getPaginationParams;
|
|
810
907
|
|
|
811
908
|
/***/ }),
|
|
812
|
-
/*
|
|
813
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
814
|
-
|
|
815
|
-
"use strict";
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
Object.defineProperty(exports, "__esModule", {
|
|
819
|
-
value: true
|
|
820
|
-
});
|
|
821
|
-
exports.shouldShowIconPlaceholder = void 0;
|
|
822
|
-
|
|
823
|
-
var React = __webpack_require__(1);
|
|
824
|
-
|
|
825
|
-
var T = __webpack_require__(0);
|
|
826
|
-
|
|
827
|
-
var lodash_1 = __webpack_require__(2);
|
|
828
|
-
|
|
829
|
-
var i18n_1 = __webpack_require__(3);
|
|
830
|
-
|
|
831
|
-
var Message_1 = __webpack_require__(9);
|
|
832
|
-
|
|
833
|
-
var FixedSizeContainer_1 = __webpack_require__(13);
|
|
834
|
-
/**
|
|
835
|
-
* @method shouldShowIconPlaceholder
|
|
836
|
-
* @param {object} dataSources
|
|
837
|
-
* @param {boolean} loading
|
|
838
|
-
* @returns {boolean}
|
|
839
|
-
*/
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
var shouldShowIconPlaceholder = function shouldShowIconPlaceholder(dataSources) {
|
|
843
|
-
var loading = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
844
|
-
var data = lodash_1.get(dataSources, 'primary.data.columns[0]', undefined);
|
|
845
|
-
var noData = data === undefined;
|
|
846
|
-
var fields = lodash_1.get(dataSources, 'primary.data.fields[0]', undefined);
|
|
847
|
-
var noFields = fields === undefined;
|
|
848
|
-
return loading || noData || noFields;
|
|
849
|
-
};
|
|
850
|
-
|
|
851
|
-
exports.shouldShowIconPlaceholder = shouldShowIconPlaceholder;
|
|
852
|
-
var propTypes = {
|
|
853
|
-
icon: T.func,
|
|
854
|
-
width: T.oneOfType([T.string, T.number]),
|
|
855
|
-
height: T.oneOfType([T.string, T.number]),
|
|
856
|
-
// eslint-disable-next-line react/no-unused-prop-types
|
|
857
|
-
backgroundColor: T.string,
|
|
858
|
-
iconColor: T.string
|
|
859
|
-
};
|
|
860
|
-
/**
|
|
861
|
-
* @method IconPlaceholder
|
|
862
|
-
* @param {IconPlaceholderProps} props
|
|
863
|
-
* @returns {React.ReactElement}
|
|
864
|
-
*/
|
|
865
|
-
|
|
866
|
-
var IconPlaceholder = function IconPlaceholder(props) {
|
|
867
|
-
var width = props.width,
|
|
868
|
-
height = props.height,
|
|
869
|
-
icon = props.icon,
|
|
870
|
-
iconColor = props.iconColor;
|
|
871
|
-
|
|
872
|
-
if (icon) {
|
|
873
|
-
return React.createElement(icon, {
|
|
874
|
-
style: {
|
|
875
|
-
left: '50%',
|
|
876
|
-
top: '50%',
|
|
877
|
-
color: iconColor,
|
|
878
|
-
opacity: 0.15,
|
|
879
|
-
position: 'absolute',
|
|
880
|
-
transform: 'translate(-50%, -50%)'
|
|
881
|
-
},
|
|
882
|
-
width: '50%',
|
|
883
|
-
height: '50%'
|
|
884
|
-
});
|
|
885
|
-
}
|
|
886
|
-
|
|
887
|
-
return React.createElement(Message_1.default, {
|
|
888
|
-
width: width,
|
|
889
|
-
height: height,
|
|
890
|
-
level: "warning",
|
|
891
|
-
message: i18n_1._('No DataSource Connected')
|
|
892
|
-
});
|
|
893
|
-
};
|
|
894
|
-
|
|
895
|
-
IconPlaceholder.propTypes = propTypes;
|
|
896
|
-
IconPlaceholder.defaultProps = {
|
|
897
|
-
width: '100%',
|
|
898
|
-
height: 250
|
|
899
|
-
};
|
|
900
|
-
exports.default = FixedSizeContainer_1.default(IconPlaceholder);
|
|
901
|
-
|
|
902
|
-
/***/ }),
|
|
903
|
-
/* 27 */
|
|
909
|
+
/* 28 */
|
|
904
910
|
/***/ (function(module, exports, __webpack_require__) {
|
|
905
911
|
|
|
906
912
|
"use strict";
|
|
@@ -928,7 +934,7 @@ var VizCategory;
|
|
|
928
934
|
})(VizCategory = exports.VizCategory || (exports.VizCategory = {}));
|
|
929
935
|
|
|
930
936
|
/***/ }),
|
|
931
|
-
/*
|
|
937
|
+
/* 29 */
|
|
932
938
|
/***/ (function(module, exports, __webpack_require__) {
|
|
933
939
|
|
|
934
940
|
"use strict";
|
|
@@ -942,33 +948,37 @@ var React = __webpack_require__(1);
|
|
|
942
948
|
|
|
943
949
|
var lodash_1 = __webpack_require__(2);
|
|
944
950
|
|
|
945
|
-
var getSettingsFromThemedProps_1 = __webpack_require__(
|
|
951
|
+
var getSettingsFromThemedProps_1 = __webpack_require__(30);
|
|
952
|
+
|
|
953
|
+
var Options_1 = __webpack_require__(31);
|
|
946
954
|
|
|
947
|
-
var
|
|
955
|
+
var SanitizeProps_1 = __webpack_require__(32);
|
|
948
956
|
|
|
949
|
-
var
|
|
957
|
+
var TimezoneContext_1 = __webpack_require__(19);
|
|
958
|
+
|
|
959
|
+
var moment_1 = __webpack_require__(33);
|
|
950
960
|
|
|
951
961
|
var styled_components_1 = __webpack_require__(4);
|
|
952
962
|
|
|
953
|
-
var SplunkVisualization_1 = __webpack_require__(
|
|
963
|
+
var SplunkVisualization_1 = __webpack_require__(34);
|
|
954
964
|
|
|
955
965
|
var VizBehavior_1 = __webpack_require__(5);
|
|
956
966
|
|
|
957
|
-
var getSorting_1 = __webpack_require__(
|
|
967
|
+
var getSorting_1 = __webpack_require__(26);
|
|
958
968
|
|
|
959
|
-
var getPagination_1 = __webpack_require__(
|
|
969
|
+
var getPagination_1 = __webpack_require__(27);
|
|
960
970
|
|
|
961
|
-
var useDeepMemo_1 = __webpack_require__(
|
|
971
|
+
var useDeepMemo_1 = __webpack_require__(37);
|
|
962
972
|
|
|
963
|
-
var JSONSchemaUtils_1 = __webpack_require__(
|
|
973
|
+
var JSONSchemaUtils_1 = __webpack_require__(24);
|
|
964
974
|
|
|
965
|
-
var MissingPropsMessage_1 = __webpack_require__(
|
|
975
|
+
var MissingPropsMessage_1 = __webpack_require__(38);
|
|
966
976
|
|
|
967
|
-
var withEditModeCover_1 = __webpack_require__(
|
|
977
|
+
var withEditModeCover_1 = __webpack_require__(39);
|
|
968
978
|
|
|
969
|
-
var withPlaceholder_1 = __webpack_require__(
|
|
979
|
+
var withPlaceholder_1 = __webpack_require__(40);
|
|
970
980
|
|
|
971
|
-
var hocUtils_1 = __webpack_require__(
|
|
981
|
+
var hocUtils_1 = __webpack_require__(8);
|
|
972
982
|
/**
|
|
973
983
|
* hoc that wraps a pure react visualization in a Dashboard visualization
|
|
974
984
|
* @param {DashboardVizOpts} opts
|
|
@@ -1001,6 +1011,23 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
1001
1011
|
theme = props.theme,
|
|
1002
1012
|
onRequestParamsChange = props.onRequestParamsChange;
|
|
1003
1013
|
|
|
1014
|
+
var _React$useContext = React.useContext(TimezoneContext_1.default),
|
|
1015
|
+
serializedTimezone = _React$useContext.serializedTimezone;
|
|
1016
|
+
|
|
1017
|
+
if (serializedTimezone) {
|
|
1018
|
+
/*
|
|
1019
|
+
@splunk/moment currently does not allow us to customize the timezone on a per visualization basis.
|
|
1020
|
+
This ensures that if a timezone was provided via TimezoneContext @splunk/moment time formatting
|
|
1021
|
+
will use it.
|
|
1022
|
+
@TODO(pwied):
|
|
1023
|
+
- remove when we moved away from @splunk/moment
|
|
1024
|
+
- provide timezone context to dynamic option evaluation phase
|
|
1025
|
+
*/
|
|
1026
|
+
if (!moment_1.default.getDefaultSplunkTimezone()) {
|
|
1027
|
+
moment_1.default.setDefaultSplunkTimezone(serializedTimezone);
|
|
1028
|
+
}
|
|
1029
|
+
}
|
|
1030
|
+
|
|
1004
1031
|
var themeFunc = function themeFunc(themeVar) {
|
|
1005
1032
|
var _a, _b;
|
|
1006
1033
|
|
|
@@ -1029,7 +1056,7 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
1029
1056
|
console.error("unexpected error evaluating options: + ".concat(e.message));
|
|
1030
1057
|
return {};
|
|
1031
1058
|
}
|
|
1032
|
-
}, [currentThemeFamily, currentThemeColorScheme, currentThemeDensity, options, context, dataSources]); // useEffect hook needs to be initialized before any early returns
|
|
1059
|
+
}, [currentThemeFamily, currentThemeColorScheme, currentThemeDensity, options, context, dataSources, serializedTimezone]); // useEffect hook needs to be initialized before any early returns
|
|
1033
1060
|
// this is in accordance with the order of hook calls being the same on each render https://reactjs.org/docs/hooks-rules.html#explanation
|
|
1034
1061
|
|
|
1035
1062
|
React.useEffect(function () {
|
|
@@ -1152,25 +1179,31 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
1152
1179
|
exports.default = withDashboardViz;
|
|
1153
1180
|
|
|
1154
1181
|
/***/ }),
|
|
1155
|
-
/*
|
|
1182
|
+
/* 30 */
|
|
1156
1183
|
/***/ (function(module, exports) {
|
|
1157
1184
|
|
|
1158
1185
|
module.exports = require("@splunk/themes/getSettingsFromThemedProps");
|
|
1159
1186
|
|
|
1160
1187
|
/***/ }),
|
|
1161
|
-
/*
|
|
1188
|
+
/* 31 */
|
|
1162
1189
|
/***/ (function(module, exports) {
|
|
1163
1190
|
|
|
1164
1191
|
module.exports = require("@splunk/visualization-encoding/Options");
|
|
1165
1192
|
|
|
1166
1193
|
/***/ }),
|
|
1167
|
-
/*
|
|
1194
|
+
/* 32 */
|
|
1168
1195
|
/***/ (function(module, exports) {
|
|
1169
1196
|
|
|
1170
1197
|
module.exports = require("@splunk/visualizations-shared/SanitizeProps");
|
|
1171
1198
|
|
|
1172
1199
|
/***/ }),
|
|
1173
|
-
/*
|
|
1200
|
+
/* 33 */
|
|
1201
|
+
/***/ (function(module, exports) {
|
|
1202
|
+
|
|
1203
|
+
module.exports = require("@splunk/moment");
|
|
1204
|
+
|
|
1205
|
+
/***/ }),
|
|
1206
|
+
/* 34 */
|
|
1174
1207
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1175
1208
|
|
|
1176
1209
|
"use strict";
|
|
@@ -1188,7 +1221,7 @@ var T = __webpack_require__(0);
|
|
|
1188
1221
|
|
|
1189
1222
|
var lodash_1 = __webpack_require__(2);
|
|
1190
1223
|
|
|
1191
|
-
var VizActionHandler_1 = __webpack_require__(
|
|
1224
|
+
var VizActionHandler_1 = __webpack_require__(35); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
|
|
1192
1225
|
|
|
1193
1226
|
|
|
1194
1227
|
exports.INITIAL_WIDTH = 250;
|
|
@@ -1321,7 +1354,7 @@ SplunkVisualization.defaultProps = {
|
|
|
1321
1354
|
exports.default = SplunkVisualization;
|
|
1322
1355
|
|
|
1323
1356
|
/***/ }),
|
|
1324
|
-
/*
|
|
1357
|
+
/* 35 */
|
|
1325
1358
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1326
1359
|
|
|
1327
1360
|
"use strict";
|
|
@@ -1358,7 +1391,7 @@ var DefaultVizActionHandler = /*#__PURE__*/function () {
|
|
|
1358
1391
|
exports.DefaultVizActionHandler = DefaultVizActionHandler;
|
|
1359
1392
|
|
|
1360
1393
|
/***/ }),
|
|
1361
|
-
/*
|
|
1394
|
+
/* 36 */
|
|
1362
1395
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1363
1396
|
|
|
1364
1397
|
"use strict";
|
|
@@ -1371,7 +1404,7 @@ exports.validSortDirs = void 0;
|
|
|
1371
1404
|
exports.validSortDirs = ['asc', 'desc', 'none'];
|
|
1372
1405
|
|
|
1373
1406
|
/***/ }),
|
|
1374
|
-
/*
|
|
1407
|
+
/* 37 */
|
|
1375
1408
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1376
1409
|
|
|
1377
1410
|
"use strict";
|
|
@@ -1416,7 +1449,7 @@ var useDeepMemo = function useDeepMemo(fn, dependencies) {
|
|
|
1416
1449
|
exports.useDeepMemo = useDeepMemo;
|
|
1417
1450
|
|
|
1418
1451
|
/***/ }),
|
|
1419
|
-
/*
|
|
1452
|
+
/* 38 */
|
|
1420
1453
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1421
1454
|
|
|
1422
1455
|
"use strict";
|
|
@@ -1496,7 +1529,7 @@ exports.MissingPropsMessage.defaultProps = {
|
|
|
1496
1529
|
exports.default = FixedSizeContainer_1.default(exports.MissingPropsMessage);
|
|
1497
1530
|
|
|
1498
1531
|
/***/ }),
|
|
1499
|
-
/*
|
|
1532
|
+
/* 39 */
|
|
1500
1533
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1501
1534
|
|
|
1502
1535
|
"use strict";
|
|
@@ -1510,14 +1543,14 @@ var React = __webpack_require__(1);
|
|
|
1510
1543
|
|
|
1511
1544
|
var styled_components_1 = __webpack_require__(4);
|
|
1512
1545
|
|
|
1513
|
-
var hocUtils_1 = __webpack_require__(
|
|
1546
|
+
var hocUtils_1 = __webpack_require__(8);
|
|
1514
1547
|
|
|
1515
1548
|
var Cover = styled_components_1.default.div.withConfig({
|
|
1516
1549
|
displayName: "withEditModeCover__Cover",
|
|
1517
1550
|
componentId: "sc-1gsbnxb-0"
|
|
1518
1551
|
})(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
|
|
1519
1552
|
var Blocker = styled_components_1.default.div.attrs({
|
|
1520
|
-
'data-splunk-visualization-version': "24.
|
|
1553
|
+
'data-splunk-visualization-version': "24.5.2 - c5ebe25a8"
|
|
1521
1554
|
}).withConfig({
|
|
1522
1555
|
displayName: "withEditModeCover__Blocker",
|
|
1523
1556
|
componentId: "sc-1gsbnxb-1"
|
|
@@ -1548,7 +1581,7 @@ var withEditModeCover = function withEditModeCover(Visualization, disableEditMod
|
|
|
1548
1581
|
exports.default = withEditModeCover;
|
|
1549
1582
|
|
|
1550
1583
|
/***/ }),
|
|
1551
|
-
/*
|
|
1584
|
+
/* 40 */
|
|
1552
1585
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1553
1586
|
|
|
1554
1587
|
"use strict";
|
|
@@ -1564,11 +1597,11 @@ var colorUtils_1 = __webpack_require__(12);
|
|
|
1564
1597
|
|
|
1565
1598
|
var variables_1 = __webpack_require__(11);
|
|
1566
1599
|
|
|
1567
|
-
var IconPlaceholder_1 = __webpack_require__(
|
|
1600
|
+
var IconPlaceholder_1 = __webpack_require__(25);
|
|
1568
1601
|
|
|
1569
1602
|
var VizBehavior_1 = __webpack_require__(5);
|
|
1570
1603
|
|
|
1571
|
-
var hocUtils_1 = __webpack_require__(
|
|
1604
|
+
var hocUtils_1 = __webpack_require__(8);
|
|
1572
1605
|
|
|
1573
1606
|
var withPlaceholder = function withPlaceholder(Visualization) {
|
|
1574
1607
|
var useIconPlaceholder = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : IconPlaceholder_1.shouldShowIconPlaceholder;
|
|
@@ -1612,49 +1645,47 @@ var withPlaceholder = function withPlaceholder(Visualization) {
|
|
|
1612
1645
|
exports.default = withPlaceholder;
|
|
1613
1646
|
|
|
1614
1647
|
/***/ }),
|
|
1615
|
-
/*
|
|
1648
|
+
/* 41 */
|
|
1616
1649
|
/***/ (function(module, exports) {
|
|
1617
1650
|
|
|
1618
1651
|
module.exports = require("@babel/runtime/helpers/toConsumableArray");
|
|
1619
1652
|
|
|
1620
1653
|
/***/ }),
|
|
1621
|
-
/*
|
|
1654
|
+
/* 42 */
|
|
1622
1655
|
/***/ (function(module, exports) {
|
|
1623
1656
|
|
|
1624
1657
|
module.exports = require("@splunk/visualizations-shared/colorConstants");
|
|
1625
1658
|
|
|
1626
1659
|
/***/ }),
|
|
1627
|
-
/*
|
|
1660
|
+
/* 43 */
|
|
1628
1661
|
/***/ (function(module, exports) {
|
|
1629
1662
|
|
|
1630
1663
|
module.exports = require("@splunk/visualization-color-palettes");
|
|
1631
1664
|
|
|
1632
1665
|
/***/ }),
|
|
1633
|
-
/*
|
|
1666
|
+
/* 44 */
|
|
1634
1667
|
/***/ (function(module, exports) {
|
|
1635
1668
|
|
|
1636
1669
|
module.exports = require("@splunk/visualization-icons/placeholders");
|
|
1637
1670
|
|
|
1638
1671
|
/***/ }),
|
|
1639
|
-
/*
|
|
1672
|
+
/* 45 */
|
|
1640
1673
|
/***/ (function(module, exports) {
|
|
1641
1674
|
|
|
1642
1675
|
module.exports = require("@splunk/visualization-icons");
|
|
1643
1676
|
|
|
1644
1677
|
/***/ }),
|
|
1645
|
-
/* 44 */,
|
|
1646
|
-
/* 45 */,
|
|
1647
1678
|
/* 46 */,
|
|
1648
1679
|
/* 47 */,
|
|
1649
1680
|
/* 48 */,
|
|
1650
|
-
/* 49
|
|
1681
|
+
/* 49 */,
|
|
1682
|
+
/* 50 */,
|
|
1683
|
+
/* 51 */
|
|
1651
1684
|
/***/ (function(module, exports) {
|
|
1652
1685
|
|
|
1653
1686
|
module.exports = require("@babel/runtime/helpers/slicedToArray");
|
|
1654
1687
|
|
|
1655
1688
|
/***/ }),
|
|
1656
|
-
/* 50 */,
|
|
1657
|
-
/* 51 */,
|
|
1658
1689
|
/* 52 */,
|
|
1659
1690
|
/* 53 */,
|
|
1660
1691
|
/* 54 */,
|
|
@@ -1692,41 +1723,46 @@ module.exports = require("@babel/runtime/helpers/slicedToArray");
|
|
|
1692
1723
|
/* 86 */,
|
|
1693
1724
|
/* 87 */,
|
|
1694
1725
|
/* 88 */,
|
|
1695
|
-
/* 89
|
|
1726
|
+
/* 89 */,
|
|
1727
|
+
/* 90 */,
|
|
1728
|
+
/* 91 */
|
|
1696
1729
|
/***/ (function(module, exports) {
|
|
1697
1730
|
|
|
1698
1731
|
module.exports = require("@babel/runtime/helpers/inherits");
|
|
1699
1732
|
|
|
1700
1733
|
/***/ }),
|
|
1701
|
-
/*
|
|
1734
|
+
/* 92 */
|
|
1702
1735
|
/***/ (function(module, exports) {
|
|
1703
1736
|
|
|
1704
1737
|
module.exports = require("@babel/runtime/helpers/possibleConstructorReturn");
|
|
1705
1738
|
|
|
1706
1739
|
/***/ }),
|
|
1707
|
-
/*
|
|
1740
|
+
/* 93 */
|
|
1708
1741
|
/***/ (function(module, exports) {
|
|
1709
1742
|
|
|
1710
1743
|
module.exports = require("@babel/runtime/helpers/getPrototypeOf");
|
|
1711
1744
|
|
|
1712
1745
|
/***/ }),
|
|
1713
|
-
/* 92 */,
|
|
1714
|
-
/* 93 */,
|
|
1715
1746
|
/* 94 */,
|
|
1716
1747
|
/* 95 */,
|
|
1717
1748
|
/* 96 */,
|
|
1718
1749
|
/* 97 */,
|
|
1719
1750
|
/* 98 */,
|
|
1720
1751
|
/* 99 */,
|
|
1721
|
-
/* 100
|
|
1752
|
+
/* 100 */,
|
|
1753
|
+
/* 101 */,
|
|
1754
|
+
/* 102 */
|
|
1722
1755
|
/***/ (function(module, exports) {
|
|
1723
1756
|
|
|
1724
1757
|
module.exports = require("@splunk/visualizations-shared/dataSourceUtils");
|
|
1725
1758
|
|
|
1726
1759
|
/***/ }),
|
|
1727
|
-
/*
|
|
1728
|
-
|
|
1729
|
-
|
|
1760
|
+
/* 103 */
|
|
1761
|
+
/***/ (function(module, exports) {
|
|
1762
|
+
|
|
1763
|
+
module.exports = require("@splunk/react-ui/Paragraph");
|
|
1764
|
+
|
|
1765
|
+
/***/ }),
|
|
1730
1766
|
/* 104 */,
|
|
1731
1767
|
/* 105 */,
|
|
1732
1768
|
/* 106 */,
|
|
@@ -1746,7 +1782,9 @@ module.exports = require("@splunk/visualizations-shared/dataSourceUtils");
|
|
|
1746
1782
|
/* 120 */,
|
|
1747
1783
|
/* 121 */,
|
|
1748
1784
|
/* 122 */,
|
|
1749
|
-
/* 123
|
|
1785
|
+
/* 123 */,
|
|
1786
|
+
/* 124 */,
|
|
1787
|
+
/* 125 */
|
|
1750
1788
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1751
1789
|
|
|
1752
1790
|
"use strict";
|
|
@@ -1772,15 +1810,15 @@ exports.PureLinkGraph = exports.LinkGraph = exports.config = exports.themes = ex
|
|
|
1772
1810
|
|
|
1773
1811
|
var lodash_1 = __webpack_require__(2);
|
|
1774
1812
|
|
|
1775
|
-
var dataSourceUtils_1 = __webpack_require__(
|
|
1813
|
+
var dataSourceUtils_1 = __webpack_require__(102);
|
|
1776
1814
|
|
|
1777
|
-
var withDashboardViz_1 = __webpack_require__(
|
|
1815
|
+
var withDashboardViz_1 = __webpack_require__(29);
|
|
1778
1816
|
|
|
1779
|
-
var PureLinkGraph_1 = __webpack_require__(
|
|
1817
|
+
var PureLinkGraph_1 = __webpack_require__(182);
|
|
1780
1818
|
|
|
1781
1819
|
exports.PureLinkGraph = PureLinkGraph_1.default;
|
|
1782
1820
|
|
|
1783
|
-
var config_1 = __webpack_require__(
|
|
1821
|
+
var config_1 = __webpack_require__(193);
|
|
1784
1822
|
|
|
1785
1823
|
exports.config = config_1.default;
|
|
1786
1824
|
/**
|
|
@@ -1838,13 +1876,13 @@ exports.themes = themes;
|
|
|
1838
1876
|
exports.default = LinkGraph;
|
|
1839
1877
|
|
|
1840
1878
|
/***/ }),
|
|
1841
|
-
/*
|
|
1879
|
+
/* 126 */
|
|
1842
1880
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1843
1881
|
|
|
1844
1882
|
"use strict";
|
|
1845
1883
|
|
|
1846
1884
|
|
|
1847
|
-
var _toConsumableArray = __webpack_require__(
|
|
1885
|
+
var _toConsumableArray = __webpack_require__(41);
|
|
1848
1886
|
|
|
1849
1887
|
var _classCallCheck = __webpack_require__(10);
|
|
1850
1888
|
|
|
@@ -1857,6 +1895,11 @@ exports.sortGraphColumn = exports.getNodesToHighlight = exports.createLinkGraphF
|
|
|
1857
1895
|
|
|
1858
1896
|
var lodash_1 = __webpack_require__(2);
|
|
1859
1897
|
|
|
1898
|
+
var cleanString = function cleanString() {
|
|
1899
|
+
var stringIn = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
|
|
1900
|
+
return stringIn.toString().replace(/[^\x20-\x7E]/gim, '').trim();
|
|
1901
|
+
};
|
|
1902
|
+
|
|
1860
1903
|
var createNode = function createNode(graphDataModelIn, nodesIn, column, field, fieldIndex, nodeWidth, nodeHeight, nodeSpacingX, nodeSpacingY, shouldAddToGraphDataModel) {
|
|
1861
1904
|
var nodes = nodesIn;
|
|
1862
1905
|
var graphDataModel = graphDataModelIn;
|
|
@@ -1905,7 +1948,8 @@ var createEdge = function createEdge(graphDataModelIn, nodesIn, edgesIn, nodeIn,
|
|
|
1905
1948
|
|
|
1906
1949
|
if (columns[fieldIndex + 1] && columns[fieldIndex + 1][columnIndex]) {
|
|
1907
1950
|
var sourceNode = "".concat(fieldIndex, "-").concat(field, "-").concat(column);
|
|
1908
|
-
var
|
|
1951
|
+
var nextColumnOverContent = cleanString(columns[fieldIndex + 1][columnIndex]);
|
|
1952
|
+
var targetNode = "".concat(fieldIndex + 1, "-").concat(fields[fieldIndex + 1], "-").concat(nextColumnOverContent);
|
|
1909
1953
|
var edge = {
|
|
1910
1954
|
sourceNode: sourceNode,
|
|
1911
1955
|
targetNode: targetNode
|
|
@@ -1957,14 +2001,16 @@ var createLinkGraphFromTable = function createLinkGraphFromTable(fieldsIn, colum
|
|
|
1957
2001
|
if (fieldOrder.length) {
|
|
1958
2002
|
fields = fieldOrder;
|
|
1959
2003
|
columns = [];
|
|
1960
|
-
fields.forEach(function (
|
|
2004
|
+
fields.forEach(function (fieldIn, fieldIndex) {
|
|
2005
|
+
var field = cleanString(fieldIn);
|
|
1961
2006
|
columns[fieldIndex] = columnsIn[fieldsIn.indexOf(field)];
|
|
1962
2007
|
});
|
|
1963
2008
|
} // TODO: this should not return anything; not sure why the original LinkGraph code returned something at the end of a .forEach
|
|
1964
2009
|
// eslint-disable-next-line consistent-return
|
|
1965
2010
|
|
|
1966
2011
|
|
|
1967
|
-
fields.forEach(function (
|
|
2012
|
+
fields.forEach(function (fieldIn, fieldIndex) {
|
|
2013
|
+
var field = cleanString(fieldIn);
|
|
1968
2014
|
nodes[field] = {
|
|
1969
2015
|
nodes: {}
|
|
1970
2016
|
};
|
|
@@ -1976,7 +2022,8 @@ var createLinkGraphFromTable = function createLinkGraphFromTable(fieldsIn, colum
|
|
|
1976
2022
|
return graphDataModel;
|
|
1977
2023
|
}
|
|
1978
2024
|
|
|
1979
|
-
columns[fieldIndex].forEach(function (
|
|
2025
|
+
columns[fieldIndex].forEach(function (columnIn, columnIndex) {
|
|
2026
|
+
var column = cleanString(columnIn);
|
|
1980
2027
|
var shouldAddToGraphDataModel = Object.keys(nodes[field].nodes).length < resultLimit;
|
|
1981
2028
|
var node = createNode(graphDataModel, nodes[field].nodes, column, field, fieldIndex, nodeWidth, nodeHeight, nodeSpacingX, nodeSpacingY, shouldAddToGraphDataModel);
|
|
1982
2029
|
createEdge(graphDataModel, nodes[field].nodes, edges, node, columns, column, columnIndex, fields, field, fieldIndex, shouldAddToGraphDataModel);
|
|
@@ -2096,7 +2143,7 @@ var sortGraphColumn = function sortGraphColumn(graph, field, sortKey, nodeHeight
|
|
|
2096
2143
|
exports.sortGraphColumn = sortGraphColumn;
|
|
2097
2144
|
|
|
2098
2145
|
/***/ }),
|
|
2099
|
-
/*
|
|
2146
|
+
/* 127 */
|
|
2100
2147
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2101
2148
|
|
|
2102
2149
|
"use strict";
|
|
@@ -2109,7 +2156,7 @@ exports.StyledEdgesPath = exports.StyledViewport = void 0;
|
|
|
2109
2156
|
|
|
2110
2157
|
var styled_components_1 = __webpack_require__(4);
|
|
2111
2158
|
|
|
2112
|
-
var pick_1 = __webpack_require__(
|
|
2159
|
+
var pick_1 = __webpack_require__(22);
|
|
2113
2160
|
|
|
2114
2161
|
var variables_1 = __webpack_require__(11);
|
|
2115
2162
|
|
|
@@ -2153,8 +2200,6 @@ exports.StyledEdgesPath = styled_components_1.default.path.withConfig({
|
|
|
2153
2200
|
});
|
|
2154
2201
|
|
|
2155
2202
|
/***/ }),
|
|
2156
|
-
/* 126 */,
|
|
2157
|
-
/* 127 */,
|
|
2158
2203
|
/* 128 */,
|
|
2159
2204
|
/* 129 */,
|
|
2160
2205
|
/* 130 */,
|
|
@@ -2206,7 +2251,9 @@ exports.StyledEdgesPath = styled_components_1.default.path.withConfig({
|
|
|
2206
2251
|
/* 176 */,
|
|
2207
2252
|
/* 177 */,
|
|
2208
2253
|
/* 178 */,
|
|
2209
|
-
/* 179
|
|
2254
|
+
/* 179 */,
|
|
2255
|
+
/* 180 */,
|
|
2256
|
+
/* 181 */
|
|
2210
2257
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2211
2258
|
|
|
2212
2259
|
"use strict";
|
|
@@ -2236,9 +2283,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2236
2283
|
});
|
|
2237
2284
|
exports.default = void 0;
|
|
2238
2285
|
|
|
2239
|
-
__exportStar(__webpack_require__(
|
|
2286
|
+
__exportStar(__webpack_require__(125), exports);
|
|
2240
2287
|
|
|
2241
|
-
var LinkGraph_1 = __webpack_require__(
|
|
2288
|
+
var LinkGraph_1 = __webpack_require__(125);
|
|
2242
2289
|
|
|
2243
2290
|
Object.defineProperty(exports, "default", {
|
|
2244
2291
|
enumerable: true,
|
|
@@ -2248,13 +2295,13 @@ Object.defineProperty(exports, "default", {
|
|
|
2248
2295
|
});
|
|
2249
2296
|
|
|
2250
2297
|
/***/ }),
|
|
2251
|
-
/*
|
|
2298
|
+
/* 182 */
|
|
2252
2299
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2253
2300
|
|
|
2254
2301
|
"use strict";
|
|
2255
2302
|
|
|
2256
2303
|
|
|
2257
|
-
var _slicedToArray = __webpack_require__(
|
|
2304
|
+
var _slicedToArray = __webpack_require__(51);
|
|
2258
2305
|
|
|
2259
2306
|
Object.defineProperty(exports, "__esModule", {
|
|
2260
2307
|
value: true
|
|
@@ -2271,13 +2318,13 @@ var lodash_1 = __webpack_require__(2);
|
|
|
2271
2318
|
|
|
2272
2319
|
var FixedSizeContainer_1 = __webpack_require__(13);
|
|
2273
2320
|
|
|
2274
|
-
var PureLinkGraphUtils_1 = __webpack_require__(
|
|
2321
|
+
var PureLinkGraphUtils_1 = __webpack_require__(126);
|
|
2275
2322
|
|
|
2276
|
-
var Graph_1 = __webpack_require__(
|
|
2323
|
+
var Graph_1 = __webpack_require__(183);
|
|
2277
2324
|
|
|
2278
|
-
var Field_1 = __webpack_require__(
|
|
2325
|
+
var Field_1 = __webpack_require__(187);
|
|
2279
2326
|
|
|
2280
|
-
var FieldStyles_1 = __webpack_require__(
|
|
2327
|
+
var FieldStyles_1 = __webpack_require__(192);
|
|
2281
2328
|
|
|
2282
2329
|
var LinkGraphContainer = styled_components_1.default.div.withConfig({
|
|
2283
2330
|
displayName: "PureLinkGraph__LinkGraphContainer",
|
|
@@ -2437,23 +2484,23 @@ exports.PureLinkGraph.displayName = 'VizLinkGraph';
|
|
|
2437
2484
|
exports.default = FixedSizeContainer_1.default(exports.PureLinkGraph);
|
|
2438
2485
|
|
|
2439
2486
|
/***/ }),
|
|
2440
|
-
/*
|
|
2487
|
+
/* 183 */
|
|
2441
2488
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2442
2489
|
|
|
2443
2490
|
"use strict";
|
|
2444
2491
|
|
|
2445
2492
|
|
|
2446
|
-
var _toConsumableArray = __webpack_require__(
|
|
2493
|
+
var _toConsumableArray = __webpack_require__(41);
|
|
2447
2494
|
|
|
2448
2495
|
var _classCallCheck = __webpack_require__(10);
|
|
2449
2496
|
|
|
2450
2497
|
var _createClass = __webpack_require__(16);
|
|
2451
2498
|
|
|
2452
|
-
var _inherits = __webpack_require__(
|
|
2499
|
+
var _inherits = __webpack_require__(91);
|
|
2453
2500
|
|
|
2454
|
-
var _possibleConstructorReturn = __webpack_require__(
|
|
2501
|
+
var _possibleConstructorReturn = __webpack_require__(92);
|
|
2455
2502
|
|
|
2456
|
-
var _getPrototypeOf = __webpack_require__(
|
|
2503
|
+
var _getPrototypeOf = __webpack_require__(93);
|
|
2457
2504
|
|
|
2458
2505
|
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); }; }
|
|
2459
2506
|
|
|
@@ -2467,13 +2514,13 @@ var React = __webpack_require__(1);
|
|
|
2467
2514
|
|
|
2468
2515
|
var lodash_1 = __webpack_require__(2);
|
|
2469
2516
|
|
|
2470
|
-
var Edges_1 = __webpack_require__(
|
|
2517
|
+
var Edges_1 = __webpack_require__(184);
|
|
2471
2518
|
|
|
2472
|
-
var Nodes_1 = __webpack_require__(
|
|
2519
|
+
var Nodes_1 = __webpack_require__(185);
|
|
2473
2520
|
|
|
2474
|
-
var GraphStyles_1 = __webpack_require__(
|
|
2521
|
+
var GraphStyles_1 = __webpack_require__(127);
|
|
2475
2522
|
|
|
2476
|
-
var PureLinkGraphUtils_1 = __webpack_require__(
|
|
2523
|
+
var PureLinkGraphUtils_1 = __webpack_require__(126);
|
|
2477
2524
|
|
|
2478
2525
|
var Graph = /*#__PURE__*/function (_React$Component) {
|
|
2479
2526
|
_inherits(Graph, _React$Component);
|
|
@@ -2829,7 +2876,7 @@ var Graph = /*#__PURE__*/function (_React$Component) {
|
|
|
2829
2876
|
exports.default = Graph;
|
|
2830
2877
|
|
|
2831
2878
|
/***/ }),
|
|
2832
|
-
/*
|
|
2879
|
+
/* 184 */
|
|
2833
2880
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2834
2881
|
|
|
2835
2882
|
"use strict";
|
|
@@ -2841,7 +2888,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2841
2888
|
|
|
2842
2889
|
var React = __webpack_require__(1);
|
|
2843
2890
|
|
|
2844
|
-
var GraphStyles_1 = __webpack_require__(
|
|
2891
|
+
var GraphStyles_1 = __webpack_require__(127);
|
|
2845
2892
|
|
|
2846
2893
|
var Edges = function Edges(props) {
|
|
2847
2894
|
var edges = props.edges,
|
|
@@ -2870,7 +2917,7 @@ var Edges = function Edges(props) {
|
|
|
2870
2917
|
exports.default = Edges;
|
|
2871
2918
|
|
|
2872
2919
|
/***/ }),
|
|
2873
|
-
/*
|
|
2920
|
+
/* 185 */
|
|
2874
2921
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2875
2922
|
|
|
2876
2923
|
"use strict";
|
|
@@ -2882,7 +2929,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2882
2929
|
|
|
2883
2930
|
var React = __webpack_require__(1);
|
|
2884
2931
|
|
|
2885
|
-
var Node_1 = __webpack_require__(
|
|
2932
|
+
var Node_1 = __webpack_require__(186);
|
|
2886
2933
|
|
|
2887
2934
|
var Nodes = function Nodes(props) {
|
|
2888
2935
|
return Object.keys(props.nodes).map(function (key) {
|
|
@@ -2910,7 +2957,7 @@ var Nodes = function Nodes(props) {
|
|
|
2910
2957
|
exports.default = Nodes;
|
|
2911
2958
|
|
|
2912
2959
|
/***/ }),
|
|
2913
|
-
/*
|
|
2960
|
+
/* 186 */
|
|
2914
2961
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2915
2962
|
|
|
2916
2963
|
"use strict";
|
|
@@ -2922,7 +2969,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2922
2969
|
|
|
2923
2970
|
var React = __webpack_require__(1);
|
|
2924
2971
|
|
|
2925
|
-
var Paragraph_1 = __webpack_require__(
|
|
2972
|
+
var Paragraph_1 = __webpack_require__(103);
|
|
2926
2973
|
|
|
2927
2974
|
var Node = function Node(props) {
|
|
2928
2975
|
var data = props.data,
|
|
@@ -2937,13 +2984,7 @@ var Node = function Node(props) {
|
|
|
2937
2984
|
exports.default = Node;
|
|
2938
2985
|
|
|
2939
2986
|
/***/ }),
|
|
2940
|
-
/*
|
|
2941
|
-
/***/ (function(module, exports) {
|
|
2942
|
-
|
|
2943
|
-
module.exports = require("@splunk/react-ui/Paragraph");
|
|
2944
|
-
|
|
2945
|
-
/***/ }),
|
|
2946
|
-
/* 186 */
|
|
2987
|
+
/* 187 */
|
|
2947
2988
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2948
2989
|
|
|
2949
2990
|
"use strict";
|
|
@@ -2955,13 +2996,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2955
2996
|
|
|
2956
2997
|
var React = __webpack_require__(1);
|
|
2957
2998
|
|
|
2958
|
-
var Dropdown_1 = __webpack_require__(
|
|
2999
|
+
var Dropdown_1 = __webpack_require__(188);
|
|
2959
3000
|
|
|
2960
|
-
var Button_1 = __webpack_require__(
|
|
3001
|
+
var Button_1 = __webpack_require__(189);
|
|
2961
3002
|
|
|
2962
|
-
var Menu_1 = __webpack_require__(
|
|
3003
|
+
var Menu_1 = __webpack_require__(190);
|
|
2963
3004
|
|
|
2964
|
-
var Chip_1 = __webpack_require__(
|
|
3005
|
+
var Chip_1 = __webpack_require__(191);
|
|
2965
3006
|
|
|
2966
3007
|
var Field = function Field(_ref) {
|
|
2967
3008
|
var field = _ref.field,
|
|
@@ -3005,31 +3046,31 @@ Field.displayName = 'Field';
|
|
|
3005
3046
|
exports.default = Field;
|
|
3006
3047
|
|
|
3007
3048
|
/***/ }),
|
|
3008
|
-
/*
|
|
3049
|
+
/* 188 */
|
|
3009
3050
|
/***/ (function(module, exports) {
|
|
3010
3051
|
|
|
3011
3052
|
module.exports = require("@splunk/react-ui/Dropdown");
|
|
3012
3053
|
|
|
3013
3054
|
/***/ }),
|
|
3014
|
-
/*
|
|
3055
|
+
/* 189 */
|
|
3015
3056
|
/***/ (function(module, exports) {
|
|
3016
3057
|
|
|
3017
3058
|
module.exports = require("@splunk/react-ui/Button");
|
|
3018
3059
|
|
|
3019
3060
|
/***/ }),
|
|
3020
|
-
/*
|
|
3061
|
+
/* 190 */
|
|
3021
3062
|
/***/ (function(module, exports) {
|
|
3022
3063
|
|
|
3023
3064
|
module.exports = require("@splunk/react-ui/Menu");
|
|
3024
3065
|
|
|
3025
3066
|
/***/ }),
|
|
3026
|
-
/*
|
|
3067
|
+
/* 191 */
|
|
3027
3068
|
/***/ (function(module, exports) {
|
|
3028
3069
|
|
|
3029
3070
|
module.exports = require("@splunk/react-ui/Chip");
|
|
3030
3071
|
|
|
3031
3072
|
/***/ }),
|
|
3032
|
-
/*
|
|
3073
|
+
/* 192 */
|
|
3033
3074
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3034
3075
|
|
|
3035
3076
|
"use strict";
|
|
@@ -3042,7 +3083,7 @@ exports.StyledFields = void 0;
|
|
|
3042
3083
|
|
|
3043
3084
|
var styled_components_1 = __webpack_require__(4);
|
|
3044
3085
|
|
|
3045
|
-
var pick_1 = __webpack_require__(
|
|
3086
|
+
var pick_1 = __webpack_require__(22);
|
|
3046
3087
|
|
|
3047
3088
|
exports.StyledFields = styled_components_1.default.div.withConfig({
|
|
3048
3089
|
displayName: "FieldStyles__StyledFields",
|
|
@@ -3056,13 +3097,13 @@ exports.StyledFields = styled_components_1.default.div.withConfig({
|
|
|
3056
3097
|
}));
|
|
3057
3098
|
|
|
3058
3099
|
/***/ }),
|
|
3059
|
-
/*
|
|
3100
|
+
/* 193 */
|
|
3060
3101
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3061
3102
|
|
|
3062
3103
|
"use strict";
|
|
3063
3104
|
|
|
3064
3105
|
|
|
3065
|
-
var _toConsumableArray = __webpack_require__(
|
|
3106
|
+
var _toConsumableArray = __webpack_require__(41);
|
|
3066
3107
|
|
|
3067
3108
|
Object.defineProperty(exports, "__esModule", {
|
|
3068
3109
|
value: true
|
|
@@ -3070,25 +3111,25 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3070
3111
|
|
|
3071
3112
|
var lodash_1 = __webpack_require__(2);
|
|
3072
3113
|
|
|
3073
|
-
var visualization_icons_1 = __webpack_require__(
|
|
3114
|
+
var visualization_icons_1 = __webpack_require__(45);
|
|
3074
3115
|
|
|
3075
|
-
var placeholders_1 = __webpack_require__(
|
|
3116
|
+
var placeholders_1 = __webpack_require__(44);
|
|
3076
3117
|
|
|
3077
3118
|
var schemaUtils_1 = __webpack_require__(15);
|
|
3078
3119
|
|
|
3079
3120
|
var i18n_1 = __webpack_require__(3);
|
|
3080
3121
|
|
|
3081
|
-
var pick_1 = __webpack_require__(
|
|
3122
|
+
var pick_1 = __webpack_require__(22);
|
|
3082
3123
|
|
|
3083
3124
|
var variables_1 = __webpack_require__(11);
|
|
3084
3125
|
|
|
3085
|
-
var colorConstants_1 = __webpack_require__(
|
|
3126
|
+
var colorConstants_1 = __webpack_require__(42);
|
|
3086
3127
|
|
|
3087
|
-
var visualization_color_palettes_1 = __webpack_require__(
|
|
3128
|
+
var visualization_color_palettes_1 = __webpack_require__(43);
|
|
3088
3129
|
|
|
3089
3130
|
var configUtils_1 = __webpack_require__(6);
|
|
3090
3131
|
|
|
3091
|
-
var VizCategory_1 = __webpack_require__(
|
|
3132
|
+
var VizCategory_1 = __webpack_require__(28);
|
|
3092
3133
|
|
|
3093
3134
|
var VizBehavior_1 = __webpack_require__(5);
|
|
3094
3135
|
|