@splunk/visualizations 26.2.1 → 26.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (150) hide show
  1. package/Area.config.js +92 -595
  2. package/Area.config.js.map +1 -1
  3. package/Area.js +296 -801
  4. package/Area.js.map +1 -1
  5. package/Bar.config.js +93 -562
  6. package/Bar.config.js.map +1 -1
  7. package/Bar.js +299 -770
  8. package/Bar.js.map +1 -1
  9. package/Bubble.config.js +84 -483
  10. package/Bubble.config.js.map +1 -1
  11. package/Bubble.js +286 -687
  12. package/Bubble.js.map +1 -1
  13. package/ChoroplethSvg.config.js +77 -202
  14. package/ChoroplethSvg.config.js.map +1 -1
  15. package/ChoroplethSvg.js +272 -400
  16. package/ChoroplethSvg.js.map +1 -1
  17. package/Column.config.js +93 -600
  18. package/Column.config.js.map +1 -1
  19. package/Column.js +299 -808
  20. package/Column.js.map +1 -1
  21. package/Ellipse.config.js +82 -200
  22. package/Ellipse.config.js.map +1 -1
  23. package/Ellipse.js +233 -356
  24. package/Ellipse.js.map +1 -1
  25. package/Events.config.js +62 -283
  26. package/Events.config.js.map +1 -1
  27. package/Events.js +326 -530
  28. package/Events.js.map +1 -1
  29. package/FillerGauge.config.js +91 -220
  30. package/FillerGauge.config.js.map +1 -1
  31. package/FillerGauge.js +267 -401
  32. package/FillerGauge.js.map +1 -1
  33. package/Image.config.js +61 -157
  34. package/Image.config.js.map +1 -1
  35. package/Image.js +217 -327
  36. package/Image.js.map +1 -1
  37. package/Line.config.js +92 -607
  38. package/Line.config.js.map +1 -1
  39. package/Line.js +297 -814
  40. package/Line.js.map +1 -1
  41. package/LinkGraph.config.js +75 -257
  42. package/LinkGraph.config.js.map +1 -1
  43. package/LinkGraph.js +1755 -17415
  44. package/LinkGraph.js.map +1 -1
  45. package/MIGRATION.md +6 -0
  46. package/Map.config.js +128 -1123
  47. package/Map.config.js.map +1 -1
  48. package/Map.js +470 -782
  49. package/Map.js.map +1 -1
  50. package/Markdown.config.js +62 -189
  51. package/Markdown.config.js.map +1 -1
  52. package/Markdown.js +272 -401
  53. package/Markdown.js.map +1 -1
  54. package/MarkerGauge.config.js +138 -298
  55. package/MarkerGauge.config.js.map +1 -1
  56. package/MarkerGauge.js +309 -470
  57. package/MarkerGauge.js.map +1 -1
  58. package/ParallelCoordinates.config.js +72 -192
  59. package/ParallelCoordinates.config.js.map +1 -1
  60. package/ParallelCoordinates.js +333 -442
  61. package/ParallelCoordinates.js.map +1 -1
  62. package/Pie.config.js +77 -241
  63. package/Pie.config.js.map +1 -1
  64. package/Pie.js +336 -471
  65. package/Pie.js.map +1 -1
  66. package/Punchcard.config.js +72 -306
  67. package/Punchcard.config.js.map +1 -1
  68. package/Punchcard.js +356 -583
  69. package/Punchcard.js.map +1 -1
  70. package/Rectangle.config.js +211 -347
  71. package/Rectangle.config.js.map +1 -1
  72. package/Rectangle.js +371 -509
  73. package/Rectangle.js.map +1 -1
  74. package/Sankey.config.js +72 -214
  75. package/Sankey.config.js.map +1 -1
  76. package/Sankey.js +343 -475
  77. package/Sankey.js.map +1 -1
  78. package/Scatter.config.js +86 -464
  79. package/Scatter.config.js.map +1 -1
  80. package/Scatter.js +1118 -1493
  81. package/Scatter.js.map +1 -1
  82. package/SingleValue.config.js +124 -411
  83. package/SingleValue.config.js.map +1 -1
  84. package/SingleValue.js +522 -789
  85. package/SingleValue.js.map +1 -1
  86. package/SingleValueBasic.js +73 -61
  87. package/SingleValueBasic.js.map +1 -1
  88. package/SingleValueIcon.config.js +123 -380
  89. package/SingleValueIcon.config.js.map +1 -1
  90. package/SingleValueIcon.js +508 -745
  91. package/SingleValueIcon.js.map +1 -1
  92. package/SingleValueRadial.config.js +121 -385
  93. package/SingleValueRadial.config.js.map +1 -1
  94. package/SingleValueRadial.js +1642 -1885
  95. package/SingleValueRadial.js.map +1 -1
  96. package/SparkLine.js +39 -39
  97. package/SparkLine.js.map +1 -1
  98. package/Table.config.js +82 -496
  99. package/Table.config.js.map +1 -1
  100. package/Table.js +416 -825
  101. package/Table.js.map +1 -1
  102. package/common/Charting.js +37 -57
  103. package/common/Charting.js.map +1 -1
  104. package/common/DocExampleWithVizSandbox.js +21 -21
  105. package/common/DocExampleWithVizSandbox.js.map +1 -1
  106. package/common/EventsDoc.js +18 -18
  107. package/common/EventsDoc.js.map +1 -1
  108. package/common/GaugeMajorTicks.js +4 -4
  109. package/common/GaugeMajorTicks.js.map +1 -1
  110. package/common/GaugeValueMarker.js +2 -2
  111. package/common/GaugeValueMarker.js.map +1 -1
  112. package/common/OptionsDoc.js +4 -4
  113. package/common/OptionsDoc.js.map +1 -1
  114. package/common/OverviewDoc.js +39 -40
  115. package/common/OverviewDoc.js.map +1 -1
  116. package/common/SplunkVisualization.js +2 -2
  117. package/common/SplunkVisualization.js.map +1 -1
  118. package/common/SplunkVisualizationApi.js +2 -2
  119. package/common/SplunkVisualizationApi.js.map +1 -1
  120. package/common/ThemesDoc.js +19 -19
  121. package/common/ThemesDoc.js.map +1 -1
  122. package/common/chartingUtils.js +2 -2
  123. package/common/chartingUtils.js.map +1 -1
  124. package/common/gaugeUtils.js +10 -10
  125. package/common/gaugeUtils.js.map +1 -1
  126. package/common/shapeUtils.js +10 -10
  127. package/common/shapeUtils.js.map +1 -1
  128. package/common/utils/configUtils.js +25 -155
  129. package/common/utils/configUtils.js.map +1 -1
  130. package/common/utils/dataUtils.js +87 -105
  131. package/common/utils/dataUtils.js.map +1 -1
  132. package/common/utils/featureFlagUtils.js +4 -4
  133. package/common/utils/featureFlagUtils.js.map +1 -1
  134. package/common/utils/hocUtils.js +2 -2
  135. package/common/utils/hocUtils.js.map +1 -1
  136. package/common/utils/mapUtils.js +51 -54
  137. package/common/utils/mapUtils.js.map +1 -1
  138. package/common/utils/singleValueUtils.js +30 -18
  139. package/common/utils/singleValueUtils.js.map +1 -1
  140. package/common/utils/testHelper.js +7 -36
  141. package/common/utils/testHelper.js.map +1 -1
  142. package/common/utils/trellisUtils.js +7 -6
  143. package/common/utils/trellisUtils.js.map +1 -1
  144. package/common/utils/urlUtils.js +2 -2
  145. package/common/utils/urlUtils.js.map +1 -1
  146. package/common/withDashboardViz.js +93 -101
  147. package/common/withDashboardViz.js.map +1 -1
  148. package/package.json +48 -50
  149. package/common/utils/layoutUtils.js +0 -115
  150. package/common/utils/layoutUtils.js.map +0 -1
@@ -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 = 492);
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("@babel/runtime/helpers/classCallCheck");
113
-
114
- /***/ }),
115
-
116
- /***/ 102:
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
- /***/ 107:
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
- /***/ 114:
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
- /***/ 117:
154
+ /***/ 113:
200
155
  /***/ (function(module, exports) {
201
156
 
202
157
  module.exports = require("@splunk/react-ui/Paginator");
@@ -206,19 +161,19 @@ 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
 
213
- /***/ 123:
168
+ /***/ 121:
214
169
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
215
170
 
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
 
@@ -255,15 +210,15 @@ var getDynamicTrendColorEditor = function getDynamicTrendColorEditor(_ref) {
255
210
 
256
211
  /***/ }),
257
212
 
258
- /***/ 124:
213
+ /***/ 122:
259
214
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
260
215
 
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',
@@ -310,12 +265,12 @@ var getDynamicBackgroundColorEditor = function getDynamicBackgroundColorEditor(_
310
265
 
311
266
  /***/ }),
312
267
 
313
- /***/ 125:
268
+ /***/ 123:
314
269
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
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 = [[{
@@ -361,14 +316,14 @@ var StaticMajorAndTrendLayout = [[{
361
316
 
362
317
  /***/ }),
363
318
 
364
- /***/ 126:
319
+ /***/ 124:
365
320
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
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
 
@@ -385,14 +340,14 @@ var StaticMajorColorEditor = {
385
340
 
386
341
  /***/ }),
387
342
 
388
- /***/ 127:
343
+ /***/ 125:
389
344
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
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
 
@@ -413,7 +368,7 @@ var StaticTrendColorEditor = {
413
368
 
414
369
  /***/ }),
415
370
 
416
- /***/ 128:
371
+ /***/ 126:
417
372
  /***/ (function(module, exports, __webpack_require__) {
418
373
 
419
374
  "use strict";
@@ -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 layoutUtils_1 = __webpack_require__(80);
388
+ var visualization_schemas_1 = __webpack_require__(9);
434
389
  /* eslint-disable react-hooks/rules-of-hooks */
435
390
 
436
391
 
@@ -454,7 +409,7 @@ exports.TrellisEditorConfig = [[{
454
409
  var options = _ref.options;
455
410
  var featureFlagContext = React.useContext(FeatureFlagContext_1.default);
456
411
  var isTrellisFeatureFlagOn = Boolean(featureFlagContext && featureFlagContext.visualizations_enableTrellis);
457
- return isTrellisFeatureFlagOn && options.splitByLayout === layoutUtils_1.LAYOUT_TYPE.Trellis;
412
+ return isTrellisFeatureFlagOn && options.splitByLayout === visualization_schemas_1.LAYOUT_TYPE.Trellis;
458
413
  }
459
414
  }], [{
460
415
  label: (0, i18n_1._)('Number of columns'),
@@ -468,7 +423,7 @@ exports.TrellisEditorConfig = [[{
468
423
  var options = _ref2.options;
469
424
  var featureFlagContext = React.useContext(FeatureFlagContext_1.default);
470
425
  var isTrellisFeatureFlagOn = Boolean(featureFlagContext && featureFlagContext.visualizations_enableTrellis);
471
- return isTrellisFeatureFlagOn && options.splitByLayout === layoutUtils_1.LAYOUT_TYPE.Trellis;
426
+ return isTrellisFeatureFlagOn && options.splitByLayout === visualization_schemas_1.LAYOUT_TYPE.Trellis;
472
427
  }
473
428
  }], [{
474
429
  label: (0, i18n_1._)('Min column width'),
@@ -481,7 +436,7 @@ exports.TrellisEditorConfig = [[{
481
436
  var options = _ref3.options;
482
437
  var featureFlagContext = React.useContext(FeatureFlagContext_1.default);
483
438
  var isTrellisFeatureFlagOn = Boolean(featureFlagContext && featureFlagContext.visualizations_enableTrellis);
484
- return isTrellisFeatureFlagOn && options.splitByLayout === layoutUtils_1.LAYOUT_TYPE.Trellis;
439
+ return isTrellisFeatureFlagOn && options.splitByLayout === visualization_schemas_1.LAYOUT_TYPE.Trellis;
485
440
  }
486
441
  }, {
487
442
  label: (0, i18n_1._)('Row height'),
@@ -494,7 +449,7 @@ exports.TrellisEditorConfig = [[{
494
449
  var options = _ref4.options;
495
450
  var featureFlagContext = React.useContext(FeatureFlagContext_1.default);
496
451
  var isTrellisFeatureFlagOn = Boolean(featureFlagContext && featureFlagContext.visualizations_enableTrellis);
497
- return isTrellisFeatureFlagOn && options.splitByLayout === layoutUtils_1.LAYOUT_TYPE.Trellis;
452
+ return isTrellisFeatureFlagOn && options.splitByLayout === visualization_schemas_1.LAYOUT_TYPE.Trellis;
498
453
  }
499
454
  }], [{
500
455
  label: (0, i18n_1._)('Max number of components per page'),
@@ -507,7 +462,7 @@ exports.TrellisEditorConfig = [[{
507
462
  var options = _ref5.options;
508
463
  var featureFlagContext = React.useContext(FeatureFlagContext_1.default);
509
464
  var isTrellisFeatureFlagOn = Boolean(featureFlagContext && featureFlagContext.visualizations_enableTrellis);
510
- return isTrellisFeatureFlagOn && options.splitByLayout === layoutUtils_1.LAYOUT_TYPE.Trellis;
465
+ return isTrellisFeatureFlagOn && options.splitByLayout === visualization_schemas_1.LAYOUT_TYPE.Trellis;
511
466
  }
512
467
  }]];
513
468
  exports.TrellisBackgroundColorEditor = {
@@ -518,19 +473,19 @@ exports.TrellisBackgroundColorEditor = {
518
473
  var options = _ref6.options;
519
474
  var featureFlagContext = React.useContext(FeatureFlagContext_1.default);
520
475
  var isTrellisFeatureFlagOn = Boolean(featureFlagContext && featureFlagContext.visualizations_enableTrellis);
521
- return isTrellisFeatureFlagOn && options.splitByLayout === layoutUtils_1.LAYOUT_TYPE.Trellis;
476
+ return isTrellisFeatureFlagOn && options.splitByLayout === visualization_schemas_1.LAYOUT_TYPE.Trellis;
522
477
  }
523
478
  };
524
479
 
525
480
  /***/ }),
526
481
 
527
- /***/ 129:
482
+ /***/ 127:
528
483
  /***/ (function(module, exports, __webpack_require__) {
529
484
 
530
485
  "use strict";
531
486
 
532
487
 
533
- var _slicedToArray = __webpack_require__(7);
488
+ var _slicedToArray = __webpack_require__(5);
534
489
 
535
490
  var __rest = this && this.__rest || function (s, e) {
536
491
  var t = {};
@@ -549,45 +504,45 @@ 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__(117);
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__(82);
519
+ var themes_1 = __webpack_require__(79);
565
520
 
566
- var useSplunkTheme_1 = __webpack_require__(78);
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
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__(107);
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 Options_1 = __webpack_require__(16);
537
+ var visualization_schemas_1 = __webpack_require__(9);
583
538
 
584
- var trellisUtils_2 = __webpack_require__(130);
539
+ var Options_1 = __webpack_require__(16);
585
540
 
586
- var layoutUtils_1 = __webpack_require__(80);
541
+ var trellisUtils_2 = __webpack_require__(128);
587
542
 
588
543
  var TrellisContainer = styled_components_1.default.div.withConfig({
589
544
  displayName: "withTrellis__TrellisContainer",
590
- componentId: "pjmeig-0"
545
+ componentId: "sc-pjmeig-0"
591
546
  })(["overflow:hidden;display:flex;flex-direction:column;background-color:", ";", ";> [data-test='paginator']{align-self:flex-end;margin-bottom:10px;}"], function (props) {
592
547
  return props.backgroundColor;
593
548
  }, function (props) {
@@ -595,7 +550,7 @@ var TrellisContainer = styled_components_1.default.div.withConfig({
595
550
  });
596
551
  var TrellisContainerGrid = styled_components_1.default.div.withConfig({
597
552
  displayName: "withTrellis__TrellisContainerGrid",
598
- componentId: "pjmeig-1"
553
+ componentId: "sc-pjmeig-1"
599
554
  })(["display:grid;height:", ";gap:10px 10px;grid-template-columns:", ";overflow:auto;justify-items:stretch;grid-auto-rows:", ";.child{height:", ";}"], function (props) {
600
555
  return "".concat(props.height, "px");
601
556
  }, function (props) {
@@ -743,11 +698,11 @@ var withTrellis = function withTrellis(Viz) {
743
698
  var featureFlagContext = React.useContext(FeatureFlagContext_1.default);
744
699
  var isTrellisFeatureFlagOn = Boolean(featureFlagContext && featureFlagContext.visualizations_enableTrellis);
745
700
 
746
- if (!isTrellisFeatureFlagOn || !splitByLayout || splitByLayout !== layoutUtils_1.LAYOUT_TYPE.Trellis) {
701
+ if (!isTrellisFeatureFlagOn || !splitByLayout || splitByLayout !== visualization_schemas_1.LAYOUT_TYPE.Trellis) {
747
702
  return React.createElement(Viz, Object.assign({}, opts));
748
703
  }
749
704
 
750
- if (splitByLayout === layoutUtils_1.LAYOUT_TYPE.Trellis) {
705
+ if (splitByLayout === visualization_schemas_1.LAYOUT_TYPE.Trellis) {
751
706
  if (noColumns || noFields) {
752
707
  return React.createElement(Message_1.default, {
753
708
  width: width,
@@ -831,29 +786,22 @@ exports.default = withTrellis;
831
786
 
832
787
  /***/ }),
833
788
 
834
- /***/ 13:
835
- /***/ (function(module, exports) {
836
-
837
- module.exports = require("@splunk/themes/variables");
838
-
839
- /***/ }),
840
-
841
- /***/ 130:
789
+ /***/ 128:
842
790
  /***/ (function(module, exports, __webpack_require__) {
843
791
 
844
792
  "use strict";
845
793
 
846
794
 
847
- var _toConsumableArray = __webpack_require__(8);
795
+ var _toConsumableArray = __webpack_require__(6);
848
796
 
849
797
  Object.defineProperty(exports, "__esModule", {
850
798
  value: true
851
799
  });
852
800
  exports.getTrellisDataSourcesBySplitMode = exports.dataSourcesSplitByModeStatsorUnknown = exports.dataSourcesSplitByModeChart = exports.dataSourcesSplitByModeTimechart = exports.dataSourcesSplitByAggregationsStats = exports.dataSourcesSplitByAggregationsTimechartAndChart = exports.dataSourcesSplitByAggregationsUnknown = exports.AGGREGATIONS = void 0;
853
801
 
854
- var lodash_1 = __webpack_require__(3);
802
+ var lodash_1 = __webpack_require__(2);
855
803
 
856
- var trellisUtils_1 = __webpack_require__(107);
804
+ var trellisUtils_1 = __webpack_require__(104);
857
805
 
858
806
  exports.AGGREGATIONS = 'aggregations';
859
807
  /**
@@ -1319,6 +1267,7 @@ var getTrellisDataSourcesBySplitMode = function getTrellisDataSourcesBySplitMode
1319
1267
  result = trellisSplitBy === exports.AGGREGATIONS ? (0, exports.dataSourcesSplitByAggregationsUnknown)(dataSources) : (0, exports.dataSourcesSplitByModeStatsorUnknown)(dataSources, trellisSplitBy, trellisUtils_1.UNKNOWN);
1320
1268
  }
1321
1269
  } catch (ex) {
1270
+ // eslint-disable-next-line no-console
1322
1271
  console.error('getTrellisDataSourcesBySplitMode ', ex);
1323
1272
  result = {
1324
1273
  splitDataSources: null,
@@ -1333,14 +1282,21 @@ exports.getTrellisDataSourcesBySplitMode = getTrellisDataSourcesBySplitMode;
1333
1282
 
1334
1283
  /***/ }),
1335
1284
 
1336
- /***/ 131:
1285
+ /***/ 129:
1337
1286
  /***/ (function(module, exports) {
1338
1287
 
1339
1288
  module.exports = require("lodash/pick");
1340
1289
 
1341
1290
  /***/ }),
1342
1291
 
1343
- /***/ 132:
1292
+ /***/ 13:
1293
+ /***/ (function(module, exports) {
1294
+
1295
+ module.exports = require("@splunk/themes/variables");
1296
+
1297
+ /***/ }),
1298
+
1299
+ /***/ 130:
1344
1300
  /***/ (function(module, exports) {
1345
1301
 
1346
1302
  module.exports = require("lodash/isEmpty");
@@ -1358,9 +1314,9 @@ Object.defineProperty(exports, "__esModule", {
1358
1314
  });
1359
1315
  exports.downsampleDataSources = exports.calculateDownsamplingThreshold = exports.calculateThresholdOnRangeSelect = exports.isDownsamplingEnabledForViz = exports.convertToArrOfObjects = void 0;
1360
1316
 
1361
- var numberUtils_1 = __webpack_require__(11);
1317
+ var numberUtils_1 = __webpack_require__(10);
1362
1318
 
1363
- 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
1364
1320
 
1365
1321
 
1366
1322
  var convertToArrOfObjects = function convertToArrOfObjects(columns, fields) {
@@ -1495,19 +1451,21 @@ var largestTriangleThreeBuckets = function largestTriangleThreeBuckets(data, thr
1495
1451
  */
1496
1452
 
1497
1453
 
1498
- var strictlyCoerceYColumn = function strictlyCoerceYColumn(column) {
1499
- // 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
1500
1456
  // Number() does not support and also allows loose coercion of hex numbers (but not other formats)
1501
1457
  // We want to identify columns which contain at least one value that can be loosely coerced
1458
+
1502
1459
  var canLooselyCoerceSomeValues = column.findIndex(function (value) {
1503
- return (0, numberUtils_1.startsWithNumber)("".concat(value));
1460
+ return (0, numberUtils_1.startsWithNumber)("".concat(value)) || isNullCoercionEnabled && value === null;
1504
1461
  }) >= 0; // If not all values in column can be strictly coerced to a number, we do not downsample
1505
1462
 
1506
1463
  var coercedColumn = [];
1507
1464
  var canDownsampleColumn = !column.some(function (value) {
1508
- 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
1509
1467
 
1510
- 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) {
1511
1469
  return true;
1512
1470
  } // save value and continue to next
1513
1471
 
@@ -1588,8 +1546,7 @@ var calculateDownsamplingThreshold = function calculateDownsamplingThreshold(_re
1588
1546
  dataSources = _ref3.dataSources,
1589
1547
  selectChartEvent = _ref3.selectChartEvent,
1590
1548
  width = _ref3.width,
1591
- xField = _ref3.xField,
1592
- y2Fields = _ref3.y2Fields;
1549
+ xField = _ref3.xField;
1593
1550
 
1594
1551
  var _a, _b, _c;
1595
1552
 
@@ -1626,14 +1583,7 @@ var calculateDownsamplingThreshold = function calculateDownsamplingThreshold(_re
1626
1583
  });
1627
1584
  var lastIndex = fullSeries.findIndex(function (x) {
1628
1585
  return downsampledSeries[endXIndex] === x;
1629
- }); // For charts with categorical x-axis (charts with an xField that isn't _time), do not support
1630
- // re-calculating downsampling threshold if the chart is zoomed in until SPL-259458 is fixed
1631
- // Also do not support re-calculating downsampling threshold for zoomed-in charts with y2
1632
- // until SPL-259611 is fixed
1633
-
1634
- if (xField !== '_time' || (y2Fields === null || y2Fields === void 0 ? void 0 : y2Fields.length)) {
1635
- return firstIndex === 0 && lastIndex === fullSeries.length - 1 ? width : null;
1636
- }
1586
+ });
1637
1587
 
1638
1588
  if (firstIndex >= 0 && lastIndex >= 0 && firstIndex <= lastIndex) {
1639
1589
  return (0, exports.calculateThresholdOnRangeSelect)({
@@ -1644,6 +1594,7 @@ var calculateDownsamplingThreshold = function calculateDownsamplingThreshold(_re
1644
1594
  });
1645
1595
  }
1646
1596
  } catch (e) {
1597
+ // eslint-disable-next-line no-console
1647
1598
  console.error('Error occurred while setting downsample threshold on range select event', e);
1648
1599
  }
1649
1600
 
@@ -1682,7 +1633,7 @@ var isColumnStrictlyIncreasing = function isColumnStrictlyIncreasing(column, fie
1682
1633
  */
1683
1634
 
1684
1635
 
1685
- var tryToCoerceAllDisplayedFields = function tryToCoerceAllDisplayedFields(ds, xField, yFields, fieldTypes) {
1636
+ var tryToCoerceAllDisplayedFields = function tryToCoerceAllDisplayedFields(ds, xField, yFields, fieldTypes, options) {
1686
1637
  var xColumn = [];
1687
1638
  var yColumns = [];
1688
1639
  var canDownsample = !ds.data.fields.some(function (field, index) {
@@ -1696,7 +1647,7 @@ var tryToCoerceAllDisplayedFields = function tryToCoerceAllDisplayedFields(ds, x
1696
1647
  if (fieldName === xField) {
1697
1648
  xColumn = strictlyCoerceXColumn(column, fieldType);
1698
1649
  } else if (yFields.has(fieldName)) {
1699
- var _strictlyCoerceYColum = strictlyCoerceYColumn(ds.data.columns[index]),
1650
+ var _strictlyCoerceYColum = strictlyCoerceYColumn(ds.data.columns[index], options),
1700
1651
  coercedColumn = _strictlyCoerceYColum.coercedColumn,
1701
1652
  canLooselyCoerceSomeValues = _strictlyCoerceYColum.canLooselyCoerceSomeValues,
1702
1653
  canDownsampleColumn = _strictlyCoerceYColum.canDownsampleColumn; // do not perform downsampling if a column can possibly be displayed but cannot
@@ -1786,7 +1737,7 @@ var downsampleDataSources = function downsampleDataSources(_ref4) {
1786
1737
  return dataSources;
1787
1738
  }
1788
1739
 
1789
- var _tryToCoerceAllDispla = tryToCoerceAllDisplayedFields(primaryDS, xField, nonInternalYFields, fieldTypes),
1740
+ var _tryToCoerceAllDispla = tryToCoerceAllDisplayedFields(primaryDS, xField, nonInternalYFields, fieldTypes, options),
1790
1741
  xColumn = _tryToCoerceAllDispla.xColumn,
1791
1742
  yColumns = _tryToCoerceAllDispla.yColumns;
1792
1743
 
@@ -1810,6 +1761,7 @@ var downsampleDataSources = function downsampleDataSources(_ref4) {
1810
1761
  return downsampledIndices.add(downsampleIndex);
1811
1762
  });
1812
1763
  } catch (e) {
1764
+ // eslint-disable-next-line no-console
1813
1765
  console.error("Error occurred while downsampling column ".concat(columnIndex), e);
1814
1766
  }
1815
1767
  }); // update data columns with downsampled columns
@@ -1829,7 +1781,7 @@ module.exports = require("@splunk/visualizations-shared/colorUtils");
1829
1781
 
1830
1782
  /***/ }),
1831
1783
 
1832
- /***/ 157:
1784
+ /***/ 153:
1833
1785
  /***/ (function(module, exports, __webpack_require__) {
1834
1786
 
1835
1787
  "use strict";
@@ -1874,15 +1826,15 @@ exports.defaultContext = {
1874
1826
 
1875
1827
  /***/ }),
1876
1828
 
1877
- /***/ 158:
1829
+ /***/ 154:
1878
1830
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1879
1831
 
1880
1832
  "use strict";
1881
1833
  __webpack_require__.r(__webpack_exports__);
1882
1834
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getDynamicMajorColorEditor", function() { return getDynamicMajorColorEditor; });
1883
- /* 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);
1884
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__);
1885
- /* 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);
1886
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__);
1887
1839
 
1888
1840
 
@@ -1925,17 +1877,17 @@ var getDynamicMajorColorEditor = function getDynamicMajorColorEditor(_ref) {
1925
1877
 
1926
1878
  /***/ }),
1927
1879
 
1928
- /***/ 16:
1880
+ /***/ 159:
1929
1881
  /***/ (function(module, exports) {
1930
1882
 
1931
- module.exports = require("@splunk/visualization-encoding/Options");
1883
+ module.exports = require("@splunk/visualizations/SingleValueBasic");
1932
1884
 
1933
1885
  /***/ }),
1934
1886
 
1935
- /***/ 164:
1887
+ /***/ 16:
1936
1888
  /***/ (function(module, exports) {
1937
1889
 
1938
- module.exports = require("@splunk/visualizations/SingleValueBasic");
1890
+ module.exports = require("@splunk/visualization-encoding/Options");
1939
1891
 
1940
1892
  /***/ }),
1941
1893
 
@@ -1945,13 +1897,13 @@ module.exports = require("@splunk/visualizations/SingleValueBasic");
1945
1897
  "use strict";
1946
1898
 
1947
1899
 
1948
- var _slicedToArray = __webpack_require__(7);
1900
+ var _slicedToArray = __webpack_require__(5);
1949
1901
 
1950
1902
  Object.defineProperty(exports, "__esModule", {
1951
1903
  value: true
1952
1904
  });
1953
1905
 
1954
- var React = __webpack_require__(0);
1906
+ var React = __webpack_require__(1);
1955
1907
 
1956
1908
  var styled_components_1 = __webpack_require__(4);
1957
1909
 
@@ -1959,7 +1911,7 @@ var style_1 = __webpack_require__(18);
1959
1911
 
1960
1912
  var colorUtils_1 = __webpack_require__(15);
1961
1913
 
1962
- var SizeAwareWrapper_1 = __webpack_require__(26);
1914
+ var SizeAwareWrapper_1 = __webpack_require__(25);
1963
1915
 
1964
1916
  var Item = styled_components_1.default.div.attrs(function (_ref) {
1965
1917
  var width = _ref.width;
@@ -2030,7 +1982,7 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
2030
1982
 
2031
1983
  return React.createElement(FixSizeItem, {
2032
1984
  "data-test": "fix-size-item",
2033
- "data-splunk-visualization-version": "26.2.1 - 714383dbb",
1985
+ "data-splunk-visualization-version": "26.4.0 - 04078274d",
2034
1986
  width: width,
2035
1987
  height: height,
2036
1988
  backgroundColor: backgroundColor
@@ -2059,65 +2011,21 @@ module.exports = require("@splunk/visualizations-shared/style");
2059
2011
 
2060
2012
  /***/ }),
2061
2013
 
2062
- /***/ 19:
2063
- /***/ (function(module, exports, __webpack_require__) {
2064
-
2065
- "use strict";
2066
-
2067
-
2068
- Object.defineProperty(exports, "__esModule", {
2069
- value: true
2070
- });
2071
- exports.validOutputModes = exports.validSegmentationModes = exports.validSortDirs = void 0;
2072
- exports.validSortDirs = ['asc', 'desc', 'none'];
2073
- exports.validSegmentationModes = ['none', 'inner'];
2074
- exports.validOutputModes = ['json_cols', 'json'];
2075
-
2076
- /***/ }),
2077
-
2078
- /***/ 194:
2014
+ /***/ 188:
2079
2015
  /***/ (function(module, exports) {
2080
2016
 
2081
2017
  module.exports = require("@splunk/react-icons/enterprise/Activity");
2082
2018
 
2083
2019
  /***/ }),
2084
2020
 
2085
- /***/ 195:
2021
+ /***/ 189:
2086
2022
  /***/ (function(module, exports) {
2087
2023
 
2088
2024
  module.exports = require("@splunk/react-icons/enterprise/Clock");
2089
2025
 
2090
2026
  /***/ }),
2091
2027
 
2092
- /***/ 196:
2093
- /***/ (function(module, exports) {
2094
-
2095
- module.exports = require("@splunk/react-icons/enterprise/Pencil");
2096
-
2097
- /***/ }),
2098
-
2099
- /***/ 197:
2100
- /***/ (function(module, exports) {
2101
-
2102
- module.exports = require("@splunk/react-icons/enterprise/Star");
2103
-
2104
- /***/ }),
2105
-
2106
- /***/ 198:
2107
- /***/ (function(module, exports) {
2108
-
2109
- module.exports = require("@splunk/react-icons/enterprise/Question");
2110
-
2111
- /***/ }),
2112
-
2113
- /***/ 2:
2114
- /***/ (function(module, exports) {
2115
-
2116
- module.exports = require("@splunk/ui-utils/i18n");
2117
-
2118
- /***/ }),
2119
-
2120
- /***/ 20:
2028
+ /***/ 19:
2121
2029
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
2122
2030
 
2123
2031
  "use strict";
@@ -2153,17 +2061,17 @@ __webpack_require__.r(__webpack_exports__);
2153
2061
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "lighten", function() { return lighten; });
2154
2062
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "darken", function() { return darken; });
2155
2063
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "handleValueClickCallback", function() { return handleValueClickCallback; });
2156
- /* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9);
2064
+ /* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(12);
2157
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__);
2158
- /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3);
2066
+ /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(2);
2159
2067
  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_1__);
2160
- /* 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);
2161
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__);
2162
- /* harmony import */ var _splunk_visualizations_shared_domUtils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(76);
2070
+ /* harmony import */ var _splunk_visualizations_shared_domUtils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(73);
2163
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__);
2164
- /* 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);
2165
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__);
2166
- /* harmony import */ var _splunk_visualizations_shared_colorConstants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(71);
2074
+ /* harmony import */ var _splunk_visualizations_shared_colorConstants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(69);
2167
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__);
2168
2076
 
2169
2077
 
@@ -2413,7 +2321,7 @@ var computeColors = function computeColors(props, defaultColors) {
2413
2321
  * @param {Number} props.value // The major/trend value
2414
2322
  * @param {Number} props.numberPrecision
2415
2323
  * @param {Bool} props.shouldUseThousandSeparators
2416
- * @param {Bool} props.shouldAbbreviateTrendValue
2324
+ * @param {Bool} props.shouldAbbreviateValue
2417
2325
  * @returns {Number} major or trend text
2418
2326
  */
2419
2327
 
@@ -2421,11 +2329,11 @@ var computeText = function computeText(_ref4) {
2421
2329
  var value = _ref4.value,
2422
2330
  numberPrecision = _ref4.numberPrecision,
2423
2331
  shouldUseThousandSeparators = _ref4.shouldUseThousandSeparators,
2424
- shouldAbbreviateTrendValue = _ref4.shouldAbbreviateTrendValue;
2332
+ shouldAbbreviateValue = _ref4.shouldAbbreviateValue;
2425
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, {
2426
2334
  useThousandSeparators: shouldUseThousandSeparators,
2427
2335
  // todo: need update formatNumber
2428
- useTrendUnits: shouldAbbreviateTrendValue
2336
+ useTrendUnits: shouldAbbreviateValue
2429
2337
  }) : value; // When text is undefined, return empty string
2430
2338
 
2431
2339
  text = text || '';
@@ -2437,19 +2345,21 @@ var computeText = function computeText(_ref4) {
2437
2345
  * @param {Number} props.majorValue
2438
2346
  * @param {Number} props.numberPrecision
2439
2347
  * @param {Bool} props.shouldUseThousandSeparators
2348
+ * @param {Bool} props.shouldAbbreviateMajorValue
2440
2349
  * @returns {String} majorText
2441
2350
  */
2442
2351
 
2443
2352
  var getMajorText = function getMajorText(_ref5) {
2444
2353
  var majorValue = _ref5.majorValue,
2445
2354
  numberPrecision = _ref5.numberPrecision,
2446
- shouldUseThousandSeparators = _ref5.shouldUseThousandSeparators;
2355
+ shouldUseThousandSeparators = _ref5.shouldUseThousandSeparators,
2356
+ shouldAbbreviateMajorValue = _ref5.shouldAbbreviateMajorValue;
2447
2357
  return computeText({
2448
2358
  value: majorValue === null ? 'N/A' : majorValue,
2449
2359
  // if majorValue is null, use `N/A`.
2450
2360
  numberPrecision: numberPrecision,
2451
2361
  shouldUseThousandSeparators: shouldUseThousandSeparators,
2452
- shouldAbbreviateTrendValue: false
2362
+ shouldAbbreviateValue: shouldAbbreviateMajorValue
2453
2363
  });
2454
2364
  };
2455
2365
  /*
@@ -2477,7 +2387,7 @@ var getTrendText = function getTrendText(_ref6) {
2477
2387
  value: value,
2478
2388
  numberPrecision: numberPrecision,
2479
2389
  shouldUseThousandSeparators: shouldUseThousandSeparators,
2480
- shouldAbbreviateTrendValue: shouldAbbreviateTrendValue
2390
+ shouldAbbreviateValue: shouldAbbreviateTrendValue
2481
2391
  });
2482
2392
  };
2483
2393
 
@@ -2621,6 +2531,7 @@ var getUnderLabel = function getUnderLabel(_ref10) {
2621
2531
  * @param {Number} props.numberPrecision
2622
2532
  * @param {Bool} props.shouldUseThousandSeparators
2623
2533
  * @param {Bool} props.shouldAbbreviateTrendValue
2534
+ * @param {Bool} props.shouldAbbreviateMajorValue
2624
2535
  * @returns {Number, Number, Number, Number} Major text, trend text, major text size, trend text size
2625
2536
  */
2626
2537
 
@@ -2635,14 +2546,16 @@ var getMajorAndTrend = function getMajorAndTrend(_ref11) {
2635
2546
  unit = _ref11.unit,
2636
2547
  numberPrecision = _ref11.numberPrecision,
2637
2548
  shouldUseThousandSeparators = _ref11.shouldUseThousandSeparators,
2638
- shouldAbbreviateTrendValue = _ref11.shouldAbbreviateTrendValue;
2549
+ shouldAbbreviateTrendValue = _ref11.shouldAbbreviateTrendValue,
2550
+ shouldAbbreviateMajorValue = _ref11.shouldAbbreviateMajorValue;
2639
2551
  var majorTextSpaceRatio = Object(_splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_2__["isNumerial"])(trendValue) && shouldShowTrend(trendDisplay) ? 0.6 : 1;
2640
2552
  var textContentWidth = width * 0.9;
2641
2553
  var textContentHeight = height * 0.9;
2642
2554
  var majorText = getMajorText({
2643
2555
  majorValue: majorValue,
2644
2556
  numberPrecision: numberPrecision,
2645
- shouldUseThousandSeparators: shouldUseThousandSeparators
2557
+ shouldUseThousandSeparators: shouldUseThousandSeparators,
2558
+ shouldAbbreviateMajorValue: shouldAbbreviateMajorValue
2646
2559
  });
2647
2560
  var majorTextFontSize = majorFontSize || getMajorFontSize({
2648
2561
  width: textContentWidth,
@@ -2768,6 +2681,7 @@ var updateVizInSmallSpace = function updateVizInSmallSpace(_ref12) {
2768
2681
  * @param {Number} props.numberPrecision
2769
2682
  * @param {Bool} props.shouldUseThousandSeparators
2770
2683
  * @param {Bool} props.shouldAbbreviateTrendValue
2684
+ * @param {Bool} props.shouldAbbreviateMajorValue
2771
2685
  * @param {Object} props.toRemoveList
2772
2686
  * @returns {Object} results
2773
2687
  * @returns {String} results.majorText
@@ -2792,6 +2706,7 @@ var computeSingleValueContent = function computeSingleValueContent(_ref13) {
2792
2706
  numberPrecision = _ref13.numberPrecision,
2793
2707
  shouldUseThousandSeparators = _ref13.shouldUseThousandSeparators,
2794
2708
  shouldAbbreviateTrendValue = _ref13.shouldAbbreviateTrendValue,
2709
+ shouldAbbreviateMajorValue = _ref13.shouldAbbreviateMajorValue,
2795
2710
  toRemoveList = _ref13.toRemoveList;
2796
2711
 
2797
2712
  var _getMajorAndTrend = getMajorAndTrend({
@@ -2805,7 +2720,8 @@ var computeSingleValueContent = function computeSingleValueContent(_ref13) {
2805
2720
  unit: unit,
2806
2721
  numberPrecision: numberPrecision,
2807
2722
  shouldUseThousandSeparators: shouldUseThousandSeparators,
2808
- shouldAbbreviateTrendValue: shouldAbbreviateTrendValue
2723
+ shouldAbbreviateTrendValue: shouldAbbreviateTrendValue,
2724
+ shouldAbbreviateMajorValue: shouldAbbreviateMajorValue
2809
2725
  }),
2810
2726
  majorText = _getMajorAndTrend.majorText,
2811
2727
  trendText = _getMajorAndTrend.trendText,
@@ -2894,6 +2810,7 @@ var minimallyTruncateStringToWidth = function minimallyTruncateStringToWidth(_re
2894
2810
  * @param {Number} props.numberPrecision
2895
2811
  * @param {Bool} props.shouldUseThousandSeparators
2896
2812
  * @param {Bool} props.shouldAbbreviateTrendValue
2813
+ * @param {Bool} props.shouldAbbreviateMajorValue,
2897
2814
  * @param {Object} props.toRemoveList
2898
2815
  * @param {Bool} props.smallViz
2899
2816
  * @returns {Object} results
@@ -2919,6 +2836,7 @@ var computeSingleValueRadialContent = function computeSingleValueRadialContent(_
2919
2836
  numberPrecision = _ref15.numberPrecision,
2920
2837
  shouldUseThousandSeparators = _ref15.shouldUseThousandSeparators,
2921
2838
  shouldAbbreviateTrendValue = _ref15.shouldAbbreviateTrendValue,
2839
+ shouldAbbreviateMajorValue = _ref15.shouldAbbreviateMajorValue,
2922
2840
  smallViz = _ref15.smallViz;
2923
2841
 
2924
2842
  var _getMajorAndTrend2 = getMajorAndTrend({
@@ -2932,7 +2850,8 @@ var computeSingleValueRadialContent = function computeSingleValueRadialContent(_
2932
2850
  unit: unit,
2933
2851
  numberPrecision: numberPrecision,
2934
2852
  shouldUseThousandSeparators: shouldUseThousandSeparators,
2935
- shouldAbbreviateTrendValue: shouldAbbreviateTrendValue
2853
+ shouldAbbreviateTrendValue: shouldAbbreviateTrendValue,
2854
+ shouldAbbreviateMajorValue: shouldAbbreviateMajorValue
2936
2855
  }),
2937
2856
  majorText = _getMajorAndTrend2.majorText,
2938
2857
  trendText = _getMajorAndTrend2.trendText,
@@ -2963,7 +2882,8 @@ var computeSingleValueRadialContent = function computeSingleValueRadialContent(_
2963
2882
  trendDisplay: trendDisplay,
2964
2883
  numberPrecision: numberPrecision,
2965
2884
  shouldUseThousandSeparators: shouldUseThousandSeparators,
2966
- shouldAbbreviateTrendValue: shouldAbbreviateTrendValue
2885
+ shouldAbbreviateTrendValue: shouldAbbreviateTrendValue,
2886
+ shouldAbbreviateMajorValue: shouldAbbreviateMajorValue
2967
2887
  });
2968
2888
 
2969
2889
  majorText = _getMajorAndTrend3.majorText;
@@ -3146,15 +3066,58 @@ var handleValueClickCallback = function handleValueClickCallback(ev, majorValue,
3146
3066
 
3147
3067
  /***/ }),
3148
3068
 
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:
3098
+ /***/ (function(module, exports, __webpack_require__) {
3099
+
3100
+ "use strict";
3101
+
3102
+
3103
+ Object.defineProperty(exports, "__esModule", {
3104
+ value: true
3105
+ });
3106
+ exports.validOutputModes = exports.validSortDirs = void 0;
3107
+ exports.validSortDirs = ['asc', 'desc', 'none'];
3108
+ exports.validOutputModes = ['json_cols', 'json'];
3109
+
3110
+ /***/ }),
3111
+
3149
3112
  /***/ 21:
3150
3113
  /***/ (function(module, exports, __webpack_require__) {
3151
3114
 
3152
3115
  "use strict";
3153
3116
 
3154
3117
 
3155
- var _classCallCheck = __webpack_require__(10);
3118
+ var _classCallCheck = __webpack_require__(8);
3156
3119
 
3157
- var _createClass = __webpack_require__(25);
3120
+ var _createClass = __webpack_require__(24);
3158
3121
 
3159
3122
  Object.defineProperty(exports, "__esModule", {
3160
3123
  value: true
@@ -3249,123 +3212,41 @@ exports.extendStaticWrapperProps = extendStaticWrapperProps;
3249
3212
  /***/ 24:
3250
3213
  /***/ (function(module, exports) {
3251
3214
 
3252
- module.exports = require("@splunk/visualizations-shared/schemaUtils");
3253
-
3254
- /***/ }),
3255
-
3256
- /***/ 25:
3257
- /***/ (function(module, exports) {
3258
-
3259
3215
  module.exports = require("@babel/runtime/helpers/createClass");
3260
3216
 
3261
3217
  /***/ }),
3262
3218
 
3263
- /***/ 26:
3219
+ /***/ 25:
3264
3220
  /***/ (function(module, exports) {
3265
3221
 
3266
3222
  module.exports = require("@splunk/visualizations-shared/SizeAwareWrapper");
3267
3223
 
3268
3224
  /***/ }),
3269
3225
 
3270
- /***/ 27:
3226
+ /***/ 26:
3271
3227
  /***/ (function(module, exports, __webpack_require__) {
3272
3228
 
3273
3229
  "use strict";
3274
3230
 
3275
3231
 
3276
- var _toConsumableArray = __webpack_require__(8);
3277
-
3278
- var _defineProperty = __webpack_require__(9);
3279
-
3280
- var __rest = this && this.__rest || function (s, e) {
3281
- var t = {};
3282
-
3283
- for (var p in s) {
3284
- if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
3285
- }
3286
-
3287
- if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
3288
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
3289
- }
3290
- return t;
3291
- };
3232
+ var _toConsumableArray = __webpack_require__(6);
3292
3233
 
3293
3234
  Object.defineProperty(exports, "__esModule", {
3294
3235
  value: true
3295
3236
  });
3296
- exports.insertLayout = exports.isDynamicOption = exports.uncollapseEditorConfig = exports.generatePrecisionValues = exports.getInitialPreset = exports.enhanceOptionsSchemaWithDynamicOptions = exports.enhanceConfig = void 0;
3297
-
3298
- var lodash_1 = __webpack_require__(3);
3299
-
3300
- var schemaUtils_1 = __webpack_require__(24);
3301
-
3302
- var VizBehavior_1 = __webpack_require__(6);
3237
+ exports.insertLayout = exports.isDynamicOption = exports.uncollapseEditorConfig = exports.generatePrecisionValues = exports.getInitialPreset = exports.enhanceConfig = exports.enhanceOptionsSchemaWithDynamicOptions = void 0;
3303
3238
 
3304
- var dynamicOptionsDSLType = {
3305
- type: 'string',
3306
- pattern: schemaUtils_1.DYNAMIC_OPTIONS_DSL_PATTERN
3307
- };
3308
- /**
3309
- * Helper function to extend an options schema with dynamic options DSL
3310
- * @param optionsSchema a visualization's options schema
3311
- * @returns an updated options schema that additionally allows strings starting with > for each option
3312
- */
3313
-
3314
- function enhanceOptionsSchemaWithDynamicOptions(optionsSchema) {
3315
- var enhancedOptionsSchema = {};
3316
- Object.keys(optionsSchema).forEach(function (key) {
3317
- var _a = optionsSchema[key],
3318
- title = _a.title,
3319
- description = _a.description,
3320
- readOnly = _a.readOnly,
3321
- writeOnly = _a.writeOnly,
3322
- examples = _a.examples,
3323
- defaultValue = _a.default,
3324
- type = _a.type,
3325
- properties = _a.properties,
3326
- patternProperties = _a.patternProperties,
3327
- remainingSchemaEntry = __rest(_a, ["title", "description", "readOnly", "writeOnly", "examples", "default", "type", "properties", "patternProperties"]);
3328
-
3329
- var annotations = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, title !== undefined && {
3330
- title: title
3331
- }), description !== undefined && {
3332
- description: description
3333
- }), readOnly !== undefined && {
3334
- readOnly: readOnly
3335
- }), writeOnly !== undefined && {
3336
- writeOnly: writeOnly
3337
- }), examples !== undefined && {
3338
- examples: examples
3339
- }), defaultValue !== undefined && {
3340
- default: defaultValue
3341
- });
3239
+ var lodash_1 = __webpack_require__(2); // included for backwards compatibility
3342
3240
 
3343
- if (type === 'object') {
3344
- enhancedOptionsSchema[key] = Object.assign(Object.assign(Object.assign(Object.assign({}, remainingSchemaEntry), annotations), {
3345
- type: type
3346
- }), properties && {
3347
- properties: enhanceOptionsSchemaWithDynamicOptions(properties)
3348
- });
3349
3241
 
3350
- if (patternProperties) {
3351
- var enhancedPatternProperties = {};
3352
- Object.keys(patternProperties).forEach(function (opt) {
3353
- enhancedPatternProperties = Object.assign(Object.assign({}, enhancedPatternProperties), enhanceOptionsSchemaWithDynamicOptions(_defineProperty({}, opt, patternProperties[opt])));
3354
- });
3355
- enhancedOptionsSchema[key].patternProperties = enhancedPatternProperties;
3356
- }
3357
- } else {
3358
- enhancedOptionsSchema[key] = Object.assign(Object.assign({}, annotations), {
3359
- anyOf: [Object.assign(Object.assign({}, type !== undefined && {
3360
- type: type
3361
- }), remainingSchemaEntry), dynamicOptionsDSLType]
3362
- });
3363
- }
3364
- });
3365
- return enhancedOptionsSchema;
3366
- }
3242
+ var visualization_schemas_1 = __webpack_require__(9);
3367
3243
 
3368
- exports.enhanceOptionsSchemaWithDynamicOptions = enhanceOptionsSchemaWithDynamicOptions;
3244
+ Object.defineProperty(exports, "enhanceOptionsSchemaWithDynamicOptions", {
3245
+ enumerable: true,
3246
+ get: function get() {
3247
+ return visualization_schemas_1.enhanceOptionsSchemaWithDynamicOptions;
3248
+ }
3249
+ });
3369
3250
  /**
3370
3251
  * Helper function to enhance a Visualization Config as needed based on behaviors specified in supports block
3371
3252
  * this function also collapse all editor panels
@@ -3376,11 +3257,6 @@ exports.enhanceOptionsSchemaWithDynamicOptions = enhanceOptionsSchemaWithDynamic
3376
3257
 
3377
3258
  function enhanceConfig(vizConfig) {
3378
3259
  var enhancedConfig = Object.assign({}, vizConfig);
3379
-
3380
- if (vizConfig.supports.indexOf(VizBehavior_1.VizBehavior.DYNAMIC_OPTIONS) !== -1) {
3381
- enhancedConfig.optionsSchema = enhanceOptionsSchemaWithDynamicOptions(vizConfig.optionsSchema);
3382
- }
3383
-
3384
3260
  enhancedConfig.editorConfig = vizConfig.editorConfig.map(function (config) {
3385
3261
  return Object.assign(Object.assign({}, config), {
3386
3262
  open: config.open || false
@@ -3504,49 +3380,49 @@ exports.insertLayout = insertLayout;
3504
3380
 
3505
3381
  /***/ }),
3506
3382
 
3507
- /***/ 28:
3383
+ /***/ 27:
3508
3384
  /***/ (function(module, exports) {
3509
3385
 
3510
3386
  module.exports = require("@splunk/visualization-context/FeatureFlagContext");
3511
3387
 
3512
3388
  /***/ }),
3513
3389
 
3514
- /***/ 29:
3390
+ /***/ 28:
3515
3391
  /***/ (function(module, exports) {
3516
3392
 
3517
3393
  module.exports = require("@splunk/visualizations-shared/configUtils");
3518
3394
 
3519
3395
  /***/ }),
3520
3396
 
3521
- /***/ 3:
3397
+ /***/ 29:
3522
3398
  /***/ (function(module, exports) {
3523
3399
 
3524
- module.exports = require("lodash");
3400
+ module.exports = require("@splunk/themes/pick");
3525
3401
 
3526
3402
  /***/ }),
3527
3403
 
3528
- /***/ 30:
3404
+ /***/ 3:
3529
3405
  /***/ (function(module, exports) {
3530
3406
 
3531
- module.exports = require("@splunk/themes/pick");
3407
+ module.exports = require("@splunk/ui-utils/i18n");
3532
3408
 
3533
3409
  /***/ }),
3534
3410
 
3535
- /***/ 31:
3411
+ /***/ 30:
3536
3412
  /***/ (function(module, exports) {
3537
3413
 
3538
3414
  module.exports = require("@splunk/ui-utils/id");
3539
3415
 
3540
3416
  /***/ }),
3541
3417
 
3542
- /***/ 32:
3418
+ /***/ 31:
3543
3419
  /***/ (function(module, exports) {
3544
3420
 
3545
3421
  module.exports = require("@splunk/visualization-context/TimezoneContext");
3546
3422
 
3547
3423
  /***/ }),
3548
3424
 
3549
- /***/ 33:
3425
+ /***/ 32:
3550
3426
  /***/ (function(module, exports, __webpack_require__) {
3551
3427
 
3552
3428
  "use strict";
@@ -3556,7 +3432,7 @@ Object.defineProperty(exports, "__esModule", {
3556
3432
  value: true
3557
3433
  });
3558
3434
 
3559
- var react_1 = __webpack_require__(0);
3435
+ var react_1 = __webpack_require__(1);
3560
3436
 
3561
3437
  function usePrevious(value) {
3562
3438
  var ref = (0, react_1.useRef)();
@@ -3570,28 +3446,28 @@ exports.default = usePrevious;
3570
3446
 
3571
3447
  /***/ }),
3572
3448
 
3573
- /***/ 34:
3449
+ /***/ 33:
3574
3450
  /***/ (function(module, exports) {
3575
3451
 
3576
3452
  module.exports = require("@splunk/visualizations-shared/hocUtils");
3577
3453
 
3578
3454
  /***/ }),
3579
3455
 
3580
- /***/ 35:
3456
+ /***/ 34:
3581
3457
  /***/ (function(module, exports) {
3582
3458
 
3583
3459
  module.exports = require("@splunk/visualizations-shared/JSONSchemaUtils");
3584
3460
 
3585
3461
  /***/ }),
3586
3462
 
3587
- /***/ 36:
3463
+ /***/ 35:
3588
3464
  /***/ (function(module, exports) {
3589
3465
 
3590
3466
  module.exports = require("@splunk/visualizations-shared/propUtils");
3591
3467
 
3592
3468
  /***/ }),
3593
3469
 
3594
- /***/ 37:
3470
+ /***/ 36:
3595
3471
  /***/ (function(module, exports, __webpack_require__) {
3596
3472
 
3597
3473
  "use strict";
@@ -3602,15 +3478,15 @@ Object.defineProperty(exports, "__esModule", {
3602
3478
  });
3603
3479
  exports.shouldShowIconPlaceholder = void 0;
3604
3480
 
3605
- var React = __webpack_require__(0);
3481
+ var React = __webpack_require__(1);
3606
3482
 
3607
- var T = __webpack_require__(1);
3483
+ var T = __webpack_require__(0);
3608
3484
 
3609
- var lodash_1 = __webpack_require__(3);
3485
+ var lodash_1 = __webpack_require__(2);
3610
3486
 
3611
- var i18n_1 = __webpack_require__(2);
3487
+ var i18n_1 = __webpack_require__(3);
3612
3488
 
3613
- var Message_1 = __webpack_require__(12);
3489
+ var Message_1 = __webpack_require__(11);
3614
3490
 
3615
3491
  var FixedSizeContainer_1 = __webpack_require__(17);
3616
3492
  /**
@@ -3684,24 +3560,24 @@ exports.default = (0, FixedSizeContainer_1.default)(IconPlaceholder);
3684
3560
 
3685
3561
  /***/ }),
3686
3562
 
3687
- /***/ 38:
3563
+ /***/ 37:
3688
3564
  /***/ (function(module, exports, __webpack_require__) {
3689
3565
 
3690
3566
  "use strict";
3691
3567
 
3692
3568
 
3693
- var _defineProperty = __webpack_require__(9);
3569
+ var _defineProperty = __webpack_require__(12);
3694
3570
 
3695
3571
  Object.defineProperty(exports, "__esModule", {
3696
3572
  value: true
3697
3573
  });
3698
3574
  exports.getSortingParams = exports.SortParamsPropTypes = void 0;
3699
3575
 
3700
- var T = __webpack_require__(1);
3576
+ var T = __webpack_require__(0);
3701
3577
 
3702
- var lodash_1 = __webpack_require__(3);
3578
+ var lodash_1 = __webpack_require__(2);
3703
3579
 
3704
- var DataSource_1 = __webpack_require__(19);
3580
+ var DataSource_1 = __webpack_require__(20);
3705
3581
 
3706
3582
  exports.SortParamsPropTypes = T.shape({
3707
3583
  currentSortKey: T.string,
@@ -3755,7 +3631,7 @@ exports.getSortingParams = getSortingParams;
3755
3631
 
3756
3632
  /***/ }),
3757
3633
 
3758
- /***/ 39:
3634
+ /***/ 38:
3759
3635
  /***/ (function(module, exports, __webpack_require__) {
3760
3636
 
3761
3637
  "use strict";
@@ -3766,9 +3642,9 @@ Object.defineProperty(exports, "__esModule", {
3766
3642
  });
3767
3643
  exports.getPaginationParams = exports.PaginatorParamsPropTypes = void 0;
3768
3644
 
3769
- var T = __webpack_require__(1);
3645
+ var T = __webpack_require__(0);
3770
3646
 
3771
- var lodash_1 = __webpack_require__(3);
3647
+ var lodash_1 = __webpack_require__(2);
3772
3648
 
3773
3649
  exports.PaginatorParamsPropTypes = T.shape({
3774
3650
  isPaging: T.bool,
@@ -3820,14 +3696,7 @@ exports.getPaginationParams = getPaginationParams;
3820
3696
 
3821
3697
  /***/ }),
3822
3698
 
3823
- /***/ 4:
3824
- /***/ (function(module, exports) {
3825
-
3826
- module.exports = require("styled-components");
3827
-
3828
- /***/ }),
3829
-
3830
- /***/ 40:
3699
+ /***/ 39:
3831
3700
  /***/ (function(module, exports, __webpack_require__) {
3832
3701
 
3833
3702
  "use strict";
@@ -3862,11 +3731,13 @@ Object.defineProperty(exports, "__esModule", {
3862
3731
  value: true
3863
3732
  });
3864
3733
 
3734
+ __exportStar(__webpack_require__(40), exports);
3735
+
3865
3736
  __exportStar(__webpack_require__(41), exports);
3866
3737
 
3867
- __exportStar(__webpack_require__(42), exports);
3738
+ __exportStar(__webpack_require__(20), exports);
3868
3739
 
3869
- __exportStar(__webpack_require__(19), exports);
3740
+ __exportStar(__webpack_require__(42), exports);
3870
3741
 
3871
3742
  __exportStar(__webpack_require__(43), exports);
3872
3743
 
@@ -3878,16 +3749,16 @@ __exportStar(__webpack_require__(46), exports);
3878
3749
 
3879
3750
  __exportStar(__webpack_require__(47), exports);
3880
3751
 
3881
- __exportStar(__webpack_require__(48), exports);
3882
-
3883
- __exportStar(__webpack_require__(49), exports);
3884
-
3885
3752
  __exportStar(__webpack_require__(21), exports);
3886
3753
 
3887
- __exportStar(__webpack_require__(6), exports);
3754
+ __exportStar(__webpack_require__(7), exports);
3888
3755
 
3889
3756
  __exportStar(__webpack_require__(22), exports);
3890
3757
 
3758
+ __exportStar(__webpack_require__(48), exports);
3759
+
3760
+ __exportStar(__webpack_require__(49), exports);
3761
+
3891
3762
  __exportStar(__webpack_require__(50), exports);
3892
3763
 
3893
3764
  __exportStar(__webpack_require__(51), exports);
@@ -3896,13 +3767,16 @@ __exportStar(__webpack_require__(52), exports);
3896
3767
 
3897
3768
  __exportStar(__webpack_require__(53), exports);
3898
3769
 
3899
- __exportStar(__webpack_require__(54), exports);
3770
+ /***/ }),
3900
3771
 
3901
- __exportStar(__webpack_require__(55), exports);
3772
+ /***/ 4:
3773
+ /***/ (function(module, exports) {
3774
+
3775
+ module.exports = require("styled-components");
3902
3776
 
3903
3777
  /***/ }),
3904
3778
 
3905
- /***/ 41:
3779
+ /***/ 40:
3906
3780
  /***/ (function(module, exports, __webpack_require__) {
3907
3781
 
3908
3782
  "use strict";
@@ -3914,7 +3788,7 @@ Object.defineProperty(exports, "__esModule", {
3914
3788
 
3915
3789
  /***/ }),
3916
3790
 
3917
- /***/ 42:
3791
+ /***/ 41:
3918
3792
  /***/ (function(module, exports, __webpack_require__) {
3919
3793
 
3920
3794
  "use strict";
@@ -3929,7 +3803,7 @@ Object.defineProperty(exports, "__esModule", {
3929
3803
 
3930
3804
  /***/ }),
3931
3805
 
3932
- /***/ 43:
3806
+ /***/ 42:
3933
3807
  /***/ (function(module, exports, __webpack_require__) {
3934
3808
 
3935
3809
  "use strict";
@@ -3941,7 +3815,7 @@ Object.defineProperty(exports, "__esModule", {
3941
3815
 
3942
3816
  /***/ }),
3943
3817
 
3944
- /***/ 44:
3818
+ /***/ 43:
3945
3819
  /***/ (function(module, exports, __webpack_require__) {
3946
3820
 
3947
3821
  "use strict";
@@ -3953,7 +3827,7 @@ Object.defineProperty(exports, "__esModule", {
3953
3827
 
3954
3828
  /***/ }),
3955
3829
 
3956
- /***/ 45:
3830
+ /***/ 44:
3957
3831
  /***/ (function(module, exports, __webpack_require__) {
3958
3832
 
3959
3833
  "use strict";
@@ -3965,7 +3839,7 @@ Object.defineProperty(exports, "__esModule", {
3965
3839
 
3966
3840
  /***/ }),
3967
3841
 
3968
- /***/ 46:
3842
+ /***/ 45:
3969
3843
  /***/ (function(module, exports, __webpack_require__) {
3970
3844
 
3971
3845
  "use strict";
@@ -3977,7 +3851,7 @@ Object.defineProperty(exports, "__esModule", {
3977
3851
 
3978
3852
  /***/ }),
3979
3853
 
3980
- /***/ 47:
3854
+ /***/ 46:
3981
3855
  /***/ (function(module, exports, __webpack_require__) {
3982
3856
 
3983
3857
  "use strict";
@@ -3989,7 +3863,7 @@ Object.defineProperty(exports, "__esModule", {
3989
3863
 
3990
3864
  /***/ }),
3991
3865
 
3992
- /***/ 48:
3866
+ /***/ 47:
3993
3867
  /***/ (function(module, exports, __webpack_require__) {
3994
3868
 
3995
3869
  "use strict";
@@ -4001,7 +3875,7 @@ Object.defineProperty(exports, "__esModule", {
4001
3875
 
4002
3876
  /***/ }),
4003
3877
 
4004
- /***/ 49:
3878
+ /***/ 48:
4005
3879
  /***/ (function(module, exports, __webpack_require__) {
4006
3880
 
4007
3881
  "use strict";
@@ -4013,7 +3887,7 @@ Object.defineProperty(exports, "__esModule", {
4013
3887
 
4014
3888
  /***/ }),
4015
3889
 
4016
- /***/ 492:
3890
+ /***/ 480:
4017
3891
  /***/ (function(module, exports, __webpack_require__) {
4018
3892
 
4019
3893
  "use strict";
@@ -4024,19 +3898,19 @@ Object.defineProperty(exports, "__esModule", {
4024
3898
  });
4025
3899
  exports.themes = exports.computeVizProps = exports.PureSingleValueIcon = exports.config = void 0;
4026
3900
 
4027
- var React = __webpack_require__(0);
3901
+ var React = __webpack_require__(1);
4028
3902
 
4029
- var RemoteIcon_1 = __webpack_require__(493);
3903
+ var RemoteIcon_1 = __webpack_require__(481);
4030
3904
 
4031
- var iconUtils_1 = __webpack_require__(494);
3905
+ var iconUtils_1 = __webpack_require__(482);
4032
3906
 
4033
- var SingleValueIcon_1 = __webpack_require__(515);
3907
+ var SingleValueIcon_1 = __webpack_require__(503);
4034
3908
 
4035
- var withDashboardViz_1 = __webpack_require__(56);
3909
+ var withDashboardViz_1 = __webpack_require__(54);
4036
3910
 
4037
- var config_1 = __webpack_require__(495);
3911
+ var config_1 = __webpack_require__(483);
4038
3912
 
4039
- var withTrellis_1 = __webpack_require__(129);
3913
+ var withTrellis_1 = __webpack_require__(127);
4040
3914
 
4041
3915
  exports.config = config_1.default;
4042
3916
  exports.PureSingleValueIcon = SingleValueIcon_1.default;
@@ -4076,72 +3950,70 @@ exports.default = viz;
4076
3950
 
4077
3951
  /***/ }),
4078
3952
 
4079
- /***/ 493:
3953
+ /***/ 481:
4080
3954
  /***/ (function(module, exports) {
4081
3955
 
4082
3956
  module.exports = require("@splunk/visualizations-shared/RemoteIcon");
4083
3957
 
4084
3958
  /***/ }),
4085
3959
 
4086
- /***/ 494:
3960
+ /***/ 482:
4087
3961
  /***/ (function(module, exports) {
4088
3962
 
4089
3963
  module.exports = require("@splunk/visualizations-shared/iconUtils");
4090
3964
 
4091
3965
  /***/ }),
4092
3966
 
4093
- /***/ 495:
3967
+ /***/ 483:
4094
3968
  /***/ (function(module, exports, __webpack_require__) {
4095
3969
 
4096
3970
  "use strict";
4097
3971
 
4098
3972
 
4099
- var _toConsumableArray = __webpack_require__(8);
3973
+ var _toConsumableArray = __webpack_require__(6);
4100
3974
 
4101
3975
  Object.defineProperty(exports, "__esModule", {
4102
3976
  value: true
4103
3977
  });
4104
3978
 
4105
- var i18n_1 = __webpack_require__(2);
3979
+ var i18n_1 = __webpack_require__(3);
4106
3980
 
4107
- var schemaUtils_1 = __webpack_require__(24);
3981
+ var visualization_schemas_1 = __webpack_require__(9);
4108
3982
 
4109
- var PresetPalettes_1 = __webpack_require__(83);
3983
+ var PresetPalettes_1 = __webpack_require__(80);
4110
3984
 
4111
- var pick_1 = __webpack_require__(30);
3985
+ var pick_1 = __webpack_require__(29);
4112
3986
 
4113
3987
  var variables_1 = __webpack_require__(13);
4114
3988
 
4115
- var configUtils_1 = __webpack_require__(29);
3989
+ var configUtils_1 = __webpack_require__(28);
4116
3990
 
4117
- var singleValueContext_1 = __webpack_require__(157);
3991
+ var singleValueContext_1 = __webpack_require__(153);
4118
3992
 
4119
- var StaticMajorAndTrendLayout_1 = __webpack_require__(125);
3993
+ var StaticMajorAndTrendLayout_1 = __webpack_require__(123);
4120
3994
 
4121
- var StaticBackgroundColorEditor_1 = __webpack_require__(114);
3995
+ var StaticBackgroundColorEditor_1 = __webpack_require__(111);
4122
3996
 
4123
- var StaticIconColorEditor_1 = __webpack_require__(496);
3997
+ var StaticIconColorEditor_1 = __webpack_require__(484);
4124
3998
 
4125
- var StaticMajorColorEditor_1 = __webpack_require__(126);
3999
+ var StaticMajorColorEditor_1 = __webpack_require__(124);
4126
4000
 
4127
- var StaticTrendColorEditor_1 = __webpack_require__(127);
4001
+ var StaticTrendColorEditor_1 = __webpack_require__(125);
4128
4002
 
4129
- var DynamicMajorColorEditor_1 = __webpack_require__(158);
4003
+ var DynamicMajorColorEditor_1 = __webpack_require__(154);
4130
4004
 
4131
- var DynamicTrendColorEditor_1 = __webpack_require__(123);
4005
+ var DynamicTrendColorEditor_1 = __webpack_require__(121);
4132
4006
 
4133
- var DynamicBackgroundColorEditor_1 = __webpack_require__(124);
4007
+ var DynamicBackgroundColorEditor_1 = __webpack_require__(122);
4134
4008
 
4135
- var TrellisEditors_1 = __webpack_require__(128);
4009
+ var TrellisEditors_1 = __webpack_require__(126);
4136
4010
 
4137
- var VizBehavior_1 = __webpack_require__(6);
4011
+ var VizBehavior_1 = __webpack_require__(7);
4138
4012
 
4139
- var configUtils_2 = __webpack_require__(27);
4013
+ var configUtils_2 = __webpack_require__(26);
4140
4014
 
4141
4015
  var VizCategory_1 = __webpack_require__(22);
4142
4016
 
4143
- var layoutUtils_1 = __webpack_require__(80);
4144
-
4145
4017
  var dataContract = {
4146
4018
  requiredDataSources: [{
4147
4019
  name: 'primary',
@@ -4159,158 +4031,6 @@ var size = {
4159
4031
  initialWidth: 250,
4160
4032
  initialHeight: 250
4161
4033
  };
4162
- var optionsSchema = {
4163
- align: {
4164
- default: 'center',
4165
- description: 'Specify how to align the center content.',
4166
- pattern: (0, schemaUtils_1.getPattern)(['left', 'center', 'right']),
4167
- type: 'string'
4168
- },
4169
- backgroundColor: {
4170
- default: 'transparent',
4171
- description: 'Specify the color for the background. You may use a dataSource to apply the color. The hex value format should be “#FFFFFF”.',
4172
- pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA,
4173
- type: 'string'
4174
- },
4175
- icon: {
4176
- default: 'default',
4177
- description: 'Specify an icon.',
4178
- type: 'string'
4179
- },
4180
- iconColor: {
4181
- default: null,
4182
- description: 'Specify the color for the icon. You may use a dataSource to apply the color. The hex value format should be “#FFFFFF”. The default for enterprise light is "#000000". The default for enterprise dark is "#ffffff". The default for prisma dark is "rgba(255, 255, 255, 0.98)".',
4183
- pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA,
4184
- type: 'string'
4185
- },
4186
- iconOpacity: {
4187
- default: 1,
4188
- description: 'Specify the opacity for the icon using a number between 0 and 1 (inclusive).',
4189
- type: 'number'
4190
- },
4191
- iconPosition: {
4192
- default: 'before',
4193
- description: 'Specify where to display the icon in relation to the major value.',
4194
- type: 'string'
4195
- },
4196
- majorColor: {
4197
- default: '> themes.defaultFontColor',
4198
- description: 'Specify the color for the major value. You may use a dataSource to apply the color. The hex value format should be “#FFFFFF”. The default for enterprise light is "#000000". The default for enterprise dark is "#ffffff". The default for prisma dark is "rgba(255, 255, 255, 0.98)".',
4199
- pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA,
4200
- type: 'string'
4201
- },
4202
- majorFontSize: {
4203
- description: 'Specify the font size (px) for the major value. By default the major value font size is calculated dynamically based on the available space.',
4204
- type: 'number'
4205
- },
4206
- majorValue: {
4207
- default: '> primary|seriesByPrioritizedTypes("number", "string", "time")|lastPoint()',
4208
- description: 'The major value to display in the visualization.',
4209
- type: ['string', 'number']
4210
- },
4211
- majorValueField: {
4212
- default: '> majorValue | getField()',
4213
- description: 'The field name of major value.',
4214
- type: 'string'
4215
- },
4216
- numberPrecision: {
4217
- default: 0,
4218
- maximum: 20,
4219
- minimum: 0,
4220
- description: 'Specify the number of decimal places to display. For example, to display 3 decimal places, use a value of 3. Values can range from 0 to 20.',
4221
- type: 'number'
4222
- },
4223
- shouldAbbreviateTrendValue: {
4224
- default: false,
4225
- description: 'Specify whether to abbreviate the trend value to 2 decimal points. A magnitude unit will be displayed.',
4226
- type: 'boolean'
4227
- },
4228
- shouldUseThousandSeparators: {
4229
- default: true,
4230
- description: 'Specify whether numeric values use commas as thousandths separators.',
4231
- type: 'boolean'
4232
- },
4233
- showValue: {
4234
- default: true,
4235
- description: 'Specify whether to enable or disable the value and trend indicator displays.',
4236
- type: 'boolean'
4237
- },
4238
- splitByLayout: {
4239
- default: 'off',
4240
- description: 'Specify the layout method by which to display the visualization, which splits the data into individual visualizations based on a certain category.',
4241
- type: 'string',
4242
- pattern: (0, schemaUtils_1.getPattern)([layoutUtils_1.LAYOUT_TYPE.Off, layoutUtils_1.LAYOUT_TYPE.Trellis]),
4243
- enum: [layoutUtils_1.LAYOUT_TYPE.Off, layoutUtils_1.LAYOUT_TYPE.Trellis]
4244
- },
4245
- trendColor: {
4246
- default: '> themes.defaultFontColor',
4247
- description: 'Specify the color for the trend value. You may use a dataSource to apply the color. The hex value format should be “#FFFFFF”. The default for enterprise light is "#000000". The default for enterprise dark is "#ffffff". The default for prisma dark is "rgba(255, 255, 255, 0.98)".',
4248
- pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA,
4249
- type: 'string'
4250
- },
4251
- trendDisplay: {
4252
- default: 'absolute',
4253
- description: 'Specify whether the trend value is displayed as a percentage or an absolute count.',
4254
- pattern: (0, schemaUtils_1.getPattern)(['off', 'percent', 'absolute']),
4255
- type: 'string'
4256
- },
4257
- trendFontSize: {
4258
- description: 'Specify the font size (px) for the trend value. By default the trend value font size is calculated dynamically based on the available space.',
4259
- type: 'number'
4260
- },
4261
- trendValue: {
4262
- default: '> primary|seriesByPrioritizedTypes("number", "string", "time")|delta(-2)',
4263
- description: 'The trend value to display in the visualization.',
4264
- type: 'number'
4265
- },
4266
- trellisBackgroundColor: {
4267
- default: '> themes.defaultBackgroundColor',
4268
- description: 'Specify the color used for the trellis container background by using a hexadecimal code. For example, #0000FF.',
4269
- pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA,
4270
- type: 'string'
4271
- },
4272
- trellisColumns: {
4273
- description: 'Specify the number of visualizations to display in a given row of the trellis container. The remaining visualizations will wrap accordingly. If nothing is specified, it will be auto-set based on the trellisMinColumnWidth. The minimum value is 1.',
4274
- type: 'number',
4275
- minimum: 1
4276
- },
4277
- trellisMinColumnWidth: {
4278
- default: 100,
4279
- minimum: 1,
4280
- description: 'Specify the minimum width, in pixels, of each visualization in the trellis container. If the window or panel is resized, the remaining visualizations may be viewed by scrolling. The minimum value is 1.',
4281
- type: 'number'
4282
- },
4283
- trellisPageCount: {
4284
- default: 20,
4285
- minimum: 1,
4286
- description: 'Specify the maximum number of visualizations to display in a single page in the trellis container. The remaining visualizations will paginate accordingly. The minimum value is 1.',
4287
- type: 'number'
4288
- },
4289
- trellisRowHeight: {
4290
- default: 70,
4291
- minimum: 1,
4292
- description: 'Specify the height, in pixels, of each visualization in the trellis container. If the window or panel is resized, the remaining visualizations may be viewed by scrolling. The minimum value is 1.',
4293
- type: 'number'
4294
- },
4295
- trellisSplitBy: {
4296
- description: 'Specify the field name of the column with categories used, or “aggregations”, to split the data into individual visualizations for trellis display, if applicable. If a SPL `timechart` command is used, this may default to the SPL `by` clause field. If a SPL `chart` command is used, this may default to the first string field.',
4297
- type: 'string'
4298
- },
4299
- underLabel: {
4300
- description: 'Specify the text that appears below the major value.',
4301
- type: 'string'
4302
- },
4303
- unit: {
4304
- description: 'Specify text to show next to the major value.',
4305
- type: 'string'
4306
- },
4307
- unitPosition: {
4308
- default: 'after',
4309
- description: 'Specify whether the unit text should appear before or after the major value.',
4310
- pattern: (0, schemaUtils_1.getPattern)(['before', 'after']),
4311
- type: 'string'
4312
- }
4313
- };
4314
4034
  var basePresetContext = {
4315
4035
  iconColorEditorConfig: undefined,
4316
4036
  majorColorEditorConfig: undefined,
@@ -4434,7 +4154,7 @@ var editorConfig = [{
4434
4154
  },
4435
4155
  isDisabled: function isDisabled(_ref) {
4436
4156
  var options = _ref.options;
4437
- return options.splitByLayout === layoutUtils_1.LAYOUT_TYPE.Trellis;
4157
+ return options.splitByLayout === visualization_schemas_1.LAYOUT_TYPE.Trellis;
4438
4158
  }
4439
4159
  }]]
4440
4160
  }, {
@@ -4567,6 +4287,14 @@ var editorConfig = [{
4567
4287
  var options = _ref7.options;
4568
4288
  return options.trendDisplay === 'off';
4569
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'
4570
4298
  }], [{
4571
4299
  label: (0, i18n_1._)('Alignment'),
4572
4300
  editor: 'editor.radioBar',
@@ -4612,7 +4340,7 @@ var config = {
4612
4340
  dataContract: dataContract,
4613
4341
  size: size,
4614
4342
  defaultContext: singleValueContext_1.defaultContext,
4615
- optionsSchema: optionsSchema,
4343
+ optionsSchema: visualization_schemas_1.singleValueIconOptionsSchema,
4616
4344
  editorConfig: editorConfig,
4617
4345
  events: {
4618
4346
  'value.click': {
@@ -4627,18 +4355,18 @@ exports.default = (0, configUtils_2.enhanceConfig)(config);
4627
4355
 
4628
4356
  /***/ }),
4629
4357
 
4630
- /***/ 496:
4358
+ /***/ 484:
4631
4359
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
4632
4360
 
4633
4361
  "use strict";
4634
4362
  __webpack_require__.r(__webpack_exports__);
4635
- /* harmony import */ var _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8);
4363
+ /* harmony import */ var _babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6);
4636
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__);
4637
- /* 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);
4638
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__);
4639
- /* harmony import */ var _splunk_visualizations_shared_colorConstants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(71);
4367
+ /* harmony import */ var _splunk_visualizations_shared_colorConstants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(69);
4640
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__);
4641
- /* 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);
4642
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__);
4643
4371
 
4644
4372
 
@@ -4662,7 +4390,7 @@ var StaticIconColorEditor = [{
4662
4390
 
4663
4391
  /***/ }),
4664
4392
 
4665
- /***/ 50:
4393
+ /***/ 49:
4666
4394
  /***/ (function(module, exports, __webpack_require__) {
4667
4395
 
4668
4396
  "use strict";
@@ -4674,7 +4402,14 @@ Object.defineProperty(exports, "__esModule", {
4674
4402
 
4675
4403
  /***/ }),
4676
4404
 
4677
- /***/ 51:
4405
+ /***/ 5:
4406
+ /***/ (function(module, exports) {
4407
+
4408
+ module.exports = require("@babel/runtime/helpers/slicedToArray");
4409
+
4410
+ /***/ }),
4411
+
4412
+ /***/ 50:
4678
4413
  /***/ (function(module, exports, __webpack_require__) {
4679
4414
 
4680
4415
  "use strict";
@@ -4686,7 +4421,7 @@ Object.defineProperty(exports, "__esModule", {
4686
4421
 
4687
4422
  /***/ }),
4688
4423
 
4689
- /***/ 515:
4424
+ /***/ 503:
4690
4425
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
4691
4426
 
4692
4427
  "use strict";
@@ -4694,19 +4429,19 @@ Object.defineProperty(exports, "__esModule", {
4694
4429
  __webpack_require__.r(__webpack_exports__);
4695
4430
 
4696
4431
  // EXTERNAL MODULE: external "@babel/runtime/helpers/slicedToArray"
4697
- var slicedToArray_ = __webpack_require__(7);
4432
+ var slicedToArray_ = __webpack_require__(5);
4698
4433
  var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray_);
4699
4434
 
4700
4435
  // EXTERNAL MODULE: external "@babel/runtime/helpers/extends"
4701
- var extends_ = __webpack_require__(70);
4436
+ var extends_ = __webpack_require__(68);
4702
4437
  var extends_default = /*#__PURE__*/__webpack_require__.n(extends_);
4703
4438
 
4704
4439
  // EXTERNAL MODULE: external "react"
4705
- var external_react_ = __webpack_require__(0);
4440
+ var external_react_ = __webpack_require__(1);
4706
4441
  var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
4707
4442
 
4708
4443
  // EXTERNAL MODULE: external "prop-types"
4709
- var external_prop_types_ = __webpack_require__(1);
4444
+ var external_prop_types_ = __webpack_require__(0);
4710
4445
  var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_prop_types_);
4711
4446
 
4712
4447
  // EXTERNAL MODULE: external "styled-components"
@@ -4714,70 +4449,70 @@ var external_styled_components_ = __webpack_require__(4);
4714
4449
  var external_styled_components_default = /*#__PURE__*/__webpack_require__.n(external_styled_components_);
4715
4450
 
4716
4451
  // EXTERNAL MODULE: external "lodash/pick"
4717
- var pick_ = __webpack_require__(131);
4452
+ var pick_ = __webpack_require__(129);
4718
4453
  var pick_default = /*#__PURE__*/__webpack_require__.n(pick_);
4719
4454
 
4720
4455
  // EXTERNAL MODULE: external "lodash/isEmpty"
4721
- var isEmpty_ = __webpack_require__(132);
4456
+ var isEmpty_ = __webpack_require__(130);
4722
4457
  var isEmpty_default = /*#__PURE__*/__webpack_require__.n(isEmpty_);
4723
4458
 
4724
4459
  // EXTERNAL MODULE: external "@splunk/visualization-context/FeatureFlagContext"
4725
- var FeatureFlagContext_ = __webpack_require__(28);
4460
+ var FeatureFlagContext_ = __webpack_require__(27);
4726
4461
  var FeatureFlagContext_default = /*#__PURE__*/__webpack_require__.n(FeatureFlagContext_);
4727
4462
 
4463
+ // EXTERNAL MODULE: external "@splunk/visualization-schemas"
4464
+ var visualization_schemas_ = __webpack_require__(9);
4465
+
4728
4466
  // EXTERNAL MODULE: external "@splunk/visualizations-shared/style"
4729
4467
  var style_ = __webpack_require__(18);
4730
4468
 
4731
4469
  // EXTERNAL MODULE: external "@splunk/ui-utils/i18n"
4732
- var i18n_ = __webpack_require__(2);
4470
+ var i18n_ = __webpack_require__(3);
4733
4471
 
4734
4472
  // EXTERNAL MODULE: external "@splunk/visualizations-shared/SizeAwareWrapper"
4735
- var SizeAwareWrapper_ = __webpack_require__(26);
4473
+ var SizeAwareWrapper_ = __webpack_require__(25);
4736
4474
  var SizeAwareWrapper_default = /*#__PURE__*/__webpack_require__.n(SizeAwareWrapper_);
4737
4475
 
4738
4476
  // EXTERNAL MODULE: external "@splunk/visualizations-shared/Message"
4739
- var Message_ = __webpack_require__(12);
4477
+ var Message_ = __webpack_require__(11);
4740
4478
  var Message_default = /*#__PURE__*/__webpack_require__.n(Message_);
4741
4479
 
4742
4480
  // EXTERNAL MODULE: ./src/common/components/VizStyleWrapper.jsx
4743
- var VizStyleWrapper = __webpack_require__(96);
4481
+ var VizStyleWrapper = __webpack_require__(93);
4744
4482
 
4745
4483
  // EXTERNAL MODULE: ./src/common/components/TrellisTitle.tsx
4746
- var TrellisTitle = __webpack_require__(102);
4747
-
4748
- // EXTERNAL MODULE: ./src/common/utils/layoutUtils.ts
4749
- var layoutUtils = __webpack_require__(80);
4484
+ var TrellisTitle = __webpack_require__(99);
4750
4485
 
4751
4486
  // EXTERNAL MODULE: external "@babel/runtime/helpers/defineProperty"
4752
- var defineProperty_ = __webpack_require__(9);
4487
+ var defineProperty_ = __webpack_require__(12);
4753
4488
  var defineProperty_default = /*#__PURE__*/__webpack_require__.n(defineProperty_);
4754
4489
 
4755
4490
  // EXTERNAL MODULE: external "@splunk/visualizations/SingleValueBasic"
4756
- var SingleValueBasic_ = __webpack_require__(164);
4491
+ var SingleValueBasic_ = __webpack_require__(159);
4757
4492
  var SingleValueBasic_default = /*#__PURE__*/__webpack_require__.n(SingleValueBasic_);
4758
4493
 
4759
4494
  // EXTERNAL MODULE: external "@splunk/react-icons/enterprise/Activity"
4760
- var Activity_ = __webpack_require__(194);
4495
+ var Activity_ = __webpack_require__(188);
4761
4496
  var Activity_default = /*#__PURE__*/__webpack_require__.n(Activity_);
4762
4497
 
4763
4498
  // EXTERNAL MODULE: external "@splunk/react-icons/enterprise/Clock"
4764
- var Clock_ = __webpack_require__(195);
4499
+ var Clock_ = __webpack_require__(189);
4765
4500
  var Clock_default = /*#__PURE__*/__webpack_require__.n(Clock_);
4766
4501
 
4767
4502
  // EXTERNAL MODULE: external "@splunk/react-icons/enterprise/Pencil"
4768
- var Pencil_ = __webpack_require__(196);
4503
+ var Pencil_ = __webpack_require__(190);
4769
4504
  var Pencil_default = /*#__PURE__*/__webpack_require__.n(Pencil_);
4770
4505
 
4771
4506
  // EXTERNAL MODULE: external "@splunk/react-icons/enterprise/Star"
4772
- var Star_ = __webpack_require__(197);
4507
+ var Star_ = __webpack_require__(191);
4773
4508
  var Star_default = /*#__PURE__*/__webpack_require__.n(Star_);
4774
4509
 
4775
4510
  // EXTERNAL MODULE: external "@splunk/react-icons/enterprise/Question"
4776
- var Question_ = __webpack_require__(198);
4511
+ var Question_ = __webpack_require__(192);
4777
4512
  var Question_default = /*#__PURE__*/__webpack_require__.n(Question_);
4778
4513
 
4779
4514
  // EXTERNAL MODULE: ./src/common/utils/singleValueUtils.js
4780
- var singleValueUtils = __webpack_require__(20);
4515
+ var singleValueUtils = __webpack_require__(19);
4781
4516
 
4782
4517
  // CONCATENATED MODULE: ./src/SingleValueIcon/PureSingleValueIcon/utils/iconUtils.js
4783
4518
  // Todo: this will be replaced by IconLibrary.Registry
@@ -4947,7 +4682,7 @@ var StyledIconContainer = external_styled_components_default.a.div.attrs(functio
4947
4682
  };
4948
4683
  }).withConfig({
4949
4684
  displayName: "IconContainer__StyledIconContainer",
4950
- componentId: "veyyld-0"
4685
+ componentId: "sc-veyyld-0"
4951
4686
  })(["margin:0 3%;display:flex;flex-direction:row;align-items:center;justify-content:center;font-size:", "px;height:", "px;color:", ";opacity:", ";cursor:", ";"], function (props) {
4952
4687
  return props.fontSize;
4953
4688
  }, function (props) {
@@ -5049,17 +4784,17 @@ function _objectSpread(target) {
5049
4784
 
5050
4785
  var Column = external_styled_components_default.a.div.withConfig({
5051
4786
  displayName: "SingleValueIconLayout__Column",
5052
- componentId: "c8okr6-0"
4787
+ componentId: "sc-c8okr6-0"
5053
4788
  })(["display:flex;flex-direction:column;justify-content:center;height:100%;width:100%;"]);
5054
4789
  var IconRow = external_styled_components_default.a.div.withConfig({
5055
4790
  displayName: "SingleValueIconLayout__IconRow",
5056
- componentId: "c8okr6-1"
4791
+ componentId: "sc-c8okr6-1"
5057
4792
  })(["display:flex;flex-direction:row;justify-content:", ";height:100%;"], function (props) {
5058
4793
  return Object(singleValueUtils["getAligment"])(props.align);
5059
4794
  });
5060
4795
  var IconColumn = external_styled_components_default.a.div.withConfig({
5061
4796
  displayName: "SingleValueIconLayout__IconColumn",
5062
- componentId: "c8okr6-2"
4797
+ componentId: "sc-c8okr6-2"
5063
4798
  })(["display:flex;flex-direction:column;justify-content:", ";height:100%;"], function (props) {
5064
4799
  return Object(singleValueUtils["getAligment"])(props.align);
5065
4800
  });
@@ -5170,7 +4905,7 @@ SingleValueIconLayout_SingleValueIconLayout.propTypes = _objectSpread(_objectSpr
5170
4905
 
5171
4906
  var Container = external_styled_components_default.a.div.withConfig({
5172
4907
  displayName: "SingleValueIcon__Container",
5173
- componentId: "y660ip-0"
4908
+ componentId: "sc-y660ip-0"
5174
4909
  })(["overflow:hidden;", ";"], function (props) {
5175
4910
  return Object(style_["toDimension"])(pick_default()(props, ['width', 'height']));
5176
4911
  });
@@ -5191,6 +4926,7 @@ var SingleValueIcon_SingleValueIcon = function SingleValueIcon(_ref) {
5191
4926
  numberPrecision = props.numberPrecision,
5192
4927
  shouldUseThousandSeparators = props.shouldUseThousandSeparators,
5193
4928
  shouldAbbreviateTrendValue = props.shouldAbbreviateTrendValue,
4929
+ shouldAbbreviateMajorValue = props.shouldAbbreviateMajorValue,
5194
4930
  icon = props.icon,
5195
4931
  iconOpacity = props.iconOpacity,
5196
4932
  IconComponent = props.IconComponent,
@@ -5239,7 +4975,7 @@ var SingleValueIcon_SingleValueIcon = function SingleValueIcon(_ref) {
5239
4975
  });
5240
4976
  var featureFlagContext = external_react_default.a.useContext(FeatureFlagContext_default.a);
5241
4977
  var isTrellisFeatureFlagOn = Boolean(featureFlagContext && featureFlagContext.visualizations_enableTrellis);
5242
- var trellisEnabled = isTrellisFeatureFlagOn && splitByLayout === layoutUtils["LAYOUT_TYPE"].Trellis;
4978
+ var trellisEnabled = isTrellisFeatureFlagOn && splitByLayout === visualization_schemas_["LAYOUT_TYPE"].Trellis;
5243
4979
  var handleValueClick = Object(external_react_["useCallback"])(function (ev) {
5244
4980
  return Object(singleValueUtils["handleValueClickCallback"])(ev, majorValue, majorValueField, trendValue, onValueClick, trellisEnabled, trellisSplitBy, trellisKey);
5245
4981
  }, [onValueClick, majorValue, majorValueField, trendValue, trellisEnabled, trellisSplitBy, trellisKey]);
@@ -5348,6 +5084,7 @@ var SingleValueIcon_SingleValueIcon = function SingleValueIcon(_ref) {
5348
5084
  numberPrecision: numberPrecision,
5349
5085
  shouldUseThousandSeparators: shouldUseThousandSeparators,
5350
5086
  shouldAbbreviateTrendValue: shouldAbbreviateTrendValue,
5087
+ shouldAbbreviateMajorValue: shouldAbbreviateMajorValue,
5351
5088
  toRemoveList: toRemoveList
5352
5089
  }),
5353
5090
  majorText = _computeSingleValueCo.majorText,
@@ -5412,7 +5149,7 @@ var SingleValueIcon_SingleValueIcon = function SingleValueIcon(_ref) {
5412
5149
  }, IconLayout);
5413
5150
  };
5414
5151
 
5415
- if (isTrellisFeatureFlagOn && splitByLayout === layoutUtils["LAYOUT_TYPE"].Trellis) {
5152
+ if (isTrellisFeatureFlagOn && splitByLayout === visualization_schemas_["LAYOUT_TYPE"].Trellis) {
5416
5153
  return /*#__PURE__*/external_react_default.a.createElement(external_react_default.a.Fragment, null, /*#__PURE__*/external_react_default.a.createElement(TrellisTitle["TrellisTitle"], {
5417
5154
  fontColor: defaultFontColor,
5418
5155
  backgroundColor: backgroundColor,
@@ -5450,6 +5187,7 @@ SingleValueIcon_SingleValueIcon.propTypes = {
5450
5187
  trendFontSize: external_prop_types_default.a.number,
5451
5188
  trendDisplay: external_prop_types_default.a.oneOf(['absolute', 'percent', 'off']),
5452
5189
  shouldAbbreviateTrendValue: external_prop_types_default.a.bool,
5190
+ shouldAbbreviateMajorValue: external_prop_types_default.a.bool,
5453
5191
  backgroundColor: external_prop_types_default.a.string,
5454
5192
  unit: external_prop_types_default.a.string,
5455
5193
  unitPosition: external_prop_types_default.a.string,
@@ -5479,6 +5217,7 @@ SingleValueIcon_SingleValueIcon.defaultProps = {
5479
5217
  majorValueField: '',
5480
5218
  trendDisplay: 'absolute',
5481
5219
  shouldAbbreviateTrendValue: false,
5220
+ shouldAbbreviateMajorValue: false,
5482
5221
  numberPrecision: 0,
5483
5222
  shouldUseThousandSeparators: true,
5484
5223
  unitPosition: 'after',
@@ -5497,19 +5236,7 @@ SingleValueIcon_SingleValueIcon.defaultProps = {
5497
5236
 
5498
5237
  /***/ }),
5499
5238
 
5500
- /***/ 52:
5501
- /***/ (function(module, exports, __webpack_require__) {
5502
-
5503
- "use strict";
5504
-
5505
-
5506
- Object.defineProperty(exports, "__esModule", {
5507
- value: true
5508
- });
5509
-
5510
- /***/ }),
5511
-
5512
- /***/ 53:
5239
+ /***/ 51:
5513
5240
  /***/ (function(module, exports, __webpack_require__) {
5514
5241
 
5515
5242
  "use strict";
@@ -5521,7 +5248,7 @@ Object.defineProperty(exports, "__esModule", {
5521
5248
 
5522
5249
  /***/ }),
5523
5250
 
5524
- /***/ 54:
5251
+ /***/ 52:
5525
5252
  /***/ (function(module, exports, __webpack_require__) {
5526
5253
 
5527
5254
  "use strict";
@@ -5533,7 +5260,7 @@ Object.defineProperty(exports, "__esModule", {
5533
5260
 
5534
5261
  /***/ }),
5535
5262
 
5536
- /***/ 55:
5263
+ /***/ 53:
5537
5264
  /***/ (function(module, exports, __webpack_require__) {
5538
5265
 
5539
5266
  "use strict";
@@ -5545,65 +5272,65 @@ Object.defineProperty(exports, "__esModule", {
5545
5272
 
5546
5273
  /***/ }),
5547
5274
 
5548
- /***/ 56:
5275
+ /***/ 54:
5549
5276
  /***/ (function(module, exports, __webpack_require__) {
5550
5277
 
5551
5278
  "use strict";
5552
5279
 
5553
5280
 
5554
- var _slicedToArray = __webpack_require__(7);
5281
+ var _slicedToArray = __webpack_require__(5);
5555
5282
 
5556
5283
  Object.defineProperty(exports, "__esModule", {
5557
5284
  value: true
5558
5285
  });
5559
5286
 
5560
- var React = __webpack_require__(0);
5287
+ var React = __webpack_require__(1);
5561
5288
 
5562
- var lodash_1 = __webpack_require__(3);
5289
+ var lodash_1 = __webpack_require__(2);
5563
5290
 
5564
- var getSettingsFromThemedProps_1 = __webpack_require__(57);
5291
+ var getSettingsFromThemedProps_1 = __webpack_require__(55);
5565
5292
 
5566
5293
  var Options_1 = __webpack_require__(16);
5567
5294
 
5568
- var SanitizeProps_1 = __webpack_require__(58);
5295
+ var SanitizeProps_1 = __webpack_require__(56);
5569
5296
 
5570
- var TimezoneContext_1 = __webpack_require__(32);
5297
+ var TimezoneContext_1 = __webpack_require__(31);
5571
5298
 
5572
- var moment_1 = __webpack_require__(59);
5299
+ var moment_1 = __webpack_require__(57);
5573
5300
 
5574
- var FeatureFlagContext_1 = __webpack_require__(28);
5301
+ var FeatureFlagContext_1 = __webpack_require__(27);
5575
5302
 
5576
5303
  var styled_components_1 = __webpack_require__(4);
5577
5304
 
5578
- var hocUtils_1 = __webpack_require__(34);
5305
+ var hocUtils_1 = __webpack_require__(33);
5579
5306
 
5580
- var JSONSchemaUtils_1 = __webpack_require__(35);
5307
+ var JSONSchemaUtils_1 = __webpack_require__(34);
5581
5308
 
5582
- var async_dynamic_options_evaluator_1 = __webpack_require__(60);
5309
+ var async_dynamic_options_evaluator_1 = __webpack_require__(58);
5583
5310
 
5584
- var id_1 = __webpack_require__(31);
5311
+ var id_1 = __webpack_require__(30);
5585
5312
 
5586
- var SplunkVisualization_1 = __webpack_require__(61);
5313
+ var SplunkVisualization_1 = __webpack_require__(59);
5587
5314
 
5588
- var VizBehavior_1 = __webpack_require__(6);
5315
+ var VizBehavior_1 = __webpack_require__(7);
5589
5316
 
5590
- var getSorting_1 = __webpack_require__(38);
5317
+ var getSorting_1 = __webpack_require__(37);
5591
5318
 
5592
- var getPagination_1 = __webpack_require__(39);
5319
+ var getPagination_1 = __webpack_require__(38);
5593
5320
 
5594
- var useDeepMemo_1 = __webpack_require__(62);
5321
+ var useDeepMemo_1 = __webpack_require__(60);
5595
5322
 
5596
- var MissingPropsMessage_1 = __webpack_require__(63);
5323
+ var MissingPropsMessage_1 = __webpack_require__(61);
5597
5324
 
5598
- var withEditModeCover_1 = __webpack_require__(64);
5325
+ var withEditModeCover_1 = __webpack_require__(62);
5599
5326
 
5600
- var withPlaceholder_1 = __webpack_require__(65);
5327
+ var withPlaceholder_1 = __webpack_require__(63);
5601
5328
 
5602
- var useDownsampleDataSources_1 = __webpack_require__(66);
5329
+ var useDownsampleDataSources_1 = __webpack_require__(64);
5603
5330
 
5604
5331
  var dataUtils_1 = __webpack_require__(14);
5605
5332
 
5606
- var featureFlagUtils_1 = __webpack_require__(68);
5333
+ var featureFlagUtils_1 = __webpack_require__(66);
5607
5334
  /**
5608
5335
  * hoc that wraps a pure react visualization in a Dashboard visualization
5609
5336
  * @param {DashboardVizOpts} opts
@@ -5936,81 +5663,41 @@ exports.default = withDashboardViz;
5936
5663
 
5937
5664
  /***/ }),
5938
5665
 
5939
- /***/ 57:
5666
+ /***/ 55:
5940
5667
  /***/ (function(module, exports) {
5941
5668
 
5942
5669
  module.exports = require("@splunk/themes/getSettingsFromThemedProps");
5943
5670
 
5944
5671
  /***/ }),
5945
5672
 
5946
- /***/ 58:
5673
+ /***/ 56:
5947
5674
  /***/ (function(module, exports) {
5948
5675
 
5949
5676
  module.exports = require("@splunk/visualizations-shared/SanitizeProps");
5950
5677
 
5951
5678
  /***/ }),
5952
5679
 
5953
- /***/ 59:
5680
+ /***/ 57:
5954
5681
  /***/ (function(module, exports) {
5955
5682
 
5956
5683
  module.exports = require("@splunk/moment");
5957
5684
 
5958
5685
  /***/ }),
5959
5686
 
5960
- /***/ 6:
5961
- /***/ (function(module, exports, __webpack_require__) {
5962
-
5963
- "use strict";
5964
-
5965
-
5966
- Object.defineProperty(exports, "__esModule", {
5967
- value: true
5968
- });
5969
- exports.VizBehavior = void 0;
5970
- var VizBehavior;
5971
-
5972
- (function (VizBehavior) {
5973
- /**
5974
- * Dynamic Options Behavior.
5975
- * This allows visualization options to be powered by data
5976
- *
5977
- * **Example**
5978
- *
5979
- * sparklineValues: ">primary|seriesByIndex(0)"
5980
- * would configure sparklineValues with an array of data points
5981
- * coming from the first series in the primary datasource
5982
- *
5983
- */
5984
- VizBehavior["DYNAMIC_OPTIONS"] = "dynamic-options";
5985
- VizBehavior["EVENTS"] = "events";
5986
- VizBehavior["DOWNSAMPLING"] = "downsampling";
5987
- /**
5988
- * Placeholder behavior: visualization will display a placeholder rather than fail if any of the `requiredProps` is
5989
- * missing.
5990
- * @type {string}
5991
- */
5992
-
5993
- VizBehavior["PLACEHOLDER"] = "placeholder";
5994
- VizBehavior["PAGE_AND_SORT"] = "page-and-sort";
5995
- VizBehavior["TRELLIS"] = "trellis";
5996
- })(VizBehavior = exports.VizBehavior || (exports.VizBehavior = {}));
5997
-
5998
- /***/ }),
5999
-
6000
- /***/ 60:
5687
+ /***/ 58:
6001
5688
  /***/ (function(module, exports) {
6002
5689
 
6003
5690
  module.exports = require("@splunk/async-dynamic-options-evaluator");
6004
5691
 
6005
5692
  /***/ }),
6006
5693
 
6007
- /***/ 61:
5694
+ /***/ 59:
6008
5695
  /***/ (function(module, exports, __webpack_require__) {
6009
5696
 
6010
5697
  "use strict";
6011
5698
 
6012
5699
 
6013
- var _classCallCheck = __webpack_require__(10);
5700
+ var _classCallCheck = __webpack_require__(8);
6014
5701
 
6015
5702
  Object.defineProperty(exports, "__esModule", {
6016
5703
  value: true
@@ -6018,9 +5705,9 @@ Object.defineProperty(exports, "__esModule", {
6018
5705
  exports.INITIAL_HEIGHT = exports.INITIAL_WIDTH = void 0;
6019
5706
  /* eslint-disable react/no-unused-prop-types,react/prefer-stateless-function */
6020
5707
 
6021
- var T = __webpack_require__(1);
5708
+ var T = __webpack_require__(0);
6022
5709
 
6023
- var lodash_1 = __webpack_require__(3);
5710
+ var lodash_1 = __webpack_require__(2);
6024
5711
 
6025
5712
  var VizActionHandler_1 = __webpack_require__(21); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
6026
5713
 
@@ -6156,7 +5843,14 @@ exports.default = SplunkVisualization;
6156
5843
 
6157
5844
  /***/ }),
6158
5845
 
6159
- /***/ 62:
5846
+ /***/ 6:
5847
+ /***/ (function(module, exports) {
5848
+
5849
+ module.exports = require("@babel/runtime/helpers/toConsumableArray");
5850
+
5851
+ /***/ }),
5852
+
5853
+ /***/ 60:
6160
5854
  /***/ (function(module, exports, __webpack_require__) {
6161
5855
 
6162
5856
  "use strict";
@@ -6167,9 +5861,9 @@ Object.defineProperty(exports, "__esModule", {
6167
5861
  });
6168
5862
  exports.useDeepMemo = void 0;
6169
5863
 
6170
- var react_1 = __webpack_require__(0);
5864
+ var react_1 = __webpack_require__(1);
6171
5865
 
6172
- var lodash_1 = __webpack_require__(3);
5866
+ var lodash_1 = __webpack_require__(2);
6173
5867
  /**
6174
5868
  * This hook evaluates and stores the result of a passed function and only
6175
5869
  * re-evaluates the function when passed dependencies change.
@@ -6202,7 +5896,7 @@ exports.useDeepMemo = useDeepMemo;
6202
5896
 
6203
5897
  /***/ }),
6204
5898
 
6205
- /***/ 63:
5899
+ /***/ 61:
6206
5900
  /***/ (function(module, exports, __webpack_require__) {
6207
5901
 
6208
5902
  "use strict";
@@ -6213,13 +5907,13 @@ Object.defineProperty(exports, "__esModule", {
6213
5907
  });
6214
5908
  exports.MissingPropsMessage = exports.missingKeys = exports.isMissing = void 0;
6215
5909
 
6216
- var React = __webpack_require__(0);
5910
+ var React = __webpack_require__(1);
6217
5911
 
6218
- var T = __webpack_require__(1);
5912
+ var T = __webpack_require__(0);
6219
5913
 
6220
- var i18n_1 = __webpack_require__(2);
5914
+ var i18n_1 = __webpack_require__(3);
6221
5915
 
6222
- var Message_1 = __webpack_require__(12);
5916
+ var Message_1 = __webpack_require__(11);
6223
5917
 
6224
5918
  var FixedSizeContainer_1 = __webpack_require__(17);
6225
5919
  /**
@@ -6283,7 +5977,7 @@ exports.default = (0, FixedSizeContainer_1.default)(exports.MissingPropsMessage)
6283
5977
 
6284
5978
  /***/ }),
6285
5979
 
6286
- /***/ 64:
5980
+ /***/ 62:
6287
5981
  /***/ (function(module, exports, __webpack_require__) {
6288
5982
 
6289
5983
  "use strict";
@@ -6293,7 +5987,7 @@ Object.defineProperty(exports, "__esModule", {
6293
5987
  value: true
6294
5988
  });
6295
5989
 
6296
- var React = __webpack_require__(0);
5990
+ var React = __webpack_require__(1);
6297
5991
 
6298
5992
  var styled_components_1 = __webpack_require__(4);
6299
5993
 
@@ -6304,7 +5998,7 @@ var Cover = styled_components_1.default.div.withConfig({
6304
5998
  componentId: "sc-1gsbnxb-0"
6305
5999
  })(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
6306
6000
  var Blocker = styled_components_1.default.div.attrs({
6307
- 'data-splunk-visualization-version': "26.2.1 - 714383dbb"
6001
+ 'data-splunk-visualization-version': "26.4.0 - 04078274d"
6308
6002
  }).withConfig({
6309
6003
  displayName: "withEditModeCover__Blocker",
6310
6004
  componentId: "sc-1gsbnxb-1"
@@ -6336,7 +6030,7 @@ exports.default = withEditModeCover;
6336
6030
 
6337
6031
  /***/ }),
6338
6032
 
6339
- /***/ 65:
6033
+ /***/ 63:
6340
6034
  /***/ (function(module, exports, __webpack_require__) {
6341
6035
 
6342
6036
  "use strict";
@@ -6346,15 +6040,15 @@ Object.defineProperty(exports, "__esModule", {
6346
6040
  value: true
6347
6041
  });
6348
6042
 
6349
- var React = __webpack_require__(0);
6043
+ var React = __webpack_require__(1);
6350
6044
 
6351
6045
  var colorUtils_1 = __webpack_require__(15);
6352
6046
 
6353
6047
  var variables_1 = __webpack_require__(13);
6354
6048
 
6355
- var IconPlaceholder_1 = __webpack_require__(37);
6049
+ var IconPlaceholder_1 = __webpack_require__(36);
6356
6050
 
6357
- var VizBehavior_1 = __webpack_require__(6);
6051
+ var VizBehavior_1 = __webpack_require__(7);
6358
6052
 
6359
6053
  var hocUtils_1 = __webpack_require__(23);
6360
6054
 
@@ -6401,27 +6095,30 @@ exports.default = withPlaceholder;
6401
6095
 
6402
6096
  /***/ }),
6403
6097
 
6404
- /***/ 66:
6098
+ /***/ 64:
6405
6099
  /***/ (function(module, exports, __webpack_require__) {
6406
6100
 
6407
6101
  "use strict";
6408
6102
 
6409
6103
 
6410
- var _slicedToArray = __webpack_require__(7);
6104
+ var _slicedToArray = __webpack_require__(5);
6411
6105
 
6412
6106
  Object.defineProperty(exports, "__esModule", {
6413
6107
  value: true
6414
6108
  });
6415
6109
 
6416
- var react_1 = __webpack_require__(0);
6110
+ var react_1 = __webpack_require__(1);
6417
6111
 
6418
- var lodash_1 = __webpack_require__(3);
6112
+ var lodash_1 = __webpack_require__(2);
6419
6113
 
6420
6114
  var dataUtils_1 = __webpack_require__(14);
6421
6115
 
6422
- var usePrevious_1 = __webpack_require__(33);
6116
+ var usePrevious_1 = __webpack_require__(32);
6117
+
6118
+ var useGetXAndYFields_1 = __webpack_require__(65); // Options properties which impact/require re-downsample on change.
6423
6119
 
6424
- var useGetXAndYFields_1 = __webpack_require__(67);
6120
+
6121
+ var downsampleVizOptionProperties = ['nullValueDisplay'];
6425
6122
 
6426
6123
  var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
6427
6124
  var dataSources = _ref.dataSources,
@@ -6435,8 +6132,15 @@ var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
6435
6132
  options: options,
6436
6133
  context: context,
6437
6134
  dataSources: dataSources
6438
- });
6439
- 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);
6440
6144
  var previousDataSources = (0, usePrevious_1.default)(dataSources);
6441
6145
  var previousThreshold = (0, usePrevious_1.default)(threshold);
6442
6146
 
@@ -6444,7 +6148,7 @@ var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
6444
6148
  return isDownsamplingEnabled ? (0, dataUtils_1.downsampleDataSources)({
6445
6149
  dataSources: dataSources,
6446
6150
  threshold: threshold,
6447
- options: xAndYFieldsWithTypes
6151
+ options: downsampleDSOptions
6448
6152
  }) : dataSources;
6449
6153
  }),
6450
6154
  _ref3 = _slicedToArray(_ref2, 2),
@@ -6472,7 +6176,7 @@ var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
6472
6176
  return;
6473
6177
  }
6474
6178
 
6475
- if ((0, lodash_1.isEqual)(previousXAndYFieldsWithTypes, xAndYFieldsWithTypes) && previousDataSources === dataSources && previousThreshold === threshold) {
6179
+ if ((0, lodash_1.isEqual)(previousDownsampleDSOptions, downsampleDSOptions) && previousDataSources === dataSources && previousThreshold === threshold) {
6476
6180
  return;
6477
6181
  } // Debounce the downsampling so we don't have to downsample and execute DSL multiple times
6478
6182
  // while the viz is being resized
@@ -6480,10 +6184,10 @@ var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
6480
6184
 
6481
6185
  debouncedDownsampleDataSources({
6482
6186
  dataSources: dataSources,
6483
- options: xAndYFieldsWithTypes,
6187
+ options: downsampleDSOptions,
6484
6188
  threshold: threshold
6485
6189
  }); // need to detect if this runs as part of the initial render
6486
- }, [dataSources, debouncedDownsampleDataSources, xAndYFieldsWithTypes, threshold, isDownsamplingEnabled, previousXAndYFieldsWithTypes, previousDataSources, previousThreshold]);
6190
+ }, [dataSources, downsampleDSOptions, debouncedDownsampleDataSources, xAndYFieldsWithTypes, threshold, isDownsamplingEnabled, previousDataSources, previousThreshold, previousDownsampleDSOptions]);
6487
6191
  return downsampledDataSources;
6488
6192
  };
6489
6193
 
@@ -6491,19 +6195,19 @@ exports.default = useDownsampleDataSources;
6491
6195
 
6492
6196
  /***/ }),
6493
6197
 
6494
- /***/ 67:
6198
+ /***/ 65:
6495
6199
  /***/ (function(module, exports, __webpack_require__) {
6496
6200
 
6497
6201
  "use strict";
6498
6202
 
6499
6203
 
6500
- var _toConsumableArray = __webpack_require__(8);
6204
+ var _toConsumableArray = __webpack_require__(6);
6501
6205
 
6502
6206
  Object.defineProperty(exports, "__esModule", {
6503
6207
  value: true
6504
6208
  });
6505
6209
 
6506
- var react_1 = __webpack_require__(0);
6210
+ var react_1 = __webpack_require__(1);
6507
6211
 
6508
6212
  var Options_1 = __webpack_require__(16);
6509
6213
  /**
@@ -6606,7 +6310,7 @@ exports.default = useGetXAndYFields;
6606
6310
 
6607
6311
  /***/ }),
6608
6312
 
6609
- /***/ 68:
6313
+ /***/ 66:
6610
6314
  /***/ (function(module, exports, __webpack_require__) {
6611
6315
 
6612
6316
  "use strict";
@@ -6617,7 +6321,7 @@ Object.defineProperty(exports, "__esModule", {
6617
6321
  });
6618
6322
  exports.getFeatureFlag = void 0;
6619
6323
 
6620
- var FeatureFlags_1 = __webpack_require__(69);
6324
+ var FeatureFlags_1 = __webpack_require__(67);
6621
6325
 
6622
6326
  var getFeatureFlag = function getFeatureFlag(context, flagName) {
6623
6327
  // look for feature flag in context first
@@ -6642,82 +6346,96 @@ exports.getFeatureFlag = getFeatureFlag;
6642
6346
 
6643
6347
  /***/ }),
6644
6348
 
6645
- /***/ 69:
6349
+ /***/ 67:
6646
6350
  /***/ (function(module, exports) {
6647
6351
 
6648
6352
  module.exports = require("@splunk/visualization-context/FeatureFlags");
6649
6353
 
6650
6354
  /***/ }),
6651
6355
 
6652
- /***/ 7:
6653
- /***/ (function(module, exports) {
6654
-
6655
- module.exports = require("@babel/runtime/helpers/slicedToArray");
6656
-
6657
- /***/ }),
6658
-
6659
- /***/ 70:
6356
+ /***/ 68:
6660
6357
  /***/ (function(module, exports) {
6661
6358
 
6662
6359
  module.exports = require("@babel/runtime/helpers/extends");
6663
6360
 
6664
6361
  /***/ }),
6665
6362
 
6666
- /***/ 71:
6363
+ /***/ 69:
6667
6364
  /***/ (function(module, exports) {
6668
6365
 
6669
6366
  module.exports = require("@splunk/visualizations-shared/colorConstants");
6670
6367
 
6671
6368
  /***/ }),
6672
6369
 
6673
- /***/ 76:
6674
- /***/ (function(module, exports) {
6370
+ /***/ 7:
6371
+ /***/ (function(module, exports, __webpack_require__) {
6675
6372
 
6676
- module.exports = require("@splunk/visualizations-shared/domUtils");
6373
+ "use strict";
6677
6374
 
6678
- /***/ }),
6679
6375
 
6680
- /***/ 78:
6681
- /***/ (function(module, exports) {
6376
+ Object.defineProperty(exports, "__esModule", {
6377
+ value: true
6378
+ });
6379
+ exports.VizBehavior = void 0;
6380
+ var VizBehavior;
6682
6381
 
6683
- module.exports = require("@splunk/themes/useSplunkTheme");
6382
+ (function (VizBehavior) {
6383
+ /**
6384
+ * Dynamic Options Behavior.
6385
+ * This allows visualization options to be powered by data
6386
+ *
6387
+ * **Example**
6388
+ *
6389
+ * sparklineValues: ">primary|seriesByIndex(0)"
6390
+ * would configure sparklineValues with an array of data points
6391
+ * coming from the first series in the primary datasource
6392
+ *
6393
+ */
6394
+ VizBehavior["DYNAMIC_OPTIONS"] = "dynamic-options";
6395
+ VizBehavior["EVENTS"] = "events";
6396
+ VizBehavior["DOWNSAMPLING"] = "downsampling";
6397
+ /**
6398
+ * Placeholder behavior: visualization will display a placeholder rather than fail if any of the `requiredProps` is
6399
+ * missing.
6400
+ * @type {string}
6401
+ */
6402
+
6403
+ VizBehavior["PLACEHOLDER"] = "placeholder";
6404
+ VizBehavior["PAGE_AND_SORT"] = "page-and-sort";
6405
+ VizBehavior["TRELLIS"] = "trellis";
6406
+ })(VizBehavior = exports.VizBehavior || (exports.VizBehavior = {}));
6684
6407
 
6685
6408
  /***/ }),
6686
6409
 
6687
- /***/ 8:
6410
+ /***/ 73:
6688
6411
  /***/ (function(module, exports) {
6689
6412
 
6690
- module.exports = require("@babel/runtime/helpers/toConsumableArray");
6413
+ module.exports = require("@splunk/visualizations-shared/domUtils");
6691
6414
 
6692
6415
  /***/ }),
6693
6416
 
6694
- /***/ 80:
6695
- /***/ (function(module, exports, __webpack_require__) {
6417
+ /***/ 76:
6418
+ /***/ (function(module, exports) {
6696
6419
 
6697
- "use strict";
6420
+ module.exports = require("@splunk/themes/useSplunkTheme");
6698
6421
 
6422
+ /***/ }),
6699
6423
 
6700
- Object.defineProperty(exports, "__esModule", {
6701
- value: true
6702
- });
6703
- exports.LAYOUT_TYPE = void 0;
6704
- var LAYOUT_TYPE;
6424
+ /***/ 79:
6425
+ /***/ (function(module, exports) {
6705
6426
 
6706
- (function (LAYOUT_TYPE) {
6707
- LAYOUT_TYPE["Off"] = "off";
6708
- LAYOUT_TYPE["Trellis"] = "trellis";
6709
- })(LAYOUT_TYPE = exports.LAYOUT_TYPE || (exports.LAYOUT_TYPE = {}));
6427
+ module.exports = require("@splunk/themes");
6710
6428
 
6711
6429
  /***/ }),
6712
6430
 
6713
- /***/ 82:
6431
+ /***/ 8:
6714
6432
  /***/ (function(module, exports) {
6715
6433
 
6716
- module.exports = require("@splunk/themes");
6434
+ module.exports = require("@babel/runtime/helpers/classCallCheck");
6717
6435
 
6718
6436
  /***/ }),
6719
6437
 
6720
- /***/ 83:
6438
+ /***/ 80:
6721
6439
  /***/ (function(module, exports) {
6722
6440
 
6723
6441
  module.exports = require("@splunk/visualization-color-palettes/editors/PresetPalettes");
@@ -6727,11 +6445,11 @@ module.exports = require("@splunk/visualization-color-palettes/editors/PresetPal
6727
6445
  /***/ 9:
6728
6446
  /***/ (function(module, exports) {
6729
6447
 
6730
- module.exports = require("@babel/runtime/helpers/defineProperty");
6448
+ module.exports = require("@splunk/visualization-schemas");
6731
6449
 
6732
6450
  /***/ }),
6733
6451
 
6734
- /***/ 96:
6452
+ /***/ 93:
6735
6453
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6736
6454
 
6737
6455
  "use strict";
@@ -6754,6 +6472,51 @@ var VizStyleWrapper = styled_components__WEBPACK_IMPORTED_MODULE_0___default.a.d
6754
6472
  VizStyleWrapper.displayName = 'VizStyleWrapper';
6755
6473
  /* harmony default export */ __webpack_exports__["default"] = (VizStyleWrapper);
6756
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
+
6757
6520
  /***/ })
6758
6521
 
6759
6522
  /******/ });