@splunk/visualizations 25.9.0 → 25.9.1

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.
Files changed (66) hide show
  1. package/Area.js +2 -2
  2. package/Bar.config.js +1 -1
  3. package/Bar.config.js.map +1 -1
  4. package/Bar.js +3 -3
  5. package/Bar.js.map +1 -1
  6. package/Bubble.js +2 -2
  7. package/ChoroplethSvg.js +2 -2
  8. package/Column.config.js +1 -1
  9. package/Column.config.js.map +1 -1
  10. package/Column.js +3 -3
  11. package/Column.js.map +1 -1
  12. package/Ellipse.js +2 -2
  13. package/Events.js +2 -2
  14. package/FillerGauge.config.js +1 -1
  15. package/FillerGauge.config.js.map +1 -1
  16. package/FillerGauge.js +3 -3
  17. package/FillerGauge.js.map +1 -1
  18. package/Image.js +2 -2
  19. package/Line.config.js +1 -1
  20. package/Line.config.js.map +1 -1
  21. package/Line.js +3 -3
  22. package/Line.js.map +1 -1
  23. package/LinkGraph.js +2095 -2469
  24. package/LinkGraph.js.map +1 -1
  25. package/Map.js +96 -89
  26. package/Map.js.map +1 -1
  27. package/Markdown.js +21 -21
  28. package/Markdown.js.map +1 -1
  29. package/MarkerGauge.config.js +1 -1
  30. package/MarkerGauge.config.js.map +1 -1
  31. package/MarkerGauge.js +11 -11
  32. package/MarkerGauge.js.map +1 -1
  33. package/ParallelCoordinates.js +31 -31
  34. package/ParallelCoordinates.js.map +1 -1
  35. package/Pie.config.js +1 -1
  36. package/Pie.config.js.map +1 -1
  37. package/Pie.js +11 -11
  38. package/Pie.js.map +1 -1
  39. package/Punchcard.js +125 -125
  40. package/Punchcard.js.map +1 -1
  41. package/Rectangle.js +43 -43
  42. package/Rectangle.js.map +1 -1
  43. package/Sankey.js +16 -16
  44. package/Sankey.js.map +1 -1
  45. package/Scatter.js +53 -53
  46. package/Scatter.js.map +1 -1
  47. package/SingleValue.config.js +1 -1
  48. package/SingleValue.config.js.map +1 -1
  49. package/SingleValue.js +18 -16
  50. package/SingleValue.js.map +1 -1
  51. package/SingleValueBasic.js +4 -4
  52. package/SingleValueBasic.js.map +1 -1
  53. package/SingleValueIcon.config.js +1 -1
  54. package/SingleValueIcon.config.js.map +1 -1
  55. package/SingleValueIcon.js +59 -59
  56. package/SingleValueIcon.js.map +1 -1
  57. package/SingleValueRadial.config.js +1 -1
  58. package/SingleValueRadial.config.js.map +1 -1
  59. package/SingleValueRadial.js +58 -58
  60. package/SingleValueRadial.js.map +1 -1
  61. package/Table.js +35 -31
  62. package/Table.js.map +1 -1
  63. package/common/OverviewDoc.js +5 -5
  64. package/common/OverviewDoc.js.map +1 -1
  65. package/common/withDashboardViz.js +2 -2
  66. package/package.json +14 -14
package/Table.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 = 474);
90
+ /******/ return __webpack_require__(__webpack_require__.s = 472);
91
91
  /******/ })
92
92
  /************************************************************************/
93
93
  /******/ ({
@@ -214,7 +214,7 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
214
214
  }
215
215
  return React.createElement(FixSizeItem, {
216
216
  "data-test": "fix-size-item",
217
- "data-splunk-visualization-version": "25.9.0 - 933e6a539",
217
+ "data-splunk-visualization-version": "25.9.1 - 5ba41e723",
218
218
  width: width,
219
219
  height: height,
220
220
  backgroundColor: backgroundColor
@@ -321,10 +321,10 @@ Object.defineProperty(exports, "__esModule", {
321
321
  exports.config = exports.PureTable = exports.themes = exports.computeVizProps = void 0;
322
322
  var lodash_1 = __webpack_require__(3);
323
323
  var colorUtils_1 = __webpack_require__(12);
324
- var config_1 = __webpack_require__(475);
324
+ var config_1 = __webpack_require__(473);
325
325
  exports.config = config_1.default;
326
326
  var withDashboardViz_1 = __webpack_require__(36);
327
- var PureTable_1 = __webpack_require__(476);
327
+ var PureTable_1 = __webpack_require__(474);
328
328
  exports.PureTable = PureTable_1.default;
329
329
  var computeVizProps = function computeVizProps(_a) {
330
330
  var props = __rest(_a, []);
@@ -1524,7 +1524,7 @@ var Cover = styled_components_1.default.div.withConfig({
1524
1524
  componentId: "sc-1gsbnxb-0"
1525
1525
  })(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
1526
1526
  var Blocker = styled_components_1.default.div.attrs({
1527
- 'data-splunk-visualization-version': "25.9.0 - 933e6a539"
1527
+ 'data-splunk-visualization-version': "25.9.1 - 5ba41e723"
1528
1528
  }).withConfig({
1529
1529
  displayName: "withEditModeCover__Blocker",
1530
1530
  componentId: "sc-1gsbnxb-1"
@@ -1605,7 +1605,7 @@ exports.default = withPlaceholder;
1605
1605
 
1606
1606
  /***/ }),
1607
1607
 
1608
- /***/ 474:
1608
+ /***/ 472:
1609
1609
  /***/ (function(module, exports, __webpack_require__) {
1610
1610
 
1611
1611
  "use strict";
@@ -1646,7 +1646,7 @@ Object.defineProperty(exports, "default", {
1646
1646
 
1647
1647
  /***/ }),
1648
1648
 
1649
- /***/ 475:
1649
+ /***/ 473:
1650
1650
  /***/ (function(module, exports, __webpack_require__) {
1651
1651
 
1652
1652
  "use strict";
@@ -2358,7 +2358,7 @@ exports.default = configUtils_1.enhanceConfig(config);
2358
2358
 
2359
2359
  /***/ }),
2360
2360
 
2361
- /***/ 476:
2361
+ /***/ 474:
2362
2362
  /***/ (function(module, exports, __webpack_require__) {
2363
2363
 
2364
2364
  "use strict";
@@ -2393,15 +2393,15 @@ var colorUtils_1 = __webpack_require__(12);
2393
2393
  var style_1 = __webpack_require__(14);
2394
2394
  var pick_1 = __webpack_require__(23);
2395
2395
  var variables_1 = __webpack_require__(10);
2396
- var hooks_1 = __webpack_require__(477);
2396
+ var hooks_1 = __webpack_require__(475);
2397
2397
  var consts_1 = __webpack_require__(134);
2398
- var cells_1 = __webpack_require__(478);
2398
+ var cells_1 = __webpack_require__(476);
2399
2399
  var getPagination_1 = __webpack_require__(34);
2400
2400
  var getSorting_1 = __webpack_require__(33);
2401
2401
  var FixedSizeContainer_1 = __webpack_require__(13);
2402
2402
  // debounce was imported this way due to typing
2403
2403
  // eslint-disable-next-line import/order
2404
- var debounce = __webpack_require__(483);
2404
+ var debounce = __webpack_require__(481);
2405
2405
  exports.MINIMUM_COLUMN_SIZE = 30;
2406
2406
  exports.INITIAL_UNSET_COLUMN_WIDTH = 90;
2407
2407
  var NonVisibleTableHead = styled_components_1.default(Table_1.default.Head).withConfig({
@@ -2490,7 +2490,8 @@ var withEmptyTableMessage = function withEmptyTableMessage(Viz) {
2490
2490
  showInternalFields = props.showInternalFields,
2491
2491
  tableFormat = props.tableFormat,
2492
2492
  columnFormat = props.columnFormat,
2493
- paginatorParams = props.paginatorParams;
2493
+ paginatorParams = props.paginatorParams,
2494
+ count = props.count;
2494
2495
  var _hooks_1$useTable = hooks_1.useTable({
2495
2496
  headers: headers,
2496
2497
  table: table,
@@ -2505,7 +2506,8 @@ var withEmptyTableMessage = function withEmptyTableMessage(Viz) {
2505
2506
  data: lodash_1.cloneDeep(tableFormat.data)
2506
2507
  }),
2507
2508
  columnFormat: columnFormat,
2508
- paginationOffset: paginatorParams === null || paginatorParams === void 0 ? void 0 : paginatorParams.current
2509
+ paginationOffset: paginatorParams === null || paginatorParams === void 0 ? void 0 : paginatorParams.current,
2510
+ count: count
2509
2511
  }),
2510
2512
  tableHeader = _hooks_1$useTable.tableHeader,
2511
2513
  tableBody = _hooks_1$useTable.tableBody;
@@ -2854,7 +2856,7 @@ exports.default = withEmptyTableMessage(FixedSizeContainer_1.default(PureTable))
2854
2856
 
2855
2857
  /***/ }),
2856
2858
 
2857
- /***/ 477:
2859
+ /***/ 475:
2858
2860
  /***/ (function(module, exports, __webpack_require__) {
2859
2861
 
2860
2862
  "use strict";
@@ -3077,12 +3079,14 @@ var useTable = function useTable() {
3077
3079
  _tableArgs$columnForm = tableArgs.columnFormat,
3078
3080
  columnFormat = _tableArgs$columnForm === void 0 ? {} : _tableArgs$columnForm,
3079
3081
  _tableArgs$pagination = tableArgs.paginationOffset,
3080
- paginationOffset = _tableArgs$pagination === void 0 ? 0 : _tableArgs$pagination;
3082
+ paginationOffset = _tableArgs$pagination === void 0 ? 0 : _tableArgs$pagination,
3083
+ _tableArgs$count = tableArgs.count,
3084
+ count = _tableArgs$count === void 0 ? 0 : _tableArgs$count;
3081
3085
  var longestColumnLength = Math.max.apply(Math, _toConsumableArray(table.map(function (column) {
3082
3086
  return column.length;
3083
3087
  })));
3084
3088
  if (showRowNumbers) {
3085
- var correctedPaginationOffset = Math.max(0, (paginationOffset - 1) * longestColumnLength);
3089
+ var correctedPaginationOffset = Math.max(0, (paginationOffset - 1) * count);
3086
3090
  headers = ['#'].concat(_toConsumableArray(headers));
3087
3091
  table = [Array.from({
3088
3092
  length: longestColumnLength
@@ -3199,7 +3203,7 @@ exports.useTable = useTable;
3199
3203
 
3200
3204
  /***/ }),
3201
3205
 
3202
- /***/ 478:
3206
+ /***/ 476:
3203
3207
  /***/ (function(module, exports, __webpack_require__) {
3204
3208
 
3205
3209
  "use strict";
@@ -3225,14 +3229,14 @@ var __exportStar = this && this.__exportStar || function (m, exports) {
3225
3229
  Object.defineProperty(exports, "__esModule", {
3226
3230
  value: true
3227
3231
  });
3232
+ __exportStar(__webpack_require__(477), exports);
3233
+ __exportStar(__webpack_require__(478), exports);
3228
3234
  __exportStar(__webpack_require__(479), exports);
3229
3235
  __exportStar(__webpack_require__(480), exports);
3230
- __exportStar(__webpack_require__(481), exports);
3231
- __exportStar(__webpack_require__(482), exports);
3232
3236
 
3233
3237
  /***/ }),
3234
3238
 
3235
- /***/ 479:
3239
+ /***/ 477:
3236
3240
  /***/ (function(module, exports, __webpack_require__) {
3237
3241
 
3238
3242
  "use strict";
@@ -3253,14 +3257,7 @@ exports.SwitchTableCell = SwitchTableCell;
3253
3257
 
3254
3258
  /***/ }),
3255
3259
 
3256
- /***/ 48:
3257
- /***/ (function(module, exports) {
3258
-
3259
- module.exports = require("@splunk/visualization-icons/placeholders");
3260
-
3261
- /***/ }),
3262
-
3263
- /***/ 480:
3260
+ /***/ 478:
3264
3261
  /***/ (function(module, exports, __webpack_require__) {
3265
3262
 
3266
3263
  "use strict";
@@ -3295,7 +3292,7 @@ exports.TextCell.displayName = 'TextCell';
3295
3292
 
3296
3293
  /***/ }),
3297
3294
 
3298
- /***/ 481:
3295
+ /***/ 479:
3299
3296
  /***/ (function(module, exports, __webpack_require__) {
3300
3297
 
3301
3298
  "use strict";
@@ -3338,7 +3335,14 @@ exports.ArrayCell.displayName = 'ArrayCell';
3338
3335
 
3339
3336
  /***/ }),
3340
3337
 
3341
- /***/ 482:
3338
+ /***/ 48:
3339
+ /***/ (function(module, exports) {
3340
+
3341
+ module.exports = require("@splunk/visualization-icons/placeholders");
3342
+
3343
+ /***/ }),
3344
+
3345
+ /***/ 480:
3342
3346
  /***/ (function(module, exports, __webpack_require__) {
3343
3347
 
3344
3348
  "use strict";
@@ -3429,7 +3433,7 @@ exports.SparklineCell.displayName = 'SparklineCell';
3429
3433
 
3430
3434
  /***/ }),
3431
3435
 
3432
- /***/ 483:
3436
+ /***/ 481:
3433
3437
  /***/ (function(module, exports) {
3434
3438
 
3435
3439
  module.exports = require("lodash/debounce");