@splunk/visualizations 25.3.1 → 25.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.loki/reference/chrome_docker_Visualizations_LinkGraph_LinkGraph_ES.png +0 -0
- package/Area.js +2 -2
- package/Bar.js +2 -2
- package/Bubble.js +2 -2
- package/ChoroplethSvg.js +16 -16
- package/ChoroplethSvg.js.map +1 -1
- package/Column.js +2 -2
- package/Ellipse.js +13 -13
- package/Ellipse.js.map +1 -1
- package/Events.js +9 -9
- package/Events.js.map +1 -1
- package/FillerGauge.js +9 -9
- package/FillerGauge.js.map +1 -1
- package/Image.js +2 -2
- package/Line.js +2 -2
- package/LinkGraph.js +53 -31
- package/LinkGraph.js.map +1 -1
- package/Map.js +7 -7
- package/Markdown.js +13 -13
- package/Markdown.js.map +1 -1
- package/MarkerGauge.js +8 -8
- package/ParallelCoordinates.js +2 -2
- package/Pie.js +4 -4
- package/Punchcard.js +4 -4
- package/Rectangle.js +12 -12
- package/Sankey.js +7 -7
- package/Scatter.js +2 -2
- package/SingleValue.js +4 -4
- package/SingleValueIcon.js +2 -2
- package/SingleValueRadial.js +2 -2
- package/Table.js +9 -9
- package/common/withDashboardViz.js +2 -2
- package/package.json +9 -9
package/Image.js
CHANGED
|
@@ -202,7 +202,7 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
|
|
|
202
202
|
|
|
203
203
|
return React.createElement(FixSizeItem, {
|
|
204
204
|
"data-test": "fix-size-item",
|
|
205
|
-
"data-splunk-visualization-version": "25.3.
|
|
205
|
+
"data-splunk-visualization-version": "25.3.2 - 6c6c6519f",
|
|
206
206
|
width: width,
|
|
207
207
|
height: height,
|
|
208
208
|
backgroundColor: backgroundColor
|
|
@@ -1840,7 +1840,7 @@ var Cover = styled_components_1.default.div.withConfig({
|
|
|
1840
1840
|
componentId: "sc-1gsbnxb-0"
|
|
1841
1841
|
})(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
|
|
1842
1842
|
var Blocker = styled_components_1.default.div.attrs({
|
|
1843
|
-
'data-splunk-visualization-version': "25.3.
|
|
1843
|
+
'data-splunk-visualization-version': "25.3.2 - 6c6c6519f"
|
|
1844
1844
|
}).withConfig({
|
|
1845
1845
|
displayName: "withEditModeCover__Blocker",
|
|
1846
1846
|
componentId: "sc-1gsbnxb-1"
|
package/Line.js
CHANGED
|
@@ -270,7 +270,7 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
|
|
|
270
270
|
|
|
271
271
|
return React.createElement(FixSizeItem, {
|
|
272
272
|
"data-test": "fix-size-item",
|
|
273
|
-
"data-splunk-visualization-version": "25.3.
|
|
273
|
+
"data-splunk-visualization-version": "25.3.2 - 6c6c6519f",
|
|
274
274
|
width: width,
|
|
275
275
|
height: height,
|
|
276
276
|
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.2 - 6c6c6519f"
|
|
1489
1489
|
}).withConfig({
|
|
1490
1490
|
displayName: "withEditModeCover__Blocker",
|
|
1491
1491
|
componentId: "sc-1gsbnxb-1"
|
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.2 - 6c6c6519f",
|
|
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.2 - 6c6c6519f"
|
|
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';
|