@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 = 453);
90
+ /******/ return __webpack_require__(__webpack_require__.s = 441);
91
91
  /******/ })
92
92
  /************************************************************************/
93
93
  /******/ ({
@@ -95,32 +95,32 @@ 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");
112
+ module.exports = require("@splunk/visualizations-shared/numberUtils");
113
113
 
114
114
  /***/ }),
115
115
 
116
116
  /***/ 11:
117
117
  /***/ (function(module, exports) {
118
118
 
119
- module.exports = require("@splunk/visualizations-shared/numberUtils");
119
+ module.exports = require("@splunk/visualizations-shared/Message");
120
120
 
121
121
  /***/ }),
122
122
 
123
- /***/ 116:
123
+ /***/ 112:
124
124
  /***/ (function(module, exports) {
125
125
 
126
126
  module.exports = require("d3-scale");
@@ -130,7 +130,7 @@ module.exports = require("d3-scale");
130
130
  /***/ 12:
131
131
  /***/ (function(module, exports) {
132
132
 
133
- module.exports = require("@splunk/visualizations-shared/Message");
133
+ module.exports = require("@babel/runtime/helpers/defineProperty");
134
134
 
135
135
  /***/ }),
136
136
 
@@ -152,9 +152,9 @@ Object.defineProperty(exports, "__esModule", {
152
152
  });
153
153
  exports.downsampleDataSources = exports.calculateDownsamplingThreshold = exports.calculateThresholdOnRangeSelect = exports.isDownsamplingEnabledForViz = exports.convertToArrOfObjects = void 0;
154
154
 
155
- var numberUtils_1 = __webpack_require__(11);
155
+ var numberUtils_1 = __webpack_require__(10);
156
156
 
157
- var interfaces_1 = __webpack_require__(40); // TODO: utilize this fn in ParallelCoordinates
157
+ var interfaces_1 = __webpack_require__(39); // TODO: utilize this fn in ParallelCoordinates
158
158
 
159
159
 
160
160
  var convertToArrOfObjects = function convertToArrOfObjects(columns, fields) {
@@ -289,19 +289,21 @@ var largestTriangleThreeBuckets = function largestTriangleThreeBuckets(data, thr
289
289
  */
290
290
 
291
291
 
292
- var strictlyCoerceYColumn = function strictlyCoerceYColumn(column) {
293
- // Splunk charting allows for numbers in formats such as negative hex that
292
+ var strictlyCoerceYColumn = function strictlyCoerceYColumn(column, options) {
293
+ var isNullCoercionEnabled = options.nullValueDisplay === 'zero'; // Splunk charting allows for numbers in formats such as negative hex that
294
294
  // Number() does not support and also allows loose coercion of hex numbers (but not other formats)
295
295
  // We want to identify columns which contain at least one value that can be loosely coerced
296
+
296
297
  var canLooselyCoerceSomeValues = column.findIndex(function (value) {
297
- return (0, numberUtils_1.startsWithNumber)("".concat(value));
298
+ return (0, numberUtils_1.startsWithNumber)("".concat(value)) || isNullCoercionEnabled && value === null;
298
299
  }) >= 0; // If not all values in column can be strictly coerced to a number, we do not downsample
299
300
 
300
301
  var coercedColumn = [];
301
302
  var canDownsampleColumn = !column.some(function (value) {
302
- var coercedValue = Number(value); // if it can't be parsed or isn't safe, fail
303
+ var coercedValue = Number(value);
304
+ var coerceValueToZero = isNullCoercionEnabled && value === null; // if it can't be parsed or isn't safe, fail
303
305
 
304
- if (Number.isNaN(coercedValue) || coercedValue <= Number.MIN_SAFE_INTEGER || coercedValue >= Number.MAX_SAFE_INTEGER || typeof value !== 'string' && typeof value !== 'number') {
306
+ if (Number.isNaN(coercedValue) || coercedValue <= Number.MIN_SAFE_INTEGER || coercedValue >= Number.MAX_SAFE_INTEGER || typeof value !== 'string' && typeof value !== 'number' && !coerceValueToZero) {
305
307
  return true;
306
308
  } // save value and continue to next
307
309
 
@@ -382,8 +384,7 @@ var calculateDownsamplingThreshold = function calculateDownsamplingThreshold(_re
382
384
  dataSources = _ref3.dataSources,
383
385
  selectChartEvent = _ref3.selectChartEvent,
384
386
  width = _ref3.width,
385
- xField = _ref3.xField,
386
- y2Fields = _ref3.y2Fields;
387
+ xField = _ref3.xField;
387
388
 
388
389
  var _a, _b, _c;
389
390
 
@@ -420,14 +421,7 @@ var calculateDownsamplingThreshold = function calculateDownsamplingThreshold(_re
420
421
  });
421
422
  var lastIndex = fullSeries.findIndex(function (x) {
422
423
  return downsampledSeries[endXIndex] === x;
423
- }); // For charts with categorical x-axis (charts with an xField that isn't _time), do not support
424
- // re-calculating downsampling threshold if the chart is zoomed in until SPL-259458 is fixed
425
- // Also do not support re-calculating downsampling threshold for zoomed-in charts with y2
426
- // until SPL-259611 is fixed
427
-
428
- if (xField !== '_time' || (y2Fields === null || y2Fields === void 0 ? void 0 : y2Fields.length)) {
429
- return firstIndex === 0 && lastIndex === fullSeries.length - 1 ? width : null;
430
- }
424
+ });
431
425
 
432
426
  if (firstIndex >= 0 && lastIndex >= 0 && firstIndex <= lastIndex) {
433
427
  return (0, exports.calculateThresholdOnRangeSelect)({
@@ -438,6 +432,7 @@ var calculateDownsamplingThreshold = function calculateDownsamplingThreshold(_re
438
432
  });
439
433
  }
440
434
  } catch (e) {
435
+ // eslint-disable-next-line no-console
441
436
  console.error('Error occurred while setting downsample threshold on range select event', e);
442
437
  }
443
438
 
@@ -476,7 +471,7 @@ var isColumnStrictlyIncreasing = function isColumnStrictlyIncreasing(column, fie
476
471
  */
477
472
 
478
473
 
479
- var tryToCoerceAllDisplayedFields = function tryToCoerceAllDisplayedFields(ds, xField, yFields, fieldTypes) {
474
+ var tryToCoerceAllDisplayedFields = function tryToCoerceAllDisplayedFields(ds, xField, yFields, fieldTypes, options) {
480
475
  var xColumn = [];
481
476
  var yColumns = [];
482
477
  var canDownsample = !ds.data.fields.some(function (field, index) {
@@ -490,7 +485,7 @@ var tryToCoerceAllDisplayedFields = function tryToCoerceAllDisplayedFields(ds, x
490
485
  if (fieldName === xField) {
491
486
  xColumn = strictlyCoerceXColumn(column, fieldType);
492
487
  } else if (yFields.has(fieldName)) {
493
- var _strictlyCoerceYColum = strictlyCoerceYColumn(ds.data.columns[index]),
488
+ var _strictlyCoerceYColum = strictlyCoerceYColumn(ds.data.columns[index], options),
494
489
  coercedColumn = _strictlyCoerceYColum.coercedColumn,
495
490
  canLooselyCoerceSomeValues = _strictlyCoerceYColum.canLooselyCoerceSomeValues,
496
491
  canDownsampleColumn = _strictlyCoerceYColum.canDownsampleColumn; // do not perform downsampling if a column can possibly be displayed but cannot
@@ -580,7 +575,7 @@ var downsampleDataSources = function downsampleDataSources(_ref4) {
580
575
  return dataSources;
581
576
  }
582
577
 
583
- var _tryToCoerceAllDispla = tryToCoerceAllDisplayedFields(primaryDS, xField, nonInternalYFields, fieldTypes),
578
+ var _tryToCoerceAllDispla = tryToCoerceAllDisplayedFields(primaryDS, xField, nonInternalYFields, fieldTypes, options),
584
579
  xColumn = _tryToCoerceAllDispla.xColumn,
585
580
  yColumns = _tryToCoerceAllDispla.yColumns;
586
581
 
@@ -604,6 +599,7 @@ var downsampleDataSources = function downsampleDataSources(_ref4) {
604
599
  return downsampledIndices.add(downsampleIndex);
605
600
  });
606
601
  } catch (e) {
602
+ // eslint-disable-next-line no-console
607
603
  console.error("Error occurred while downsampling column ".concat(columnIndex), e);
608
604
  }
609
605
  }); // update data columns with downsampled columns
@@ -636,13 +632,13 @@ module.exports = require("@splunk/visualization-encoding/Options");
636
632
  "use strict";
637
633
 
638
634
 
639
- var _slicedToArray = __webpack_require__(7);
635
+ var _slicedToArray = __webpack_require__(5);
640
636
 
641
637
  Object.defineProperty(exports, "__esModule", {
642
638
  value: true
643
639
  });
644
640
 
645
- var React = __webpack_require__(0);
641
+ var React = __webpack_require__(1);
646
642
 
647
643
  var styled_components_1 = __webpack_require__(4);
648
644
 
@@ -650,7 +646,7 @@ var style_1 = __webpack_require__(18);
650
646
 
651
647
  var colorUtils_1 = __webpack_require__(15);
652
648
 
653
- var SizeAwareWrapper_1 = __webpack_require__(26);
649
+ var SizeAwareWrapper_1 = __webpack_require__(25);
654
650
 
655
651
  var Item = styled_components_1.default.div.attrs(function (_ref) {
656
652
  var width = _ref.width;
@@ -721,7 +717,7 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
721
717
 
722
718
  return React.createElement(FixSizeItem, {
723
719
  "data-test": "fix-size-item",
724
- "data-splunk-visualization-version": "26.2.1 - 714383dbb",
720
+ "data-splunk-visualization-version": "26.4.0 - 04078274d",
725
721
  width: width,
726
722
  height: height,
727
723
  backgroundColor: backgroundColor
@@ -750,7 +746,7 @@ module.exports = require("@splunk/visualizations-shared/style");
750
746
 
751
747
  /***/ }),
752
748
 
753
- /***/ 186:
749
+ /***/ 181:
754
750
  /***/ (function(module, exports) {
755
751
 
756
752
  module.exports = require("@mdhnpm/rgb-hex-converter");
@@ -758,29 +754,6 @@ module.exports = require("@mdhnpm/rgb-hex-converter");
758
754
  /***/ }),
759
755
 
760
756
  /***/ 19:
761
- /***/ (function(module, exports, __webpack_require__) {
762
-
763
- "use strict";
764
-
765
-
766
- Object.defineProperty(exports, "__esModule", {
767
- value: true
768
- });
769
- exports.validOutputModes = exports.validSegmentationModes = exports.validSortDirs = void 0;
770
- exports.validSortDirs = ['asc', 'desc', 'none'];
771
- exports.validSegmentationModes = ['none', 'inner'];
772
- exports.validOutputModes = ['json_cols', 'json'];
773
-
774
- /***/ }),
775
-
776
- /***/ 2:
777
- /***/ (function(module, exports) {
778
-
779
- module.exports = require("@splunk/ui-utils/i18n");
780
-
781
- /***/ }),
782
-
783
- /***/ 20:
784
757
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
785
758
 
786
759
  "use strict";
@@ -816,17 +789,17 @@ __webpack_require__.r(__webpack_exports__);
816
789
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "lighten", function() { return lighten; });
817
790
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "darken", function() { return darken; });
818
791
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "handleValueClickCallback", function() { return handleValueClickCallback; });
819
- /* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9);
792
+ /* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(12);
820
793
  /* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__);
821
- /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3);
794
+ /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(2);
822
795
  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_1__);
823
- /* harmony import */ var _splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(11);
796
+ /* harmony import */ var _splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(10);
824
797
  /* harmony import */ var _splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_2__);
825
- /* harmony import */ var _splunk_visualizations_shared_domUtils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(76);
798
+ /* harmony import */ var _splunk_visualizations_shared_domUtils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(73);
826
799
  /* harmony import */ var _splunk_visualizations_shared_domUtils__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_domUtils__WEBPACK_IMPORTED_MODULE_3__);
827
- /* harmony import */ var _splunk_visualizations_shared_propUtils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(36);
800
+ /* harmony import */ var _splunk_visualizations_shared_propUtils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(35);
828
801
  /* harmony import */ var _splunk_visualizations_shared_propUtils__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_propUtils__WEBPACK_IMPORTED_MODULE_4__);
829
- /* harmony import */ var _splunk_visualizations_shared_colorConstants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(71);
802
+ /* harmony import */ var _splunk_visualizations_shared_colorConstants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(69);
830
803
  /* harmony import */ var _splunk_visualizations_shared_colorConstants__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_colorConstants__WEBPACK_IMPORTED_MODULE_5__);
831
804
 
832
805
 
@@ -1076,7 +1049,7 @@ var computeColors = function computeColors(props, defaultColors) {
1076
1049
  * @param {Number} props.value // The major/trend value
1077
1050
  * @param {Number} props.numberPrecision
1078
1051
  * @param {Bool} props.shouldUseThousandSeparators
1079
- * @param {Bool} props.shouldAbbreviateTrendValue
1052
+ * @param {Bool} props.shouldAbbreviateValue
1080
1053
  * @returns {Number} major or trend text
1081
1054
  */
1082
1055
 
@@ -1084,11 +1057,11 @@ var computeText = function computeText(_ref4) {
1084
1057
  var value = _ref4.value,
1085
1058
  numberPrecision = _ref4.numberPrecision,
1086
1059
  shouldUseThousandSeparators = _ref4.shouldUseThousandSeparators,
1087
- shouldAbbreviateTrendValue = _ref4.shouldAbbreviateTrendValue;
1060
+ shouldAbbreviateValue = _ref4.shouldAbbreviateValue;
1088
1061
  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, {
1089
1062
  useThousandSeparators: shouldUseThousandSeparators,
1090
1063
  // todo: need update formatNumber
1091
- useTrendUnits: shouldAbbreviateTrendValue
1064
+ useTrendUnits: shouldAbbreviateValue
1092
1065
  }) : value; // When text is undefined, return empty string
1093
1066
 
1094
1067
  text = text || '';
@@ -1100,19 +1073,21 @@ var computeText = function computeText(_ref4) {
1100
1073
  * @param {Number} props.majorValue
1101
1074
  * @param {Number} props.numberPrecision
1102
1075
  * @param {Bool} props.shouldUseThousandSeparators
1076
+ * @param {Bool} props.shouldAbbreviateMajorValue
1103
1077
  * @returns {String} majorText
1104
1078
  */
1105
1079
 
1106
1080
  var getMajorText = function getMajorText(_ref5) {
1107
1081
  var majorValue = _ref5.majorValue,
1108
1082
  numberPrecision = _ref5.numberPrecision,
1109
- shouldUseThousandSeparators = _ref5.shouldUseThousandSeparators;
1083
+ shouldUseThousandSeparators = _ref5.shouldUseThousandSeparators,
1084
+ shouldAbbreviateMajorValue = _ref5.shouldAbbreviateMajorValue;
1110
1085
  return computeText({
1111
1086
  value: majorValue === null ? 'N/A' : majorValue,
1112
1087
  // if majorValue is null, use `N/A`.
1113
1088
  numberPrecision: numberPrecision,
1114
1089
  shouldUseThousandSeparators: shouldUseThousandSeparators,
1115
- shouldAbbreviateTrendValue: false
1090
+ shouldAbbreviateValue: shouldAbbreviateMajorValue
1116
1091
  });
1117
1092
  };
1118
1093
  /*
@@ -1140,7 +1115,7 @@ var getTrendText = function getTrendText(_ref6) {
1140
1115
  value: value,
1141
1116
  numberPrecision: numberPrecision,
1142
1117
  shouldUseThousandSeparators: shouldUseThousandSeparators,
1143
- shouldAbbreviateTrendValue: shouldAbbreviateTrendValue
1118
+ shouldAbbreviateValue: shouldAbbreviateTrendValue
1144
1119
  });
1145
1120
  };
1146
1121
 
@@ -1284,6 +1259,7 @@ var getUnderLabel = function getUnderLabel(_ref10) {
1284
1259
  * @param {Number} props.numberPrecision
1285
1260
  * @param {Bool} props.shouldUseThousandSeparators
1286
1261
  * @param {Bool} props.shouldAbbreviateTrendValue
1262
+ * @param {Bool} props.shouldAbbreviateMajorValue
1287
1263
  * @returns {Number, Number, Number, Number} Major text, trend text, major text size, trend text size
1288
1264
  */
1289
1265
 
@@ -1298,14 +1274,16 @@ var getMajorAndTrend = function getMajorAndTrend(_ref11) {
1298
1274
  unit = _ref11.unit,
1299
1275
  numberPrecision = _ref11.numberPrecision,
1300
1276
  shouldUseThousandSeparators = _ref11.shouldUseThousandSeparators,
1301
- shouldAbbreviateTrendValue = _ref11.shouldAbbreviateTrendValue;
1277
+ shouldAbbreviateTrendValue = _ref11.shouldAbbreviateTrendValue,
1278
+ shouldAbbreviateMajorValue = _ref11.shouldAbbreviateMajorValue;
1302
1279
  var majorTextSpaceRatio = Object(_splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_2__["isNumerial"])(trendValue) && shouldShowTrend(trendDisplay) ? 0.6 : 1;
1303
1280
  var textContentWidth = width * 0.9;
1304
1281
  var textContentHeight = height * 0.9;
1305
1282
  var majorText = getMajorText({
1306
1283
  majorValue: majorValue,
1307
1284
  numberPrecision: numberPrecision,
1308
- shouldUseThousandSeparators: shouldUseThousandSeparators
1285
+ shouldUseThousandSeparators: shouldUseThousandSeparators,
1286
+ shouldAbbreviateMajorValue: shouldAbbreviateMajorValue
1309
1287
  });
1310
1288
  var majorTextFontSize = majorFontSize || getMajorFontSize({
1311
1289
  width: textContentWidth,
@@ -1431,6 +1409,7 @@ var updateVizInSmallSpace = function updateVizInSmallSpace(_ref12) {
1431
1409
  * @param {Number} props.numberPrecision
1432
1410
  * @param {Bool} props.shouldUseThousandSeparators
1433
1411
  * @param {Bool} props.shouldAbbreviateTrendValue
1412
+ * @param {Bool} props.shouldAbbreviateMajorValue
1434
1413
  * @param {Object} props.toRemoveList
1435
1414
  * @returns {Object} results
1436
1415
  * @returns {String} results.majorText
@@ -1455,6 +1434,7 @@ var computeSingleValueContent = function computeSingleValueContent(_ref13) {
1455
1434
  numberPrecision = _ref13.numberPrecision,
1456
1435
  shouldUseThousandSeparators = _ref13.shouldUseThousandSeparators,
1457
1436
  shouldAbbreviateTrendValue = _ref13.shouldAbbreviateTrendValue,
1437
+ shouldAbbreviateMajorValue = _ref13.shouldAbbreviateMajorValue,
1458
1438
  toRemoveList = _ref13.toRemoveList;
1459
1439
 
1460
1440
  var _getMajorAndTrend = getMajorAndTrend({
@@ -1468,7 +1448,8 @@ var computeSingleValueContent = function computeSingleValueContent(_ref13) {
1468
1448
  unit: unit,
1469
1449
  numberPrecision: numberPrecision,
1470
1450
  shouldUseThousandSeparators: shouldUseThousandSeparators,
1471
- shouldAbbreviateTrendValue: shouldAbbreviateTrendValue
1451
+ shouldAbbreviateTrendValue: shouldAbbreviateTrendValue,
1452
+ shouldAbbreviateMajorValue: shouldAbbreviateMajorValue
1472
1453
  }),
1473
1454
  majorText = _getMajorAndTrend.majorText,
1474
1455
  trendText = _getMajorAndTrend.trendText,
@@ -1557,6 +1538,7 @@ var minimallyTruncateStringToWidth = function minimallyTruncateStringToWidth(_re
1557
1538
  * @param {Number} props.numberPrecision
1558
1539
  * @param {Bool} props.shouldUseThousandSeparators
1559
1540
  * @param {Bool} props.shouldAbbreviateTrendValue
1541
+ * @param {Bool} props.shouldAbbreviateMajorValue,
1560
1542
  * @param {Object} props.toRemoveList
1561
1543
  * @param {Bool} props.smallViz
1562
1544
  * @returns {Object} results
@@ -1582,6 +1564,7 @@ var computeSingleValueRadialContent = function computeSingleValueRadialContent(_
1582
1564
  numberPrecision = _ref15.numberPrecision,
1583
1565
  shouldUseThousandSeparators = _ref15.shouldUseThousandSeparators,
1584
1566
  shouldAbbreviateTrendValue = _ref15.shouldAbbreviateTrendValue,
1567
+ shouldAbbreviateMajorValue = _ref15.shouldAbbreviateMajorValue,
1585
1568
  smallViz = _ref15.smallViz;
1586
1569
 
1587
1570
  var _getMajorAndTrend2 = getMajorAndTrend({
@@ -1595,7 +1578,8 @@ var computeSingleValueRadialContent = function computeSingleValueRadialContent(_
1595
1578
  unit: unit,
1596
1579
  numberPrecision: numberPrecision,
1597
1580
  shouldUseThousandSeparators: shouldUseThousandSeparators,
1598
- shouldAbbreviateTrendValue: shouldAbbreviateTrendValue
1581
+ shouldAbbreviateTrendValue: shouldAbbreviateTrendValue,
1582
+ shouldAbbreviateMajorValue: shouldAbbreviateMajorValue
1599
1583
  }),
1600
1584
  majorText = _getMajorAndTrend2.majorText,
1601
1585
  trendText = _getMajorAndTrend2.trendText,
@@ -1626,7 +1610,8 @@ var computeSingleValueRadialContent = function computeSingleValueRadialContent(_
1626
1610
  trendDisplay: trendDisplay,
1627
1611
  numberPrecision: numberPrecision,
1628
1612
  shouldUseThousandSeparators: shouldUseThousandSeparators,
1629
- shouldAbbreviateTrendValue: shouldAbbreviateTrendValue
1613
+ shouldAbbreviateTrendValue: shouldAbbreviateTrendValue,
1614
+ shouldAbbreviateMajorValue: shouldAbbreviateMajorValue
1630
1615
  });
1631
1616
 
1632
1617
  majorText = _getMajorAndTrend3.majorText;
@@ -1809,15 +1794,37 @@ var handleValueClickCallback = function handleValueClickCallback(ev, majorValue,
1809
1794
 
1810
1795
  /***/ }),
1811
1796
 
1797
+ /***/ 2:
1798
+ /***/ (function(module, exports) {
1799
+
1800
+ module.exports = require("lodash");
1801
+
1802
+ /***/ }),
1803
+
1804
+ /***/ 20:
1805
+ /***/ (function(module, exports, __webpack_require__) {
1806
+
1807
+ "use strict";
1808
+
1809
+
1810
+ Object.defineProperty(exports, "__esModule", {
1811
+ value: true
1812
+ });
1813
+ exports.validOutputModes = exports.validSortDirs = void 0;
1814
+ exports.validSortDirs = ['asc', 'desc', 'none'];
1815
+ exports.validOutputModes = ['json_cols', 'json'];
1816
+
1817
+ /***/ }),
1818
+
1812
1819
  /***/ 21:
1813
1820
  /***/ (function(module, exports, __webpack_require__) {
1814
1821
 
1815
1822
  "use strict";
1816
1823
 
1817
1824
 
1818
- var _classCallCheck = __webpack_require__(10);
1825
+ var _classCallCheck = __webpack_require__(8);
1819
1826
 
1820
- var _createClass = __webpack_require__(25);
1827
+ var _createClass = __webpack_require__(24);
1821
1828
 
1822
1829
  Object.defineProperty(exports, "__esModule", {
1823
1830
  value: true
@@ -1912,123 +1919,41 @@ exports.extendStaticWrapperProps = extendStaticWrapperProps;
1912
1919
  /***/ 24:
1913
1920
  /***/ (function(module, exports) {
1914
1921
 
1915
- module.exports = require("@splunk/visualizations-shared/schemaUtils");
1916
-
1917
- /***/ }),
1918
-
1919
- /***/ 25:
1920
- /***/ (function(module, exports) {
1921
-
1922
1922
  module.exports = require("@babel/runtime/helpers/createClass");
1923
1923
 
1924
1924
  /***/ }),
1925
1925
 
1926
- /***/ 26:
1926
+ /***/ 25:
1927
1927
  /***/ (function(module, exports) {
1928
1928
 
1929
1929
  module.exports = require("@splunk/visualizations-shared/SizeAwareWrapper");
1930
1930
 
1931
1931
  /***/ }),
1932
1932
 
1933
- /***/ 27:
1933
+ /***/ 26:
1934
1934
  /***/ (function(module, exports, __webpack_require__) {
1935
1935
 
1936
1936
  "use strict";
1937
1937
 
1938
1938
 
1939
- var _toConsumableArray = __webpack_require__(8);
1940
-
1941
- var _defineProperty = __webpack_require__(9);
1942
-
1943
- var __rest = this && this.__rest || function (s, e) {
1944
- var t = {};
1945
-
1946
- for (var p in s) {
1947
- if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
1948
- }
1949
-
1950
- if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
1951
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
1952
- }
1953
- return t;
1954
- };
1939
+ var _toConsumableArray = __webpack_require__(6);
1955
1940
 
1956
1941
  Object.defineProperty(exports, "__esModule", {
1957
1942
  value: true
1958
1943
  });
1959
- exports.insertLayout = exports.isDynamicOption = exports.uncollapseEditorConfig = exports.generatePrecisionValues = exports.getInitialPreset = exports.enhanceOptionsSchemaWithDynamicOptions = exports.enhanceConfig = void 0;
1944
+ exports.insertLayout = exports.isDynamicOption = exports.uncollapseEditorConfig = exports.generatePrecisionValues = exports.getInitialPreset = exports.enhanceConfig = exports.enhanceOptionsSchemaWithDynamicOptions = void 0;
1960
1945
 
1961
- var lodash_1 = __webpack_require__(3);
1946
+ var lodash_1 = __webpack_require__(2); // included for backwards compatibility
1962
1947
 
1963
- var schemaUtils_1 = __webpack_require__(24);
1964
1948
 
1965
- var VizBehavior_1 = __webpack_require__(6);
1949
+ var visualization_schemas_1 = __webpack_require__(9);
1966
1950
 
1967
- var dynamicOptionsDSLType = {
1968
- type: 'string',
1969
- pattern: schemaUtils_1.DYNAMIC_OPTIONS_DSL_PATTERN
1970
- };
1971
- /**
1972
- * Helper function to extend an options schema with dynamic options DSL
1973
- * @param optionsSchema a visualization's options schema
1974
- * @returns an updated options schema that additionally allows strings starting with > for each option
1975
- */
1976
-
1977
- function enhanceOptionsSchemaWithDynamicOptions(optionsSchema) {
1978
- var enhancedOptionsSchema = {};
1979
- Object.keys(optionsSchema).forEach(function (key) {
1980
- var _a = optionsSchema[key],
1981
- title = _a.title,
1982
- description = _a.description,
1983
- readOnly = _a.readOnly,
1984
- writeOnly = _a.writeOnly,
1985
- examples = _a.examples,
1986
- defaultValue = _a.default,
1987
- type = _a.type,
1988
- properties = _a.properties,
1989
- patternProperties = _a.patternProperties,
1990
- remainingSchemaEntry = __rest(_a, ["title", "description", "readOnly", "writeOnly", "examples", "default", "type", "properties", "patternProperties"]);
1991
-
1992
- var annotations = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, title !== undefined && {
1993
- title: title
1994
- }), description !== undefined && {
1995
- description: description
1996
- }), readOnly !== undefined && {
1997
- readOnly: readOnly
1998
- }), writeOnly !== undefined && {
1999
- writeOnly: writeOnly
2000
- }), examples !== undefined && {
2001
- examples: examples
2002
- }), defaultValue !== undefined && {
2003
- default: defaultValue
2004
- });
2005
-
2006
- if (type === 'object') {
2007
- enhancedOptionsSchema[key] = Object.assign(Object.assign(Object.assign(Object.assign({}, remainingSchemaEntry), annotations), {
2008
- type: type
2009
- }), properties && {
2010
- properties: enhanceOptionsSchemaWithDynamicOptions(properties)
2011
- });
2012
-
2013
- if (patternProperties) {
2014
- var enhancedPatternProperties = {};
2015
- Object.keys(patternProperties).forEach(function (opt) {
2016
- enhancedPatternProperties = Object.assign(Object.assign({}, enhancedPatternProperties), enhanceOptionsSchemaWithDynamicOptions(_defineProperty({}, opt, patternProperties[opt])));
2017
- });
2018
- enhancedOptionsSchema[key].patternProperties = enhancedPatternProperties;
2019
- }
2020
- } else {
2021
- enhancedOptionsSchema[key] = Object.assign(Object.assign({}, annotations), {
2022
- anyOf: [Object.assign(Object.assign({}, type !== undefined && {
2023
- type: type
2024
- }), remainingSchemaEntry), dynamicOptionsDSLType]
2025
- });
2026
- }
2027
- });
2028
- return enhancedOptionsSchema;
2029
- }
2030
-
2031
- exports.enhanceOptionsSchemaWithDynamicOptions = enhanceOptionsSchemaWithDynamicOptions;
1951
+ Object.defineProperty(exports, "enhanceOptionsSchemaWithDynamicOptions", {
1952
+ enumerable: true,
1953
+ get: function get() {
1954
+ return visualization_schemas_1.enhanceOptionsSchemaWithDynamicOptions;
1955
+ }
1956
+ });
2032
1957
  /**
2033
1958
  * Helper function to enhance a Visualization Config as needed based on behaviors specified in supports block
2034
1959
  * this function also collapse all editor panels
@@ -2039,11 +1964,6 @@ exports.enhanceOptionsSchemaWithDynamicOptions = enhanceOptionsSchemaWithDynamic
2039
1964
 
2040
1965
  function enhanceConfig(vizConfig) {
2041
1966
  var enhancedConfig = Object.assign({}, vizConfig);
2042
-
2043
- if (vizConfig.supports.indexOf(VizBehavior_1.VizBehavior.DYNAMIC_OPTIONS) !== -1) {
2044
- enhancedConfig.optionsSchema = enhanceOptionsSchemaWithDynamicOptions(vizConfig.optionsSchema);
2045
- }
2046
-
2047
1967
  enhancedConfig.editorConfig = vizConfig.editorConfig.map(function (config) {
2048
1968
  return Object.assign(Object.assign({}, config), {
2049
1969
  open: config.open || false
@@ -2167,42 +2087,42 @@ exports.insertLayout = insertLayout;
2167
2087
 
2168
2088
  /***/ }),
2169
2089
 
2170
- /***/ 28:
2090
+ /***/ 27:
2171
2091
  /***/ (function(module, exports) {
2172
2092
 
2173
2093
  module.exports = require("@splunk/visualization-context/FeatureFlagContext");
2174
2094
 
2175
2095
  /***/ }),
2176
2096
 
2177
- /***/ 3:
2097
+ /***/ 29:
2178
2098
  /***/ (function(module, exports) {
2179
2099
 
2180
- module.exports = require("lodash");
2100
+ module.exports = require("@splunk/themes/pick");
2181
2101
 
2182
2102
  /***/ }),
2183
2103
 
2184
- /***/ 30:
2104
+ /***/ 3:
2185
2105
  /***/ (function(module, exports) {
2186
2106
 
2187
- module.exports = require("@splunk/themes/pick");
2107
+ module.exports = require("@splunk/ui-utils/i18n");
2188
2108
 
2189
2109
  /***/ }),
2190
2110
 
2191
- /***/ 31:
2111
+ /***/ 30:
2192
2112
  /***/ (function(module, exports) {
2193
2113
 
2194
2114
  module.exports = require("@splunk/ui-utils/id");
2195
2115
 
2196
2116
  /***/ }),
2197
2117
 
2198
- /***/ 32:
2118
+ /***/ 31:
2199
2119
  /***/ (function(module, exports) {
2200
2120
 
2201
2121
  module.exports = require("@splunk/visualization-context/TimezoneContext");
2202
2122
 
2203
2123
  /***/ }),
2204
2124
 
2205
- /***/ 33:
2125
+ /***/ 32:
2206
2126
  /***/ (function(module, exports, __webpack_require__) {
2207
2127
 
2208
2128
  "use strict";
@@ -2212,7 +2132,7 @@ Object.defineProperty(exports, "__esModule", {
2212
2132
  value: true
2213
2133
  });
2214
2134
 
2215
- var react_1 = __webpack_require__(0);
2135
+ var react_1 = __webpack_require__(1);
2216
2136
 
2217
2137
  function usePrevious(value) {
2218
2138
  var ref = (0, react_1.useRef)();
@@ -2226,28 +2146,28 @@ exports.default = usePrevious;
2226
2146
 
2227
2147
  /***/ }),
2228
2148
 
2229
- /***/ 34:
2149
+ /***/ 33:
2230
2150
  /***/ (function(module, exports) {
2231
2151
 
2232
2152
  module.exports = require("@splunk/visualizations-shared/hocUtils");
2233
2153
 
2234
2154
  /***/ }),
2235
2155
 
2236
- /***/ 35:
2156
+ /***/ 34:
2237
2157
  /***/ (function(module, exports) {
2238
2158
 
2239
2159
  module.exports = require("@splunk/visualizations-shared/JSONSchemaUtils");
2240
2160
 
2241
2161
  /***/ }),
2242
2162
 
2243
- /***/ 36:
2163
+ /***/ 35:
2244
2164
  /***/ (function(module, exports) {
2245
2165
 
2246
2166
  module.exports = require("@splunk/visualizations-shared/propUtils");
2247
2167
 
2248
2168
  /***/ }),
2249
2169
 
2250
- /***/ 37:
2170
+ /***/ 36:
2251
2171
  /***/ (function(module, exports, __webpack_require__) {
2252
2172
 
2253
2173
  "use strict";
@@ -2258,15 +2178,15 @@ Object.defineProperty(exports, "__esModule", {
2258
2178
  });
2259
2179
  exports.shouldShowIconPlaceholder = void 0;
2260
2180
 
2261
- var React = __webpack_require__(0);
2181
+ var React = __webpack_require__(1);
2262
2182
 
2263
- var T = __webpack_require__(1);
2183
+ var T = __webpack_require__(0);
2264
2184
 
2265
- var lodash_1 = __webpack_require__(3);
2185
+ var lodash_1 = __webpack_require__(2);
2266
2186
 
2267
- var i18n_1 = __webpack_require__(2);
2187
+ var i18n_1 = __webpack_require__(3);
2268
2188
 
2269
- var Message_1 = __webpack_require__(12);
2189
+ var Message_1 = __webpack_require__(11);
2270
2190
 
2271
2191
  var FixedSizeContainer_1 = __webpack_require__(17);
2272
2192
  /**
@@ -2340,24 +2260,24 @@ exports.default = (0, FixedSizeContainer_1.default)(IconPlaceholder);
2340
2260
 
2341
2261
  /***/ }),
2342
2262
 
2343
- /***/ 38:
2263
+ /***/ 37:
2344
2264
  /***/ (function(module, exports, __webpack_require__) {
2345
2265
 
2346
2266
  "use strict";
2347
2267
 
2348
2268
 
2349
- var _defineProperty = __webpack_require__(9);
2269
+ var _defineProperty = __webpack_require__(12);
2350
2270
 
2351
2271
  Object.defineProperty(exports, "__esModule", {
2352
2272
  value: true
2353
2273
  });
2354
2274
  exports.getSortingParams = exports.SortParamsPropTypes = void 0;
2355
2275
 
2356
- var T = __webpack_require__(1);
2276
+ var T = __webpack_require__(0);
2357
2277
 
2358
- var lodash_1 = __webpack_require__(3);
2278
+ var lodash_1 = __webpack_require__(2);
2359
2279
 
2360
- var DataSource_1 = __webpack_require__(19);
2280
+ var DataSource_1 = __webpack_require__(20);
2361
2281
 
2362
2282
  exports.SortParamsPropTypes = T.shape({
2363
2283
  currentSortKey: T.string,
@@ -2411,7 +2331,7 @@ exports.getSortingParams = getSortingParams;
2411
2331
 
2412
2332
  /***/ }),
2413
2333
 
2414
- /***/ 39:
2334
+ /***/ 38:
2415
2335
  /***/ (function(module, exports, __webpack_require__) {
2416
2336
 
2417
2337
  "use strict";
@@ -2422,9 +2342,9 @@ Object.defineProperty(exports, "__esModule", {
2422
2342
  });
2423
2343
  exports.getPaginationParams = exports.PaginatorParamsPropTypes = void 0;
2424
2344
 
2425
- var T = __webpack_require__(1);
2345
+ var T = __webpack_require__(0);
2426
2346
 
2427
- var lodash_1 = __webpack_require__(3);
2347
+ var lodash_1 = __webpack_require__(2);
2428
2348
 
2429
2349
  exports.PaginatorParamsPropTypes = T.shape({
2430
2350
  isPaging: T.bool,
@@ -2476,14 +2396,7 @@ exports.getPaginationParams = getPaginationParams;
2476
2396
 
2477
2397
  /***/ }),
2478
2398
 
2479
- /***/ 4:
2480
- /***/ (function(module, exports) {
2481
-
2482
- module.exports = require("styled-components");
2483
-
2484
- /***/ }),
2485
-
2486
- /***/ 40:
2399
+ /***/ 39:
2487
2400
  /***/ (function(module, exports, __webpack_require__) {
2488
2401
 
2489
2402
  "use strict";
@@ -2518,11 +2431,13 @@ Object.defineProperty(exports, "__esModule", {
2518
2431
  value: true
2519
2432
  });
2520
2433
 
2434
+ __exportStar(__webpack_require__(40), exports);
2435
+
2521
2436
  __exportStar(__webpack_require__(41), exports);
2522
2437
 
2523
- __exportStar(__webpack_require__(42), exports);
2438
+ __exportStar(__webpack_require__(20), exports);
2524
2439
 
2525
- __exportStar(__webpack_require__(19), exports);
2440
+ __exportStar(__webpack_require__(42), exports);
2526
2441
 
2527
2442
  __exportStar(__webpack_require__(43), exports);
2528
2443
 
@@ -2534,16 +2449,16 @@ __exportStar(__webpack_require__(46), exports);
2534
2449
 
2535
2450
  __exportStar(__webpack_require__(47), exports);
2536
2451
 
2537
- __exportStar(__webpack_require__(48), exports);
2538
-
2539
- __exportStar(__webpack_require__(49), exports);
2540
-
2541
2452
  __exportStar(__webpack_require__(21), exports);
2542
2453
 
2543
- __exportStar(__webpack_require__(6), exports);
2454
+ __exportStar(__webpack_require__(7), exports);
2544
2455
 
2545
2456
  __exportStar(__webpack_require__(22), exports);
2546
2457
 
2458
+ __exportStar(__webpack_require__(48), exports);
2459
+
2460
+ __exportStar(__webpack_require__(49), exports);
2461
+
2547
2462
  __exportStar(__webpack_require__(50), exports);
2548
2463
 
2549
2464
  __exportStar(__webpack_require__(51), exports);
@@ -2552,13 +2467,16 @@ __exportStar(__webpack_require__(52), exports);
2552
2467
 
2553
2468
  __exportStar(__webpack_require__(53), exports);
2554
2469
 
2555
- __exportStar(__webpack_require__(54), exports);
2470
+ /***/ }),
2556
2471
 
2557
- __exportStar(__webpack_require__(55), exports);
2472
+ /***/ 4:
2473
+ /***/ (function(module, exports) {
2474
+
2475
+ module.exports = require("styled-components");
2558
2476
 
2559
2477
  /***/ }),
2560
2478
 
2561
- /***/ 41:
2479
+ /***/ 40:
2562
2480
  /***/ (function(module, exports, __webpack_require__) {
2563
2481
 
2564
2482
  "use strict";
@@ -2570,7 +2488,7 @@ Object.defineProperty(exports, "__esModule", {
2570
2488
 
2571
2489
  /***/ }),
2572
2490
 
2573
- /***/ 42:
2491
+ /***/ 41:
2574
2492
  /***/ (function(module, exports, __webpack_require__) {
2575
2493
 
2576
2494
  "use strict";
@@ -2585,7 +2503,7 @@ Object.defineProperty(exports, "__esModule", {
2585
2503
 
2586
2504
  /***/ }),
2587
2505
 
2588
- /***/ 43:
2506
+ /***/ 42:
2589
2507
  /***/ (function(module, exports, __webpack_require__) {
2590
2508
 
2591
2509
  "use strict";
@@ -2597,7 +2515,7 @@ Object.defineProperty(exports, "__esModule", {
2597
2515
 
2598
2516
  /***/ }),
2599
2517
 
2600
- /***/ 44:
2518
+ /***/ 43:
2601
2519
  /***/ (function(module, exports, __webpack_require__) {
2602
2520
 
2603
2521
  "use strict";
@@ -2609,7 +2527,7 @@ Object.defineProperty(exports, "__esModule", {
2609
2527
 
2610
2528
  /***/ }),
2611
2529
 
2612
- /***/ 45:
2530
+ /***/ 44:
2613
2531
  /***/ (function(module, exports, __webpack_require__) {
2614
2532
 
2615
2533
  "use strict";
@@ -2621,7 +2539,7 @@ Object.defineProperty(exports, "__esModule", {
2621
2539
 
2622
2540
  /***/ }),
2623
2541
 
2624
- /***/ 453:
2542
+ /***/ 441:
2625
2543
  /***/ (function(module, exports, __webpack_require__) {
2626
2544
 
2627
2545
  "use strict";
@@ -2645,13 +2563,13 @@ Object.defineProperty(exports, "__esModule", {
2645
2563
  });
2646
2564
  exports.themes = exports.computeVizProps = exports.PureParallelCoordinates = exports.config = void 0;
2647
2565
 
2648
- var PureParallelCoordinates_1 = __webpack_require__(454);
2566
+ var PureParallelCoordinates_1 = __webpack_require__(442);
2649
2567
 
2650
- var withDashboardViz_1 = __webpack_require__(56);
2568
+ var withDashboardViz_1 = __webpack_require__(54);
2651
2569
 
2652
- var config_1 = __webpack_require__(461);
2570
+ var config_1 = __webpack_require__(449);
2653
2571
 
2654
- var singleValueUtils_1 = __webpack_require__(20);
2572
+ var singleValueUtils_1 = __webpack_require__(19);
2655
2573
 
2656
2574
  exports.config = config_1.default;
2657
2575
  exports.PureParallelCoordinates = PureParallelCoordinates_1.default;
@@ -2695,13 +2613,13 @@ exports.default = viz;
2695
2613
 
2696
2614
  /***/ }),
2697
2615
 
2698
- /***/ 454:
2616
+ /***/ 442:
2699
2617
  /***/ (function(module, exports, __webpack_require__) {
2700
2618
 
2701
2619
  "use strict";
2702
2620
 
2703
2621
 
2704
- var _toConsumableArray = __webpack_require__(8);
2622
+ var _toConsumableArray = __webpack_require__(6);
2705
2623
 
2706
2624
  var __rest = this && this.__rest || function (s, e) {
2707
2625
  var t = {};
@@ -2720,19 +2638,19 @@ Object.defineProperty(exports, "__esModule", {
2720
2638
  value: true
2721
2639
  });
2722
2640
 
2723
- var React = __webpack_require__(0);
2641
+ var React = __webpack_require__(1);
2724
2642
 
2725
- var d3_array_1 = __webpack_require__(86);
2643
+ var d3_array_1 = __webpack_require__(83);
2726
2644
 
2727
- var d3_scale_1 = __webpack_require__(116);
2645
+ var d3_scale_1 = __webpack_require__(112);
2728
2646
 
2729
- var T = __webpack_require__(1);
2647
+ var T = __webpack_require__(0);
2730
2648
 
2731
- var i18n_1 = __webpack_require__(2);
2649
+ var i18n_1 = __webpack_require__(3);
2732
2650
 
2733
- var Message_1 = __webpack_require__(12);
2651
+ var Message_1 = __webpack_require__(11);
2734
2652
 
2735
- var ParallelCoordinatesChart_1 = __webpack_require__(455);
2653
+ var ParallelCoordinatesChart_1 = __webpack_require__(443);
2736
2654
 
2737
2655
  var PureParallelCoordinates = function PureParallelCoordinates(_a) {
2738
2656
  var props = __rest(_a, []);
@@ -2757,9 +2675,9 @@ var PureParallelCoordinates = function PureParallelCoordinates(_a) {
2757
2675
  textShadowColor = props.textShadowColor,
2758
2676
  mode = props.mode;
2759
2677
  var minWidth = 200;
2760
- var minHieght = 150;
2678
+ var minHeight = 150;
2761
2679
 
2762
- if (width < minWidth || height < minHieght) {
2680
+ if (Number(width) < minWidth || Number(height) < minHeight) {
2763
2681
  return React.createElement(Message_1.default, {
2764
2682
  width: width,
2765
2683
  height: height,
@@ -2924,15 +2842,15 @@ exports.default = PureParallelCoordinates;
2924
2842
 
2925
2843
  /***/ }),
2926
2844
 
2927
- /***/ 455:
2845
+ /***/ 443:
2928
2846
  /***/ (function(module, exports, __webpack_require__) {
2929
2847
 
2930
2848
  "use strict";
2931
2849
 
2932
2850
 
2933
- var _toConsumableArray = __webpack_require__(8);
2851
+ var _toConsumableArray = __webpack_require__(6);
2934
2852
 
2935
- var _slicedToArray = __webpack_require__(7);
2853
+ var _slicedToArray = __webpack_require__(5);
2936
2854
 
2937
2855
  var __rest = this && this.__rest || function (s, e) {
2938
2856
  var t = {};
@@ -2951,21 +2869,21 @@ Object.defineProperty(exports, "__esModule", {
2951
2869
  value: true
2952
2870
  });
2953
2871
 
2954
- var React = __webpack_require__(0);
2872
+ var React = __webpack_require__(1);
2955
2873
 
2956
2874
  var styled_components_1 = __webpack_require__(4);
2957
2875
 
2958
- var d3_selection_1 = __webpack_require__(456);
2876
+ var d3_selection_1 = __webpack_require__(444);
2959
2877
 
2960
- var d3_brush_1 = __webpack_require__(457);
2878
+ var d3_brush_1 = __webpack_require__(445);
2961
2879
 
2962
- var d3_axis_1 = __webpack_require__(458);
2880
+ var d3_axis_1 = __webpack_require__(446);
2963
2881
 
2964
- var d3_drag_1 = __webpack_require__(459);
2882
+ var d3_drag_1 = __webpack_require__(447);
2965
2883
 
2966
- var rgb_hex_converter_1 = __webpack_require__(186);
2884
+ var rgb_hex_converter_1 = __webpack_require__(181);
2967
2885
 
2968
- var ParallelCoordinatesCanvas_1 = __webpack_require__(460);
2886
+ var ParallelCoordinatesCanvas_1 = __webpack_require__(448);
2969
2887
 
2970
2888
  var ChartDiv = styled_components_1.default.div.withConfig({
2971
2889
  displayName: "ParallelCoordinatesChart__ChartDiv",
@@ -2986,7 +2904,7 @@ var PromptDiv = styled_components_1.default.div.withConfig({
2986
2904
  return props.margin.left + props.width + props.margin.right;
2987
2905
  });
2988
2906
  var FilterButton = styled_components_1.default.button.attrs({
2989
- 'data-testid': 'clear-filter-button'
2907
+ 'data-test': 'clear-filter-button'
2990
2908
  }).withConfig({
2991
2909
  displayName: "ParallelCoordinatesChart__FilterButton",
2992
2910
  componentId: "sc-1oivyc-2"
@@ -3238,7 +3156,8 @@ var ParallelCoordinatesChart = function ParallelCoordinatesChart(_a) {
3238
3156
  width: width,
3239
3157
  height: height,
3240
3158
  margin: margin,
3241
- backgroundColor: backgroundColor
3159
+ backgroundColor: backgroundColor,
3160
+ "data-test": "parallel-coordinates-container"
3242
3161
  }, React.createElement(ParallelCoordinatesCanvas_1.default, {
3243
3162
  width: width,
3244
3163
  height: height,
@@ -3259,7 +3178,7 @@ var ParallelCoordinatesChart = function ParallelCoordinatesChart(_a) {
3259
3178
  style: {
3260
3179
  position: 'relative'
3261
3180
  },
3262
- "data-testid": "svg-layer",
3181
+ "data-test": "svg-layer",
3263
3182
  "data-test-dimensions": currentDimensions.length
3264
3183
  }), React.createElement(PromptDiv, {
3265
3184
  width: width,
@@ -3278,14 +3197,14 @@ var ParallelCoordinatesChart = function ParallelCoordinatesChart(_a) {
3278
3197
  display: filterPromptState ? 'flex' : 'none',
3279
3198
  color: filterTextColor
3280
3199
  },
3281
- "data-testid": "line-selection-prompt"
3200
+ "data-test": "line-selection-prompt"
3282
3201
  }, selectedData.length, "/", data.length, " lines selected")), React.createElement("span", {
3283
3202
  style: {
3284
3203
  display: truncatedCategoriesFlag ? 'flex' : 'none',
3285
3204
  color: truncatedTextColor,
3286
3205
  marginRight: 16
3287
3206
  },
3288
- "data-testid": "truncated-data-warning"
3207
+ "data-test": "truncated-data-warning"
3289
3208
  }, "Note: Your data is currently truncated due to a high amount of categorical values"))));
3290
3209
  };
3291
3210
 
@@ -3293,47 +3212,35 @@ exports.default = ParallelCoordinatesChart;
3293
3212
 
3294
3213
  /***/ }),
3295
3214
 
3296
- /***/ 456:
3215
+ /***/ 444:
3297
3216
  /***/ (function(module, exports) {
3298
3217
 
3299
3218
  module.exports = require("d3-selection");
3300
3219
 
3301
3220
  /***/ }),
3302
3221
 
3303
- /***/ 457:
3222
+ /***/ 445:
3304
3223
  /***/ (function(module, exports) {
3305
3224
 
3306
3225
  module.exports = require("d3-brush");
3307
3226
 
3308
3227
  /***/ }),
3309
3228
 
3310
- /***/ 458:
3229
+ /***/ 446:
3311
3230
  /***/ (function(module, exports) {
3312
3231
 
3313
3232
  module.exports = require("d3-axis");
3314
3233
 
3315
3234
  /***/ }),
3316
3235
 
3317
- /***/ 459:
3236
+ /***/ 447:
3318
3237
  /***/ (function(module, exports) {
3319
3238
 
3320
3239
  module.exports = require("d3-drag");
3321
3240
 
3322
3241
  /***/ }),
3323
3242
 
3324
- /***/ 46:
3325
- /***/ (function(module, exports, __webpack_require__) {
3326
-
3327
- "use strict";
3328
-
3329
-
3330
- Object.defineProperty(exports, "__esModule", {
3331
- value: true
3332
- });
3333
-
3334
- /***/ }),
3335
-
3336
- /***/ 460:
3243
+ /***/ 448:
3337
3244
  /***/ (function(module, exports, __webpack_require__) {
3338
3245
 
3339
3246
  "use strict";
@@ -3356,9 +3263,9 @@ Object.defineProperty(exports, "__esModule", {
3356
3263
  value: true
3357
3264
  });
3358
3265
 
3359
- var React = __webpack_require__(0);
3266
+ var React = __webpack_require__(1);
3360
3267
 
3361
- var rgb_hex_converter_1 = __webpack_require__(186);
3268
+ var rgb_hex_converter_1 = __webpack_require__(181);
3362
3269
 
3363
3270
  var ParallelCoordinatesCanvas = function ParallelCoordinatesCanvas(_a) {
3364
3271
  var props = __rest(_a, []);
@@ -3468,9 +3375,9 @@ var ParallelCoordinatesCanvas = function ParallelCoordinatesCanvas(_a) {
3468
3375
  });
3469
3376
  }, [selectedData, width, height, margin, currentDimensions, showNullAxis, nullOffsetHeight, lineColor, lineOpacity, dpr]);
3470
3377
  return React.createElement("div", {
3471
- "data-testid": "canvas-div"
3378
+ "data-test": "canvas-div"
3472
3379
  }, React.createElement("canvas", {
3473
- "data-testid": "background-canvas-layer",
3380
+ "data-test": "background-canvas-layer",
3474
3381
  ref: backgroundRef,
3475
3382
  style: {
3476
3383
  position: 'absolute',
@@ -3479,7 +3386,7 @@ var ParallelCoordinatesCanvas = function ParallelCoordinatesCanvas(_a) {
3479
3386
  height: height + margin.top + margin.bottom
3480
3387
  }
3481
3388
  }), React.createElement("canvas", {
3482
- "data-testid": "foreground-canvas-layer",
3389
+ "data-test": "foreground-canvas-layer",
3483
3390
  ref: foregroundRef,
3484
3391
  style: {
3485
3392
  position: 'absolute',
@@ -3494,7 +3401,7 @@ exports.default = ParallelCoordinatesCanvas;
3494
3401
 
3495
3402
  /***/ }),
3496
3403
 
3497
- /***/ 461:
3404
+ /***/ 449:
3498
3405
  /***/ (function(module, exports, __webpack_require__) {
3499
3406
 
3500
3407
  "use strict";
@@ -3504,27 +3411,25 @@ Object.defineProperty(exports, "__esModule", {
3504
3411
  value: true
3505
3412
  });
3506
3413
 
3507
- var i18n_1 = __webpack_require__(2);
3414
+ var i18n_1 = __webpack_require__(3);
3508
3415
 
3509
- var schemaUtils_1 = __webpack_require__(24);
3416
+ var visualization_schemas_1 = __webpack_require__(9);
3510
3417
 
3511
- var pick_1 = __webpack_require__(30);
3418
+ var pick_1 = __webpack_require__(29);
3512
3419
 
3513
3420
  var variables_1 = __webpack_require__(13);
3514
3421
 
3515
- var visualization_color_palettes_1 = __webpack_require__(73);
3422
+ var visualization_icons_1 = __webpack_require__(71);
3516
3423
 
3517
- var visualization_icons_1 = __webpack_require__(74);
3424
+ var placeholders_1 = __webpack_require__(70);
3518
3425
 
3519
- var placeholders_1 = __webpack_require__(72);
3426
+ var VizBehavior_1 = __webpack_require__(7);
3520
3427
 
3521
- var VizBehavior_1 = __webpack_require__(6);
3522
-
3523
- var configUtils_1 = __webpack_require__(27);
3428
+ var configUtils_1 = __webpack_require__(26);
3524
3429
 
3525
3430
  var VizCategory_1 = __webpack_require__(22);
3526
3431
 
3527
- var BackgroundColor_1 = __webpack_require__(75);
3432
+ var BackgroundColor_1 = __webpack_require__(72);
3528
3433
 
3529
3434
  var dataContract = {
3530
3435
  requiredDataSources: [{
@@ -3543,30 +3448,6 @@ var size = {
3543
3448
  initialWidth: 700,
3544
3449
  initialHeight: 400
3545
3450
  };
3546
- var optionsSchema = {
3547
- backgroundColor: {
3548
- default: '> themes.defaultBackgroundColor',
3549
- description: 'Specify the color used for the background. The default for enterprise light is "#FFFFFF". The default for enterprise dark is "#000000". The default for prisma dark is "#0b0c0e".',
3550
- pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA,
3551
- type: 'string'
3552
- },
3553
- lineColor: {
3554
- default: visualization_color_palettes_1.VIZ_CATEGORICAL[0],
3555
- description: 'Specify the dataSource color for the lines. The hex value format should be #FFFFFF.',
3556
- pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA,
3557
- type: 'string'
3558
- },
3559
- lineOpacity: {
3560
- default: 0.5,
3561
- description: 'Specify the opacity of the lines. Choose a number in the range of 0 - 1 (inclusive). You can also express the value as a percentage. For example, "0.50" in source or "50%" in UI.',
3562
- type: 'number'
3563
- },
3564
- showNullAxis: {
3565
- default: true,
3566
- description: 'Select whether you would like to show or hide the null value axis.',
3567
- type: 'boolean'
3568
- }
3569
- };
3570
3451
  var themes = {
3571
3452
  defaultBackgroundColor: function defaultBackgroundColor(props) {
3572
3453
  return (0, pick_1.default)({
@@ -3718,7 +3599,7 @@ var config = {
3718
3599
  placeholderIcon: placeholders_1.ParallelCoordinates,
3719
3600
  dataContract: dataContract,
3720
3601
  size: size,
3721
- optionsSchema: optionsSchema,
3602
+ optionsSchema: visualization_schemas_1.parallelCoordinatesOptionsSchema,
3722
3603
  editorConfig: editorConfig,
3723
3604
  events: {},
3724
3605
  supports: [VizBehavior_1.VizBehavior.DYNAMIC_OPTIONS, VizBehavior_1.VizBehavior.EVENTS, VizBehavior_1.VizBehavior.PLACEHOLDER],
@@ -3729,7 +3610,7 @@ exports.default = (0, configUtils_1.enhanceConfig)(config);
3729
3610
 
3730
3611
  /***/ }),
3731
3612
 
3732
- /***/ 47:
3613
+ /***/ 45:
3733
3614
  /***/ (function(module, exports, __webpack_require__) {
3734
3615
 
3735
3616
  "use strict";
@@ -3741,7 +3622,7 @@ Object.defineProperty(exports, "__esModule", {
3741
3622
 
3742
3623
  /***/ }),
3743
3624
 
3744
- /***/ 48:
3625
+ /***/ 46:
3745
3626
  /***/ (function(module, exports, __webpack_require__) {
3746
3627
 
3747
3628
  "use strict";
@@ -3753,7 +3634,7 @@ Object.defineProperty(exports, "__esModule", {
3753
3634
 
3754
3635
  /***/ }),
3755
3636
 
3756
- /***/ 49:
3637
+ /***/ 47:
3757
3638
  /***/ (function(module, exports, __webpack_require__) {
3758
3639
 
3759
3640
  "use strict";
@@ -3765,7 +3646,7 @@ Object.defineProperty(exports, "__esModule", {
3765
3646
 
3766
3647
  /***/ }),
3767
3648
 
3768
- /***/ 50:
3649
+ /***/ 48:
3769
3650
  /***/ (function(module, exports, __webpack_require__) {
3770
3651
 
3771
3652
  "use strict";
@@ -3777,7 +3658,7 @@ Object.defineProperty(exports, "__esModule", {
3777
3658
 
3778
3659
  /***/ }),
3779
3660
 
3780
- /***/ 51:
3661
+ /***/ 49:
3781
3662
  /***/ (function(module, exports, __webpack_require__) {
3782
3663
 
3783
3664
  "use strict";
@@ -3789,7 +3670,14 @@ Object.defineProperty(exports, "__esModule", {
3789
3670
 
3790
3671
  /***/ }),
3791
3672
 
3792
- /***/ 52:
3673
+ /***/ 5:
3674
+ /***/ (function(module, exports) {
3675
+
3676
+ module.exports = require("@babel/runtime/helpers/slicedToArray");
3677
+
3678
+ /***/ }),
3679
+
3680
+ /***/ 50:
3793
3681
  /***/ (function(module, exports, __webpack_require__) {
3794
3682
 
3795
3683
  "use strict";
@@ -3801,7 +3689,7 @@ Object.defineProperty(exports, "__esModule", {
3801
3689
 
3802
3690
  /***/ }),
3803
3691
 
3804
- /***/ 53:
3692
+ /***/ 51:
3805
3693
  /***/ (function(module, exports, __webpack_require__) {
3806
3694
 
3807
3695
  "use strict";
@@ -3813,7 +3701,7 @@ Object.defineProperty(exports, "__esModule", {
3813
3701
 
3814
3702
  /***/ }),
3815
3703
 
3816
- /***/ 54:
3704
+ /***/ 52:
3817
3705
  /***/ (function(module, exports, __webpack_require__) {
3818
3706
 
3819
3707
  "use strict";
@@ -3825,7 +3713,7 @@ Object.defineProperty(exports, "__esModule", {
3825
3713
 
3826
3714
  /***/ }),
3827
3715
 
3828
- /***/ 55:
3716
+ /***/ 53:
3829
3717
  /***/ (function(module, exports, __webpack_require__) {
3830
3718
 
3831
3719
  "use strict";
@@ -3837,65 +3725,65 @@ Object.defineProperty(exports, "__esModule", {
3837
3725
 
3838
3726
  /***/ }),
3839
3727
 
3840
- /***/ 56:
3728
+ /***/ 54:
3841
3729
  /***/ (function(module, exports, __webpack_require__) {
3842
3730
 
3843
3731
  "use strict";
3844
3732
 
3845
3733
 
3846
- var _slicedToArray = __webpack_require__(7);
3734
+ var _slicedToArray = __webpack_require__(5);
3847
3735
 
3848
3736
  Object.defineProperty(exports, "__esModule", {
3849
3737
  value: true
3850
3738
  });
3851
3739
 
3852
- var React = __webpack_require__(0);
3740
+ var React = __webpack_require__(1);
3853
3741
 
3854
- var lodash_1 = __webpack_require__(3);
3742
+ var lodash_1 = __webpack_require__(2);
3855
3743
 
3856
- var getSettingsFromThemedProps_1 = __webpack_require__(57);
3744
+ var getSettingsFromThemedProps_1 = __webpack_require__(55);
3857
3745
 
3858
3746
  var Options_1 = __webpack_require__(16);
3859
3747
 
3860
- var SanitizeProps_1 = __webpack_require__(58);
3748
+ var SanitizeProps_1 = __webpack_require__(56);
3861
3749
 
3862
- var TimezoneContext_1 = __webpack_require__(32);
3750
+ var TimezoneContext_1 = __webpack_require__(31);
3863
3751
 
3864
- var moment_1 = __webpack_require__(59);
3752
+ var moment_1 = __webpack_require__(57);
3865
3753
 
3866
- var FeatureFlagContext_1 = __webpack_require__(28);
3754
+ var FeatureFlagContext_1 = __webpack_require__(27);
3867
3755
 
3868
3756
  var styled_components_1 = __webpack_require__(4);
3869
3757
 
3870
- var hocUtils_1 = __webpack_require__(34);
3758
+ var hocUtils_1 = __webpack_require__(33);
3871
3759
 
3872
- var JSONSchemaUtils_1 = __webpack_require__(35);
3760
+ var JSONSchemaUtils_1 = __webpack_require__(34);
3873
3761
 
3874
- var async_dynamic_options_evaluator_1 = __webpack_require__(60);
3762
+ var async_dynamic_options_evaluator_1 = __webpack_require__(58);
3875
3763
 
3876
- var id_1 = __webpack_require__(31);
3764
+ var id_1 = __webpack_require__(30);
3877
3765
 
3878
- var SplunkVisualization_1 = __webpack_require__(61);
3766
+ var SplunkVisualization_1 = __webpack_require__(59);
3879
3767
 
3880
- var VizBehavior_1 = __webpack_require__(6);
3768
+ var VizBehavior_1 = __webpack_require__(7);
3881
3769
 
3882
- var getSorting_1 = __webpack_require__(38);
3770
+ var getSorting_1 = __webpack_require__(37);
3883
3771
 
3884
- var getPagination_1 = __webpack_require__(39);
3772
+ var getPagination_1 = __webpack_require__(38);
3885
3773
 
3886
- var useDeepMemo_1 = __webpack_require__(62);
3774
+ var useDeepMemo_1 = __webpack_require__(60);
3887
3775
 
3888
- var MissingPropsMessage_1 = __webpack_require__(63);
3776
+ var MissingPropsMessage_1 = __webpack_require__(61);
3889
3777
 
3890
- var withEditModeCover_1 = __webpack_require__(64);
3778
+ var withEditModeCover_1 = __webpack_require__(62);
3891
3779
 
3892
- var withPlaceholder_1 = __webpack_require__(65);
3780
+ var withPlaceholder_1 = __webpack_require__(63);
3893
3781
 
3894
- var useDownsampleDataSources_1 = __webpack_require__(66);
3782
+ var useDownsampleDataSources_1 = __webpack_require__(64);
3895
3783
 
3896
3784
  var dataUtils_1 = __webpack_require__(14);
3897
3785
 
3898
- var featureFlagUtils_1 = __webpack_require__(68);
3786
+ var featureFlagUtils_1 = __webpack_require__(66);
3899
3787
  /**
3900
3788
  * hoc that wraps a pure react visualization in a Dashboard visualization
3901
3789
  * @param {DashboardVizOpts} opts
@@ -4228,81 +4116,41 @@ exports.default = withDashboardViz;
4228
4116
 
4229
4117
  /***/ }),
4230
4118
 
4231
- /***/ 57:
4119
+ /***/ 55:
4232
4120
  /***/ (function(module, exports) {
4233
4121
 
4234
4122
  module.exports = require("@splunk/themes/getSettingsFromThemedProps");
4235
4123
 
4236
4124
  /***/ }),
4237
4125
 
4238
- /***/ 58:
4126
+ /***/ 56:
4239
4127
  /***/ (function(module, exports) {
4240
4128
 
4241
4129
  module.exports = require("@splunk/visualizations-shared/SanitizeProps");
4242
4130
 
4243
4131
  /***/ }),
4244
4132
 
4245
- /***/ 59:
4133
+ /***/ 57:
4246
4134
  /***/ (function(module, exports) {
4247
4135
 
4248
4136
  module.exports = require("@splunk/moment");
4249
4137
 
4250
4138
  /***/ }),
4251
4139
 
4252
- /***/ 6:
4253
- /***/ (function(module, exports, __webpack_require__) {
4254
-
4255
- "use strict";
4256
-
4257
-
4258
- Object.defineProperty(exports, "__esModule", {
4259
- value: true
4260
- });
4261
- exports.VizBehavior = void 0;
4262
- var VizBehavior;
4263
-
4264
- (function (VizBehavior) {
4265
- /**
4266
- * Dynamic Options Behavior.
4267
- * This allows visualization options to be powered by data
4268
- *
4269
- * **Example**
4270
- *
4271
- * sparklineValues: ">primary|seriesByIndex(0)"
4272
- * would configure sparklineValues with an array of data points
4273
- * coming from the first series in the primary datasource
4274
- *
4275
- */
4276
- VizBehavior["DYNAMIC_OPTIONS"] = "dynamic-options";
4277
- VizBehavior["EVENTS"] = "events";
4278
- VizBehavior["DOWNSAMPLING"] = "downsampling";
4279
- /**
4280
- * Placeholder behavior: visualization will display a placeholder rather than fail if any of the `requiredProps` is
4281
- * missing.
4282
- * @type {string}
4283
- */
4284
-
4285
- VizBehavior["PLACEHOLDER"] = "placeholder";
4286
- VizBehavior["PAGE_AND_SORT"] = "page-and-sort";
4287
- VizBehavior["TRELLIS"] = "trellis";
4288
- })(VizBehavior = exports.VizBehavior || (exports.VizBehavior = {}));
4289
-
4290
- /***/ }),
4291
-
4292
- /***/ 60:
4140
+ /***/ 58:
4293
4141
  /***/ (function(module, exports) {
4294
4142
 
4295
4143
  module.exports = require("@splunk/async-dynamic-options-evaluator");
4296
4144
 
4297
4145
  /***/ }),
4298
4146
 
4299
- /***/ 61:
4147
+ /***/ 59:
4300
4148
  /***/ (function(module, exports, __webpack_require__) {
4301
4149
 
4302
4150
  "use strict";
4303
4151
 
4304
4152
 
4305
- var _classCallCheck = __webpack_require__(10);
4153
+ var _classCallCheck = __webpack_require__(8);
4306
4154
 
4307
4155
  Object.defineProperty(exports, "__esModule", {
4308
4156
  value: true
@@ -4310,9 +4158,9 @@ Object.defineProperty(exports, "__esModule", {
4310
4158
  exports.INITIAL_HEIGHT = exports.INITIAL_WIDTH = void 0;
4311
4159
  /* eslint-disable react/no-unused-prop-types,react/prefer-stateless-function */
4312
4160
 
4313
- var T = __webpack_require__(1);
4161
+ var T = __webpack_require__(0);
4314
4162
 
4315
- var lodash_1 = __webpack_require__(3);
4163
+ var lodash_1 = __webpack_require__(2);
4316
4164
 
4317
4165
  var VizActionHandler_1 = __webpack_require__(21); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
4318
4166
 
@@ -4448,7 +4296,14 @@ exports.default = SplunkVisualization;
4448
4296
 
4449
4297
  /***/ }),
4450
4298
 
4451
- /***/ 62:
4299
+ /***/ 6:
4300
+ /***/ (function(module, exports) {
4301
+
4302
+ module.exports = require("@babel/runtime/helpers/toConsumableArray");
4303
+
4304
+ /***/ }),
4305
+
4306
+ /***/ 60:
4452
4307
  /***/ (function(module, exports, __webpack_require__) {
4453
4308
 
4454
4309
  "use strict";
@@ -4459,9 +4314,9 @@ Object.defineProperty(exports, "__esModule", {
4459
4314
  });
4460
4315
  exports.useDeepMemo = void 0;
4461
4316
 
4462
- var react_1 = __webpack_require__(0);
4317
+ var react_1 = __webpack_require__(1);
4463
4318
 
4464
- var lodash_1 = __webpack_require__(3);
4319
+ var lodash_1 = __webpack_require__(2);
4465
4320
  /**
4466
4321
  * This hook evaluates and stores the result of a passed function and only
4467
4322
  * re-evaluates the function when passed dependencies change.
@@ -4494,7 +4349,7 @@ exports.useDeepMemo = useDeepMemo;
4494
4349
 
4495
4350
  /***/ }),
4496
4351
 
4497
- /***/ 63:
4352
+ /***/ 61:
4498
4353
  /***/ (function(module, exports, __webpack_require__) {
4499
4354
 
4500
4355
  "use strict";
@@ -4505,13 +4360,13 @@ Object.defineProperty(exports, "__esModule", {
4505
4360
  });
4506
4361
  exports.MissingPropsMessage = exports.missingKeys = exports.isMissing = void 0;
4507
4362
 
4508
- var React = __webpack_require__(0);
4363
+ var React = __webpack_require__(1);
4509
4364
 
4510
- var T = __webpack_require__(1);
4365
+ var T = __webpack_require__(0);
4511
4366
 
4512
- var i18n_1 = __webpack_require__(2);
4367
+ var i18n_1 = __webpack_require__(3);
4513
4368
 
4514
- var Message_1 = __webpack_require__(12);
4369
+ var Message_1 = __webpack_require__(11);
4515
4370
 
4516
4371
  var FixedSizeContainer_1 = __webpack_require__(17);
4517
4372
  /**
@@ -4575,7 +4430,7 @@ exports.default = (0, FixedSizeContainer_1.default)(exports.MissingPropsMessage)
4575
4430
 
4576
4431
  /***/ }),
4577
4432
 
4578
- /***/ 64:
4433
+ /***/ 62:
4579
4434
  /***/ (function(module, exports, __webpack_require__) {
4580
4435
 
4581
4436
  "use strict";
@@ -4585,7 +4440,7 @@ Object.defineProperty(exports, "__esModule", {
4585
4440
  value: true
4586
4441
  });
4587
4442
 
4588
- var React = __webpack_require__(0);
4443
+ var React = __webpack_require__(1);
4589
4444
 
4590
4445
  var styled_components_1 = __webpack_require__(4);
4591
4446
 
@@ -4596,7 +4451,7 @@ var Cover = styled_components_1.default.div.withConfig({
4596
4451
  componentId: "sc-1gsbnxb-0"
4597
4452
  })(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
4598
4453
  var Blocker = styled_components_1.default.div.attrs({
4599
- 'data-splunk-visualization-version': "26.2.1 - 714383dbb"
4454
+ 'data-splunk-visualization-version': "26.4.0 - 04078274d"
4600
4455
  }).withConfig({
4601
4456
  displayName: "withEditModeCover__Blocker",
4602
4457
  componentId: "sc-1gsbnxb-1"
@@ -4628,7 +4483,7 @@ exports.default = withEditModeCover;
4628
4483
 
4629
4484
  /***/ }),
4630
4485
 
4631
- /***/ 65:
4486
+ /***/ 63:
4632
4487
  /***/ (function(module, exports, __webpack_require__) {
4633
4488
 
4634
4489
  "use strict";
@@ -4638,15 +4493,15 @@ Object.defineProperty(exports, "__esModule", {
4638
4493
  value: true
4639
4494
  });
4640
4495
 
4641
- var React = __webpack_require__(0);
4496
+ var React = __webpack_require__(1);
4642
4497
 
4643
4498
  var colorUtils_1 = __webpack_require__(15);
4644
4499
 
4645
4500
  var variables_1 = __webpack_require__(13);
4646
4501
 
4647
- var IconPlaceholder_1 = __webpack_require__(37);
4502
+ var IconPlaceholder_1 = __webpack_require__(36);
4648
4503
 
4649
- var VizBehavior_1 = __webpack_require__(6);
4504
+ var VizBehavior_1 = __webpack_require__(7);
4650
4505
 
4651
4506
  var hocUtils_1 = __webpack_require__(23);
4652
4507
 
@@ -4693,27 +4548,30 @@ exports.default = withPlaceholder;
4693
4548
 
4694
4549
  /***/ }),
4695
4550
 
4696
- /***/ 66:
4551
+ /***/ 64:
4697
4552
  /***/ (function(module, exports, __webpack_require__) {
4698
4553
 
4699
4554
  "use strict";
4700
4555
 
4701
4556
 
4702
- var _slicedToArray = __webpack_require__(7);
4557
+ var _slicedToArray = __webpack_require__(5);
4703
4558
 
4704
4559
  Object.defineProperty(exports, "__esModule", {
4705
4560
  value: true
4706
4561
  });
4707
4562
 
4708
- var react_1 = __webpack_require__(0);
4563
+ var react_1 = __webpack_require__(1);
4709
4564
 
4710
- var lodash_1 = __webpack_require__(3);
4565
+ var lodash_1 = __webpack_require__(2);
4711
4566
 
4712
4567
  var dataUtils_1 = __webpack_require__(14);
4713
4568
 
4714
- var usePrevious_1 = __webpack_require__(33);
4569
+ var usePrevious_1 = __webpack_require__(32);
4715
4570
 
4716
- var useGetXAndYFields_1 = __webpack_require__(67);
4571
+ var useGetXAndYFields_1 = __webpack_require__(65); // Options properties which impact/require re-downsample on change.
4572
+
4573
+
4574
+ var downsampleVizOptionProperties = ['nullValueDisplay'];
4717
4575
 
4718
4576
  var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
4719
4577
  var dataSources = _ref.dataSources,
@@ -4727,8 +4585,15 @@ var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
4727
4585
  options: options,
4728
4586
  context: context,
4729
4587
  dataSources: dataSources
4730
- });
4731
- var previousXAndYFieldsWithTypes = (0, usePrevious_1.default)(xAndYFieldsWithTypes);
4588
+ }); // Extract viz options that impact downsampling.
4589
+
4590
+ var downsampleVizOptions = (0, react_1.useMemo)(function () {
4591
+ return (0, lodash_1.pick)(options, downsampleVizOptionProperties);
4592
+ }, [options]);
4593
+ var downsampleDSOptions = (0, react_1.useMemo)(function () {
4594
+ return Object.assign(Object.assign({}, downsampleVizOptions), xAndYFieldsWithTypes);
4595
+ }, [xAndYFieldsWithTypes, downsampleVizOptions]);
4596
+ var previousDownsampleDSOptions = (0, usePrevious_1.default)(downsampleDSOptions);
4732
4597
  var previousDataSources = (0, usePrevious_1.default)(dataSources);
4733
4598
  var previousThreshold = (0, usePrevious_1.default)(threshold);
4734
4599
 
@@ -4736,7 +4601,7 @@ var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
4736
4601
  return isDownsamplingEnabled ? (0, dataUtils_1.downsampleDataSources)({
4737
4602
  dataSources: dataSources,
4738
4603
  threshold: threshold,
4739
- options: xAndYFieldsWithTypes
4604
+ options: downsampleDSOptions
4740
4605
  }) : dataSources;
4741
4606
  }),
4742
4607
  _ref3 = _slicedToArray(_ref2, 2),
@@ -4764,7 +4629,7 @@ var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
4764
4629
  return;
4765
4630
  }
4766
4631
 
4767
- if ((0, lodash_1.isEqual)(previousXAndYFieldsWithTypes, xAndYFieldsWithTypes) && previousDataSources === dataSources && previousThreshold === threshold) {
4632
+ if ((0, lodash_1.isEqual)(previousDownsampleDSOptions, downsampleDSOptions) && previousDataSources === dataSources && previousThreshold === threshold) {
4768
4633
  return;
4769
4634
  } // Debounce the downsampling so we don't have to downsample and execute DSL multiple times
4770
4635
  // while the viz is being resized
@@ -4772,10 +4637,10 @@ var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
4772
4637
 
4773
4638
  debouncedDownsampleDataSources({
4774
4639
  dataSources: dataSources,
4775
- options: xAndYFieldsWithTypes,
4640
+ options: downsampleDSOptions,
4776
4641
  threshold: threshold
4777
4642
  }); // need to detect if this runs as part of the initial render
4778
- }, [dataSources, debouncedDownsampleDataSources, xAndYFieldsWithTypes, threshold, isDownsamplingEnabled, previousXAndYFieldsWithTypes, previousDataSources, previousThreshold]);
4643
+ }, [dataSources, downsampleDSOptions, debouncedDownsampleDataSources, xAndYFieldsWithTypes, threshold, isDownsamplingEnabled, previousDataSources, previousThreshold, previousDownsampleDSOptions]);
4779
4644
  return downsampledDataSources;
4780
4645
  };
4781
4646
 
@@ -4783,19 +4648,19 @@ exports.default = useDownsampleDataSources;
4783
4648
 
4784
4649
  /***/ }),
4785
4650
 
4786
- /***/ 67:
4651
+ /***/ 65:
4787
4652
  /***/ (function(module, exports, __webpack_require__) {
4788
4653
 
4789
4654
  "use strict";
4790
4655
 
4791
4656
 
4792
- var _toConsumableArray = __webpack_require__(8);
4657
+ var _toConsumableArray = __webpack_require__(6);
4793
4658
 
4794
4659
  Object.defineProperty(exports, "__esModule", {
4795
4660
  value: true
4796
4661
  });
4797
4662
 
4798
- var react_1 = __webpack_require__(0);
4663
+ var react_1 = __webpack_require__(1);
4799
4664
 
4800
4665
  var Options_1 = __webpack_require__(16);
4801
4666
  /**
@@ -4898,7 +4763,7 @@ exports.default = useGetXAndYFields;
4898
4763
 
4899
4764
  /***/ }),
4900
4765
 
4901
- /***/ 68:
4766
+ /***/ 66:
4902
4767
  /***/ (function(module, exports, __webpack_require__) {
4903
4768
 
4904
4769
  "use strict";
@@ -4909,7 +4774,7 @@ Object.defineProperty(exports, "__esModule", {
4909
4774
  });
4910
4775
  exports.getFeatureFlag = void 0;
4911
4776
 
4912
- var FeatureFlags_1 = __webpack_require__(69);
4777
+ var FeatureFlags_1 = __webpack_require__(67);
4913
4778
 
4914
4779
  var getFeatureFlag = function getFeatureFlag(context, flagName) {
4915
4780
  // look for feature flag in context first
@@ -4934,49 +4799,75 @@ exports.getFeatureFlag = getFeatureFlag;
4934
4799
 
4935
4800
  /***/ }),
4936
4801
 
4937
- /***/ 69:
4802
+ /***/ 67:
4938
4803
  /***/ (function(module, exports) {
4939
4804
 
4940
4805
  module.exports = require("@splunk/visualization-context/FeatureFlags");
4941
4806
 
4942
4807
  /***/ }),
4943
4808
 
4944
- /***/ 7:
4809
+ /***/ 69:
4945
4810
  /***/ (function(module, exports) {
4946
4811
 
4947
- module.exports = require("@babel/runtime/helpers/slicedToArray");
4812
+ module.exports = require("@splunk/visualizations-shared/colorConstants");
4948
4813
 
4949
4814
  /***/ }),
4950
4815
 
4951
- /***/ 71:
4952
- /***/ (function(module, exports) {
4816
+ /***/ 7:
4817
+ /***/ (function(module, exports, __webpack_require__) {
4953
4818
 
4954
- module.exports = require("@splunk/visualizations-shared/colorConstants");
4819
+ "use strict";
4955
4820
 
4956
- /***/ }),
4957
4821
 
4958
- /***/ 72:
4959
- /***/ (function(module, exports) {
4822
+ Object.defineProperty(exports, "__esModule", {
4823
+ value: true
4824
+ });
4825
+ exports.VizBehavior = void 0;
4826
+ var VizBehavior;
4960
4827
 
4961
- module.exports = require("@splunk/visualization-icons/placeholders");
4828
+ (function (VizBehavior) {
4829
+ /**
4830
+ * Dynamic Options Behavior.
4831
+ * This allows visualization options to be powered by data
4832
+ *
4833
+ * **Example**
4834
+ *
4835
+ * sparklineValues: ">primary|seriesByIndex(0)"
4836
+ * would configure sparklineValues with an array of data points
4837
+ * coming from the first series in the primary datasource
4838
+ *
4839
+ */
4840
+ VizBehavior["DYNAMIC_OPTIONS"] = "dynamic-options";
4841
+ VizBehavior["EVENTS"] = "events";
4842
+ VizBehavior["DOWNSAMPLING"] = "downsampling";
4843
+ /**
4844
+ * Placeholder behavior: visualization will display a placeholder rather than fail if any of the `requiredProps` is
4845
+ * missing.
4846
+ * @type {string}
4847
+ */
4848
+
4849
+ VizBehavior["PLACEHOLDER"] = "placeholder";
4850
+ VizBehavior["PAGE_AND_SORT"] = "page-and-sort";
4851
+ VizBehavior["TRELLIS"] = "trellis";
4852
+ })(VizBehavior = exports.VizBehavior || (exports.VizBehavior = {}));
4962
4853
 
4963
4854
  /***/ }),
4964
4855
 
4965
- /***/ 73:
4856
+ /***/ 70:
4966
4857
  /***/ (function(module, exports) {
4967
4858
 
4968
- module.exports = require("@splunk/visualization-color-palettes");
4859
+ module.exports = require("@splunk/visualization-icons/placeholders");
4969
4860
 
4970
4861
  /***/ }),
4971
4862
 
4972
- /***/ 74:
4863
+ /***/ 71:
4973
4864
  /***/ (function(module, exports) {
4974
4865
 
4975
4866
  module.exports = require("@splunk/visualization-icons");
4976
4867
 
4977
4868
  /***/ }),
4978
4869
 
4979
- /***/ 75:
4870
+ /***/ 72:
4980
4871
  /***/ (function(module, exports, __webpack_require__) {
4981
4872
 
4982
4873
  "use strict";
@@ -4986,14 +4877,14 @@ Object.defineProperty(exports, "__esModule", {
4986
4877
  value: true
4987
4878
  });
4988
4879
 
4989
- var i18n_1 = __webpack_require__(2);
4880
+ var i18n_1 = __webpack_require__(3);
4990
4881
 
4991
4882
  var background = function background(_ref) {
4992
4883
  var label = _ref.label,
4993
4884
  themes = _ref.themes,
4994
4885
  labelPosition = _ref.labelPosition;
4995
4886
  return [{
4996
- label: (0, i18n_1._)(label || 'Background'),
4887
+ label: (0, i18n_1._)(label || 'Background color'),
4997
4888
  option: 'backgroundColor',
4998
4889
  editor: 'editor.color',
4999
4890
  editorProps: {
@@ -5007,7 +4898,7 @@ exports.default = background;
5007
4898
 
5008
4899
  /***/ }),
5009
4900
 
5010
- /***/ 76:
4901
+ /***/ 73:
5011
4902
  /***/ (function(module, exports) {
5012
4903
 
5013
4904
  module.exports = require("@splunk/visualizations-shared/domUtils");
@@ -5017,11 +4908,11 @@ module.exports = require("@splunk/visualizations-shared/domUtils");
5017
4908
  /***/ 8:
5018
4909
  /***/ (function(module, exports) {
5019
4910
 
5020
- module.exports = require("@babel/runtime/helpers/toConsumableArray");
4911
+ module.exports = require("@babel/runtime/helpers/classCallCheck");
5021
4912
 
5022
4913
  /***/ }),
5023
4914
 
5024
- /***/ 86:
4915
+ /***/ 83:
5025
4916
  /***/ (function(module, exports) {
5026
4917
 
5027
4918
  module.exports = require("d3-array");
@@ -5031,7 +4922,7 @@ module.exports = require("d3-array");
5031
4922
  /***/ 9:
5032
4923
  /***/ (function(module, exports) {
5033
4924
 
5034
- module.exports = require("@babel/runtime/helpers/defineProperty");
4925
+ module.exports = require("@splunk/visualization-schemas");
5035
4926
 
5036
4927
  /***/ })
5037
4928