@splunk/visualizations 26.3.0 → 26.4.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 (102) hide show
  1. package/Area.config.js +1 -1
  2. package/Area.config.js.map +1 -1
  3. package/Area.js +300 -290
  4. package/Area.js.map +1 -1
  5. package/Bar.config.js +1 -1
  6. package/Bar.config.js.map +1 -1
  7. package/Bar.js +303 -293
  8. package/Bar.js.map +1 -1
  9. package/Bubble.config.js +1 -1
  10. package/Bubble.config.js.map +1 -1
  11. package/Bubble.js +292 -282
  12. package/Bubble.js.map +1 -1
  13. package/ChoroplethSvg.config.js +1 -1
  14. package/ChoroplethSvg.config.js.map +1 -1
  15. package/ChoroplethSvg.js +262 -260
  16. package/ChoroplethSvg.js.map +1 -1
  17. package/Column.config.js +1 -1
  18. package/Column.config.js.map +1 -1
  19. package/Column.js +303 -293
  20. package/Column.js.map +1 -1
  21. package/Ellipse.js +220 -218
  22. package/Ellipse.js.map +1 -1
  23. package/Events.config.js +1 -1
  24. package/Events.config.js.map +1 -1
  25. package/Events.js +285 -283
  26. package/Events.js.map +1 -1
  27. package/FillerGauge.config.js +1 -1
  28. package/FillerGauge.config.js.map +1 -1
  29. package/FillerGauge.js +250 -248
  30. package/FillerGauge.js.map +1 -1
  31. package/Image.js +212 -210
  32. package/Image.js.map +1 -1
  33. package/Line.config.js +1 -1
  34. package/Line.config.js.map +1 -1
  35. package/Line.js +301 -291
  36. package/Line.js.map +1 -1
  37. package/LinkGraph.config.js +1 -1
  38. package/LinkGraph.config.js.map +1 -1
  39. package/LinkGraph.js +1725 -17201
  40. package/LinkGraph.js.map +1 -1
  41. package/MIGRATION.md +12 -0
  42. package/Map.config.js +1 -1
  43. package/Map.config.js.map +1 -1
  44. package/Map.js +465 -406
  45. package/Map.js.map +1 -1
  46. package/Markdown.config.js +1 -1
  47. package/Markdown.config.js.map +1 -1
  48. package/Markdown.js +281 -277
  49. package/Markdown.js.map +1 -1
  50. package/MarkerGauge.config.js +1 -1
  51. package/MarkerGauge.config.js.map +1 -1
  52. package/MarkerGauge.js +926 -922
  53. package/MarkerGauge.js.map +1 -1
  54. package/ParallelCoordinates.config.js +1 -1
  55. package/ParallelCoordinates.config.js.map +1 -1
  56. package/ParallelCoordinates.js +336 -320
  57. package/ParallelCoordinates.js.map +1 -1
  58. package/Pie.config.js +5 -1
  59. package/Pie.config.js.map +1 -1
  60. package/Pie.js +374 -332
  61. package/Pie.js.map +1 -1
  62. package/Punchcard.config.js +1 -1
  63. package/Punchcard.config.js.map +1 -1
  64. package/Punchcard.js +342 -338
  65. package/Punchcard.js.map +1 -1
  66. package/Rectangle.js +260 -256
  67. package/Rectangle.js.map +1 -1
  68. package/Sankey.config.js +1 -1
  69. package/Sankey.config.js.map +1 -1
  70. package/Sankey.js +339 -335
  71. package/Sankey.js.map +1 -1
  72. package/Scatter.config.js +1 -1
  73. package/Scatter.config.js.map +1 -1
  74. package/Scatter.js +351 -339
  75. package/Scatter.js.map +1 -1
  76. package/SingleValue.config.js +10 -2
  77. package/SingleValue.config.js.map +1 -1
  78. package/SingleValue.js +455 -427
  79. package/SingleValue.js.map +1 -1
  80. package/SingleValueBasic.js +65 -53
  81. package/SingleValueBasic.js.map +1 -1
  82. package/SingleValueIcon.config.js +10 -2
  83. package/SingleValueIcon.config.js.map +1 -1
  84. package/SingleValueIcon.js +449 -421
  85. package/SingleValueIcon.js.map +1 -1
  86. package/SingleValueRadial.config.js +11 -3
  87. package/SingleValueRadial.config.js.map +1 -1
  88. package/SingleValueRadial.js +1580 -1552
  89. package/SingleValueRadial.js.map +1 -1
  90. package/SparkLine.js +33 -33
  91. package/SparkLine.js.map +1 -1
  92. package/Table.js +354 -350
  93. package/Table.js.map +1 -1
  94. package/common/Charting.js +25 -24
  95. package/common/Charting.js.map +1 -1
  96. package/common/utils/dataUtils.js +12 -18
  97. package/common/utils/dataUtils.js.map +1 -1
  98. package/common/utils/singleValueUtils.js +23 -11
  99. package/common/utils/singleValueUtils.js.map +1 -1
  100. package/common/withDashboardViz.js +31 -27
  101. package/common/withDashboardViz.js.map +1 -1
  102. package/package.json +17 -16
@@ -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 = 488);
90
+ /******/ return __webpack_require__(__webpack_require__.s = 480);
91
91
  /******/ })
92
92
  /************************************************************************/
93
93
  /******/ ({
@@ -95,70 +95,25 @@ module.exports =
95
95
  /***/ 0:
96
96
  /***/ (function(module, exports) {
97
97
 
98
- module.exports = require("react");
98
+ module.exports = require("prop-types");
99
99
 
100
100
  /***/ }),
101
101
 
102
102
  /***/ 1:
103
103
  /***/ (function(module, exports) {
104
104
 
105
- module.exports = require("prop-types");
105
+ module.exports = require("react");
106
106
 
107
107
  /***/ }),
108
108
 
109
109
  /***/ 10:
110
110
  /***/ (function(module, exports) {
111
111
 
112
- module.exports = require("@splunk/visualization-schemas");
113
-
114
- /***/ }),
115
-
116
- /***/ 100:
117
- /***/ (function(module, exports, __webpack_require__) {
118
-
119
- "use strict";
120
-
121
-
122
- Object.defineProperty(exports, "__esModule", {
123
- value: true
124
- });
125
- exports.TrellisTitle = exports.TRELLIS_TITLE_HEIGHT = void 0;
126
-
127
- var React = __webpack_require__(0);
128
-
129
- var styled_components_1 = __webpack_require__(4);
130
-
131
- exports.TRELLIS_TITLE_HEIGHT = 28;
132
- var TrellisTitleText = styled_components_1.default.div.withConfig({
133
- displayName: "TrellisTitle__TrellisTitleText",
134
- componentId: "sc-2cu404-0"
135
- })(["margin-left:10px;margin-right:10px;padding-top:8px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;"]);
136
- var TrellisTitleDiv = styled_components_1.default.div.withConfig({
137
- displayName: "TrellisTitle__TrellisTitleDiv",
138
- componentId: "sc-2cu404-1"
139
- })(["height:", "px;font-size:14px;font-weight:700;color:", ";background-color:", ";box-shadow:0 1px ", ";"], exports.TRELLIS_TITLE_HEIGHT, function (props) {
140
- return props.fontColor;
141
- }, function (props) {
142
- return props.backgroundColor;
143
- }, function (props) {
144
- return props.backgroundColor;
145
- });
146
-
147
- var TrellisTitle = function TrellisTitle(props) {
148
- var titleText = String(props.trellisKey).toString();
149
- return React.createElement(TrellisTitleDiv, {
150
- fontColor: props.fontColor,
151
- backgroundColor: props.backgroundColor,
152
- "data-test": "trellis-title",
153
- title: titleText
154
- }, React.createElement(TrellisTitleText, null, titleText));
155
- };
156
-
157
- exports.TrellisTitle = TrellisTitle;
112
+ module.exports = require("@splunk/visualizations-shared/numberUtils");
158
113
 
159
114
  /***/ }),
160
115
 
161
- /***/ 105:
116
+ /***/ 104:
162
117
  /***/ (function(module, exports) {
163
118
 
164
119
  module.exports = require("@splunk/visualizations-shared/trellisUtils");
@@ -168,23 +123,23 @@ module.exports = require("@splunk/visualizations-shared/trellisUtils");
168
123
  /***/ 11:
169
124
  /***/ (function(module, exports) {
170
125
 
171
- module.exports = require("@splunk/visualizations-shared/numberUtils");
126
+ module.exports = require("@splunk/visualizations-shared/Message");
172
127
 
173
128
  /***/ }),
174
129
 
175
- /***/ 112:
130
+ /***/ 111:
176
131
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
177
132
 
178
133
  "use strict";
179
134
  __webpack_require__.r(__webpack_exports__);
180
- /* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
135
+ /* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3);
181
136
  /* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__);
182
- /* harmony import */ var _splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(29);
137
+ /* harmony import */ var _splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(28);
183
138
  /* harmony import */ var _splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__);
184
139
 
185
140
 
186
141
  var StaticBackgroundColorEditor = {
187
- label: Object(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__["_"])('Background'),
142
+ label: Object(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__["_"])('Background color'),
188
143
  option: 'backgroundColor',
189
144
  editor: 'editor.color',
190
145
  showEditor: function showEditor(_ref) {
@@ -196,7 +151,7 @@ var StaticBackgroundColorEditor = {
196
151
 
197
152
  /***/ }),
198
153
 
199
- /***/ 114:
154
+ /***/ 113:
200
155
  /***/ (function(module, exports) {
201
156
 
202
157
  module.exports = require("@splunk/react-ui/Paginator");
@@ -206,7 +161,7 @@ module.exports = require("@splunk/react-ui/Paginator");
206
161
  /***/ 12:
207
162
  /***/ (function(module, exports) {
208
163
 
209
- module.exports = require("@splunk/visualizations-shared/Message");
164
+ module.exports = require("@babel/runtime/helpers/defineProperty");
210
165
 
211
166
  /***/ }),
212
167
 
@@ -216,9 +171,9 @@ module.exports = require("@splunk/visualizations-shared/Message");
216
171
  "use strict";
217
172
  __webpack_require__.r(__webpack_exports__);
218
173
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getDynamicTrendColorEditor", function() { return getDynamicTrendColorEditor; });
219
- /* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
174
+ /* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3);
220
175
  /* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__);
221
- /* harmony import */ var _splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(29);
176
+ /* harmony import */ var _splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(28);
222
177
  /* harmony import */ var _splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__);
223
178
 
224
179
 
@@ -261,9 +216,9 @@ var getDynamicTrendColorEditor = function getDynamicTrendColorEditor(_ref) {
261
216
  "use strict";
262
217
  __webpack_require__.r(__webpack_exports__);
263
218
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getDynamicBackgroundColorEditor", function() { return getDynamicBackgroundColorEditor; });
264
- /* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
219
+ /* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3);
265
220
  /* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__);
266
- /* harmony import */ var _splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(29);
221
+ /* harmony import */ var _splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(28);
267
222
  /* harmony import */ var _splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__);
268
223
 
269
224
 
@@ -271,7 +226,7 @@ var getDynamicBackgroundColorEditor = function getDynamicBackgroundColorEditor(_
271
226
  var defaultContext = _ref.defaultContext,
272
227
  defaultPalettesConfig = _ref.defaultPalettesConfig;
273
228
  return {
274
- label: Object(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__["_"])('Background'),
229
+ label: Object(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__["_"])('Background color'),
275
230
  option: 'backgroundColor',
276
231
  context: 'backgroundColorEditorConfig',
277
232
  editor: 'editor.dynamicColor',
@@ -315,7 +270,7 @@ var getDynamicBackgroundColorEditor = function getDynamicBackgroundColorEditor(_
315
270
 
316
271
  "use strict";
317
272
  __webpack_require__.r(__webpack_exports__);
318
- /* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
273
+ /* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3);
319
274
  /* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__);
320
275
 
321
276
  var StaticMajorAndTrendLayout = [[{
@@ -366,9 +321,9 @@ var StaticMajorAndTrendLayout = [[{
366
321
 
367
322
  "use strict";
368
323
  __webpack_require__.r(__webpack_exports__);
369
- /* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
324
+ /* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3);
370
325
  /* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__);
371
- /* harmony import */ var _splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(29);
326
+ /* harmony import */ var _splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(28);
372
327
  /* harmony import */ var _splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__);
373
328
 
374
329
 
@@ -390,9 +345,9 @@ var StaticMajorColorEditor = {
390
345
 
391
346
  "use strict";
392
347
  __webpack_require__.r(__webpack_exports__);
393
- /* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
348
+ /* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3);
394
349
  /* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__);
395
- /* harmony import */ var _splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(29);
350
+ /* harmony import */ var _splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(28);
396
351
  /* harmony import */ var _splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__);
397
352
 
398
353
 
@@ -424,13 +379,13 @@ Object.defineProperty(exports, "__esModule", {
424
379
  });
425
380
  exports.TrellisBackgroundColorEditor = exports.TrellisEditorConfig = void 0;
426
381
 
427
- var React = __webpack_require__(0);
382
+ var React = __webpack_require__(1);
428
383
 
429
- var i18n_1 = __webpack_require__(2);
384
+ var i18n_1 = __webpack_require__(3);
430
385
 
431
- var FeatureFlagContext_1 = __webpack_require__(28);
386
+ var FeatureFlagContext_1 = __webpack_require__(27);
432
387
 
433
- var visualization_schemas_1 = __webpack_require__(10);
388
+ var visualization_schemas_1 = __webpack_require__(9);
434
389
  /* eslint-disable react-hooks/rules-of-hooks */
435
390
 
436
391
 
@@ -530,7 +485,7 @@ exports.TrellisBackgroundColorEditor = {
530
485
  "use strict";
531
486
 
532
487
 
533
- var _slicedToArray = __webpack_require__(6);
488
+ var _slicedToArray = __webpack_require__(5);
534
489
 
535
490
  var __rest = this && this.__rest || function (s, e) {
536
491
  var t = {};
@@ -549,39 +504,39 @@ Object.defineProperty(exports, "__esModule", {
549
504
  value: true
550
505
  });
551
506
 
552
- var React = __webpack_require__(0);
507
+ var React = __webpack_require__(1);
553
508
 
554
- var react_1 = __webpack_require__(0);
509
+ var react_1 = __webpack_require__(1);
555
510
 
556
- var lodash_1 = __webpack_require__(3);
511
+ var lodash_1 = __webpack_require__(2);
557
512
 
558
513
  var styled_components_1 = __webpack_require__(4);
559
514
 
560
- var Paginator_1 = __webpack_require__(114);
515
+ var Paginator_1 = __webpack_require__(113);
561
516
 
562
- var i18n_1 = __webpack_require__(2);
517
+ var i18n_1 = __webpack_require__(3);
563
518
 
564
- var themes_1 = __webpack_require__(80);
519
+ var themes_1 = __webpack_require__(79);
565
520
 
566
- var useSplunkTheme_1 = __webpack_require__(77);
521
+ var useSplunkTheme_1 = __webpack_require__(76);
567
522
 
568
- var FeatureFlagContext_1 = __webpack_require__(28);
523
+ var FeatureFlagContext_1 = __webpack_require__(27);
569
524
 
570
- var SizeAwareWrapper_1 = __webpack_require__(26);
525
+ var SizeAwareWrapper_1 = __webpack_require__(25);
571
526
 
572
- var style_1 = __webpack_require__(19);
527
+ var style_1 = __webpack_require__(18);
573
528
 
574
- var Message_1 = __webpack_require__(12);
529
+ var Message_1 = __webpack_require__(11);
575
530
 
576
- var trellisUtils_1 = __webpack_require__(105);
531
+ var trellisUtils_1 = __webpack_require__(104);
577
532
 
578
- var hocUtils_1 = __webpack_require__(34);
533
+ var hocUtils_1 = __webpack_require__(33);
579
534
 
580
- var JSONSchemaUtils_1 = __webpack_require__(35);
535
+ var JSONSchemaUtils_1 = __webpack_require__(34);
581
536
 
582
- var visualization_schemas_1 = __webpack_require__(10);
537
+ var visualization_schemas_1 = __webpack_require__(9);
583
538
 
584
- var Options_1 = __webpack_require__(17);
539
+ var Options_1 = __webpack_require__(16);
585
540
 
586
541
  var trellisUtils_2 = __webpack_require__(128);
587
542
 
@@ -837,16 +792,16 @@ exports.default = withTrellis;
837
792
  "use strict";
838
793
 
839
794
 
840
- var _toConsumableArray = __webpack_require__(7);
795
+ var _toConsumableArray = __webpack_require__(6);
841
796
 
842
797
  Object.defineProperty(exports, "__esModule", {
843
798
  value: true
844
799
  });
845
800
  exports.getTrellisDataSourcesBySplitMode = exports.dataSourcesSplitByModeStatsorUnknown = exports.dataSourcesSplitByModeChart = exports.dataSourcesSplitByModeTimechart = exports.dataSourcesSplitByAggregationsStats = exports.dataSourcesSplitByAggregationsTimechartAndChart = exports.dataSourcesSplitByAggregationsUnknown = exports.AGGREGATIONS = void 0;
846
801
 
847
- var lodash_1 = __webpack_require__(3);
802
+ var lodash_1 = __webpack_require__(2);
848
803
 
849
- var trellisUtils_1 = __webpack_require__(105);
804
+ var trellisUtils_1 = __webpack_require__(104);
850
805
 
851
806
  exports.AGGREGATIONS = 'aggregations';
852
807
  /**
@@ -1337,7 +1292,7 @@ module.exports = require("lodash/pick");
1337
1292
  /***/ 13:
1338
1293
  /***/ (function(module, exports) {
1339
1294
 
1340
- module.exports = require("@babel/runtime/helpers/defineProperty");
1295
+ module.exports = require("@splunk/themes/variables");
1341
1296
 
1342
1297
  /***/ }),
1343
1298
 
@@ -1349,13 +1304,6 @@ module.exports = require("lodash/isEmpty");
1349
1304
  /***/ }),
1350
1305
 
1351
1306
  /***/ 14:
1352
- /***/ (function(module, exports) {
1353
-
1354
- module.exports = require("@splunk/themes/variables");
1355
-
1356
- /***/ }),
1357
-
1358
- /***/ 15:
1359
1307
  /***/ (function(module, exports, __webpack_require__) {
1360
1308
 
1361
1309
  "use strict";
@@ -1366,9 +1314,9 @@ Object.defineProperty(exports, "__esModule", {
1366
1314
  });
1367
1315
  exports.downsampleDataSources = exports.calculateDownsamplingThreshold = exports.calculateThresholdOnRangeSelect = exports.isDownsamplingEnabledForViz = exports.convertToArrOfObjects = void 0;
1368
1316
 
1369
- var numberUtils_1 = __webpack_require__(11);
1317
+ var numberUtils_1 = __webpack_require__(10);
1370
1318
 
1371
- var interfaces_1 = __webpack_require__(40); // TODO: utilize this fn in ParallelCoordinates
1319
+ var interfaces_1 = __webpack_require__(39); // TODO: utilize this fn in ParallelCoordinates
1372
1320
 
1373
1321
 
1374
1322
  var convertToArrOfObjects = function convertToArrOfObjects(columns, fields) {
@@ -1503,19 +1451,21 @@ var largestTriangleThreeBuckets = function largestTriangleThreeBuckets(data, thr
1503
1451
  */
1504
1452
 
1505
1453
 
1506
- var strictlyCoerceYColumn = function strictlyCoerceYColumn(column) {
1507
- // Splunk charting allows for numbers in formats such as negative hex that
1454
+ var strictlyCoerceYColumn = function strictlyCoerceYColumn(column, options) {
1455
+ var isNullCoercionEnabled = options.nullValueDisplay === 'zero'; // Splunk charting allows for numbers in formats such as negative hex that
1508
1456
  // Number() does not support and also allows loose coercion of hex numbers (but not other formats)
1509
1457
  // We want to identify columns which contain at least one value that can be loosely coerced
1458
+
1510
1459
  var canLooselyCoerceSomeValues = column.findIndex(function (value) {
1511
- return (0, numberUtils_1.startsWithNumber)("".concat(value));
1460
+ return (0, numberUtils_1.startsWithNumber)("".concat(value)) || isNullCoercionEnabled && value === null;
1512
1461
  }) >= 0; // If not all values in column can be strictly coerced to a number, we do not downsample
1513
1462
 
1514
1463
  var coercedColumn = [];
1515
1464
  var canDownsampleColumn = !column.some(function (value) {
1516
- var coercedValue = Number(value); // if it can't be parsed or isn't safe, fail
1465
+ var coercedValue = Number(value);
1466
+ var coerceValueToZero = isNullCoercionEnabled && value === null; // if it can't be parsed or isn't safe, fail
1517
1467
 
1518
- if (Number.isNaN(coercedValue) || coercedValue <= Number.MIN_SAFE_INTEGER || coercedValue >= Number.MAX_SAFE_INTEGER || typeof value !== 'string' && typeof value !== 'number') {
1468
+ if (Number.isNaN(coercedValue) || coercedValue <= Number.MIN_SAFE_INTEGER || coercedValue >= Number.MAX_SAFE_INTEGER || typeof value !== 'string' && typeof value !== 'number' && !coerceValueToZero) {
1519
1469
  return true;
1520
1470
  } // save value and continue to next
1521
1471
 
@@ -1596,8 +1546,7 @@ var calculateDownsamplingThreshold = function calculateDownsamplingThreshold(_re
1596
1546
  dataSources = _ref3.dataSources,
1597
1547
  selectChartEvent = _ref3.selectChartEvent,
1598
1548
  width = _ref3.width,
1599
- xField = _ref3.xField,
1600
- y2Fields = _ref3.y2Fields;
1549
+ xField = _ref3.xField;
1601
1550
 
1602
1551
  var _a, _b, _c;
1603
1552
 
@@ -1634,14 +1583,7 @@ var calculateDownsamplingThreshold = function calculateDownsamplingThreshold(_re
1634
1583
  });
1635
1584
  var lastIndex = fullSeries.findIndex(function (x) {
1636
1585
  return downsampledSeries[endXIndex] === x;
1637
- }); // For charts with categorical x-axis (charts with an xField that isn't _time), do not support
1638
- // re-calculating downsampling threshold if the chart is zoomed in until SPL-259458 is fixed
1639
- // Also do not support re-calculating downsampling threshold for zoomed-in charts with y2
1640
- // until SPL-259611 is fixed
1641
-
1642
- if (xField !== '_time' || (y2Fields === null || y2Fields === void 0 ? void 0 : y2Fields.length)) {
1643
- return firstIndex === 0 && lastIndex === fullSeries.length - 1 ? width : null;
1644
- }
1586
+ });
1645
1587
 
1646
1588
  if (firstIndex >= 0 && lastIndex >= 0 && firstIndex <= lastIndex) {
1647
1589
  return (0, exports.calculateThresholdOnRangeSelect)({
@@ -1691,7 +1633,7 @@ var isColumnStrictlyIncreasing = function isColumnStrictlyIncreasing(column, fie
1691
1633
  */
1692
1634
 
1693
1635
 
1694
- var tryToCoerceAllDisplayedFields = function tryToCoerceAllDisplayedFields(ds, xField, yFields, fieldTypes) {
1636
+ var tryToCoerceAllDisplayedFields = function tryToCoerceAllDisplayedFields(ds, xField, yFields, fieldTypes, options) {
1695
1637
  var xColumn = [];
1696
1638
  var yColumns = [];
1697
1639
  var canDownsample = !ds.data.fields.some(function (field, index) {
@@ -1705,7 +1647,7 @@ var tryToCoerceAllDisplayedFields = function tryToCoerceAllDisplayedFields(ds, x
1705
1647
  if (fieldName === xField) {
1706
1648
  xColumn = strictlyCoerceXColumn(column, fieldType);
1707
1649
  } else if (yFields.has(fieldName)) {
1708
- var _strictlyCoerceYColum = strictlyCoerceYColumn(ds.data.columns[index]),
1650
+ var _strictlyCoerceYColum = strictlyCoerceYColumn(ds.data.columns[index], options),
1709
1651
  coercedColumn = _strictlyCoerceYColum.coercedColumn,
1710
1652
  canLooselyCoerceSomeValues = _strictlyCoerceYColum.canLooselyCoerceSomeValues,
1711
1653
  canDownsampleColumn = _strictlyCoerceYColum.canDownsampleColumn; // do not perform downsampling if a column can possibly be displayed but cannot
@@ -1795,7 +1737,7 @@ var downsampleDataSources = function downsampleDataSources(_ref4) {
1795
1737
  return dataSources;
1796
1738
  }
1797
1739
 
1798
- var _tryToCoerceAllDispla = tryToCoerceAllDisplayedFields(primaryDS, xField, nonInternalYFields, fieldTypes),
1740
+ var _tryToCoerceAllDispla = tryToCoerceAllDisplayedFields(primaryDS, xField, nonInternalYFields, fieldTypes, options),
1799
1741
  xColumn = _tryToCoerceAllDispla.xColumn,
1800
1742
  yColumns = _tryToCoerceAllDispla.yColumns;
1801
1743
 
@@ -1832,7 +1774,14 @@ exports.downsampleDataSources = downsampleDataSources;
1832
1774
 
1833
1775
  /***/ }),
1834
1776
 
1835
- /***/ 155:
1777
+ /***/ 15:
1778
+ /***/ (function(module, exports) {
1779
+
1780
+ module.exports = require("@splunk/visualizations-shared/colorUtils");
1781
+
1782
+ /***/ }),
1783
+
1784
+ /***/ 153:
1836
1785
  /***/ (function(module, exports, __webpack_require__) {
1837
1786
 
1838
1787
  "use strict";
@@ -1877,15 +1826,15 @@ exports.defaultContext = {
1877
1826
 
1878
1827
  /***/ }),
1879
1828
 
1880
- /***/ 156:
1829
+ /***/ 154:
1881
1830
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1882
1831
 
1883
1832
  "use strict";
1884
1833
  __webpack_require__.r(__webpack_exports__);
1885
1834
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getDynamicMajorColorEditor", function() { return getDynamicMajorColorEditor; });
1886
- /* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
1835
+ /* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3);
1887
1836
  /* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__);
1888
- /* harmony import */ var _splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(29);
1837
+ /* harmony import */ var _splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(28);
1889
1838
  /* harmony import */ var _splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__);
1890
1839
 
1891
1840
 
@@ -1928,48 +1877,41 @@ var getDynamicMajorColorEditor = function getDynamicMajorColorEditor(_ref) {
1928
1877
 
1929
1878
  /***/ }),
1930
1879
 
1931
- /***/ 16:
1932
- /***/ (function(module, exports) {
1933
-
1934
- module.exports = require("@splunk/visualizations-shared/colorUtils");
1935
-
1936
- /***/ }),
1937
-
1938
- /***/ 161:
1880
+ /***/ 159:
1939
1881
  /***/ (function(module, exports) {
1940
1882
 
1941
1883
  module.exports = require("@splunk/visualizations/SingleValueBasic");
1942
1884
 
1943
1885
  /***/ }),
1944
1886
 
1945
- /***/ 17:
1887
+ /***/ 16:
1946
1888
  /***/ (function(module, exports) {
1947
1889
 
1948
1890
  module.exports = require("@splunk/visualization-encoding/Options");
1949
1891
 
1950
1892
  /***/ }),
1951
1893
 
1952
- /***/ 18:
1894
+ /***/ 17:
1953
1895
  /***/ (function(module, exports, __webpack_require__) {
1954
1896
 
1955
1897
  "use strict";
1956
1898
 
1957
1899
 
1958
- var _slicedToArray = __webpack_require__(6);
1900
+ var _slicedToArray = __webpack_require__(5);
1959
1901
 
1960
1902
  Object.defineProperty(exports, "__esModule", {
1961
1903
  value: true
1962
1904
  });
1963
1905
 
1964
- var React = __webpack_require__(0);
1906
+ var React = __webpack_require__(1);
1965
1907
 
1966
1908
  var styled_components_1 = __webpack_require__(4);
1967
1909
 
1968
- var style_1 = __webpack_require__(19);
1910
+ var style_1 = __webpack_require__(18);
1969
1911
 
1970
- var colorUtils_1 = __webpack_require__(16);
1912
+ var colorUtils_1 = __webpack_require__(15);
1971
1913
 
1972
- var SizeAwareWrapper_1 = __webpack_require__(26);
1914
+ var SizeAwareWrapper_1 = __webpack_require__(25);
1973
1915
 
1974
1916
  var Item = styled_components_1.default.div.attrs(function (_ref) {
1975
1917
  var width = _ref.width;
@@ -2040,7 +1982,7 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
2040
1982
 
2041
1983
  return React.createElement(FixSizeItem, {
2042
1984
  "data-test": "fix-size-item",
2043
- "data-splunk-visualization-version": "26.3.0 - a1ef240a6",
1985
+ "data-splunk-visualization-version": "26.4.1 - 2b7482c08",
2044
1986
  width: width,
2045
1987
  height: height,
2046
1988
  backgroundColor: backgroundColor
@@ -2062,56 +2004,28 @@ exports.default = withFixedSizeContainer;
2062
2004
 
2063
2005
  /***/ }),
2064
2006
 
2065
- /***/ 19:
2007
+ /***/ 18:
2066
2008
  /***/ (function(module, exports) {
2067
2009
 
2068
2010
  module.exports = require("@splunk/visualizations-shared/style");
2069
2011
 
2070
2012
  /***/ }),
2071
2013
 
2072
- /***/ 190:
2014
+ /***/ 188:
2073
2015
  /***/ (function(module, exports) {
2074
2016
 
2075
2017
  module.exports = require("@splunk/react-icons/enterprise/Activity");
2076
2018
 
2077
2019
  /***/ }),
2078
2020
 
2079
- /***/ 191:
2021
+ /***/ 189:
2080
2022
  /***/ (function(module, exports) {
2081
2023
 
2082
2024
  module.exports = require("@splunk/react-icons/enterprise/Clock");
2083
2025
 
2084
2026
  /***/ }),
2085
2027
 
2086
- /***/ 192:
2087
- /***/ (function(module, exports) {
2088
-
2089
- module.exports = require("@splunk/react-icons/enterprise/Pencil");
2090
-
2091
- /***/ }),
2092
-
2093
- /***/ 193:
2094
- /***/ (function(module, exports) {
2095
-
2096
- module.exports = require("@splunk/react-icons/enterprise/Star");
2097
-
2098
- /***/ }),
2099
-
2100
- /***/ 194:
2101
- /***/ (function(module, exports) {
2102
-
2103
- module.exports = require("@splunk/react-icons/enterprise/Question");
2104
-
2105
- /***/ }),
2106
-
2107
- /***/ 2:
2108
- /***/ (function(module, exports) {
2109
-
2110
- module.exports = require("@splunk/ui-utils/i18n");
2111
-
2112
- /***/ }),
2113
-
2114
- /***/ 20:
2028
+ /***/ 19:
2115
2029
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
2116
2030
 
2117
2031
  "use strict";
@@ -2147,17 +2061,17 @@ __webpack_require__.r(__webpack_exports__);
2147
2061
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "lighten", function() { return lighten; });
2148
2062
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "darken", function() { return darken; });
2149
2063
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "handleValueClickCallback", function() { return handleValueClickCallback; });
2150
- /* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(13);
2064
+ /* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(12);
2151
2065
  /* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__);
2152
- /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3);
2066
+ /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(2);
2153
2067
  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_1__);
2154
- /* harmony import */ var _splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(11);
2068
+ /* harmony import */ var _splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(10);
2155
2069
  /* harmony import */ var _splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_2__);
2156
- /* harmony import */ var _splunk_visualizations_shared_domUtils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(74);
2070
+ /* harmony import */ var _splunk_visualizations_shared_domUtils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(73);
2157
2071
  /* harmony import */ var _splunk_visualizations_shared_domUtils__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_domUtils__WEBPACK_IMPORTED_MODULE_3__);
2158
- /* harmony import */ var _splunk_visualizations_shared_propUtils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(36);
2072
+ /* harmony import */ var _splunk_visualizations_shared_propUtils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(35);
2159
2073
  /* harmony import */ var _splunk_visualizations_shared_propUtils__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_propUtils__WEBPACK_IMPORTED_MODULE_4__);
2160
- /* harmony import */ var _splunk_visualizations_shared_colorConstants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(70);
2074
+ /* harmony import */ var _splunk_visualizations_shared_colorConstants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(69);
2161
2075
  /* harmony import */ var _splunk_visualizations_shared_colorConstants__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_colorConstants__WEBPACK_IMPORTED_MODULE_5__);
2162
2076
 
2163
2077
 
@@ -2407,7 +2321,7 @@ var computeColors = function computeColors(props, defaultColors) {
2407
2321
  * @param {Number} props.value // The major/trend value
2408
2322
  * @param {Number} props.numberPrecision
2409
2323
  * @param {Bool} props.shouldUseThousandSeparators
2410
- * @param {Bool} props.shouldAbbreviateTrendValue
2324
+ * @param {Bool} props.shouldAbbreviateValue
2411
2325
  * @returns {Number} major or trend text
2412
2326
  */
2413
2327
 
@@ -2415,11 +2329,11 @@ var computeText = function computeText(_ref4) {
2415
2329
  var value = _ref4.value,
2416
2330
  numberPrecision = _ref4.numberPrecision,
2417
2331
  shouldUseThousandSeparators = _ref4.shouldUseThousandSeparators,
2418
- shouldAbbreviateTrendValue = _ref4.shouldAbbreviateTrendValue;
2332
+ shouldAbbreviateValue = _ref4.shouldAbbreviateValue;
2419
2333
  var text = Object(_splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_2__["isNumerial"])(value) ? Object(_splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_2__["formatNumber"])(value, numberPrecision, {
2420
2334
  useThousandSeparators: shouldUseThousandSeparators,
2421
2335
  // todo: need update formatNumber
2422
- useTrendUnits: shouldAbbreviateTrendValue
2336
+ useTrendUnits: shouldAbbreviateValue
2423
2337
  }) : value; // When text is undefined, return empty string
2424
2338
 
2425
2339
  text = text || '';
@@ -2431,19 +2345,21 @@ var computeText = function computeText(_ref4) {
2431
2345
  * @param {Number} props.majorValue
2432
2346
  * @param {Number} props.numberPrecision
2433
2347
  * @param {Bool} props.shouldUseThousandSeparators
2348
+ * @param {Bool} props.shouldAbbreviateMajorValue
2434
2349
  * @returns {String} majorText
2435
2350
  */
2436
2351
 
2437
2352
  var getMajorText = function getMajorText(_ref5) {
2438
2353
  var majorValue = _ref5.majorValue,
2439
2354
  numberPrecision = _ref5.numberPrecision,
2440
- shouldUseThousandSeparators = _ref5.shouldUseThousandSeparators;
2355
+ shouldUseThousandSeparators = _ref5.shouldUseThousandSeparators,
2356
+ shouldAbbreviateMajorValue = _ref5.shouldAbbreviateMajorValue;
2441
2357
  return computeText({
2442
2358
  value: majorValue === null ? 'N/A' : majorValue,
2443
2359
  // if majorValue is null, use `N/A`.
2444
2360
  numberPrecision: numberPrecision,
2445
2361
  shouldUseThousandSeparators: shouldUseThousandSeparators,
2446
- shouldAbbreviateTrendValue: false
2362
+ shouldAbbreviateValue: shouldAbbreviateMajorValue
2447
2363
  });
2448
2364
  };
2449
2365
  /*
@@ -2471,7 +2387,7 @@ var getTrendText = function getTrendText(_ref6) {
2471
2387
  value: value,
2472
2388
  numberPrecision: numberPrecision,
2473
2389
  shouldUseThousandSeparators: shouldUseThousandSeparators,
2474
- shouldAbbreviateTrendValue: shouldAbbreviateTrendValue
2390
+ shouldAbbreviateValue: shouldAbbreviateTrendValue
2475
2391
  });
2476
2392
  };
2477
2393
 
@@ -2615,6 +2531,7 @@ var getUnderLabel = function getUnderLabel(_ref10) {
2615
2531
  * @param {Number} props.numberPrecision
2616
2532
  * @param {Bool} props.shouldUseThousandSeparators
2617
2533
  * @param {Bool} props.shouldAbbreviateTrendValue
2534
+ * @param {Bool} props.shouldAbbreviateMajorValue
2618
2535
  * @returns {Number, Number, Number, Number} Major text, trend text, major text size, trend text size
2619
2536
  */
2620
2537
 
@@ -2629,14 +2546,16 @@ var getMajorAndTrend = function getMajorAndTrend(_ref11) {
2629
2546
  unit = _ref11.unit,
2630
2547
  numberPrecision = _ref11.numberPrecision,
2631
2548
  shouldUseThousandSeparators = _ref11.shouldUseThousandSeparators,
2632
- shouldAbbreviateTrendValue = _ref11.shouldAbbreviateTrendValue;
2549
+ shouldAbbreviateTrendValue = _ref11.shouldAbbreviateTrendValue,
2550
+ shouldAbbreviateMajorValue = _ref11.shouldAbbreviateMajorValue;
2633
2551
  var majorTextSpaceRatio = Object(_splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_2__["isNumerial"])(trendValue) && shouldShowTrend(trendDisplay) ? 0.6 : 1;
2634
2552
  var textContentWidth = width * 0.9;
2635
2553
  var textContentHeight = height * 0.9;
2636
2554
  var majorText = getMajorText({
2637
2555
  majorValue: majorValue,
2638
2556
  numberPrecision: numberPrecision,
2639
- shouldUseThousandSeparators: shouldUseThousandSeparators
2557
+ shouldUseThousandSeparators: shouldUseThousandSeparators,
2558
+ shouldAbbreviateMajorValue: shouldAbbreviateMajorValue
2640
2559
  });
2641
2560
  var majorTextFontSize = majorFontSize || getMajorFontSize({
2642
2561
  width: textContentWidth,
@@ -2762,6 +2681,7 @@ var updateVizInSmallSpace = function updateVizInSmallSpace(_ref12) {
2762
2681
  * @param {Number} props.numberPrecision
2763
2682
  * @param {Bool} props.shouldUseThousandSeparators
2764
2683
  * @param {Bool} props.shouldAbbreviateTrendValue
2684
+ * @param {Bool} props.shouldAbbreviateMajorValue
2765
2685
  * @param {Object} props.toRemoveList
2766
2686
  * @returns {Object} results
2767
2687
  * @returns {String} results.majorText
@@ -2786,6 +2706,7 @@ var computeSingleValueContent = function computeSingleValueContent(_ref13) {
2786
2706
  numberPrecision = _ref13.numberPrecision,
2787
2707
  shouldUseThousandSeparators = _ref13.shouldUseThousandSeparators,
2788
2708
  shouldAbbreviateTrendValue = _ref13.shouldAbbreviateTrendValue,
2709
+ shouldAbbreviateMajorValue = _ref13.shouldAbbreviateMajorValue,
2789
2710
  toRemoveList = _ref13.toRemoveList;
2790
2711
 
2791
2712
  var _getMajorAndTrend = getMajorAndTrend({
@@ -2799,7 +2720,8 @@ var computeSingleValueContent = function computeSingleValueContent(_ref13) {
2799
2720
  unit: unit,
2800
2721
  numberPrecision: numberPrecision,
2801
2722
  shouldUseThousandSeparators: shouldUseThousandSeparators,
2802
- shouldAbbreviateTrendValue: shouldAbbreviateTrendValue
2723
+ shouldAbbreviateTrendValue: shouldAbbreviateTrendValue,
2724
+ shouldAbbreviateMajorValue: shouldAbbreviateMajorValue
2803
2725
  }),
2804
2726
  majorText = _getMajorAndTrend.majorText,
2805
2727
  trendText = _getMajorAndTrend.trendText,
@@ -2888,6 +2810,7 @@ var minimallyTruncateStringToWidth = function minimallyTruncateStringToWidth(_re
2888
2810
  * @param {Number} props.numberPrecision
2889
2811
  * @param {Bool} props.shouldUseThousandSeparators
2890
2812
  * @param {Bool} props.shouldAbbreviateTrendValue
2813
+ * @param {Bool} props.shouldAbbreviateMajorValue,
2891
2814
  * @param {Object} props.toRemoveList
2892
2815
  * @param {Bool} props.smallViz
2893
2816
  * @returns {Object} results
@@ -2913,6 +2836,7 @@ var computeSingleValueRadialContent = function computeSingleValueRadialContent(_
2913
2836
  numberPrecision = _ref15.numberPrecision,
2914
2837
  shouldUseThousandSeparators = _ref15.shouldUseThousandSeparators,
2915
2838
  shouldAbbreviateTrendValue = _ref15.shouldAbbreviateTrendValue,
2839
+ shouldAbbreviateMajorValue = _ref15.shouldAbbreviateMajorValue,
2916
2840
  smallViz = _ref15.smallViz;
2917
2841
 
2918
2842
  var _getMajorAndTrend2 = getMajorAndTrend({
@@ -2926,7 +2850,8 @@ var computeSingleValueRadialContent = function computeSingleValueRadialContent(_
2926
2850
  unit: unit,
2927
2851
  numberPrecision: numberPrecision,
2928
2852
  shouldUseThousandSeparators: shouldUseThousandSeparators,
2929
- shouldAbbreviateTrendValue: shouldAbbreviateTrendValue
2853
+ shouldAbbreviateTrendValue: shouldAbbreviateTrendValue,
2854
+ shouldAbbreviateMajorValue: shouldAbbreviateMajorValue
2930
2855
  }),
2931
2856
  majorText = _getMajorAndTrend2.majorText,
2932
2857
  trendText = _getMajorAndTrend2.trendText,
@@ -2957,7 +2882,8 @@ var computeSingleValueRadialContent = function computeSingleValueRadialContent(_
2957
2882
  trendDisplay: trendDisplay,
2958
2883
  numberPrecision: numberPrecision,
2959
2884
  shouldUseThousandSeparators: shouldUseThousandSeparators,
2960
- shouldAbbreviateTrendValue: shouldAbbreviateTrendValue
2885
+ shouldAbbreviateTrendValue: shouldAbbreviateTrendValue,
2886
+ shouldAbbreviateMajorValue: shouldAbbreviateMajorValue
2961
2887
  });
2962
2888
 
2963
2889
  majorText = _getMajorAndTrend3.majorText;
@@ -3140,7 +3066,35 @@ var handleValueClickCallback = function handleValueClickCallback(ev, majorValue,
3140
3066
 
3141
3067
  /***/ }),
3142
3068
 
3143
- /***/ 21:
3069
+ /***/ 190:
3070
+ /***/ (function(module, exports) {
3071
+
3072
+ module.exports = require("@splunk/react-icons/enterprise/Pencil");
3073
+
3074
+ /***/ }),
3075
+
3076
+ /***/ 191:
3077
+ /***/ (function(module, exports) {
3078
+
3079
+ module.exports = require("@splunk/react-icons/enterprise/Star");
3080
+
3081
+ /***/ }),
3082
+
3083
+ /***/ 192:
3084
+ /***/ (function(module, exports) {
3085
+
3086
+ module.exports = require("@splunk/react-icons/enterprise/Question");
3087
+
3088
+ /***/ }),
3089
+
3090
+ /***/ 2:
3091
+ /***/ (function(module, exports) {
3092
+
3093
+ module.exports = require("lodash");
3094
+
3095
+ /***/ }),
3096
+
3097
+ /***/ 20:
3144
3098
  /***/ (function(module, exports, __webpack_require__) {
3145
3099
 
3146
3100
  "use strict";
@@ -3155,15 +3109,15 @@ exports.validOutputModes = ['json_cols', 'json'];
3155
3109
 
3156
3110
  /***/ }),
3157
3111
 
3158
- /***/ 22:
3112
+ /***/ 21:
3159
3113
  /***/ (function(module, exports, __webpack_require__) {
3160
3114
 
3161
3115
  "use strict";
3162
3116
 
3163
3117
 
3164
- var _classCallCheck = __webpack_require__(9);
3118
+ var _classCallCheck = __webpack_require__(8);
3165
3119
 
3166
- var _createClass = __webpack_require__(25);
3120
+ var _createClass = __webpack_require__(24);
3167
3121
 
3168
3122
  Object.defineProperty(exports, "__esModule", {
3169
3123
  value: true
@@ -3193,7 +3147,7 @@ exports.DefaultVizActionHandler = DefaultVizActionHandler;
3193
3147
 
3194
3148
  /***/ }),
3195
3149
 
3196
- /***/ 23:
3150
+ /***/ 22:
3197
3151
  /***/ (function(module, exports, __webpack_require__) {
3198
3152
 
3199
3153
  "use strict";
@@ -3222,7 +3176,7 @@ var VizCategory;
3222
3176
 
3223
3177
  /***/ }),
3224
3178
 
3225
- /***/ 24:
3179
+ /***/ 23:
3226
3180
  /***/ (function(module, exports, __webpack_require__) {
3227
3181
 
3228
3182
  "use strict";
@@ -3255,37 +3209,37 @@ exports.extendStaticWrapperProps = extendStaticWrapperProps;
3255
3209
 
3256
3210
  /***/ }),
3257
3211
 
3258
- /***/ 25:
3212
+ /***/ 24:
3259
3213
  /***/ (function(module, exports) {
3260
3214
 
3261
3215
  module.exports = require("@babel/runtime/helpers/createClass");
3262
3216
 
3263
3217
  /***/ }),
3264
3218
 
3265
- /***/ 26:
3219
+ /***/ 25:
3266
3220
  /***/ (function(module, exports) {
3267
3221
 
3268
3222
  module.exports = require("@splunk/visualizations-shared/SizeAwareWrapper");
3269
3223
 
3270
3224
  /***/ }),
3271
3225
 
3272
- /***/ 27:
3226
+ /***/ 26:
3273
3227
  /***/ (function(module, exports, __webpack_require__) {
3274
3228
 
3275
3229
  "use strict";
3276
3230
 
3277
3231
 
3278
- var _toConsumableArray = __webpack_require__(7);
3232
+ var _toConsumableArray = __webpack_require__(6);
3279
3233
 
3280
3234
  Object.defineProperty(exports, "__esModule", {
3281
3235
  value: true
3282
3236
  });
3283
3237
  exports.insertLayout = exports.isDynamicOption = exports.uncollapseEditorConfig = exports.generatePrecisionValues = exports.getInitialPreset = exports.enhanceConfig = exports.enhanceOptionsSchemaWithDynamicOptions = void 0;
3284
3238
 
3285
- var lodash_1 = __webpack_require__(3); // included for backwards compatibility
3239
+ var lodash_1 = __webpack_require__(2); // included for backwards compatibility
3286
3240
 
3287
3241
 
3288
- var visualization_schemas_1 = __webpack_require__(10);
3242
+ var visualization_schemas_1 = __webpack_require__(9);
3289
3243
 
3290
3244
  Object.defineProperty(exports, "enhanceOptionsSchemaWithDynamicOptions", {
3291
3245
  enumerable: true,
@@ -3426,49 +3380,49 @@ exports.insertLayout = insertLayout;
3426
3380
 
3427
3381
  /***/ }),
3428
3382
 
3429
- /***/ 28:
3383
+ /***/ 27:
3430
3384
  /***/ (function(module, exports) {
3431
3385
 
3432
3386
  module.exports = require("@splunk/visualization-context/FeatureFlagContext");
3433
3387
 
3434
3388
  /***/ }),
3435
3389
 
3436
- /***/ 29:
3390
+ /***/ 28:
3437
3391
  /***/ (function(module, exports) {
3438
3392
 
3439
3393
  module.exports = require("@splunk/visualizations-shared/configUtils");
3440
3394
 
3441
3395
  /***/ }),
3442
3396
 
3443
- /***/ 3:
3397
+ /***/ 29:
3444
3398
  /***/ (function(module, exports) {
3445
3399
 
3446
- module.exports = require("lodash");
3400
+ module.exports = require("@splunk/themes/pick");
3447
3401
 
3448
3402
  /***/ }),
3449
3403
 
3450
- /***/ 30:
3404
+ /***/ 3:
3451
3405
  /***/ (function(module, exports) {
3452
3406
 
3453
- module.exports = require("@splunk/themes/pick");
3407
+ module.exports = require("@splunk/ui-utils/i18n");
3454
3408
 
3455
3409
  /***/ }),
3456
3410
 
3457
- /***/ 31:
3411
+ /***/ 30:
3458
3412
  /***/ (function(module, exports) {
3459
3413
 
3460
3414
  module.exports = require("@splunk/ui-utils/id");
3461
3415
 
3462
3416
  /***/ }),
3463
3417
 
3464
- /***/ 32:
3418
+ /***/ 31:
3465
3419
  /***/ (function(module, exports) {
3466
3420
 
3467
3421
  module.exports = require("@splunk/visualization-context/TimezoneContext");
3468
3422
 
3469
3423
  /***/ }),
3470
3424
 
3471
- /***/ 33:
3425
+ /***/ 32:
3472
3426
  /***/ (function(module, exports, __webpack_require__) {
3473
3427
 
3474
3428
  "use strict";
@@ -3478,7 +3432,7 @@ Object.defineProperty(exports, "__esModule", {
3478
3432
  value: true
3479
3433
  });
3480
3434
 
3481
- var react_1 = __webpack_require__(0);
3435
+ var react_1 = __webpack_require__(1);
3482
3436
 
3483
3437
  function usePrevious(value) {
3484
3438
  var ref = (0, react_1.useRef)();
@@ -3492,28 +3446,28 @@ exports.default = usePrevious;
3492
3446
 
3493
3447
  /***/ }),
3494
3448
 
3495
- /***/ 34:
3449
+ /***/ 33:
3496
3450
  /***/ (function(module, exports) {
3497
3451
 
3498
3452
  module.exports = require("@splunk/visualizations-shared/hocUtils");
3499
3453
 
3500
3454
  /***/ }),
3501
3455
 
3502
- /***/ 35:
3456
+ /***/ 34:
3503
3457
  /***/ (function(module, exports) {
3504
3458
 
3505
3459
  module.exports = require("@splunk/visualizations-shared/JSONSchemaUtils");
3506
3460
 
3507
3461
  /***/ }),
3508
3462
 
3509
- /***/ 36:
3463
+ /***/ 35:
3510
3464
  /***/ (function(module, exports) {
3511
3465
 
3512
3466
  module.exports = require("@splunk/visualizations-shared/propUtils");
3513
3467
 
3514
3468
  /***/ }),
3515
3469
 
3516
- /***/ 37:
3470
+ /***/ 36:
3517
3471
  /***/ (function(module, exports, __webpack_require__) {
3518
3472
 
3519
3473
  "use strict";
@@ -3524,17 +3478,17 @@ Object.defineProperty(exports, "__esModule", {
3524
3478
  });
3525
3479
  exports.shouldShowIconPlaceholder = void 0;
3526
3480
 
3527
- var React = __webpack_require__(0);
3481
+ var React = __webpack_require__(1);
3528
3482
 
3529
- var T = __webpack_require__(1);
3483
+ var T = __webpack_require__(0);
3530
3484
 
3531
- var lodash_1 = __webpack_require__(3);
3485
+ var lodash_1 = __webpack_require__(2);
3532
3486
 
3533
- var i18n_1 = __webpack_require__(2);
3487
+ var i18n_1 = __webpack_require__(3);
3534
3488
 
3535
- var Message_1 = __webpack_require__(12);
3489
+ var Message_1 = __webpack_require__(11);
3536
3490
 
3537
- var FixedSizeContainer_1 = __webpack_require__(18);
3491
+ var FixedSizeContainer_1 = __webpack_require__(17);
3538
3492
  /**
3539
3493
  * @method shouldShowIconPlaceholder
3540
3494
  * @param {object} dataSources
@@ -3606,24 +3560,24 @@ exports.default = (0, FixedSizeContainer_1.default)(IconPlaceholder);
3606
3560
 
3607
3561
  /***/ }),
3608
3562
 
3609
- /***/ 38:
3563
+ /***/ 37:
3610
3564
  /***/ (function(module, exports, __webpack_require__) {
3611
3565
 
3612
3566
  "use strict";
3613
3567
 
3614
3568
 
3615
- var _defineProperty = __webpack_require__(13);
3569
+ var _defineProperty = __webpack_require__(12);
3616
3570
 
3617
3571
  Object.defineProperty(exports, "__esModule", {
3618
3572
  value: true
3619
3573
  });
3620
3574
  exports.getSortingParams = exports.SortParamsPropTypes = void 0;
3621
3575
 
3622
- var T = __webpack_require__(1);
3576
+ var T = __webpack_require__(0);
3623
3577
 
3624
- var lodash_1 = __webpack_require__(3);
3578
+ var lodash_1 = __webpack_require__(2);
3625
3579
 
3626
- var DataSource_1 = __webpack_require__(21);
3580
+ var DataSource_1 = __webpack_require__(20);
3627
3581
 
3628
3582
  exports.SortParamsPropTypes = T.shape({
3629
3583
  currentSortKey: T.string,
@@ -3677,7 +3631,7 @@ exports.getSortingParams = getSortingParams;
3677
3631
 
3678
3632
  /***/ }),
3679
3633
 
3680
- /***/ 39:
3634
+ /***/ 38:
3681
3635
  /***/ (function(module, exports, __webpack_require__) {
3682
3636
 
3683
3637
  "use strict";
@@ -3688,9 +3642,9 @@ Object.defineProperty(exports, "__esModule", {
3688
3642
  });
3689
3643
  exports.getPaginationParams = exports.PaginatorParamsPropTypes = void 0;
3690
3644
 
3691
- var T = __webpack_require__(1);
3645
+ var T = __webpack_require__(0);
3692
3646
 
3693
- var lodash_1 = __webpack_require__(3);
3647
+ var lodash_1 = __webpack_require__(2);
3694
3648
 
3695
3649
  exports.PaginatorParamsPropTypes = T.shape({
3696
3650
  isPaging: T.bool,
@@ -3742,14 +3696,7 @@ exports.getPaginationParams = getPaginationParams;
3742
3696
 
3743
3697
  /***/ }),
3744
3698
 
3745
- /***/ 4:
3746
- /***/ (function(module, exports) {
3747
-
3748
- module.exports = require("styled-components");
3749
-
3750
- /***/ }),
3751
-
3752
- /***/ 40:
3699
+ /***/ 39:
3753
3700
  /***/ (function(module, exports, __webpack_require__) {
3754
3701
 
3755
3702
  "use strict";
@@ -3784,11 +3731,13 @@ Object.defineProperty(exports, "__esModule", {
3784
3731
  value: true
3785
3732
  });
3786
3733
 
3734
+ __exportStar(__webpack_require__(40), exports);
3735
+
3787
3736
  __exportStar(__webpack_require__(41), exports);
3788
3737
 
3789
- __exportStar(__webpack_require__(42), exports);
3738
+ __exportStar(__webpack_require__(20), exports);
3790
3739
 
3791
- __exportStar(__webpack_require__(21), exports);
3740
+ __exportStar(__webpack_require__(42), exports);
3792
3741
 
3793
3742
  __exportStar(__webpack_require__(43), exports);
3794
3743
 
@@ -3800,13 +3749,13 @@ __exportStar(__webpack_require__(46), exports);
3800
3749
 
3801
3750
  __exportStar(__webpack_require__(47), exports);
3802
3751
 
3803
- __exportStar(__webpack_require__(48), exports);
3752
+ __exportStar(__webpack_require__(21), exports);
3804
3753
 
3805
- __exportStar(__webpack_require__(22), exports);
3754
+ __exportStar(__webpack_require__(7), exports);
3806
3755
 
3807
- __exportStar(__webpack_require__(8), exports);
3756
+ __exportStar(__webpack_require__(22), exports);
3808
3757
 
3809
- __exportStar(__webpack_require__(23), exports);
3758
+ __exportStar(__webpack_require__(48), exports);
3810
3759
 
3811
3760
  __exportStar(__webpack_require__(49), exports);
3812
3761
 
@@ -3818,11 +3767,16 @@ __exportStar(__webpack_require__(52), exports);
3818
3767
 
3819
3768
  __exportStar(__webpack_require__(53), exports);
3820
3769
 
3821
- __exportStar(__webpack_require__(54), exports);
3770
+ /***/ }),
3771
+
3772
+ /***/ 4:
3773
+ /***/ (function(module, exports) {
3774
+
3775
+ module.exports = require("styled-components");
3822
3776
 
3823
3777
  /***/ }),
3824
3778
 
3825
- /***/ 41:
3779
+ /***/ 40:
3826
3780
  /***/ (function(module, exports, __webpack_require__) {
3827
3781
 
3828
3782
  "use strict";
@@ -3834,7 +3788,7 @@ Object.defineProperty(exports, "__esModule", {
3834
3788
 
3835
3789
  /***/ }),
3836
3790
 
3837
- /***/ 42:
3791
+ /***/ 41:
3838
3792
  /***/ (function(module, exports, __webpack_require__) {
3839
3793
 
3840
3794
  "use strict";
@@ -3843,6 +3797,18 @@ Object.defineProperty(exports, "__esModule", {
3843
3797
  * A data structure used at runtime to wire up a visualization.
3844
3798
  */
3845
3799
 
3800
+ Object.defineProperty(exports, "__esModule", {
3801
+ value: true
3802
+ });
3803
+
3804
+ /***/ }),
3805
+
3806
+ /***/ 42:
3807
+ /***/ (function(module, exports, __webpack_require__) {
3808
+
3809
+ "use strict";
3810
+
3811
+
3846
3812
  Object.defineProperty(exports, "__esModule", {
3847
3813
  value: true
3848
3814
  });
@@ -3921,7 +3887,7 @@ Object.defineProperty(exports, "__esModule", {
3921
3887
 
3922
3888
  /***/ }),
3923
3889
 
3924
- /***/ 488:
3890
+ /***/ 480:
3925
3891
  /***/ (function(module, exports, __webpack_require__) {
3926
3892
 
3927
3893
  "use strict";
@@ -3932,17 +3898,17 @@ Object.defineProperty(exports, "__esModule", {
3932
3898
  });
3933
3899
  exports.themes = exports.computeVizProps = exports.PureSingleValueIcon = exports.config = void 0;
3934
3900
 
3935
- var React = __webpack_require__(0);
3901
+ var React = __webpack_require__(1);
3936
3902
 
3937
- var RemoteIcon_1 = __webpack_require__(489);
3903
+ var RemoteIcon_1 = __webpack_require__(481);
3938
3904
 
3939
- var iconUtils_1 = __webpack_require__(490);
3905
+ var iconUtils_1 = __webpack_require__(482);
3940
3906
 
3941
- var SingleValueIcon_1 = __webpack_require__(511);
3907
+ var SingleValueIcon_1 = __webpack_require__(503);
3942
3908
 
3943
- var withDashboardViz_1 = __webpack_require__(55);
3909
+ var withDashboardViz_1 = __webpack_require__(54);
3944
3910
 
3945
- var config_1 = __webpack_require__(491);
3911
+ var config_1 = __webpack_require__(483);
3946
3912
 
3947
3913
  var withTrellis_1 = __webpack_require__(127);
3948
3914
 
@@ -3984,69 +3950,57 @@ exports.default = viz;
3984
3950
 
3985
3951
  /***/ }),
3986
3952
 
3987
- /***/ 489:
3953
+ /***/ 481:
3988
3954
  /***/ (function(module, exports) {
3989
3955
 
3990
3956
  module.exports = require("@splunk/visualizations-shared/RemoteIcon");
3991
3957
 
3992
3958
  /***/ }),
3993
3959
 
3994
- /***/ 49:
3995
- /***/ (function(module, exports, __webpack_require__) {
3996
-
3997
- "use strict";
3998
-
3999
-
4000
- Object.defineProperty(exports, "__esModule", {
4001
- value: true
4002
- });
4003
-
4004
- /***/ }),
4005
-
4006
- /***/ 490:
3960
+ /***/ 482:
4007
3961
  /***/ (function(module, exports) {
4008
3962
 
4009
3963
  module.exports = require("@splunk/visualizations-shared/iconUtils");
4010
3964
 
4011
3965
  /***/ }),
4012
3966
 
4013
- /***/ 491:
3967
+ /***/ 483:
4014
3968
  /***/ (function(module, exports, __webpack_require__) {
4015
3969
 
4016
3970
  "use strict";
4017
3971
 
4018
3972
 
4019
- var _toConsumableArray = __webpack_require__(7);
3973
+ var _toConsumableArray = __webpack_require__(6);
4020
3974
 
4021
3975
  Object.defineProperty(exports, "__esModule", {
4022
3976
  value: true
4023
3977
  });
4024
3978
 
4025
- var i18n_1 = __webpack_require__(2);
3979
+ var i18n_1 = __webpack_require__(3);
4026
3980
 
4027
- var visualization_schemas_1 = __webpack_require__(10);
3981
+ var visualization_schemas_1 = __webpack_require__(9);
4028
3982
 
4029
- var PresetPalettes_1 = __webpack_require__(81);
3983
+ var PresetPalettes_1 = __webpack_require__(80);
4030
3984
 
4031
- var pick_1 = __webpack_require__(30);
3985
+ var pick_1 = __webpack_require__(29);
4032
3986
 
4033
- var variables_1 = __webpack_require__(14);
3987
+ var variables_1 = __webpack_require__(13);
4034
3988
 
4035
- var configUtils_1 = __webpack_require__(29);
3989
+ var configUtils_1 = __webpack_require__(28);
4036
3990
 
4037
- var singleValueContext_1 = __webpack_require__(155);
3991
+ var singleValueContext_1 = __webpack_require__(153);
4038
3992
 
4039
3993
  var StaticMajorAndTrendLayout_1 = __webpack_require__(123);
4040
3994
 
4041
- var StaticBackgroundColorEditor_1 = __webpack_require__(112);
3995
+ var StaticBackgroundColorEditor_1 = __webpack_require__(111);
4042
3996
 
4043
- var StaticIconColorEditor_1 = __webpack_require__(492);
3997
+ var StaticIconColorEditor_1 = __webpack_require__(484);
4044
3998
 
4045
3999
  var StaticMajorColorEditor_1 = __webpack_require__(124);
4046
4000
 
4047
4001
  var StaticTrendColorEditor_1 = __webpack_require__(125);
4048
4002
 
4049
- var DynamicMajorColorEditor_1 = __webpack_require__(156);
4003
+ var DynamicMajorColorEditor_1 = __webpack_require__(154);
4050
4004
 
4051
4005
  var DynamicTrendColorEditor_1 = __webpack_require__(121);
4052
4006
 
@@ -4054,11 +4008,11 @@ var DynamicBackgroundColorEditor_1 = __webpack_require__(122);
4054
4008
 
4055
4009
  var TrellisEditors_1 = __webpack_require__(126);
4056
4010
 
4057
- var VizBehavior_1 = __webpack_require__(8);
4011
+ var VizBehavior_1 = __webpack_require__(7);
4058
4012
 
4059
- var configUtils_2 = __webpack_require__(27);
4013
+ var configUtils_2 = __webpack_require__(26);
4060
4014
 
4061
- var VizCategory_1 = __webpack_require__(23);
4015
+ var VizCategory_1 = __webpack_require__(22);
4062
4016
 
4063
4017
  var dataContract = {
4064
4018
  requiredDataSources: [{
@@ -4333,6 +4287,14 @@ var editorConfig = [{
4333
4287
  var options = _ref7.options;
4334
4288
  return options.trendDisplay === 'off';
4335
4289
  }
4290
+ }], [{
4291
+ label: (0, i18n_1._)('Major value abbreviation'),
4292
+ option: 'shouldAbbreviateMajorValue',
4293
+ editor: 'editor.checkbox'
4294
+ }], [{
4295
+ label: (0, i18n_1._)('Trend value abbreviation'),
4296
+ option: 'shouldAbbreviateTrendValue',
4297
+ editor: 'editor.checkbox'
4336
4298
  }], [{
4337
4299
  label: (0, i18n_1._)('Alignment'),
4338
4300
  editor: 'editor.radioBar',
@@ -4393,18 +4355,18 @@ exports.default = (0, configUtils_2.enhanceConfig)(config);
4393
4355
 
4394
4356
  /***/ }),
4395
4357
 
4396
- /***/ 492:
4358
+ /***/ 484:
4397
4359
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
4398
4360
 
4399
4361
  "use strict";
4400
4362
  __webpack_require__.r(__webpack_exports__);
4401
- /* harmony import */ var _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7);
4363
+ /* harmony import */ var _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6);
4402
4364
  /* harmony import */ var _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__);
4403
- /* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(2);
4365
+ /* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3);
4404
4366
  /* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_1__);
4405
- /* harmony import */ var _splunk_visualizations_shared_colorConstants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(70);
4367
+ /* harmony import */ var _splunk_visualizations_shared_colorConstants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(69);
4406
4368
  /* harmony import */ var _splunk_visualizations_shared_colorConstants__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_colorConstants__WEBPACK_IMPORTED_MODULE_2__);
4407
- /* harmony import */ var _splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(29);
4369
+ /* harmony import */ var _splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(28);
4408
4370
  /* harmony import */ var _splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_3__);
4409
4371
 
4410
4372
 
@@ -4428,7 +4390,7 @@ var StaticIconColorEditor = [{
4428
4390
 
4429
4391
  /***/ }),
4430
4392
 
4431
- /***/ 50:
4393
+ /***/ 49:
4432
4394
  /***/ (function(module, exports, __webpack_require__) {
4433
4395
 
4434
4396
  "use strict";
@@ -4440,7 +4402,14 @@ Object.defineProperty(exports, "__esModule", {
4440
4402
 
4441
4403
  /***/ }),
4442
4404
 
4443
- /***/ 51:
4405
+ /***/ 5:
4406
+ /***/ (function(module, exports) {
4407
+
4408
+ module.exports = require("@babel/runtime/helpers/slicedToArray");
4409
+
4410
+ /***/ }),
4411
+
4412
+ /***/ 50:
4444
4413
  /***/ (function(module, exports, __webpack_require__) {
4445
4414
 
4446
4415
  "use strict";
@@ -4452,7 +4421,7 @@ Object.defineProperty(exports, "__esModule", {
4452
4421
 
4453
4422
  /***/ }),
4454
4423
 
4455
- /***/ 511:
4424
+ /***/ 503:
4456
4425
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
4457
4426
 
4458
4427
  "use strict";
@@ -4460,19 +4429,19 @@ Object.defineProperty(exports, "__esModule", {
4460
4429
  __webpack_require__.r(__webpack_exports__);
4461
4430
 
4462
4431
  // EXTERNAL MODULE: external "@babel/runtime/helpers/slicedToArray"
4463
- var slicedToArray_ = __webpack_require__(6);
4432
+ var slicedToArray_ = __webpack_require__(5);
4464
4433
  var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray_);
4465
4434
 
4466
4435
  // EXTERNAL MODULE: external "@babel/runtime/helpers/extends"
4467
- var extends_ = __webpack_require__(69);
4436
+ var extends_ = __webpack_require__(68);
4468
4437
  var extends_default = /*#__PURE__*/__webpack_require__.n(extends_);
4469
4438
 
4470
4439
  // EXTERNAL MODULE: external "react"
4471
- var external_react_ = __webpack_require__(0);
4440
+ var external_react_ = __webpack_require__(1);
4472
4441
  var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
4473
4442
 
4474
4443
  // EXTERNAL MODULE: external "prop-types"
4475
- var external_prop_types_ = __webpack_require__(1);
4444
+ var external_prop_types_ = __webpack_require__(0);
4476
4445
  var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_prop_types_);
4477
4446
 
4478
4447
  // EXTERNAL MODULE: external "styled-components"
@@ -4488,62 +4457,62 @@ var isEmpty_ = __webpack_require__(130);
4488
4457
  var isEmpty_default = /*#__PURE__*/__webpack_require__.n(isEmpty_);
4489
4458
 
4490
4459
  // EXTERNAL MODULE: external "@splunk/visualization-context/FeatureFlagContext"
4491
- var FeatureFlagContext_ = __webpack_require__(28);
4460
+ var FeatureFlagContext_ = __webpack_require__(27);
4492
4461
  var FeatureFlagContext_default = /*#__PURE__*/__webpack_require__.n(FeatureFlagContext_);
4493
4462
 
4494
4463
  // EXTERNAL MODULE: external "@splunk/visualization-schemas"
4495
- var visualization_schemas_ = __webpack_require__(10);
4464
+ var visualization_schemas_ = __webpack_require__(9);
4496
4465
 
4497
4466
  // EXTERNAL MODULE: external "@splunk/visualizations-shared/style"
4498
- var style_ = __webpack_require__(19);
4467
+ var style_ = __webpack_require__(18);
4499
4468
 
4500
4469
  // EXTERNAL MODULE: external "@splunk/ui-utils/i18n"
4501
- var i18n_ = __webpack_require__(2);
4470
+ var i18n_ = __webpack_require__(3);
4502
4471
 
4503
4472
  // EXTERNAL MODULE: external "@splunk/visualizations-shared/SizeAwareWrapper"
4504
- var SizeAwareWrapper_ = __webpack_require__(26);
4473
+ var SizeAwareWrapper_ = __webpack_require__(25);
4505
4474
  var SizeAwareWrapper_default = /*#__PURE__*/__webpack_require__.n(SizeAwareWrapper_);
4506
4475
 
4507
4476
  // EXTERNAL MODULE: external "@splunk/visualizations-shared/Message"
4508
- var Message_ = __webpack_require__(12);
4477
+ var Message_ = __webpack_require__(11);
4509
4478
  var Message_default = /*#__PURE__*/__webpack_require__.n(Message_);
4510
4479
 
4511
4480
  // EXTERNAL MODULE: ./src/common/components/VizStyleWrapper.jsx
4512
- var VizStyleWrapper = __webpack_require__(94);
4481
+ var VizStyleWrapper = __webpack_require__(93);
4513
4482
 
4514
4483
  // EXTERNAL MODULE: ./src/common/components/TrellisTitle.tsx
4515
- var TrellisTitle = __webpack_require__(100);
4484
+ var TrellisTitle = __webpack_require__(99);
4516
4485
 
4517
4486
  // EXTERNAL MODULE: external "@babel/runtime/helpers/defineProperty"
4518
- var defineProperty_ = __webpack_require__(13);
4487
+ var defineProperty_ = __webpack_require__(12);
4519
4488
  var defineProperty_default = /*#__PURE__*/__webpack_require__.n(defineProperty_);
4520
4489
 
4521
4490
  // EXTERNAL MODULE: external "@splunk/visualizations/SingleValueBasic"
4522
- var SingleValueBasic_ = __webpack_require__(161);
4491
+ var SingleValueBasic_ = __webpack_require__(159);
4523
4492
  var SingleValueBasic_default = /*#__PURE__*/__webpack_require__.n(SingleValueBasic_);
4524
4493
 
4525
4494
  // EXTERNAL MODULE: external "@splunk/react-icons/enterprise/Activity"
4526
- var Activity_ = __webpack_require__(190);
4495
+ var Activity_ = __webpack_require__(188);
4527
4496
  var Activity_default = /*#__PURE__*/__webpack_require__.n(Activity_);
4528
4497
 
4529
4498
  // EXTERNAL MODULE: external "@splunk/react-icons/enterprise/Clock"
4530
- var Clock_ = __webpack_require__(191);
4499
+ var Clock_ = __webpack_require__(189);
4531
4500
  var Clock_default = /*#__PURE__*/__webpack_require__.n(Clock_);
4532
4501
 
4533
4502
  // EXTERNAL MODULE: external "@splunk/react-icons/enterprise/Pencil"
4534
- var Pencil_ = __webpack_require__(192);
4503
+ var Pencil_ = __webpack_require__(190);
4535
4504
  var Pencil_default = /*#__PURE__*/__webpack_require__.n(Pencil_);
4536
4505
 
4537
4506
  // EXTERNAL MODULE: external "@splunk/react-icons/enterprise/Star"
4538
- var Star_ = __webpack_require__(193);
4507
+ var Star_ = __webpack_require__(191);
4539
4508
  var Star_default = /*#__PURE__*/__webpack_require__.n(Star_);
4540
4509
 
4541
4510
  // EXTERNAL MODULE: external "@splunk/react-icons/enterprise/Question"
4542
- var Question_ = __webpack_require__(194);
4511
+ var Question_ = __webpack_require__(192);
4543
4512
  var Question_default = /*#__PURE__*/__webpack_require__.n(Question_);
4544
4513
 
4545
4514
  // EXTERNAL MODULE: ./src/common/utils/singleValueUtils.js
4546
- var singleValueUtils = __webpack_require__(20);
4515
+ var singleValueUtils = __webpack_require__(19);
4547
4516
 
4548
4517
  // CONCATENATED MODULE: ./src/SingleValueIcon/PureSingleValueIcon/utils/iconUtils.js
4549
4518
  // Todo: this will be replaced by IconLibrary.Registry
@@ -4957,6 +4926,7 @@ var SingleValueIcon_SingleValueIcon = function SingleValueIcon(_ref) {
4957
4926
  numberPrecision = props.numberPrecision,
4958
4927
  shouldUseThousandSeparators = props.shouldUseThousandSeparators,
4959
4928
  shouldAbbreviateTrendValue = props.shouldAbbreviateTrendValue,
4929
+ shouldAbbreviateMajorValue = props.shouldAbbreviateMajorValue,
4960
4930
  icon = props.icon,
4961
4931
  iconOpacity = props.iconOpacity,
4962
4932
  IconComponent = props.IconComponent,
@@ -5114,6 +5084,7 @@ var SingleValueIcon_SingleValueIcon = function SingleValueIcon(_ref) {
5114
5084
  numberPrecision: numberPrecision,
5115
5085
  shouldUseThousandSeparators: shouldUseThousandSeparators,
5116
5086
  shouldAbbreviateTrendValue: shouldAbbreviateTrendValue,
5087
+ shouldAbbreviateMajorValue: shouldAbbreviateMajorValue,
5117
5088
  toRemoveList: toRemoveList
5118
5089
  }),
5119
5090
  majorText = _computeSingleValueCo.majorText,
@@ -5216,6 +5187,7 @@ SingleValueIcon_SingleValueIcon.propTypes = {
5216
5187
  trendFontSize: external_prop_types_default.a.number,
5217
5188
  trendDisplay: external_prop_types_default.a.oneOf(['absolute', 'percent', 'off']),
5218
5189
  shouldAbbreviateTrendValue: external_prop_types_default.a.bool,
5190
+ shouldAbbreviateMajorValue: external_prop_types_default.a.bool,
5219
5191
  backgroundColor: external_prop_types_default.a.string,
5220
5192
  unit: external_prop_types_default.a.string,
5221
5193
  unitPosition: external_prop_types_default.a.string,
@@ -5245,6 +5217,7 @@ SingleValueIcon_SingleValueIcon.defaultProps = {
5245
5217
  majorValueField: '',
5246
5218
  trendDisplay: 'absolute',
5247
5219
  shouldAbbreviateTrendValue: false,
5220
+ shouldAbbreviateMajorValue: false,
5248
5221
  numberPrecision: 0,
5249
5222
  shouldUseThousandSeparators: true,
5250
5223
  unitPosition: 'after',
@@ -5263,7 +5236,7 @@ SingleValueIcon_SingleValueIcon.defaultProps = {
5263
5236
 
5264
5237
  /***/ }),
5265
5238
 
5266
- /***/ 52:
5239
+ /***/ 51:
5267
5240
  /***/ (function(module, exports, __webpack_require__) {
5268
5241
 
5269
5242
  "use strict";
@@ -5275,7 +5248,7 @@ Object.defineProperty(exports, "__esModule", {
5275
5248
 
5276
5249
  /***/ }),
5277
5250
 
5278
- /***/ 53:
5251
+ /***/ 52:
5279
5252
  /***/ (function(module, exports, __webpack_require__) {
5280
5253
 
5281
5254
  "use strict";
@@ -5287,7 +5260,7 @@ Object.defineProperty(exports, "__esModule", {
5287
5260
 
5288
5261
  /***/ }),
5289
5262
 
5290
- /***/ 54:
5263
+ /***/ 53:
5291
5264
  /***/ (function(module, exports, __webpack_require__) {
5292
5265
 
5293
5266
  "use strict";
@@ -5299,65 +5272,65 @@ Object.defineProperty(exports, "__esModule", {
5299
5272
 
5300
5273
  /***/ }),
5301
5274
 
5302
- /***/ 55:
5275
+ /***/ 54:
5303
5276
  /***/ (function(module, exports, __webpack_require__) {
5304
5277
 
5305
5278
  "use strict";
5306
5279
 
5307
5280
 
5308
- var _slicedToArray = __webpack_require__(6);
5281
+ var _slicedToArray = __webpack_require__(5);
5309
5282
 
5310
5283
  Object.defineProperty(exports, "__esModule", {
5311
5284
  value: true
5312
5285
  });
5313
5286
 
5314
- var React = __webpack_require__(0);
5287
+ var React = __webpack_require__(1);
5315
5288
 
5316
- var lodash_1 = __webpack_require__(3);
5289
+ var lodash_1 = __webpack_require__(2);
5317
5290
 
5318
- var getSettingsFromThemedProps_1 = __webpack_require__(56);
5291
+ var getSettingsFromThemedProps_1 = __webpack_require__(55);
5319
5292
 
5320
- var Options_1 = __webpack_require__(17);
5293
+ var Options_1 = __webpack_require__(16);
5321
5294
 
5322
- var SanitizeProps_1 = __webpack_require__(57);
5295
+ var SanitizeProps_1 = __webpack_require__(56);
5323
5296
 
5324
- var TimezoneContext_1 = __webpack_require__(32);
5297
+ var TimezoneContext_1 = __webpack_require__(31);
5325
5298
 
5326
- var moment_1 = __webpack_require__(58);
5299
+ var moment_1 = __webpack_require__(57);
5327
5300
 
5328
- var FeatureFlagContext_1 = __webpack_require__(28);
5301
+ var FeatureFlagContext_1 = __webpack_require__(27);
5329
5302
 
5330
5303
  var styled_components_1 = __webpack_require__(4);
5331
5304
 
5332
- var hocUtils_1 = __webpack_require__(34);
5305
+ var hocUtils_1 = __webpack_require__(33);
5333
5306
 
5334
- var JSONSchemaUtils_1 = __webpack_require__(35);
5307
+ var JSONSchemaUtils_1 = __webpack_require__(34);
5335
5308
 
5336
- var async_dynamic_options_evaluator_1 = __webpack_require__(59);
5309
+ var async_dynamic_options_evaluator_1 = __webpack_require__(58);
5337
5310
 
5338
- var id_1 = __webpack_require__(31);
5311
+ var id_1 = __webpack_require__(30);
5339
5312
 
5340
- var SplunkVisualization_1 = __webpack_require__(60);
5313
+ var SplunkVisualization_1 = __webpack_require__(59);
5341
5314
 
5342
- var VizBehavior_1 = __webpack_require__(8);
5315
+ var VizBehavior_1 = __webpack_require__(7);
5343
5316
 
5344
- var getSorting_1 = __webpack_require__(38);
5317
+ var getSorting_1 = __webpack_require__(37);
5345
5318
 
5346
- var getPagination_1 = __webpack_require__(39);
5319
+ var getPagination_1 = __webpack_require__(38);
5347
5320
 
5348
- var useDeepMemo_1 = __webpack_require__(61);
5321
+ var useDeepMemo_1 = __webpack_require__(60);
5349
5322
 
5350
- var MissingPropsMessage_1 = __webpack_require__(62);
5323
+ var MissingPropsMessage_1 = __webpack_require__(61);
5351
5324
 
5352
- var withEditModeCover_1 = __webpack_require__(63);
5325
+ var withEditModeCover_1 = __webpack_require__(62);
5353
5326
 
5354
- var withPlaceholder_1 = __webpack_require__(64);
5327
+ var withPlaceholder_1 = __webpack_require__(63);
5355
5328
 
5356
- var useDownsampleDataSources_1 = __webpack_require__(65);
5329
+ var useDownsampleDataSources_1 = __webpack_require__(64);
5357
5330
 
5358
- var dataUtils_1 = __webpack_require__(15);
5331
+ var dataUtils_1 = __webpack_require__(14);
5359
5332
 
5360
- var featureFlagUtils_1 = __webpack_require__(67);
5333
+ var featureFlagUtils_1 = __webpack_require__(66);
5361
5334
  /**
5362
5335
  * hoc that wraps a pure react visualization in a Dashboard visualization
5363
5336
  * @param {DashboardVizOpts} opts
@@ -5690,48 +5663,41 @@ exports.default = withDashboardViz;
5690
5663
 
5691
5664
  /***/ }),
5692
5665
 
5693
- /***/ 56:
5666
+ /***/ 55:
5694
5667
  /***/ (function(module, exports) {
5695
5668
 
5696
5669
  module.exports = require("@splunk/themes/getSettingsFromThemedProps");
5697
5670
 
5698
5671
  /***/ }),
5699
5672
 
5700
- /***/ 57:
5673
+ /***/ 56:
5701
5674
  /***/ (function(module, exports) {
5702
5675
 
5703
5676
  module.exports = require("@splunk/visualizations-shared/SanitizeProps");
5704
5677
 
5705
5678
  /***/ }),
5706
5679
 
5707
- /***/ 58:
5680
+ /***/ 57:
5708
5681
  /***/ (function(module, exports) {
5709
5682
 
5710
5683
  module.exports = require("@splunk/moment");
5711
5684
 
5712
5685
  /***/ }),
5713
5686
 
5714
- /***/ 59:
5687
+ /***/ 58:
5715
5688
  /***/ (function(module, exports) {
5716
5689
 
5717
5690
  module.exports = require("@splunk/async-dynamic-options-evaluator");
5718
5691
 
5719
5692
  /***/ }),
5720
5693
 
5721
- /***/ 6:
5722
- /***/ (function(module, exports) {
5723
-
5724
- module.exports = require("@babel/runtime/helpers/slicedToArray");
5725
-
5726
- /***/ }),
5727
-
5728
- /***/ 60:
5694
+ /***/ 59:
5729
5695
  /***/ (function(module, exports, __webpack_require__) {
5730
5696
 
5731
5697
  "use strict";
5732
5698
 
5733
5699
 
5734
- var _classCallCheck = __webpack_require__(9);
5700
+ var _classCallCheck = __webpack_require__(8);
5735
5701
 
5736
5702
  Object.defineProperty(exports, "__esModule", {
5737
5703
  value: true
@@ -5739,11 +5705,11 @@ Object.defineProperty(exports, "__esModule", {
5739
5705
  exports.INITIAL_HEIGHT = exports.INITIAL_WIDTH = void 0;
5740
5706
  /* eslint-disable react/no-unused-prop-types,react/prefer-stateless-function */
5741
5707
 
5742
- var T = __webpack_require__(1);
5708
+ var T = __webpack_require__(0);
5743
5709
 
5744
- var lodash_1 = __webpack_require__(3);
5710
+ var lodash_1 = __webpack_require__(2);
5745
5711
 
5746
- var VizActionHandler_1 = __webpack_require__(22); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
5712
+ var VizActionHandler_1 = __webpack_require__(21); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
5747
5713
 
5748
5714
 
5749
5715
  exports.INITIAL_WIDTH = 250;
@@ -5877,7 +5843,14 @@ exports.default = SplunkVisualization;
5877
5843
 
5878
5844
  /***/ }),
5879
5845
 
5880
- /***/ 61:
5846
+ /***/ 6:
5847
+ /***/ (function(module, exports) {
5848
+
5849
+ module.exports = require("@babel/runtime/helpers/toConsumableArray");
5850
+
5851
+ /***/ }),
5852
+
5853
+ /***/ 60:
5881
5854
  /***/ (function(module, exports, __webpack_require__) {
5882
5855
 
5883
5856
  "use strict";
@@ -5888,9 +5861,9 @@ Object.defineProperty(exports, "__esModule", {
5888
5861
  });
5889
5862
  exports.useDeepMemo = void 0;
5890
5863
 
5891
- var react_1 = __webpack_require__(0);
5864
+ var react_1 = __webpack_require__(1);
5892
5865
 
5893
- var lodash_1 = __webpack_require__(3);
5866
+ var lodash_1 = __webpack_require__(2);
5894
5867
  /**
5895
5868
  * This hook evaluates and stores the result of a passed function and only
5896
5869
  * re-evaluates the function when passed dependencies change.
@@ -5923,7 +5896,7 @@ exports.useDeepMemo = useDeepMemo;
5923
5896
 
5924
5897
  /***/ }),
5925
5898
 
5926
- /***/ 62:
5899
+ /***/ 61:
5927
5900
  /***/ (function(module, exports, __webpack_require__) {
5928
5901
 
5929
5902
  "use strict";
@@ -5934,15 +5907,15 @@ Object.defineProperty(exports, "__esModule", {
5934
5907
  });
5935
5908
  exports.MissingPropsMessage = exports.missingKeys = exports.isMissing = void 0;
5936
5909
 
5937
- var React = __webpack_require__(0);
5910
+ var React = __webpack_require__(1);
5938
5911
 
5939
- var T = __webpack_require__(1);
5912
+ var T = __webpack_require__(0);
5940
5913
 
5941
- var i18n_1 = __webpack_require__(2);
5914
+ var i18n_1 = __webpack_require__(3);
5942
5915
 
5943
- var Message_1 = __webpack_require__(12);
5916
+ var Message_1 = __webpack_require__(11);
5944
5917
 
5945
- var FixedSizeContainer_1 = __webpack_require__(18);
5918
+ var FixedSizeContainer_1 = __webpack_require__(17);
5946
5919
  /**
5947
5920
  * @method isMissing
5948
5921
  * @param {any} v
@@ -6004,7 +5977,7 @@ exports.default = (0, FixedSizeContainer_1.default)(exports.MissingPropsMessage)
6004
5977
 
6005
5978
  /***/ }),
6006
5979
 
6007
- /***/ 63:
5980
+ /***/ 62:
6008
5981
  /***/ (function(module, exports, __webpack_require__) {
6009
5982
 
6010
5983
  "use strict";
@@ -6014,18 +5987,18 @@ Object.defineProperty(exports, "__esModule", {
6014
5987
  value: true
6015
5988
  });
6016
5989
 
6017
- var React = __webpack_require__(0);
5990
+ var React = __webpack_require__(1);
6018
5991
 
6019
5992
  var styled_components_1 = __webpack_require__(4);
6020
5993
 
6021
- var hocUtils_1 = __webpack_require__(24);
5994
+ var hocUtils_1 = __webpack_require__(23);
6022
5995
 
6023
5996
  var Cover = styled_components_1.default.div.withConfig({
6024
5997
  displayName: "withEditModeCover__Cover",
6025
5998
  componentId: "sc-1gsbnxb-0"
6026
5999
  })(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
6027
6000
  var Blocker = styled_components_1.default.div.attrs({
6028
- 'data-splunk-visualization-version': "26.3.0 - a1ef240a6"
6001
+ 'data-splunk-visualization-version': "26.4.1 - 2b7482c08"
6029
6002
  }).withConfig({
6030
6003
  displayName: "withEditModeCover__Blocker",
6031
6004
  componentId: "sc-1gsbnxb-1"
@@ -6057,7 +6030,7 @@ exports.default = withEditModeCover;
6057
6030
 
6058
6031
  /***/ }),
6059
6032
 
6060
- /***/ 64:
6033
+ /***/ 63:
6061
6034
  /***/ (function(module, exports, __webpack_require__) {
6062
6035
 
6063
6036
  "use strict";
@@ -6067,17 +6040,17 @@ Object.defineProperty(exports, "__esModule", {
6067
6040
  value: true
6068
6041
  });
6069
6042
 
6070
- var React = __webpack_require__(0);
6043
+ var React = __webpack_require__(1);
6071
6044
 
6072
- var colorUtils_1 = __webpack_require__(16);
6045
+ var colorUtils_1 = __webpack_require__(15);
6073
6046
 
6074
- var variables_1 = __webpack_require__(14);
6047
+ var variables_1 = __webpack_require__(13);
6075
6048
 
6076
- var IconPlaceholder_1 = __webpack_require__(37);
6049
+ var IconPlaceholder_1 = __webpack_require__(36);
6077
6050
 
6078
- var VizBehavior_1 = __webpack_require__(8);
6051
+ var VizBehavior_1 = __webpack_require__(7);
6079
6052
 
6080
- var hocUtils_1 = __webpack_require__(24);
6053
+ var hocUtils_1 = __webpack_require__(23);
6081
6054
 
6082
6055
  var withPlaceholder = function withPlaceholder(Visualization) {
6083
6056
  var useIconPlaceholder = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : IconPlaceholder_1.shouldShowIconPlaceholder;
@@ -6122,27 +6095,30 @@ exports.default = withPlaceholder;
6122
6095
 
6123
6096
  /***/ }),
6124
6097
 
6125
- /***/ 65:
6098
+ /***/ 64:
6126
6099
  /***/ (function(module, exports, __webpack_require__) {
6127
6100
 
6128
6101
  "use strict";
6129
6102
 
6130
6103
 
6131
- var _slicedToArray = __webpack_require__(6);
6104
+ var _slicedToArray = __webpack_require__(5);
6132
6105
 
6133
6106
  Object.defineProperty(exports, "__esModule", {
6134
6107
  value: true
6135
6108
  });
6136
6109
 
6137
- var react_1 = __webpack_require__(0);
6110
+ var react_1 = __webpack_require__(1);
6138
6111
 
6139
- var lodash_1 = __webpack_require__(3);
6112
+ var lodash_1 = __webpack_require__(2);
6140
6113
 
6141
- var dataUtils_1 = __webpack_require__(15);
6114
+ var dataUtils_1 = __webpack_require__(14);
6142
6115
 
6143
- var usePrevious_1 = __webpack_require__(33);
6116
+ var usePrevious_1 = __webpack_require__(32);
6144
6117
 
6145
- var useGetXAndYFields_1 = __webpack_require__(66);
6118
+ var useGetXAndYFields_1 = __webpack_require__(65); // Options properties which impact/require re-downsample on change.
6119
+
6120
+
6121
+ var downsampleVizOptionProperties = ['nullValueDisplay'];
6146
6122
 
6147
6123
  var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
6148
6124
  var dataSources = _ref.dataSources,
@@ -6156,8 +6132,15 @@ var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
6156
6132
  options: options,
6157
6133
  context: context,
6158
6134
  dataSources: dataSources
6159
- });
6160
- var previousXAndYFieldsWithTypes = (0, usePrevious_1.default)(xAndYFieldsWithTypes);
6135
+ }); // Extract viz options that impact downsampling.
6136
+
6137
+ var downsampleVizOptions = (0, react_1.useMemo)(function () {
6138
+ return (0, lodash_1.pick)(options, downsampleVizOptionProperties);
6139
+ }, [options]);
6140
+ var downsampleDSOptions = (0, react_1.useMemo)(function () {
6141
+ return Object.assign(Object.assign({}, downsampleVizOptions), xAndYFieldsWithTypes);
6142
+ }, [xAndYFieldsWithTypes, downsampleVizOptions]);
6143
+ var previousDownsampleDSOptions = (0, usePrevious_1.default)(downsampleDSOptions);
6161
6144
  var previousDataSources = (0, usePrevious_1.default)(dataSources);
6162
6145
  var previousThreshold = (0, usePrevious_1.default)(threshold);
6163
6146
 
@@ -6165,7 +6148,7 @@ var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
6165
6148
  return isDownsamplingEnabled ? (0, dataUtils_1.downsampleDataSources)({
6166
6149
  dataSources: dataSources,
6167
6150
  threshold: threshold,
6168
- options: xAndYFieldsWithTypes
6151
+ options: downsampleDSOptions
6169
6152
  }) : dataSources;
6170
6153
  }),
6171
6154
  _ref3 = _slicedToArray(_ref2, 2),
@@ -6193,7 +6176,7 @@ var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
6193
6176
  return;
6194
6177
  }
6195
6178
 
6196
- if ((0, lodash_1.isEqual)(previousXAndYFieldsWithTypes, xAndYFieldsWithTypes) && previousDataSources === dataSources && previousThreshold === threshold) {
6179
+ if ((0, lodash_1.isEqual)(previousDownsampleDSOptions, downsampleDSOptions) && previousDataSources === dataSources && previousThreshold === threshold) {
6197
6180
  return;
6198
6181
  } // Debounce the downsampling so we don't have to downsample and execute DSL multiple times
6199
6182
  // while the viz is being resized
@@ -6201,10 +6184,10 @@ var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
6201
6184
 
6202
6185
  debouncedDownsampleDataSources({
6203
6186
  dataSources: dataSources,
6204
- options: xAndYFieldsWithTypes,
6187
+ options: downsampleDSOptions,
6205
6188
  threshold: threshold
6206
6189
  }); // need to detect if this runs as part of the initial render
6207
- }, [dataSources, debouncedDownsampleDataSources, xAndYFieldsWithTypes, threshold, isDownsamplingEnabled, previousXAndYFieldsWithTypes, previousDataSources, previousThreshold]);
6190
+ }, [dataSources, downsampleDSOptions, debouncedDownsampleDataSources, xAndYFieldsWithTypes, threshold, isDownsamplingEnabled, previousDataSources, previousThreshold, previousDownsampleDSOptions]);
6208
6191
  return downsampledDataSources;
6209
6192
  };
6210
6193
 
@@ -6212,21 +6195,21 @@ exports.default = useDownsampleDataSources;
6212
6195
 
6213
6196
  /***/ }),
6214
6197
 
6215
- /***/ 66:
6198
+ /***/ 65:
6216
6199
  /***/ (function(module, exports, __webpack_require__) {
6217
6200
 
6218
6201
  "use strict";
6219
6202
 
6220
6203
 
6221
- var _toConsumableArray = __webpack_require__(7);
6204
+ var _toConsumableArray = __webpack_require__(6);
6222
6205
 
6223
6206
  Object.defineProperty(exports, "__esModule", {
6224
6207
  value: true
6225
6208
  });
6226
6209
 
6227
- var react_1 = __webpack_require__(0);
6210
+ var react_1 = __webpack_require__(1);
6228
6211
 
6229
- var Options_1 = __webpack_require__(17);
6212
+ var Options_1 = __webpack_require__(16);
6230
6213
  /**
6231
6214
  * Hook that evaluates the DSL for subset of a viz's options needed to determine
6232
6215
  * its x and y fields as well as the types of all its fields.
@@ -6327,7 +6310,7 @@ exports.default = useGetXAndYFields;
6327
6310
 
6328
6311
  /***/ }),
6329
6312
 
6330
- /***/ 67:
6313
+ /***/ 66:
6331
6314
  /***/ (function(module, exports, __webpack_require__) {
6332
6315
 
6333
6316
  "use strict";
@@ -6338,7 +6321,7 @@ Object.defineProperty(exports, "__esModule", {
6338
6321
  });
6339
6322
  exports.getFeatureFlag = void 0;
6340
6323
 
6341
- var FeatureFlags_1 = __webpack_require__(68);
6324
+ var FeatureFlags_1 = __webpack_require__(67);
6342
6325
 
6343
6326
  var getFeatureFlag = function getFeatureFlag(context, flagName) {
6344
6327
  // look for feature flag in context first
@@ -6363,49 +6346,28 @@ exports.getFeatureFlag = getFeatureFlag;
6363
6346
 
6364
6347
  /***/ }),
6365
6348
 
6366
- /***/ 68:
6349
+ /***/ 67:
6367
6350
  /***/ (function(module, exports) {
6368
6351
 
6369
6352
  module.exports = require("@splunk/visualization-context/FeatureFlags");
6370
6353
 
6371
6354
  /***/ }),
6372
6355
 
6373
- /***/ 69:
6356
+ /***/ 68:
6374
6357
  /***/ (function(module, exports) {
6375
6358
 
6376
6359
  module.exports = require("@babel/runtime/helpers/extends");
6377
6360
 
6378
6361
  /***/ }),
6379
6362
 
6380
- /***/ 7:
6381
- /***/ (function(module, exports) {
6382
-
6383
- module.exports = require("@babel/runtime/helpers/toConsumableArray");
6384
-
6385
- /***/ }),
6386
-
6387
- /***/ 70:
6363
+ /***/ 69:
6388
6364
  /***/ (function(module, exports) {
6389
6365
 
6390
6366
  module.exports = require("@splunk/visualizations-shared/colorConstants");
6391
6367
 
6392
6368
  /***/ }),
6393
6369
 
6394
- /***/ 74:
6395
- /***/ (function(module, exports) {
6396
-
6397
- module.exports = require("@splunk/visualizations-shared/domUtils");
6398
-
6399
- /***/ }),
6400
-
6401
- /***/ 77:
6402
- /***/ (function(module, exports) {
6403
-
6404
- module.exports = require("@splunk/themes/useSplunkTheme");
6405
-
6406
- /***/ }),
6407
-
6408
- /***/ 8:
6370
+ /***/ 7:
6409
6371
  /***/ (function(module, exports, __webpack_require__) {
6410
6372
 
6411
6373
  "use strict";
@@ -6445,14 +6407,35 @@ var VizBehavior;
6445
6407
 
6446
6408
  /***/ }),
6447
6409
 
6448
- /***/ 80:
6410
+ /***/ 73:
6411
+ /***/ (function(module, exports) {
6412
+
6413
+ module.exports = require("@splunk/visualizations-shared/domUtils");
6414
+
6415
+ /***/ }),
6416
+
6417
+ /***/ 76:
6418
+ /***/ (function(module, exports) {
6419
+
6420
+ module.exports = require("@splunk/themes/useSplunkTheme");
6421
+
6422
+ /***/ }),
6423
+
6424
+ /***/ 79:
6449
6425
  /***/ (function(module, exports) {
6450
6426
 
6451
6427
  module.exports = require("@splunk/themes");
6452
6428
 
6453
6429
  /***/ }),
6454
6430
 
6455
- /***/ 81:
6431
+ /***/ 8:
6432
+ /***/ (function(module, exports) {
6433
+
6434
+ module.exports = require("@babel/runtime/helpers/classCallCheck");
6435
+
6436
+ /***/ }),
6437
+
6438
+ /***/ 80:
6456
6439
  /***/ (function(module, exports) {
6457
6440
 
6458
6441
  module.exports = require("@splunk/visualization-color-palettes/editors/PresetPalettes");
@@ -6462,11 +6445,11 @@ module.exports = require("@splunk/visualization-color-palettes/editors/PresetPal
6462
6445
  /***/ 9:
6463
6446
  /***/ (function(module, exports) {
6464
6447
 
6465
- module.exports = require("@babel/runtime/helpers/classCallCheck");
6448
+ module.exports = require("@splunk/visualization-schemas");
6466
6449
 
6467
6450
  /***/ }),
6468
6451
 
6469
- /***/ 94:
6452
+ /***/ 93:
6470
6453
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6471
6454
 
6472
6455
  "use strict";
@@ -6489,6 +6472,51 @@ var VizStyleWrapper = styled_components__WEBPACK_IMPORTED_MODULE_0___default.a.d
6489
6472
  VizStyleWrapper.displayName = 'VizStyleWrapper';
6490
6473
  /* harmony default export */ __webpack_exports__["default"] = (VizStyleWrapper);
6491
6474
 
6475
+ /***/ }),
6476
+
6477
+ /***/ 99:
6478
+ /***/ (function(module, exports, __webpack_require__) {
6479
+
6480
+ "use strict";
6481
+
6482
+
6483
+ Object.defineProperty(exports, "__esModule", {
6484
+ value: true
6485
+ });
6486
+ exports.TrellisTitle = exports.TRELLIS_TITLE_HEIGHT = void 0;
6487
+
6488
+ var React = __webpack_require__(1);
6489
+
6490
+ var styled_components_1 = __webpack_require__(4);
6491
+
6492
+ exports.TRELLIS_TITLE_HEIGHT = 28;
6493
+ var TrellisTitleText = styled_components_1.default.div.withConfig({
6494
+ displayName: "TrellisTitle__TrellisTitleText",
6495
+ componentId: "sc-2cu404-0"
6496
+ })(["margin-left:10px;margin-right:10px;padding-top:8px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;"]);
6497
+ var TrellisTitleDiv = styled_components_1.default.div.withConfig({
6498
+ displayName: "TrellisTitle__TrellisTitleDiv",
6499
+ componentId: "sc-2cu404-1"
6500
+ })(["height:", "px;font-size:14px;font-weight:700;color:", ";background-color:", ";box-shadow:0 1px ", ";"], exports.TRELLIS_TITLE_HEIGHT, function (props) {
6501
+ return props.fontColor;
6502
+ }, function (props) {
6503
+ return props.backgroundColor;
6504
+ }, function (props) {
6505
+ return props.backgroundColor;
6506
+ });
6507
+
6508
+ var TrellisTitle = function TrellisTitle(props) {
6509
+ var titleText = String(props.trellisKey).toString();
6510
+ return React.createElement(TrellisTitleDiv, {
6511
+ fontColor: props.fontColor,
6512
+ backgroundColor: props.backgroundColor,
6513
+ "data-test": "trellis-title",
6514
+ title: titleText
6515
+ }, React.createElement(TrellisTitleText, null, titleText));
6516
+ };
6517
+
6518
+ exports.TrellisTitle = TrellisTitle;
6519
+
6492
6520
  /***/ })
6493
6521
 
6494
6522
  /******/ });