@splunk/visualizations 23.4.1 → 23.5.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/Area.config.js +18 -17
- package/Area.config.js.map +1 -1
- package/Area.js +13 -12
- package/Area.js.map +1 -1
- package/Bar.config.js +11 -10
- package/Bar.config.js.map +1 -1
- package/Bar.js +6 -5
- package/Bar.js.map +1 -1
- package/Bubble.config.js +11 -10
- package/Bubble.config.js.map +1 -1
- package/Bubble.js +6 -5
- package/Bubble.js.map +1 -1
- package/ChoroplethSvg.js +7 -7
- package/ChoroplethSvg.js.map +1 -1
- package/Column.config.js +11 -10
- package/Column.config.js.map +1 -1
- package/Column.js +6 -5
- package/Column.js.map +1 -1
- package/Ellipse.config.js +9 -9
- package/Ellipse.config.js.map +1 -1
- package/Ellipse.js +11 -11
- package/Ellipse.js.map +1 -1
- package/FillerGauge.config.js +9 -8
- package/FillerGauge.config.js.map +1 -1
- package/FillerGauge.js +14 -13
- package/FillerGauge.js.map +1 -1
- package/Line.config.js +18 -17
- package/Line.config.js.map +1 -1
- package/Line.js +13 -12
- package/Line.js.map +1 -1
- package/LinkGraph.config.js +2 -2
- package/LinkGraph.js +15 -15
- package/LinkGraph.js.map +1 -1
- package/Markdown.config.js +91 -1
- package/Markdown.config.js.map +1 -1
- package/Markdown.js +110 -7
- package/Markdown.js.map +1 -1
- package/MarkerGauge.config.js +39 -3
- package/MarkerGauge.config.js.map +1 -1
- package/MarkerGauge.js +47 -13
- package/MarkerGauge.js.map +1 -1
- package/ParallelCoordinates.config.js +12 -11
- package/ParallelCoordinates.config.js.map +1 -1
- package/ParallelCoordinates.js +11 -10
- package/ParallelCoordinates.js.map +1 -1
- package/Pie.config.js +12 -11
- package/Pie.config.js.map +1 -1
- package/Pie.js +6 -5
- package/Pie.js.map +1 -1
- package/Punchcard.config.js +12 -11
- package/Punchcard.config.js.map +1 -1
- package/Punchcard.js +22 -21
- package/Punchcard.js.map +1 -1
- package/Rectangle.config.js +16 -16
- package/Rectangle.config.js.map +1 -1
- package/Rectangle.js +18 -18
- package/Rectangle.js.map +1 -1
- package/Sankey.config.js +14 -13
- package/Sankey.config.js.map +1 -1
- package/Sankey.js +24 -23
- package/Sankey.js.map +1 -1
- package/Scatter.config.js +12 -11
- package/Scatter.config.js.map +1 -1
- package/Scatter.js +8 -7
- package/Scatter.js.map +1 -1
- package/SingleValue.js +8 -8
- package/SingleValue.js.map +1 -1
- package/SingleValueBasic.js +5 -5
- package/SingleValueBasic.js.map +1 -1
- package/SingleValueIcon.js +6 -6
- package/SingleValueIcon.js.map +1 -1
- package/SingleValueRadial.js +6 -6
- package/SingleValueRadial.js.map +1 -1
- package/Table.js +17 -18
- package/Table.js.map +1 -1
- package/package.json +10 -9
package/Table.js
CHANGED
|
@@ -567,7 +567,7 @@ Object.defineProperty(exports, "default", {
|
|
|
567
567
|
"use strict";
|
|
568
568
|
|
|
569
569
|
|
|
570
|
-
var _toConsumableArray = __webpack_require__(
|
|
570
|
+
var _toConsumableArray = __webpack_require__(39);
|
|
571
571
|
|
|
572
572
|
Object.defineProperty(exports, "__esModule", {
|
|
573
573
|
value: true
|
|
@@ -579,7 +579,7 @@ var lodash_1 = __webpack_require__(2);
|
|
|
579
579
|
|
|
580
580
|
var schemaUtils_1 = __webpack_require__(14);
|
|
581
581
|
|
|
582
|
-
var colorConstants_1 = __webpack_require__(
|
|
582
|
+
var colorConstants_1 = __webpack_require__(40);
|
|
583
583
|
|
|
584
584
|
var visualization_icons_1 = __webpack_require__(42);
|
|
585
585
|
|
|
@@ -1223,7 +1223,7 @@ exports.default = configUtils_1.enhanceConfig(config);
|
|
|
1223
1223
|
"use strict";
|
|
1224
1224
|
|
|
1225
1225
|
|
|
1226
|
-
var _taggedTemplateLiteral = __webpack_require__(
|
|
1226
|
+
var _taggedTemplateLiteral = __webpack_require__(94);
|
|
1227
1227
|
|
|
1228
1228
|
var _templateObject, _templateObject2;
|
|
1229
1229
|
|
|
@@ -1256,7 +1256,7 @@ var styled_components_1 = __webpack_require__(4);
|
|
|
1256
1256
|
|
|
1257
1257
|
var i18n_1 = __webpack_require__(3);
|
|
1258
1258
|
|
|
1259
|
-
var Table_1 = __webpack_require__(
|
|
1259
|
+
var Table_1 = __webpack_require__(76);
|
|
1260
1260
|
|
|
1261
1261
|
var Paginator_1 = __webpack_require__(245);
|
|
1262
1262
|
|
|
@@ -1402,15 +1402,14 @@ var PureTable = function PureTable(props) {
|
|
|
1402
1402
|
}
|
|
1403
1403
|
}, [count, paginatorProps]);
|
|
1404
1404
|
var TableHead = tableHeader.visibility === 'none' ? NonVisibleTableHead : Table_1.default.Head;
|
|
1405
|
-
var
|
|
1405
|
+
var debouncedDrilldown = debounce(function (e, payload) {
|
|
1406
1406
|
if (window.getSelection().toString() === '') {
|
|
1407
1407
|
lodash_1.isFunction(onCellClick) && onCellClick({
|
|
1408
1408
|
e: e,
|
|
1409
1409
|
payload: payload
|
|
1410
1410
|
});
|
|
1411
1411
|
}
|
|
1412
|
-
},
|
|
1413
|
-
var debouncedDrilldown = React.useCallback(debounce(drilldown, 200), []);
|
|
1412
|
+
}, 200);
|
|
1414
1413
|
var drilldownHandler = React.useCallback(function (e) {
|
|
1415
1414
|
var element = e.target;
|
|
1416
1415
|
var row = element.getAttribute('data-row-index');
|
|
@@ -1468,7 +1467,7 @@ var PureTable = function PureTable(props) {
|
|
|
1468
1467
|
height: '100%',
|
|
1469
1468
|
cursor: onCellClick ? 'pointer' : 'unset'
|
|
1470
1469
|
},
|
|
1471
|
-
onClick: onCellClick ? drilldownHandler :
|
|
1470
|
+
onClick: onCellClick ? drilldownHandler : lodash_1.noop
|
|
1472
1471
|
}, React.createElement(TableHead, null, tableHeader.cells.map(function (_a) {
|
|
1473
1472
|
var key = _a.key,
|
|
1474
1473
|
value = _a.value,
|
|
@@ -1592,7 +1591,7 @@ module.exports = require("@splunk/react-ui/Message");
|
|
|
1592
1591
|
"use strict";
|
|
1593
1592
|
|
|
1594
1593
|
|
|
1595
|
-
var _toConsumableArray = __webpack_require__(
|
|
1594
|
+
var _toConsumableArray = __webpack_require__(39);
|
|
1596
1595
|
|
|
1597
1596
|
var _typeof = __webpack_require__(22);
|
|
1598
1597
|
|
|
@@ -2170,7 +2169,7 @@ exports.TextCell = void 0;
|
|
|
2170
2169
|
|
|
2171
2170
|
var React = __webpack_require__(1);
|
|
2172
2171
|
|
|
2173
|
-
var Table_1 = __webpack_require__(
|
|
2172
|
+
var Table_1 = __webpack_require__(76);
|
|
2174
2173
|
|
|
2175
2174
|
var TextCell = function TextCell(_ref) {
|
|
2176
2175
|
var cell = _ref.cell,
|
|
@@ -2203,7 +2202,7 @@ exports.ArrayCell = void 0;
|
|
|
2203
2202
|
|
|
2204
2203
|
var React = __webpack_require__(1);
|
|
2205
2204
|
|
|
2206
|
-
var Table_1 = __webpack_require__(
|
|
2205
|
+
var Table_1 = __webpack_require__(76);
|
|
2207
2206
|
|
|
2208
2207
|
var ArrayCell = function ArrayCell(_ref) {
|
|
2209
2208
|
var cell = _ref.cell,
|
|
@@ -2244,9 +2243,9 @@ exports.SparklineCell = exports.validSparklineTypes = void 0;
|
|
|
2244
2243
|
|
|
2245
2244
|
var React = __webpack_require__(1);
|
|
2246
2245
|
|
|
2247
|
-
var Table_1 = __webpack_require__(
|
|
2246
|
+
var Table_1 = __webpack_require__(76);
|
|
2248
2247
|
|
|
2249
|
-
var Line_1 = __webpack_require__(
|
|
2248
|
+
var Line_1 = __webpack_require__(77);
|
|
2250
2249
|
|
|
2251
2250
|
var paddingLeftRight = 5;
|
|
2252
2251
|
var paddingTopBottom = 3;
|
|
@@ -3077,7 +3076,7 @@ exports.default = withPlaceholder;
|
|
|
3077
3076
|
/***/ 39:
|
|
3078
3077
|
/***/ (function(module, exports) {
|
|
3079
3078
|
|
|
3080
|
-
module.exports = require("@
|
|
3079
|
+
module.exports = require("@babel/runtime/helpers/toConsumableArray");
|
|
3081
3080
|
|
|
3082
3081
|
/***/ }),
|
|
3083
3082
|
|
|
@@ -3091,7 +3090,7 @@ module.exports = require("styled-components");
|
|
|
3091
3090
|
/***/ 40:
|
|
3092
3091
|
/***/ (function(module, exports) {
|
|
3093
3092
|
|
|
3094
|
-
module.exports = require("@
|
|
3093
|
+
module.exports = require("@splunk/visualizations-shared/colorConstants");
|
|
3095
3094
|
|
|
3096
3095
|
/***/ }),
|
|
3097
3096
|
|
|
@@ -3226,14 +3225,14 @@ exports.deepMergeWithArrayOverrides = deepMergeWithArrayOverrides;
|
|
|
3226
3225
|
|
|
3227
3226
|
/***/ }),
|
|
3228
3227
|
|
|
3229
|
-
/***/
|
|
3228
|
+
/***/ 76:
|
|
3230
3229
|
/***/ (function(module, exports) {
|
|
3231
3230
|
|
|
3232
3231
|
module.exports = require("@splunk/react-ui/Table");
|
|
3233
3232
|
|
|
3234
3233
|
/***/ }),
|
|
3235
3234
|
|
|
3236
|
-
/***/
|
|
3235
|
+
/***/ 77:
|
|
3237
3236
|
/***/ (function(module, exports) {
|
|
3238
3237
|
|
|
3239
3238
|
module.exports = require("@splunk/react-sparkline/Line");
|
|
@@ -3439,7 +3438,7 @@ module.exports = require("@splunk/visualizations-shared/Message");
|
|
|
3439
3438
|
|
|
3440
3439
|
/***/ }),
|
|
3441
3440
|
|
|
3442
|
-
/***/
|
|
3441
|
+
/***/ 94:
|
|
3443
3442
|
/***/ (function(module, exports) {
|
|
3444
3443
|
|
|
3445
3444
|
module.exports = require("@babel/runtime/helpers/taggedTemplateLiteral");
|