@splunk/visualizations 25.3.1 → 25.3.3
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_PureEvents_FieldSummaryTooltip_Actions_Simulated_Instance.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureEvents_FieldSummaryTooltip_Actions_for_Numeric_Field_Simulated_Instance.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_ChoroplethSvg_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_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_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_LinkGraph_LinkGraph_ES.png +0 -0
- package/Area.js +2 -2
- package/Bar.js +2 -2
- package/Bubble.js +2 -2
- package/ChoroplethSvg.config.js +6 -6
- package/ChoroplethSvg.config.js.map +1 -1
- package/ChoroplethSvg.js +22 -22
- package/ChoroplethSvg.js.map +1 -1
- package/Column.js +2 -2
- package/Ellipse.config.js +38 -41
- package/Ellipse.config.js.map +1 -1
- package/Ellipse.js +51 -54
- package/Ellipse.js.map +1 -1
- package/Events.js +10 -9
- package/Events.js.map +1 -1
- package/FillerGauge.config.js +8 -8
- package/FillerGauge.config.js.map +1 -1
- package/FillerGauge.js +17 -17
- package/FillerGauge.js.map +1 -1
- package/Image.js +2 -2
- package/Line.js +2 -2
- package/LinkGraph.config.js +13 -13
- package/LinkGraph.config.js.map +1 -1
- package/LinkGraph.js +66 -44
- package/LinkGraph.js.map +1 -1
- package/Map.config.js +3 -3
- package/Map.config.js.map +1 -1
- package/Map.js +10 -10
- package/Map.js.map +1 -1
- package/Markdown.config.js +6 -6
- package/Markdown.config.js.map +1 -1
- package/Markdown.js +19 -19
- package/Markdown.js.map +1 -1
- package/MarkerGauge.config.js +5 -5
- package/MarkerGauge.config.js.map +1 -1
- package/MarkerGauge.js +13 -13
- package/MarkerGauge.js.map +1 -1
- package/ParallelCoordinates.config.js +3 -3
- package/ParallelCoordinates.config.js.map +1 -1
- package/ParallelCoordinates.js +5 -5
- package/ParallelCoordinates.js.map +1 -1
- package/Pie.config.js +10 -16
- package/Pie.config.js.map +1 -1
- package/Pie.js +14 -20
- package/Pie.js.map +1 -1
- package/Punchcard.config.js +23 -24
- package/Punchcard.config.js.map +1 -1
- package/Punchcard.js +27 -28
- package/Punchcard.js.map +1 -1
- package/Rectangle.config.js +41 -44
- package/Rectangle.config.js.map +1 -1
- package/Rectangle.js +53 -56
- package/Rectangle.js.map +1 -1
- package/Sankey.config.js +6 -6
- package/Sankey.config.js.map +1 -1
- package/Sankey.js +13 -13
- package/Sankey.js.map +1 -1
- package/Scatter.js +2 -2
- package/SingleValue.config.js +17 -17
- package/SingleValue.config.js.map +1 -1
- package/SingleValue.js +21 -21
- package/SingleValue.js.map +1 -1
- package/SingleValueIcon.config.js +20 -20
- package/SingleValueIcon.config.js.map +1 -1
- package/SingleValueIcon.js +22 -22
- package/SingleValueIcon.js.map +1 -1
- package/SingleValueRadial.config.js +15 -15
- package/SingleValueRadial.config.js.map +1 -1
- package/SingleValueRadial.js +17 -17
- package/SingleValueRadial.js.map +1 -1
- package/Table.config.js +11 -11
- package/Table.config.js.map +1 -1
- package/Table.js +29 -20
- package/Table.js.map +1 -1
- package/common/withDashboardViz.js +2 -2
- package/package.json +10 -10
package/LinkGraph.js
CHANGED
|
@@ -275,7 +275,7 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
|
|
|
275
275
|
|
|
276
276
|
return React.createElement(FixSizeItem, {
|
|
277
277
|
"data-test": "fix-size-item",
|
|
278
|
-
"data-splunk-visualization-version": "25.3.
|
|
278
|
+
"data-splunk-visualization-version": "25.3.3 - a0cdd353c",
|
|
279
279
|
width: width,
|
|
280
280
|
height: height,
|
|
281
281
|
backgroundColor: backgroundColor
|
|
@@ -1485,7 +1485,7 @@ var Cover = styled_components_1.default.div.withConfig({
|
|
|
1485
1485
|
componentId: "sc-1gsbnxb-0"
|
|
1486
1486
|
})(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
|
|
1487
1487
|
var Blocker = styled_components_1.default.div.attrs({
|
|
1488
|
-
'data-splunk-visualization-version': "25.3.
|
|
1488
|
+
'data-splunk-visualization-version': "25.3.3 - a0cdd353c"
|
|
1489
1489
|
}).withConfig({
|
|
1490
1490
|
displayName: "withEditModeCover__Blocker",
|
|
1491
1491
|
componentId: "sc-1gsbnxb-1"
|
|
@@ -1659,52 +1659,58 @@ module.exports = require("@splunk/visualizations-shared/dataSourceUtils");
|
|
|
1659
1659
|
/* 90 */,
|
|
1660
1660
|
/* 91 */,
|
|
1661
1661
|
/* 92 */,
|
|
1662
|
-
/* 93
|
|
1663
|
-
/* 94 */,
|
|
1664
|
-
/* 95 */,
|
|
1665
|
-
/* 96 */,
|
|
1666
|
-
/* 97 */,
|
|
1667
|
-
/* 98 */
|
|
1662
|
+
/* 93 */
|
|
1668
1663
|
/***/ (function(module, exports) {
|
|
1669
1664
|
|
|
1670
1665
|
module.exports = require("@splunk/visualization-context/FeatureFlagContext");
|
|
1671
1666
|
|
|
1672
1667
|
/***/ }),
|
|
1673
|
-
/*
|
|
1668
|
+
/* 94 */
|
|
1674
1669
|
/***/ (function(module, exports) {
|
|
1675
1670
|
|
|
1676
|
-
module.exports = require("@
|
|
1671
|
+
module.exports = require("@splunk/react-ui/Paragraph");
|
|
1677
1672
|
|
|
1678
1673
|
/***/ }),
|
|
1674
|
+
/* 95 */,
|
|
1675
|
+
/* 96 */,
|
|
1676
|
+
/* 97 */,
|
|
1677
|
+
/* 98 */,
|
|
1678
|
+
/* 99 */,
|
|
1679
1679
|
/* 100 */
|
|
1680
1680
|
/***/ (function(module, exports) {
|
|
1681
1681
|
|
|
1682
|
-
module.exports = require("@babel/runtime/helpers/
|
|
1682
|
+
module.exports = require("@babel/runtime/helpers/inherits");
|
|
1683
1683
|
|
|
1684
1684
|
/***/ }),
|
|
1685
1685
|
/* 101 */
|
|
1686
1686
|
/***/ (function(module, exports) {
|
|
1687
1687
|
|
|
1688
|
+
module.exports = require("@babel/runtime/helpers/possibleConstructorReturn");
|
|
1689
|
+
|
|
1690
|
+
/***/ }),
|
|
1691
|
+
/* 102 */
|
|
1692
|
+
/***/ (function(module, exports) {
|
|
1693
|
+
|
|
1688
1694
|
module.exports = require("@babel/runtime/helpers/getPrototypeOf");
|
|
1689
1695
|
|
|
1690
1696
|
/***/ }),
|
|
1691
|
-
/* 102 */,
|
|
1692
1697
|
/* 103 */,
|
|
1693
1698
|
/* 104 */,
|
|
1694
1699
|
/* 105 */,
|
|
1695
1700
|
/* 106 */,
|
|
1696
|
-
/* 107
|
|
1701
|
+
/* 107 */,
|
|
1702
|
+
/* 108 */
|
|
1697
1703
|
/***/ (function(module, exports) {
|
|
1698
1704
|
|
|
1699
1705
|
module.exports = require("@splunk/react-ui/Menu");
|
|
1700
1706
|
|
|
1701
1707
|
/***/ }),
|
|
1702
|
-
/* 108 */,
|
|
1703
1708
|
/* 109 */,
|
|
1704
1709
|
/* 110 */,
|
|
1705
1710
|
/* 111 */,
|
|
1706
1711
|
/* 112 */,
|
|
1707
|
-
/* 113
|
|
1712
|
+
/* 113 */,
|
|
1713
|
+
/* 114 */
|
|
1708
1714
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1709
1715
|
|
|
1710
1716
|
"use strict";
|
|
@@ -1988,12 +1994,6 @@ var getSecondaryColumnByField = function getSecondaryColumnByField(field, metada
|
|
|
1988
1994
|
|
|
1989
1995
|
exports.getSecondaryColumnByField = getSecondaryColumnByField;
|
|
1990
1996
|
|
|
1991
|
-
/***/ }),
|
|
1992
|
-
/* 114 */
|
|
1993
|
-
/***/ (function(module, exports) {
|
|
1994
|
-
|
|
1995
|
-
module.exports = require("@splunk/react-ui/Paragraph");
|
|
1996
|
-
|
|
1997
1997
|
/***/ }),
|
|
1998
1998
|
/* 115 */
|
|
1999
1999
|
/***/ (function(module, exports) {
|
|
@@ -2320,7 +2320,7 @@ var lodash_1 = __webpack_require__(3);
|
|
|
2320
2320
|
|
|
2321
2321
|
var FixedSizeContainer_1 = __webpack_require__(13);
|
|
2322
2322
|
|
|
2323
|
-
var PureLinkGraphUtils_1 = __webpack_require__(
|
|
2323
|
+
var PureLinkGraphUtils_1 = __webpack_require__(114);
|
|
2324
2324
|
|
|
2325
2325
|
var Graph_1 = __webpack_require__(203);
|
|
2326
2326
|
|
|
@@ -2506,11 +2506,11 @@ var _classCallCheck = __webpack_require__(11);
|
|
|
2506
2506
|
|
|
2507
2507
|
var _createClass = __webpack_require__(19);
|
|
2508
2508
|
|
|
2509
|
-
var _inherits = __webpack_require__(
|
|
2509
|
+
var _inherits = __webpack_require__(100);
|
|
2510
2510
|
|
|
2511
|
-
var _possibleConstructorReturn = __webpack_require__(
|
|
2511
|
+
var _possibleConstructorReturn = __webpack_require__(101);
|
|
2512
2512
|
|
|
2513
|
-
var _getPrototypeOf = __webpack_require__(
|
|
2513
|
+
var _getPrototypeOf = __webpack_require__(102);
|
|
2514
2514
|
|
|
2515
2515
|
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); }; }
|
|
2516
2516
|
|
|
@@ -2530,7 +2530,7 @@ var Nodes_1 = __webpack_require__(205);
|
|
|
2530
2530
|
|
|
2531
2531
|
var GraphStyles_1 = __webpack_require__(139);
|
|
2532
2532
|
|
|
2533
|
-
var PureLinkGraphUtils_1 = __webpack_require__(
|
|
2533
|
+
var PureLinkGraphUtils_1 = __webpack_require__(114);
|
|
2534
2534
|
|
|
2535
2535
|
var Graph = /*#__PURE__*/function (_React$Component) {
|
|
2536
2536
|
_inherits(Graph, _React$Component);
|
|
@@ -2949,7 +2949,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2949
2949
|
|
|
2950
2950
|
var React = __webpack_require__(0);
|
|
2951
2951
|
|
|
2952
|
-
var FeatureFlagContext_1 = __webpack_require__(
|
|
2952
|
+
var FeatureFlagContext_1 = __webpack_require__(93);
|
|
2953
2953
|
|
|
2954
2954
|
var lodash_1 = __webpack_require__(3);
|
|
2955
2955
|
|
|
@@ -3001,9 +3001,9 @@ exports.NodeES = exports.Node = void 0;
|
|
|
3001
3001
|
|
|
3002
3002
|
var React = __webpack_require__(0);
|
|
3003
3003
|
|
|
3004
|
-
var Paragraph_1 = __webpack_require__(
|
|
3004
|
+
var Paragraph_1 = __webpack_require__(94);
|
|
3005
3005
|
|
|
3006
|
-
var PureLinkGraphUtils_1 = __webpack_require__(
|
|
3006
|
+
var PureLinkGraphUtils_1 = __webpack_require__(114);
|
|
3007
3007
|
|
|
3008
3008
|
var Node = function Node(props) {
|
|
3009
3009
|
var data = props.data,
|
|
@@ -27758,12 +27758,18 @@ var React = __webpack_require__(0);
|
|
|
27758
27758
|
|
|
27759
27759
|
var Dropdown_1 = __webpack_require__(383);
|
|
27760
27760
|
|
|
27761
|
+
var Paragraph_1 = __webpack_require__(94);
|
|
27762
|
+
|
|
27761
27763
|
var Button_1 = __webpack_require__(384);
|
|
27762
27764
|
|
|
27763
|
-
var Menu_1 = __webpack_require__(
|
|
27765
|
+
var Menu_1 = __webpack_require__(108);
|
|
27764
27766
|
|
|
27765
27767
|
var Chip_1 = __webpack_require__(385);
|
|
27766
27768
|
|
|
27769
|
+
var FeatureFlagContext_1 = __webpack_require__(93);
|
|
27770
|
+
|
|
27771
|
+
var lodash_1 = __webpack_require__(3);
|
|
27772
|
+
|
|
27767
27773
|
var Field = function Field(_ref) {
|
|
27768
27774
|
var field = _ref.field,
|
|
27769
27775
|
count = _ref.count,
|
|
@@ -27775,7 +27781,8 @@ var Field = function Field(_ref) {
|
|
|
27775
27781
|
isMenu: true,
|
|
27776
27782
|
appearance: "toggle"
|
|
27777
27783
|
});
|
|
27778
|
-
|
|
27784
|
+
var context = React.useContext(FeatureFlagContext_1.default);
|
|
27785
|
+
var FieldNonES = React.createElement("div", null, React.createElement(Dropdown_1.default, {
|
|
27779
27786
|
toggle: toggle,
|
|
27780
27787
|
retainFocus: true,
|
|
27781
27788
|
"data-test": "field-".concat(field, "-dropdown")
|
|
@@ -27800,6 +27807,21 @@ var Field = function Field(_ref) {
|
|
|
27800
27807
|
height: '20px'
|
|
27801
27808
|
}
|
|
27802
27809
|
}, count) : null);
|
|
27810
|
+
var FieldES = React.createElement("div", null, React.createElement(Paragraph_1.default, {
|
|
27811
|
+
style: {
|
|
27812
|
+
fontWeight: 'bold',
|
|
27813
|
+
width: width,
|
|
27814
|
+
fontSize: '13px'
|
|
27815
|
+
}
|
|
27816
|
+
}, field), showNodeCounts ? React.createElement(Chip_1.default, {
|
|
27817
|
+
style: {
|
|
27818
|
+
float: 'right',
|
|
27819
|
+
fontSize: '10px',
|
|
27820
|
+
height: '20px'
|
|
27821
|
+
}
|
|
27822
|
+
}, count) : null);
|
|
27823
|
+
var FieldToUse = lodash_1.get(context, 'LinkGraph.showNodeMetaData') ? FieldES : FieldNonES;
|
|
27824
|
+
return FieldToUse;
|
|
27803
27825
|
};
|
|
27804
27826
|
|
|
27805
27827
|
Field.displayName = 'Field';
|
|
@@ -28083,7 +28105,7 @@ var editorConfig = [// {
|
|
|
28083
28105
|
palette: _toConsumableArray(backgroundColorPaletteSet)
|
|
28084
28106
|
}
|
|
28085
28107
|
}], [{
|
|
28086
|
-
label: i18n_1._('Node
|
|
28108
|
+
label: i18n_1._('Node color'),
|
|
28087
28109
|
option: 'nodeColor',
|
|
28088
28110
|
editor: 'editor.color',
|
|
28089
28111
|
editorProps: {
|
|
@@ -28093,7 +28115,7 @@ var editorConfig = [// {
|
|
|
28093
28115
|
palette: _toConsumableArray(backgroundColorPaletteSet)
|
|
28094
28116
|
}
|
|
28095
28117
|
}], [{
|
|
28096
|
-
label: i18n_1._('Selected
|
|
28118
|
+
label: i18n_1._('Selected node color'),
|
|
28097
28119
|
option: 'nodeHighlightColor',
|
|
28098
28120
|
editor: 'editor.color',
|
|
28099
28121
|
editorProps: {
|
|
@@ -28103,7 +28125,7 @@ var editorConfig = [// {
|
|
|
28103
28125
|
palette: _toConsumableArray(backgroundColorPaletteSet)
|
|
28104
28126
|
}
|
|
28105
28127
|
}], [{
|
|
28106
|
-
label: i18n_1._('Link
|
|
28128
|
+
label: i18n_1._('Link color'),
|
|
28107
28129
|
option: 'linkColor',
|
|
28108
28130
|
editor: 'editor.color',
|
|
28109
28131
|
editorProps: {
|
|
@@ -28114,9 +28136,9 @@ var editorConfig = [// {
|
|
|
28114
28136
|
}
|
|
28115
28137
|
}]]
|
|
28116
28138
|
}, {
|
|
28117
|
-
label: i18n_1._('Node
|
|
28139
|
+
label: i18n_1._('Node layout'),
|
|
28118
28140
|
layout: [[{
|
|
28119
|
-
label: i18n_1._('Node
|
|
28141
|
+
label: i18n_1._('Node width'),
|
|
28120
28142
|
option: 'nodeWidth',
|
|
28121
28143
|
editor: 'editor.number',
|
|
28122
28144
|
editorProps: {
|
|
@@ -28126,7 +28148,7 @@ var editorConfig = [// {
|
|
|
28126
28148
|
labelWidth: EDITOR_LABEL_WIDTH
|
|
28127
28149
|
}
|
|
28128
28150
|
}, {
|
|
28129
|
-
label: i18n_1._('Node
|
|
28151
|
+
label: i18n_1._('Node height'),
|
|
28130
28152
|
option: 'nodeHeight',
|
|
28131
28153
|
editor: 'editor.number',
|
|
28132
28154
|
editorProps: {
|
|
@@ -28136,7 +28158,7 @@ var editorConfig = [// {
|
|
|
28136
28158
|
labelWidth: EDITOR_LABEL_WIDTH
|
|
28137
28159
|
}
|
|
28138
28160
|
}], [{
|
|
28139
|
-
label: i18n_1._('Vertical
|
|
28161
|
+
label: i18n_1._('Vertical spacing'),
|
|
28140
28162
|
option: 'nodeSpacingY',
|
|
28141
28163
|
editor: 'editor.number',
|
|
28142
28164
|
editorProps: {
|
|
@@ -28146,7 +28168,7 @@ var editorConfig = [// {
|
|
|
28146
28168
|
labelWidth: EDITOR_LABEL_WIDTH
|
|
28147
28169
|
}
|
|
28148
28170
|
}, {
|
|
28149
|
-
label: i18n_1._('Horizontal
|
|
28171
|
+
label: i18n_1._('Horizontal spacing'),
|
|
28150
28172
|
option: 'nodeSpacingX',
|
|
28151
28173
|
editor: 'editor.number',
|
|
28152
28174
|
editorProps: {
|
|
@@ -28156,7 +28178,7 @@ var editorConfig = [// {
|
|
|
28156
28178
|
labelWidth: EDITOR_LABEL_WIDTH
|
|
28157
28179
|
}
|
|
28158
28180
|
}], [{
|
|
28159
|
-
label: i18n_1._('Link
|
|
28181
|
+
label: i18n_1._('Link width'),
|
|
28160
28182
|
option: 'linkWidth',
|
|
28161
28183
|
editor: 'editor.number',
|
|
28162
28184
|
editorProps: {
|
|
@@ -28166,7 +28188,7 @@ var editorConfig = [// {
|
|
|
28166
28188
|
labelWidth: EDITOR_LABEL_WIDTH
|
|
28167
28189
|
}
|
|
28168
28190
|
}], [{
|
|
28169
|
-
label: i18n_1._('Result
|
|
28191
|
+
label: i18n_1._('Result limit'),
|
|
28170
28192
|
option: 'resultLimit',
|
|
28171
28193
|
editor: 'editor.number',
|
|
28172
28194
|
editorProps: {
|
|
@@ -28177,9 +28199,9 @@ var editorConfig = [// {
|
|
|
28177
28199
|
}
|
|
28178
28200
|
}]]
|
|
28179
28201
|
}, {
|
|
28180
|
-
label: i18n_1._('Display
|
|
28202
|
+
label: i18n_1._('Display options'),
|
|
28181
28203
|
layout: [[{
|
|
28182
|
-
label: i18n_1._('Show
|
|
28204
|
+
label: i18n_1._('Show node counts'),
|
|
28183
28205
|
option: 'showNodeCounts',
|
|
28184
28206
|
editor: 'editor.toggle',
|
|
28185
28207
|
editorProps: {
|
|
@@ -28189,7 +28211,7 @@ var editorConfig = [// {
|
|
|
28189
28211
|
palette: _toConsumableArray(backgroundColorPaletteSet)
|
|
28190
28212
|
}
|
|
28191
28213
|
}], [{
|
|
28192
|
-
label: i18n_1._('Show
|
|
28214
|
+
label: i18n_1._('Show value counts'),
|
|
28193
28215
|
option: 'showValueCounts',
|
|
28194
28216
|
editor: 'editor.toggle',
|
|
28195
28217
|
editorProps: {
|