@splunk/visualizations 26.3.0 → 26.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (102) hide show
  1. package/Area.config.js +1 -1
  2. package/Area.config.js.map +1 -1
  3. package/Area.js +300 -290
  4. package/Area.js.map +1 -1
  5. package/Bar.config.js +1 -1
  6. package/Bar.config.js.map +1 -1
  7. package/Bar.js +303 -293
  8. package/Bar.js.map +1 -1
  9. package/Bubble.config.js +1 -1
  10. package/Bubble.config.js.map +1 -1
  11. package/Bubble.js +292 -282
  12. package/Bubble.js.map +1 -1
  13. package/ChoroplethSvg.config.js +1 -1
  14. package/ChoroplethSvg.config.js.map +1 -1
  15. package/ChoroplethSvg.js +262 -260
  16. package/ChoroplethSvg.js.map +1 -1
  17. package/Column.config.js +1 -1
  18. package/Column.config.js.map +1 -1
  19. package/Column.js +303 -293
  20. package/Column.js.map +1 -1
  21. package/Ellipse.js +220 -218
  22. package/Ellipse.js.map +1 -1
  23. package/Events.config.js +1 -1
  24. package/Events.config.js.map +1 -1
  25. package/Events.js +285 -283
  26. package/Events.js.map +1 -1
  27. package/FillerGauge.config.js +1 -1
  28. package/FillerGauge.config.js.map +1 -1
  29. package/FillerGauge.js +250 -248
  30. package/FillerGauge.js.map +1 -1
  31. package/Image.js +212 -210
  32. package/Image.js.map +1 -1
  33. package/Line.config.js +1 -1
  34. package/Line.config.js.map +1 -1
  35. package/Line.js +301 -291
  36. package/Line.js.map +1 -1
  37. package/LinkGraph.config.js +1 -1
  38. package/LinkGraph.config.js.map +1 -1
  39. package/LinkGraph.js +1725 -17201
  40. package/LinkGraph.js.map +1 -1
  41. package/MIGRATION.md +12 -0
  42. package/Map.config.js +1 -1
  43. package/Map.config.js.map +1 -1
  44. package/Map.js +465 -406
  45. package/Map.js.map +1 -1
  46. package/Markdown.config.js +1 -1
  47. package/Markdown.config.js.map +1 -1
  48. package/Markdown.js +281 -277
  49. package/Markdown.js.map +1 -1
  50. package/MarkerGauge.config.js +1 -1
  51. package/MarkerGauge.config.js.map +1 -1
  52. package/MarkerGauge.js +926 -922
  53. package/MarkerGauge.js.map +1 -1
  54. package/ParallelCoordinates.config.js +1 -1
  55. package/ParallelCoordinates.config.js.map +1 -1
  56. package/ParallelCoordinates.js +336 -320
  57. package/ParallelCoordinates.js.map +1 -1
  58. package/Pie.config.js +5 -1
  59. package/Pie.config.js.map +1 -1
  60. package/Pie.js +374 -332
  61. package/Pie.js.map +1 -1
  62. package/Punchcard.config.js +1 -1
  63. package/Punchcard.config.js.map +1 -1
  64. package/Punchcard.js +342 -338
  65. package/Punchcard.js.map +1 -1
  66. package/Rectangle.js +260 -256
  67. package/Rectangle.js.map +1 -1
  68. package/Sankey.config.js +1 -1
  69. package/Sankey.config.js.map +1 -1
  70. package/Sankey.js +339 -335
  71. package/Sankey.js.map +1 -1
  72. package/Scatter.config.js +1 -1
  73. package/Scatter.config.js.map +1 -1
  74. package/Scatter.js +351 -339
  75. package/Scatter.js.map +1 -1
  76. package/SingleValue.config.js +10 -2
  77. package/SingleValue.config.js.map +1 -1
  78. package/SingleValue.js +455 -427
  79. package/SingleValue.js.map +1 -1
  80. package/SingleValueBasic.js +65 -53
  81. package/SingleValueBasic.js.map +1 -1
  82. package/SingleValueIcon.config.js +10 -2
  83. package/SingleValueIcon.config.js.map +1 -1
  84. package/SingleValueIcon.js +449 -421
  85. package/SingleValueIcon.js.map +1 -1
  86. package/SingleValueRadial.config.js +11 -3
  87. package/SingleValueRadial.config.js.map +1 -1
  88. package/SingleValueRadial.js +1580 -1552
  89. package/SingleValueRadial.js.map +1 -1
  90. package/SparkLine.js +33 -33
  91. package/SparkLine.js.map +1 -1
  92. package/Table.js +354 -350
  93. package/Table.js.map +1 -1
  94. package/common/Charting.js +25 -24
  95. package/common/Charting.js.map +1 -1
  96. package/common/utils/dataUtils.js +12 -18
  97. package/common/utils/dataUtils.js.map +1 -1
  98. package/common/utils/singleValueUtils.js +23 -11
  99. package/common/utils/singleValueUtils.js.map +1 -1
  100. package/common/withDashboardViz.js +31 -27
  101. package/common/withDashboardViz.js.map +1 -1
  102. package/package.json +17 -16
package/ChoroplethSvg.js CHANGED
@@ -87,32 +87,32 @@ module.exports =
87
87
  /******/
88
88
  /******/
89
89
  /******/ // Load entry module and return exports
90
- /******/ return __webpack_require__(__webpack_require__.s = 204);
90
+ /******/ return __webpack_require__(__webpack_require__.s = 202);
91
91
  /******/ })
92
92
  /************************************************************************/
93
93
  /******/ ([
94
94
  /* 0 */
95
95
  /***/ (function(module, exports) {
96
96
 
97
- module.exports = require("react");
97
+ module.exports = require("prop-types");
98
98
 
99
99
  /***/ }),
100
100
  /* 1 */
101
101
  /***/ (function(module, exports) {
102
102
 
103
- module.exports = require("prop-types");
103
+ module.exports = require("react");
104
104
 
105
105
  /***/ }),
106
106
  /* 2 */
107
107
  /***/ (function(module, exports) {
108
108
 
109
- module.exports = require("@splunk/ui-utils/i18n");
109
+ module.exports = require("lodash");
110
110
 
111
111
  /***/ }),
112
112
  /* 3 */
113
113
  /***/ (function(module, exports) {
114
114
 
115
- module.exports = require("lodash");
115
+ module.exports = require("@splunk/ui-utils/i18n");
116
116
 
117
117
  /***/ }),
118
118
  /* 4 */
@@ -121,20 +121,19 @@ module.exports = require("lodash");
121
121
  module.exports = require("styled-components");
122
122
 
123
123
  /***/ }),
124
- /* 5 */,
125
- /* 6 */
124
+ /* 5 */
126
125
  /***/ (function(module, exports) {
127
126
 
128
127
  module.exports = require("@babel/runtime/helpers/slicedToArray");
129
128
 
130
129
  /***/ }),
131
- /* 7 */
130
+ /* 6 */
132
131
  /***/ (function(module, exports) {
133
132
 
134
133
  module.exports = require("@babel/runtime/helpers/toConsumableArray");
135
134
 
136
135
  /***/ }),
137
- /* 8 */
136
+ /* 7 */
138
137
  /***/ (function(module, exports, __webpack_require__) {
139
138
 
140
139
  "use strict";
@@ -173,43 +172,43 @@ var VizBehavior;
173
172
  })(VizBehavior = exports.VizBehavior || (exports.VizBehavior = {}));
174
173
 
175
174
  /***/ }),
176
- /* 9 */
175
+ /* 8 */
177
176
  /***/ (function(module, exports) {
178
177
 
179
178
  module.exports = require("@babel/runtime/helpers/classCallCheck");
180
179
 
181
180
  /***/ }),
182
- /* 10 */
181
+ /* 9 */
183
182
  /***/ (function(module, exports) {
184
183
 
185
184
  module.exports = require("@splunk/visualization-schemas");
186
185
 
187
186
  /***/ }),
188
- /* 11 */
187
+ /* 10 */
189
188
  /***/ (function(module, exports) {
190
189
 
191
190
  module.exports = require("@splunk/visualizations-shared/numberUtils");
192
191
 
193
192
  /***/ }),
194
- /* 12 */
193
+ /* 11 */
195
194
  /***/ (function(module, exports) {
196
195
 
197
196
  module.exports = require("@splunk/visualizations-shared/Message");
198
197
 
199
198
  /***/ }),
200
- /* 13 */
199
+ /* 12 */
201
200
  /***/ (function(module, exports) {
202
201
 
203
202
  module.exports = require("@babel/runtime/helpers/defineProperty");
204
203
 
205
204
  /***/ }),
206
- /* 14 */
205
+ /* 13 */
207
206
  /***/ (function(module, exports) {
208
207
 
209
208
  module.exports = require("@splunk/themes/variables");
210
209
 
211
210
  /***/ }),
212
- /* 15 */
211
+ /* 14 */
213
212
  /***/ (function(module, exports, __webpack_require__) {
214
213
 
215
214
  "use strict";
@@ -220,9 +219,9 @@ Object.defineProperty(exports, "__esModule", {
220
219
  });
221
220
  exports.downsampleDataSources = exports.calculateDownsamplingThreshold = exports.calculateThresholdOnRangeSelect = exports.isDownsamplingEnabledForViz = exports.convertToArrOfObjects = void 0;
222
221
 
223
- var numberUtils_1 = __webpack_require__(11);
222
+ var numberUtils_1 = __webpack_require__(10);
224
223
 
225
- var interfaces_1 = __webpack_require__(40); // TODO: utilize this fn in ParallelCoordinates
224
+ var interfaces_1 = __webpack_require__(39); // TODO: utilize this fn in ParallelCoordinates
226
225
 
227
226
 
228
227
  var convertToArrOfObjects = function convertToArrOfObjects(columns, fields) {
@@ -357,19 +356,21 @@ var largestTriangleThreeBuckets = function largestTriangleThreeBuckets(data, thr
357
356
  */
358
357
 
359
358
 
360
- var strictlyCoerceYColumn = function strictlyCoerceYColumn(column) {
361
- // Splunk charting allows for numbers in formats such as negative hex that
359
+ var strictlyCoerceYColumn = function strictlyCoerceYColumn(column, options) {
360
+ var isNullCoercionEnabled = options.nullValueDisplay === 'zero'; // Splunk charting allows for numbers in formats such as negative hex that
362
361
  // Number() does not support and also allows loose coercion of hex numbers (but not other formats)
363
362
  // We want to identify columns which contain at least one value that can be loosely coerced
363
+
364
364
  var canLooselyCoerceSomeValues = column.findIndex(function (value) {
365
- return (0, numberUtils_1.startsWithNumber)("".concat(value));
365
+ return (0, numberUtils_1.startsWithNumber)("".concat(value)) || isNullCoercionEnabled && value === null;
366
366
  }) >= 0; // If not all values in column can be strictly coerced to a number, we do not downsample
367
367
 
368
368
  var coercedColumn = [];
369
369
  var canDownsampleColumn = !column.some(function (value) {
370
- var coercedValue = Number(value); // if it can't be parsed or isn't safe, fail
370
+ var coercedValue = Number(value);
371
+ var coerceValueToZero = isNullCoercionEnabled && value === null; // if it can't be parsed or isn't safe, fail
371
372
 
372
- if (Number.isNaN(coercedValue) || coercedValue <= Number.MIN_SAFE_INTEGER || coercedValue >= Number.MAX_SAFE_INTEGER || typeof value !== 'string' && typeof value !== 'number') {
373
+ if (Number.isNaN(coercedValue) || coercedValue <= Number.MIN_SAFE_INTEGER || coercedValue >= Number.MAX_SAFE_INTEGER || typeof value !== 'string' && typeof value !== 'number' && !coerceValueToZero) {
373
374
  return true;
374
375
  } // save value and continue to next
375
376
 
@@ -450,8 +451,7 @@ var calculateDownsamplingThreshold = function calculateDownsamplingThreshold(_re
450
451
  dataSources = _ref3.dataSources,
451
452
  selectChartEvent = _ref3.selectChartEvent,
452
453
  width = _ref3.width,
453
- xField = _ref3.xField,
454
- y2Fields = _ref3.y2Fields;
454
+ xField = _ref3.xField;
455
455
 
456
456
  var _a, _b, _c;
457
457
 
@@ -488,14 +488,7 @@ var calculateDownsamplingThreshold = function calculateDownsamplingThreshold(_re
488
488
  });
489
489
  var lastIndex = fullSeries.findIndex(function (x) {
490
490
  return downsampledSeries[endXIndex] === x;
491
- }); // For charts with categorical x-axis (charts with an xField that isn't _time), do not support
492
- // re-calculating downsampling threshold if the chart is zoomed in until SPL-259458 is fixed
493
- // Also do not support re-calculating downsampling threshold for zoomed-in charts with y2
494
- // until SPL-259611 is fixed
495
-
496
- if (xField !== '_time' || (y2Fields === null || y2Fields === void 0 ? void 0 : y2Fields.length)) {
497
- return firstIndex === 0 && lastIndex === fullSeries.length - 1 ? width : null;
498
- }
491
+ });
499
492
 
500
493
  if (firstIndex >= 0 && lastIndex >= 0 && firstIndex <= lastIndex) {
501
494
  return (0, exports.calculateThresholdOnRangeSelect)({
@@ -545,7 +538,7 @@ var isColumnStrictlyIncreasing = function isColumnStrictlyIncreasing(column, fie
545
538
  */
546
539
 
547
540
 
548
- var tryToCoerceAllDisplayedFields = function tryToCoerceAllDisplayedFields(ds, xField, yFields, fieldTypes) {
541
+ var tryToCoerceAllDisplayedFields = function tryToCoerceAllDisplayedFields(ds, xField, yFields, fieldTypes, options) {
549
542
  var xColumn = [];
550
543
  var yColumns = [];
551
544
  var canDownsample = !ds.data.fields.some(function (field, index) {
@@ -559,7 +552,7 @@ var tryToCoerceAllDisplayedFields = function tryToCoerceAllDisplayedFields(ds, x
559
552
  if (fieldName === xField) {
560
553
  xColumn = strictlyCoerceXColumn(column, fieldType);
561
554
  } else if (yFields.has(fieldName)) {
562
- var _strictlyCoerceYColum = strictlyCoerceYColumn(ds.data.columns[index]),
555
+ var _strictlyCoerceYColum = strictlyCoerceYColumn(ds.data.columns[index], options),
563
556
  coercedColumn = _strictlyCoerceYColum.coercedColumn,
564
557
  canLooselyCoerceSomeValues = _strictlyCoerceYColum.canLooselyCoerceSomeValues,
565
558
  canDownsampleColumn = _strictlyCoerceYColum.canDownsampleColumn; // do not perform downsampling if a column can possibly be displayed but cannot
@@ -649,7 +642,7 @@ var downsampleDataSources = function downsampleDataSources(_ref4) {
649
642
  return dataSources;
650
643
  }
651
644
 
652
- var _tryToCoerceAllDispla = tryToCoerceAllDisplayedFields(primaryDS, xField, nonInternalYFields, fieldTypes),
645
+ var _tryToCoerceAllDispla = tryToCoerceAllDisplayedFields(primaryDS, xField, nonInternalYFields, fieldTypes, options),
653
646
  xColumn = _tryToCoerceAllDispla.xColumn,
654
647
  yColumns = _tryToCoerceAllDispla.yColumns;
655
648
 
@@ -685,39 +678,39 @@ var downsampleDataSources = function downsampleDataSources(_ref4) {
685
678
  exports.downsampleDataSources = downsampleDataSources;
686
679
 
687
680
  /***/ }),
688
- /* 16 */
681
+ /* 15 */
689
682
  /***/ (function(module, exports) {
690
683
 
691
684
  module.exports = require("@splunk/visualizations-shared/colorUtils");
692
685
 
693
686
  /***/ }),
694
- /* 17 */
687
+ /* 16 */
695
688
  /***/ (function(module, exports) {
696
689
 
697
690
  module.exports = require("@splunk/visualization-encoding/Options");
698
691
 
699
692
  /***/ }),
700
- /* 18 */
693
+ /* 17 */
701
694
  /***/ (function(module, exports, __webpack_require__) {
702
695
 
703
696
  "use strict";
704
697
 
705
698
 
706
- var _slicedToArray = __webpack_require__(6);
699
+ var _slicedToArray = __webpack_require__(5);
707
700
 
708
701
  Object.defineProperty(exports, "__esModule", {
709
702
  value: true
710
703
  });
711
704
 
712
- var React = __webpack_require__(0);
705
+ var React = __webpack_require__(1);
713
706
 
714
707
  var styled_components_1 = __webpack_require__(4);
715
708
 
716
- var style_1 = __webpack_require__(19);
709
+ var style_1 = __webpack_require__(18);
717
710
 
718
- var colorUtils_1 = __webpack_require__(16);
711
+ var colorUtils_1 = __webpack_require__(15);
719
712
 
720
- var SizeAwareWrapper_1 = __webpack_require__(26);
713
+ var SizeAwareWrapper_1 = __webpack_require__(25);
721
714
 
722
715
  var Item = styled_components_1.default.div.attrs(function (_ref) {
723
716
  var width = _ref.width;
@@ -788,7 +781,7 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
788
781
 
789
782
  return React.createElement(FixSizeItem, {
790
783
  "data-test": "fix-size-item",
791
- "data-splunk-visualization-version": "26.3.0 - a1ef240a6",
784
+ "data-splunk-visualization-version": "26.4.1 - 2b7482c08",
792
785
  width: width,
793
786
  height: height,
794
787
  backgroundColor: backgroundColor
@@ -809,14 +802,14 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
809
802
  exports.default = withFixedSizeContainer;
810
803
 
811
804
  /***/ }),
812
- /* 19 */
805
+ /* 18 */
813
806
  /***/ (function(module, exports) {
814
807
 
815
808
  module.exports = require("@splunk/visualizations-shared/style");
816
809
 
817
810
  /***/ }),
818
- /* 20 */,
819
- /* 21 */
811
+ /* 19 */,
812
+ /* 20 */
820
813
  /***/ (function(module, exports, __webpack_require__) {
821
814
 
822
815
  "use strict";
@@ -830,15 +823,15 @@ exports.validSortDirs = ['asc', 'desc', 'none'];
830
823
  exports.validOutputModes = ['json_cols', 'json'];
831
824
 
832
825
  /***/ }),
833
- /* 22 */
826
+ /* 21 */
834
827
  /***/ (function(module, exports, __webpack_require__) {
835
828
 
836
829
  "use strict";
837
830
 
838
831
 
839
- var _classCallCheck = __webpack_require__(9);
832
+ var _classCallCheck = __webpack_require__(8);
840
833
 
841
- var _createClass = __webpack_require__(25);
834
+ var _createClass = __webpack_require__(24);
842
835
 
843
836
  Object.defineProperty(exports, "__esModule", {
844
837
  value: true
@@ -867,7 +860,7 @@ var DefaultVizActionHandler = /*#__PURE__*/function () {
867
860
  exports.DefaultVizActionHandler = DefaultVizActionHandler;
868
861
 
869
862
  /***/ }),
870
- /* 23 */
863
+ /* 22 */
871
864
  /***/ (function(module, exports, __webpack_require__) {
872
865
 
873
866
  "use strict";
@@ -895,7 +888,7 @@ var VizCategory;
895
888
  })(VizCategory = exports.VizCategory || (exports.VizCategory = {}));
896
889
 
897
890
  /***/ }),
898
- /* 24 */
891
+ /* 23 */
899
892
  /***/ (function(module, exports, __webpack_require__) {
900
893
 
901
894
  "use strict";
@@ -927,35 +920,35 @@ var extendStaticWrapperProps = function extendStaticWrapperProps(_ref) {
927
920
  exports.extendStaticWrapperProps = extendStaticWrapperProps;
928
921
 
929
922
  /***/ }),
930
- /* 25 */
923
+ /* 24 */
931
924
  /***/ (function(module, exports) {
932
925
 
933
926
  module.exports = require("@babel/runtime/helpers/createClass");
934
927
 
935
928
  /***/ }),
936
- /* 26 */
929
+ /* 25 */
937
930
  /***/ (function(module, exports) {
938
931
 
939
932
  module.exports = require("@splunk/visualizations-shared/SizeAwareWrapper");
940
933
 
941
934
  /***/ }),
942
- /* 27 */
935
+ /* 26 */
943
936
  /***/ (function(module, exports, __webpack_require__) {
944
937
 
945
938
  "use strict";
946
939
 
947
940
 
948
- var _toConsumableArray = __webpack_require__(7);
941
+ var _toConsumableArray = __webpack_require__(6);
949
942
 
950
943
  Object.defineProperty(exports, "__esModule", {
951
944
  value: true
952
945
  });
953
946
  exports.insertLayout = exports.isDynamicOption = exports.uncollapseEditorConfig = exports.generatePrecisionValues = exports.getInitialPreset = exports.enhanceConfig = exports.enhanceOptionsSchemaWithDynamicOptions = void 0;
954
947
 
955
- var lodash_1 = __webpack_require__(3); // included for backwards compatibility
948
+ var lodash_1 = __webpack_require__(2); // included for backwards compatibility
956
949
 
957
950
 
958
- var visualization_schemas_1 = __webpack_require__(10);
951
+ var visualization_schemas_1 = __webpack_require__(9);
959
952
 
960
953
  Object.defineProperty(exports, "enhanceOptionsSchemaWithDynamicOptions", {
961
954
  enumerable: true,
@@ -1095,37 +1088,37 @@ var insertLayout = function insertLayout(layout, index) {
1095
1088
  exports.insertLayout = insertLayout;
1096
1089
 
1097
1090
  /***/ }),
1098
- /* 28 */
1091
+ /* 27 */
1099
1092
  /***/ (function(module, exports) {
1100
1093
 
1101
1094
  module.exports = require("@splunk/visualization-context/FeatureFlagContext");
1102
1095
 
1103
1096
  /***/ }),
1104
- /* 29 */
1097
+ /* 28 */
1105
1098
  /***/ (function(module, exports) {
1106
1099
 
1107
1100
  module.exports = require("@splunk/visualizations-shared/configUtils");
1108
1101
 
1109
1102
  /***/ }),
1110
- /* 30 */
1103
+ /* 29 */
1111
1104
  /***/ (function(module, exports) {
1112
1105
 
1113
1106
  module.exports = require("@splunk/themes/pick");
1114
1107
 
1115
1108
  /***/ }),
1116
- /* 31 */
1109
+ /* 30 */
1117
1110
  /***/ (function(module, exports) {
1118
1111
 
1119
1112
  module.exports = require("@splunk/ui-utils/id");
1120
1113
 
1121
1114
  /***/ }),
1122
- /* 32 */
1115
+ /* 31 */
1123
1116
  /***/ (function(module, exports) {
1124
1117
 
1125
1118
  module.exports = require("@splunk/visualization-context/TimezoneContext");
1126
1119
 
1127
1120
  /***/ }),
1128
- /* 33 */
1121
+ /* 32 */
1129
1122
  /***/ (function(module, exports, __webpack_require__) {
1130
1123
 
1131
1124
  "use strict";
@@ -1135,7 +1128,7 @@ Object.defineProperty(exports, "__esModule", {
1135
1128
  value: true
1136
1129
  });
1137
1130
 
1138
- var react_1 = __webpack_require__(0);
1131
+ var react_1 = __webpack_require__(1);
1139
1132
 
1140
1133
  function usePrevious(value) {
1141
1134
  var ref = (0, react_1.useRef)();
@@ -1148,20 +1141,20 @@ function usePrevious(value) {
1148
1141
  exports.default = usePrevious;
1149
1142
 
1150
1143
  /***/ }),
1151
- /* 34 */
1144
+ /* 33 */
1152
1145
  /***/ (function(module, exports) {
1153
1146
 
1154
1147
  module.exports = require("@splunk/visualizations-shared/hocUtils");
1155
1148
 
1156
1149
  /***/ }),
1157
- /* 35 */
1150
+ /* 34 */
1158
1151
  /***/ (function(module, exports) {
1159
1152
 
1160
1153
  module.exports = require("@splunk/visualizations-shared/JSONSchemaUtils");
1161
1154
 
1162
1155
  /***/ }),
1163
- /* 36 */,
1164
- /* 37 */
1156
+ /* 35 */,
1157
+ /* 36 */
1165
1158
  /***/ (function(module, exports, __webpack_require__) {
1166
1159
 
1167
1160
  "use strict";
@@ -1172,17 +1165,17 @@ Object.defineProperty(exports, "__esModule", {
1172
1165
  });
1173
1166
  exports.shouldShowIconPlaceholder = void 0;
1174
1167
 
1175
- var React = __webpack_require__(0);
1168
+ var React = __webpack_require__(1);
1176
1169
 
1177
- var T = __webpack_require__(1);
1170
+ var T = __webpack_require__(0);
1178
1171
 
1179
- var lodash_1 = __webpack_require__(3);
1172
+ var lodash_1 = __webpack_require__(2);
1180
1173
 
1181
- var i18n_1 = __webpack_require__(2);
1174
+ var i18n_1 = __webpack_require__(3);
1182
1175
 
1183
- var Message_1 = __webpack_require__(12);
1176
+ var Message_1 = __webpack_require__(11);
1184
1177
 
1185
- var FixedSizeContainer_1 = __webpack_require__(18);
1178
+ var FixedSizeContainer_1 = __webpack_require__(17);
1186
1179
  /**
1187
1180
  * @method shouldShowIconPlaceholder
1188
1181
  * @param {object} dataSources
@@ -1253,24 +1246,24 @@ IconPlaceholder.defaultProps = {
1253
1246
  exports.default = (0, FixedSizeContainer_1.default)(IconPlaceholder);
1254
1247
 
1255
1248
  /***/ }),
1256
- /* 38 */
1249
+ /* 37 */
1257
1250
  /***/ (function(module, exports, __webpack_require__) {
1258
1251
 
1259
1252
  "use strict";
1260
1253
 
1261
1254
 
1262
- var _defineProperty = __webpack_require__(13);
1255
+ var _defineProperty = __webpack_require__(12);
1263
1256
 
1264
1257
  Object.defineProperty(exports, "__esModule", {
1265
1258
  value: true
1266
1259
  });
1267
1260
  exports.getSortingParams = exports.SortParamsPropTypes = void 0;
1268
1261
 
1269
- var T = __webpack_require__(1);
1262
+ var T = __webpack_require__(0);
1270
1263
 
1271
- var lodash_1 = __webpack_require__(3);
1264
+ var lodash_1 = __webpack_require__(2);
1272
1265
 
1273
- var DataSource_1 = __webpack_require__(21);
1266
+ var DataSource_1 = __webpack_require__(20);
1274
1267
 
1275
1268
  exports.SortParamsPropTypes = T.shape({
1276
1269
  currentSortKey: T.string,
@@ -1323,7 +1316,7 @@ var getSortingParams = function getSortingParams(_ref) {
1323
1316
  exports.getSortingParams = getSortingParams;
1324
1317
 
1325
1318
  /***/ }),
1326
- /* 39 */
1319
+ /* 38 */
1327
1320
  /***/ (function(module, exports, __webpack_require__) {
1328
1321
 
1329
1322
  "use strict";
@@ -1334,9 +1327,9 @@ Object.defineProperty(exports, "__esModule", {
1334
1327
  });
1335
1328
  exports.getPaginationParams = exports.PaginatorParamsPropTypes = void 0;
1336
1329
 
1337
- var T = __webpack_require__(1);
1330
+ var T = __webpack_require__(0);
1338
1331
 
1339
- var lodash_1 = __webpack_require__(3);
1332
+ var lodash_1 = __webpack_require__(2);
1340
1333
 
1341
1334
  exports.PaginatorParamsPropTypes = T.shape({
1342
1335
  isPaging: T.bool,
@@ -1387,7 +1380,7 @@ var getPaginationParams = function getPaginationParams(_ref) {
1387
1380
  exports.getPaginationParams = getPaginationParams;
1388
1381
 
1389
1382
  /***/ }),
1390
- /* 40 */
1383
+ /* 39 */
1391
1384
  /***/ (function(module, exports, __webpack_require__) {
1392
1385
 
1393
1386
  "use strict";
@@ -1422,11 +1415,13 @@ Object.defineProperty(exports, "__esModule", {
1422
1415
  value: true
1423
1416
  });
1424
1417
 
1418
+ __exportStar(__webpack_require__(40), exports);
1419
+
1425
1420
  __exportStar(__webpack_require__(41), exports);
1426
1421
 
1427
- __exportStar(__webpack_require__(42), exports);
1422
+ __exportStar(__webpack_require__(20), exports);
1428
1423
 
1429
- __exportStar(__webpack_require__(21), exports);
1424
+ __exportStar(__webpack_require__(42), exports);
1430
1425
 
1431
1426
  __exportStar(__webpack_require__(43), exports);
1432
1427
 
@@ -1438,13 +1433,13 @@ __exportStar(__webpack_require__(46), exports);
1438
1433
 
1439
1434
  __exportStar(__webpack_require__(47), exports);
1440
1435
 
1441
- __exportStar(__webpack_require__(48), exports);
1436
+ __exportStar(__webpack_require__(21), exports);
1442
1437
 
1443
- __exportStar(__webpack_require__(22), exports);
1438
+ __exportStar(__webpack_require__(7), exports);
1444
1439
 
1445
- __exportStar(__webpack_require__(8), exports);
1440
+ __exportStar(__webpack_require__(22), exports);
1446
1441
 
1447
- __exportStar(__webpack_require__(23), exports);
1442
+ __exportStar(__webpack_require__(48), exports);
1448
1443
 
1449
1444
  __exportStar(__webpack_require__(49), exports);
1450
1445
 
@@ -1456,10 +1451,8 @@ __exportStar(__webpack_require__(52), exports);
1456
1451
 
1457
1452
  __exportStar(__webpack_require__(53), exports);
1458
1453
 
1459
- __exportStar(__webpack_require__(54), exports);
1460
-
1461
1454
  /***/ }),
1462
- /* 41 */
1455
+ /* 40 */
1463
1456
  /***/ (function(module, exports, __webpack_require__) {
1464
1457
 
1465
1458
  "use strict";
@@ -1470,7 +1463,7 @@ Object.defineProperty(exports, "__esModule", {
1470
1463
  });
1471
1464
 
1472
1465
  /***/ }),
1473
- /* 42 */
1466
+ /* 41 */
1474
1467
  /***/ (function(module, exports, __webpack_require__) {
1475
1468
 
1476
1469
  "use strict";
@@ -1479,6 +1472,17 @@ Object.defineProperty(exports, "__esModule", {
1479
1472
  * A data structure used at runtime to wire up a visualization.
1480
1473
  */
1481
1474
 
1475
+ Object.defineProperty(exports, "__esModule", {
1476
+ value: true
1477
+ });
1478
+
1479
+ /***/ }),
1480
+ /* 42 */
1481
+ /***/ (function(module, exports, __webpack_require__) {
1482
+
1483
+ "use strict";
1484
+
1485
+
1482
1486
  Object.defineProperty(exports, "__esModule", {
1483
1487
  value: true
1484
1488
  });
@@ -1611,70 +1615,59 @@ Object.defineProperty(exports, "__esModule", {
1611
1615
  "use strict";
1612
1616
 
1613
1617
 
1614
- Object.defineProperty(exports, "__esModule", {
1615
- value: true
1616
- });
1617
-
1618
- /***/ }),
1619
- /* 55 */
1620
- /***/ (function(module, exports, __webpack_require__) {
1621
-
1622
- "use strict";
1623
-
1624
-
1625
- var _slicedToArray = __webpack_require__(6);
1618
+ var _slicedToArray = __webpack_require__(5);
1626
1619
 
1627
1620
  Object.defineProperty(exports, "__esModule", {
1628
1621
  value: true
1629
1622
  });
1630
1623
 
1631
- var React = __webpack_require__(0);
1624
+ var React = __webpack_require__(1);
1632
1625
 
1633
- var lodash_1 = __webpack_require__(3);
1626
+ var lodash_1 = __webpack_require__(2);
1634
1627
 
1635
- var getSettingsFromThemedProps_1 = __webpack_require__(56);
1628
+ var getSettingsFromThemedProps_1 = __webpack_require__(55);
1636
1629
 
1637
- var Options_1 = __webpack_require__(17);
1630
+ var Options_1 = __webpack_require__(16);
1638
1631
 
1639
- var SanitizeProps_1 = __webpack_require__(57);
1632
+ var SanitizeProps_1 = __webpack_require__(56);
1640
1633
 
1641
- var TimezoneContext_1 = __webpack_require__(32);
1634
+ var TimezoneContext_1 = __webpack_require__(31);
1642
1635
 
1643
- var moment_1 = __webpack_require__(58);
1636
+ var moment_1 = __webpack_require__(57);
1644
1637
 
1645
- var FeatureFlagContext_1 = __webpack_require__(28);
1638
+ var FeatureFlagContext_1 = __webpack_require__(27);
1646
1639
 
1647
1640
  var styled_components_1 = __webpack_require__(4);
1648
1641
 
1649
- var hocUtils_1 = __webpack_require__(34);
1642
+ var hocUtils_1 = __webpack_require__(33);
1650
1643
 
1651
- var JSONSchemaUtils_1 = __webpack_require__(35);
1644
+ var JSONSchemaUtils_1 = __webpack_require__(34);
1652
1645
 
1653
- var async_dynamic_options_evaluator_1 = __webpack_require__(59);
1646
+ var async_dynamic_options_evaluator_1 = __webpack_require__(58);
1654
1647
 
1655
- var id_1 = __webpack_require__(31);
1648
+ var id_1 = __webpack_require__(30);
1656
1649
 
1657
- var SplunkVisualization_1 = __webpack_require__(60);
1650
+ var SplunkVisualization_1 = __webpack_require__(59);
1658
1651
 
1659
- var VizBehavior_1 = __webpack_require__(8);
1652
+ var VizBehavior_1 = __webpack_require__(7);
1660
1653
 
1661
- var getSorting_1 = __webpack_require__(38);
1654
+ var getSorting_1 = __webpack_require__(37);
1662
1655
 
1663
- var getPagination_1 = __webpack_require__(39);
1656
+ var getPagination_1 = __webpack_require__(38);
1664
1657
 
1665
- var useDeepMemo_1 = __webpack_require__(61);
1658
+ var useDeepMemo_1 = __webpack_require__(60);
1666
1659
 
1667
- var MissingPropsMessage_1 = __webpack_require__(62);
1660
+ var MissingPropsMessage_1 = __webpack_require__(61);
1668
1661
 
1669
- var withEditModeCover_1 = __webpack_require__(63);
1662
+ var withEditModeCover_1 = __webpack_require__(62);
1670
1663
 
1671
- var withPlaceholder_1 = __webpack_require__(64);
1664
+ var withPlaceholder_1 = __webpack_require__(63);
1672
1665
 
1673
- var useDownsampleDataSources_1 = __webpack_require__(65);
1666
+ var useDownsampleDataSources_1 = __webpack_require__(64);
1674
1667
 
1675
- var dataUtils_1 = __webpack_require__(15);
1668
+ var dataUtils_1 = __webpack_require__(14);
1676
1669
 
1677
- var featureFlagUtils_1 = __webpack_require__(67);
1670
+ var featureFlagUtils_1 = __webpack_require__(66);
1678
1671
  /**
1679
1672
  * hoc that wraps a pure react visualization in a Dashboard visualization
1680
1673
  * @param {DashboardVizOpts} opts
@@ -2006,37 +1999,37 @@ var withDashboardViz = function withDashboardViz(opts) {
2006
1999
  exports.default = withDashboardViz;
2007
2000
 
2008
2001
  /***/ }),
2009
- /* 56 */
2002
+ /* 55 */
2010
2003
  /***/ (function(module, exports) {
2011
2004
 
2012
2005
  module.exports = require("@splunk/themes/getSettingsFromThemedProps");
2013
2006
 
2014
2007
  /***/ }),
2015
- /* 57 */
2008
+ /* 56 */
2016
2009
  /***/ (function(module, exports) {
2017
2010
 
2018
2011
  module.exports = require("@splunk/visualizations-shared/SanitizeProps");
2019
2012
 
2020
2013
  /***/ }),
2021
- /* 58 */
2014
+ /* 57 */
2022
2015
  /***/ (function(module, exports) {
2023
2016
 
2024
2017
  module.exports = require("@splunk/moment");
2025
2018
 
2026
2019
  /***/ }),
2027
- /* 59 */
2020
+ /* 58 */
2028
2021
  /***/ (function(module, exports) {
2029
2022
 
2030
2023
  module.exports = require("@splunk/async-dynamic-options-evaluator");
2031
2024
 
2032
2025
  /***/ }),
2033
- /* 60 */
2026
+ /* 59 */
2034
2027
  /***/ (function(module, exports, __webpack_require__) {
2035
2028
 
2036
2029
  "use strict";
2037
2030
 
2038
2031
 
2039
- var _classCallCheck = __webpack_require__(9);
2032
+ var _classCallCheck = __webpack_require__(8);
2040
2033
 
2041
2034
  Object.defineProperty(exports, "__esModule", {
2042
2035
  value: true
@@ -2044,11 +2037,11 @@ Object.defineProperty(exports, "__esModule", {
2044
2037
  exports.INITIAL_HEIGHT = exports.INITIAL_WIDTH = void 0;
2045
2038
  /* eslint-disable react/no-unused-prop-types,react/prefer-stateless-function */
2046
2039
 
2047
- var T = __webpack_require__(1);
2040
+ var T = __webpack_require__(0);
2048
2041
 
2049
- var lodash_1 = __webpack_require__(3);
2042
+ var lodash_1 = __webpack_require__(2);
2050
2043
 
2051
- var VizActionHandler_1 = __webpack_require__(22); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
2044
+ var VizActionHandler_1 = __webpack_require__(21); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
2052
2045
 
2053
2046
 
2054
2047
  exports.INITIAL_WIDTH = 250;
@@ -2181,7 +2174,7 @@ SplunkVisualization.defaultProps = {
2181
2174
  exports.default = SplunkVisualization;
2182
2175
 
2183
2176
  /***/ }),
2184
- /* 61 */
2177
+ /* 60 */
2185
2178
  /***/ (function(module, exports, __webpack_require__) {
2186
2179
 
2187
2180
  "use strict";
@@ -2192,9 +2185,9 @@ Object.defineProperty(exports, "__esModule", {
2192
2185
  });
2193
2186
  exports.useDeepMemo = void 0;
2194
2187
 
2195
- var react_1 = __webpack_require__(0);
2188
+ var react_1 = __webpack_require__(1);
2196
2189
 
2197
- var lodash_1 = __webpack_require__(3);
2190
+ var lodash_1 = __webpack_require__(2);
2198
2191
  /**
2199
2192
  * This hook evaluates and stores the result of a passed function and only
2200
2193
  * re-evaluates the function when passed dependencies change.
@@ -2226,7 +2219,7 @@ var useDeepMemo = function useDeepMemo(fn, dependencies) {
2226
2219
  exports.useDeepMemo = useDeepMemo;
2227
2220
 
2228
2221
  /***/ }),
2229
- /* 62 */
2222
+ /* 61 */
2230
2223
  /***/ (function(module, exports, __webpack_require__) {
2231
2224
 
2232
2225
  "use strict";
@@ -2237,15 +2230,15 @@ Object.defineProperty(exports, "__esModule", {
2237
2230
  });
2238
2231
  exports.MissingPropsMessage = exports.missingKeys = exports.isMissing = void 0;
2239
2232
 
2240
- var React = __webpack_require__(0);
2233
+ var React = __webpack_require__(1);
2241
2234
 
2242
- var T = __webpack_require__(1);
2235
+ var T = __webpack_require__(0);
2243
2236
 
2244
- var i18n_1 = __webpack_require__(2);
2237
+ var i18n_1 = __webpack_require__(3);
2245
2238
 
2246
- var Message_1 = __webpack_require__(12);
2239
+ var Message_1 = __webpack_require__(11);
2247
2240
 
2248
- var FixedSizeContainer_1 = __webpack_require__(18);
2241
+ var FixedSizeContainer_1 = __webpack_require__(17);
2249
2242
  /**
2250
2243
  * @method isMissing
2251
2244
  * @param {any} v
@@ -2306,7 +2299,7 @@ exports.MissingPropsMessage.defaultProps = {
2306
2299
  exports.default = (0, FixedSizeContainer_1.default)(exports.MissingPropsMessage);
2307
2300
 
2308
2301
  /***/ }),
2309
- /* 63 */
2302
+ /* 62 */
2310
2303
  /***/ (function(module, exports, __webpack_require__) {
2311
2304
 
2312
2305
  "use strict";
@@ -2316,18 +2309,18 @@ Object.defineProperty(exports, "__esModule", {
2316
2309
  value: true
2317
2310
  });
2318
2311
 
2319
- var React = __webpack_require__(0);
2312
+ var React = __webpack_require__(1);
2320
2313
 
2321
2314
  var styled_components_1 = __webpack_require__(4);
2322
2315
 
2323
- var hocUtils_1 = __webpack_require__(24);
2316
+ var hocUtils_1 = __webpack_require__(23);
2324
2317
 
2325
2318
  var Cover = styled_components_1.default.div.withConfig({
2326
2319
  displayName: "withEditModeCover__Cover",
2327
2320
  componentId: "sc-1gsbnxb-0"
2328
2321
  })(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
2329
2322
  var Blocker = styled_components_1.default.div.attrs({
2330
- 'data-splunk-visualization-version': "26.3.0 - a1ef240a6"
2323
+ 'data-splunk-visualization-version': "26.4.1 - 2b7482c08"
2331
2324
  }).withConfig({
2332
2325
  displayName: "withEditModeCover__Blocker",
2333
2326
  componentId: "sc-1gsbnxb-1"
@@ -2358,7 +2351,7 @@ var withEditModeCover = function withEditModeCover(Visualization, disableEditMod
2358
2351
  exports.default = withEditModeCover;
2359
2352
 
2360
2353
  /***/ }),
2361
- /* 64 */
2354
+ /* 63 */
2362
2355
  /***/ (function(module, exports, __webpack_require__) {
2363
2356
 
2364
2357
  "use strict";
@@ -2368,17 +2361,17 @@ Object.defineProperty(exports, "__esModule", {
2368
2361
  value: true
2369
2362
  });
2370
2363
 
2371
- var React = __webpack_require__(0);
2364
+ var React = __webpack_require__(1);
2372
2365
 
2373
- var colorUtils_1 = __webpack_require__(16);
2366
+ var colorUtils_1 = __webpack_require__(15);
2374
2367
 
2375
- var variables_1 = __webpack_require__(14);
2368
+ var variables_1 = __webpack_require__(13);
2376
2369
 
2377
- var IconPlaceholder_1 = __webpack_require__(37);
2370
+ var IconPlaceholder_1 = __webpack_require__(36);
2378
2371
 
2379
- var VizBehavior_1 = __webpack_require__(8);
2372
+ var VizBehavior_1 = __webpack_require__(7);
2380
2373
 
2381
- var hocUtils_1 = __webpack_require__(24);
2374
+ var hocUtils_1 = __webpack_require__(23);
2382
2375
 
2383
2376
  var withPlaceholder = function withPlaceholder(Visualization) {
2384
2377
  var useIconPlaceholder = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : IconPlaceholder_1.shouldShowIconPlaceholder;
@@ -2422,27 +2415,30 @@ var withPlaceholder = function withPlaceholder(Visualization) {
2422
2415
  exports.default = withPlaceholder;
2423
2416
 
2424
2417
  /***/ }),
2425
- /* 65 */
2418
+ /* 64 */
2426
2419
  /***/ (function(module, exports, __webpack_require__) {
2427
2420
 
2428
2421
  "use strict";
2429
2422
 
2430
2423
 
2431
- var _slicedToArray = __webpack_require__(6);
2424
+ var _slicedToArray = __webpack_require__(5);
2432
2425
 
2433
2426
  Object.defineProperty(exports, "__esModule", {
2434
2427
  value: true
2435
2428
  });
2436
2429
 
2437
- var react_1 = __webpack_require__(0);
2430
+ var react_1 = __webpack_require__(1);
2431
+
2432
+ var lodash_1 = __webpack_require__(2);
2438
2433
 
2439
- var lodash_1 = __webpack_require__(3);
2434
+ var dataUtils_1 = __webpack_require__(14);
2440
2435
 
2441
- var dataUtils_1 = __webpack_require__(15);
2436
+ var usePrevious_1 = __webpack_require__(32);
2442
2437
 
2443
- var usePrevious_1 = __webpack_require__(33);
2438
+ var useGetXAndYFields_1 = __webpack_require__(65); // Options properties which impact/require re-downsample on change.
2444
2439
 
2445
- var useGetXAndYFields_1 = __webpack_require__(66);
2440
+
2441
+ var downsampleVizOptionProperties = ['nullValueDisplay'];
2446
2442
 
2447
2443
  var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
2448
2444
  var dataSources = _ref.dataSources,
@@ -2456,8 +2452,15 @@ var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
2456
2452
  options: options,
2457
2453
  context: context,
2458
2454
  dataSources: dataSources
2459
- });
2460
- var previousXAndYFieldsWithTypes = (0, usePrevious_1.default)(xAndYFieldsWithTypes);
2455
+ }); // Extract viz options that impact downsampling.
2456
+
2457
+ var downsampleVizOptions = (0, react_1.useMemo)(function () {
2458
+ return (0, lodash_1.pick)(options, downsampleVizOptionProperties);
2459
+ }, [options]);
2460
+ var downsampleDSOptions = (0, react_1.useMemo)(function () {
2461
+ return Object.assign(Object.assign({}, downsampleVizOptions), xAndYFieldsWithTypes);
2462
+ }, [xAndYFieldsWithTypes, downsampleVizOptions]);
2463
+ var previousDownsampleDSOptions = (0, usePrevious_1.default)(downsampleDSOptions);
2461
2464
  var previousDataSources = (0, usePrevious_1.default)(dataSources);
2462
2465
  var previousThreshold = (0, usePrevious_1.default)(threshold);
2463
2466
 
@@ -2465,7 +2468,7 @@ var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
2465
2468
  return isDownsamplingEnabled ? (0, dataUtils_1.downsampleDataSources)({
2466
2469
  dataSources: dataSources,
2467
2470
  threshold: threshold,
2468
- options: xAndYFieldsWithTypes
2471
+ options: downsampleDSOptions
2469
2472
  }) : dataSources;
2470
2473
  }),
2471
2474
  _ref3 = _slicedToArray(_ref2, 2),
@@ -2493,7 +2496,7 @@ var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
2493
2496
  return;
2494
2497
  }
2495
2498
 
2496
- if ((0, lodash_1.isEqual)(previousXAndYFieldsWithTypes, xAndYFieldsWithTypes) && previousDataSources === dataSources && previousThreshold === threshold) {
2499
+ if ((0, lodash_1.isEqual)(previousDownsampleDSOptions, downsampleDSOptions) && previousDataSources === dataSources && previousThreshold === threshold) {
2497
2500
  return;
2498
2501
  } // Debounce the downsampling so we don't have to downsample and execute DSL multiple times
2499
2502
  // while the viz is being resized
@@ -2501,31 +2504,31 @@ var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
2501
2504
 
2502
2505
  debouncedDownsampleDataSources({
2503
2506
  dataSources: dataSources,
2504
- options: xAndYFieldsWithTypes,
2507
+ options: downsampleDSOptions,
2505
2508
  threshold: threshold
2506
2509
  }); // need to detect if this runs as part of the initial render
2507
- }, [dataSources, debouncedDownsampleDataSources, xAndYFieldsWithTypes, threshold, isDownsamplingEnabled, previousXAndYFieldsWithTypes, previousDataSources, previousThreshold]);
2510
+ }, [dataSources, downsampleDSOptions, debouncedDownsampleDataSources, xAndYFieldsWithTypes, threshold, isDownsamplingEnabled, previousDataSources, previousThreshold, previousDownsampleDSOptions]);
2508
2511
  return downsampledDataSources;
2509
2512
  };
2510
2513
 
2511
2514
  exports.default = useDownsampleDataSources;
2512
2515
 
2513
2516
  /***/ }),
2514
- /* 66 */
2517
+ /* 65 */
2515
2518
  /***/ (function(module, exports, __webpack_require__) {
2516
2519
 
2517
2520
  "use strict";
2518
2521
 
2519
2522
 
2520
- var _toConsumableArray = __webpack_require__(7);
2523
+ var _toConsumableArray = __webpack_require__(6);
2521
2524
 
2522
2525
  Object.defineProperty(exports, "__esModule", {
2523
2526
  value: true
2524
2527
  });
2525
2528
 
2526
- var react_1 = __webpack_require__(0);
2529
+ var react_1 = __webpack_require__(1);
2527
2530
 
2528
- var Options_1 = __webpack_require__(17);
2531
+ var Options_1 = __webpack_require__(16);
2529
2532
  /**
2530
2533
  * Hook that evaluates the DSL for subset of a viz's options needed to determine
2531
2534
  * its x and y fields as well as the types of all its fields.
@@ -2625,7 +2628,7 @@ var useGetXAndYFields = function useGetXAndYFields(_ref) {
2625
2628
  exports.default = useGetXAndYFields;
2626
2629
 
2627
2630
  /***/ }),
2628
- /* 67 */
2631
+ /* 66 */
2629
2632
  /***/ (function(module, exports, __webpack_require__) {
2630
2633
 
2631
2634
  "use strict";
@@ -2636,7 +2639,7 @@ Object.defineProperty(exports, "__esModule", {
2636
2639
  });
2637
2640
  exports.getFeatureFlag = void 0;
2638
2641
 
2639
- var FeatureFlags_1 = __webpack_require__(68);
2642
+ var FeatureFlags_1 = __webpack_require__(67);
2640
2643
 
2641
2644
  var getFeatureFlag = function getFeatureFlag(context, flagName) {
2642
2645
  // look for feature flag in context first
@@ -2660,26 +2663,27 @@ var getFeatureFlag = function getFeatureFlag(context, flagName) {
2660
2663
  exports.getFeatureFlag = getFeatureFlag;
2661
2664
 
2662
2665
  /***/ }),
2663
- /* 68 */
2666
+ /* 67 */
2664
2667
  /***/ (function(module, exports) {
2665
2668
 
2666
2669
  module.exports = require("@splunk/visualization-context/FeatureFlags");
2667
2670
 
2668
2671
  /***/ }),
2672
+ /* 68 */,
2669
2673
  /* 69 */,
2670
- /* 70 */,
2671
- /* 71 */
2674
+ /* 70 */
2672
2675
  /***/ (function(module, exports) {
2673
2676
 
2674
2677
  module.exports = require("@splunk/visualization-icons/placeholders");
2675
2678
 
2676
2679
  /***/ }),
2677
- /* 72 */
2680
+ /* 71 */
2678
2681
  /***/ (function(module, exports) {
2679
2682
 
2680
2683
  module.exports = require("@splunk/visualization-icons");
2681
2684
 
2682
2685
  /***/ }),
2686
+ /* 72 */,
2683
2687
  /* 73 */,
2684
2688
  /* 74 */,
2685
2689
  /* 75 */,
@@ -2687,20 +2691,20 @@ module.exports = require("@splunk/visualization-icons");
2687
2691
  /* 77 */,
2688
2692
  /* 78 */,
2689
2693
  /* 79 */,
2690
- /* 80 */,
2691
- /* 81 */
2694
+ /* 80 */
2692
2695
  /***/ (function(module, exports) {
2693
2696
 
2694
2697
  module.exports = require("@splunk/visualization-color-palettes/editors/PresetPalettes");
2695
2698
 
2696
2699
  /***/ }),
2697
- /* 82 */,
2698
- /* 83 */
2700
+ /* 81 */,
2701
+ /* 82 */
2699
2702
  /***/ (function(module, exports) {
2700
2703
 
2701
2704
  module.exports = require("@babel/runtime/helpers/getPrototypeOf");
2702
2705
 
2703
2706
  /***/ }),
2707
+ /* 83 */,
2704
2708
  /* 84 */,
2705
2709
  /* 85 */,
2706
2710
  /* 86 */,
@@ -2708,20 +2712,19 @@ module.exports = require("@babel/runtime/helpers/getPrototypeOf");
2708
2712
  /* 88 */,
2709
2713
  /* 89 */,
2710
2714
  /* 90 */,
2711
- /* 91 */,
2712
- /* 92 */
2715
+ /* 91 */
2713
2716
  /***/ (function(module, exports) {
2714
2717
 
2715
2718
  module.exports = require("@babel/runtime/helpers/inherits");
2716
2719
 
2717
2720
  /***/ }),
2718
- /* 93 */
2721
+ /* 92 */
2719
2722
  /***/ (function(module, exports) {
2720
2723
 
2721
2724
  module.exports = require("@babel/runtime/helpers/possibleConstructorReturn");
2722
2725
 
2723
2726
  /***/ }),
2724
- /* 94 */
2727
+ /* 93 */
2725
2728
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
2726
2729
 
2727
2730
  "use strict";
@@ -2745,6 +2748,7 @@ VizStyleWrapper.displayName = 'VizStyleWrapper';
2745
2748
  /* harmony default export */ __webpack_exports__["default"] = (VizStyleWrapper);
2746
2749
 
2747
2750
  /***/ }),
2751
+ /* 94 */,
2748
2752
  /* 95 */,
2749
2753
  /* 96 */,
2750
2754
  /* 97 */,
@@ -2761,20 +2765,19 @@ VizStyleWrapper.displayName = 'VizStyleWrapper';
2761
2765
  /* 108 */,
2762
2766
  /* 109 */,
2763
2767
  /* 110 */,
2764
- /* 111 */,
2765
- /* 112 */
2768
+ /* 111 */
2766
2769
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
2767
2770
 
2768
2771
  "use strict";
2769
2772
  __webpack_require__.r(__webpack_exports__);
2770
- /* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
2773
+ /* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3);
2771
2774
  /* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__);
2772
- /* harmony import */ var _splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(29);
2775
+ /* harmony import */ var _splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(28);
2773
2776
  /* harmony import */ var _splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__);
2774
2777
 
2775
2778
 
2776
2779
  var StaticBackgroundColorEditor = {
2777
- label: Object(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__["_"])('Background'),
2780
+ label: Object(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__["_"])('Background color'),
2778
2781
  option: 'backgroundColor',
2779
2782
  editor: 'editor.color',
2780
2783
  showEditor: function showEditor(_ref) {
@@ -2785,6 +2788,7 @@ var StaticBackgroundColorEditor = {
2785
2788
  /* harmony default export */ __webpack_exports__["default"] = (StaticBackgroundColorEditor);
2786
2789
 
2787
2790
  /***/ }),
2791
+ /* 112 */,
2788
2792
  /* 113 */,
2789
2793
  /* 114 */,
2790
2794
  /* 115 */,
@@ -2836,23 +2840,21 @@ var StaticBackgroundColorEditor = {
2836
2840
  /* 161 */,
2837
2841
  /* 162 */,
2838
2842
  /* 163 */,
2839
- /* 164 */,
2840
- /* 165 */,
2841
- /* 166 */
2843
+ /* 164 */
2842
2844
  /***/ (function(module, exports, __webpack_require__) {
2843
2845
 
2844
2846
  "use strict";
2845
2847
 
2846
2848
 
2847
- var _classCallCheck = __webpack_require__(9);
2849
+ var _classCallCheck = __webpack_require__(8);
2848
2850
 
2849
- var _createClass = __webpack_require__(25);
2851
+ var _createClass = __webpack_require__(24);
2850
2852
 
2851
- var _inherits = __webpack_require__(92);
2853
+ var _inherits = __webpack_require__(91);
2852
2854
 
2853
- var _possibleConstructorReturn = __webpack_require__(93);
2855
+ var _possibleConstructorReturn = __webpack_require__(92);
2854
2856
 
2855
- var _getPrototypeOf = __webpack_require__(83);
2857
+ var _getPrototypeOf = __webpack_require__(82);
2856
2858
 
2857
2859
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
2858
2860
 
@@ -2862,11 +2864,11 @@ Object.defineProperty(exports, "__esModule", {
2862
2864
  value: true
2863
2865
  });
2864
2866
 
2865
- var React = __webpack_require__(0);
2867
+ var React = __webpack_require__(1);
2866
2868
 
2867
- var lodash_1 = __webpack_require__(3);
2869
+ var lodash_1 = __webpack_require__(2);
2868
2870
 
2869
- var SvgMutator_1 = __webpack_require__(209);
2871
+ var SvgMutator_1 = __webpack_require__(207);
2870
2872
  /**
2871
2873
  * This react component simply take an SVG document, and mutates it by applying data to the document according to
2872
2874
  * dataBindings. The data (data prop) is processed by performing the mutation once for each 'row' of the data even though the data is formatted as columns.
@@ -2995,6 +2997,8 @@ SvgChoroplethDynamic.defaultProps = {
2995
2997
  };
2996
2998
 
2997
2999
  /***/ }),
3000
+ /* 165 */,
3001
+ /* 166 */,
2998
3002
  /* 167 */,
2999
3003
  /* 168 */,
3000
3004
  /* 169 */,
@@ -3030,9 +3034,7 @@ SvgChoroplethDynamic.defaultProps = {
3030
3034
  /* 199 */,
3031
3035
  /* 200 */,
3032
3036
  /* 201 */,
3033
- /* 202 */,
3034
- /* 203 */,
3035
- /* 204 */
3037
+ /* 202 */
3036
3038
  /***/ (function(module, exports, __webpack_require__) {
3037
3039
 
3038
3040
  "use strict";
@@ -3056,33 +3058,33 @@ Object.defineProperty(exports, "__esModule", {
3056
3058
  });
3057
3059
  exports.useIconPlaceholder = exports.createProtocolHandlers = exports.PureSvgChoroplethDynamic = exports.PureChoroplethSvg = exports.config = void 0;
3058
3060
 
3059
- var React = __webpack_require__(0);
3061
+ var React = __webpack_require__(1);
3060
3062
 
3061
- var T = __webpack_require__(1);
3063
+ var T = __webpack_require__(0);
3062
3064
 
3063
- var lodash_1 = __webpack_require__(3);
3065
+ var lodash_1 = __webpack_require__(2);
3064
3066
 
3065
- var FeatureFlagContext_1 = __webpack_require__(28);
3067
+ var FeatureFlagContext_1 = __webpack_require__(27);
3066
3068
 
3067
- var ImageContext_1 = __webpack_require__(205);
3069
+ var ImageContext_1 = __webpack_require__(203);
3068
3070
 
3069
- var FileDownloader_1 = __webpack_require__(206);
3071
+ var FileDownloader_1 = __webpack_require__(204);
3070
3072
 
3071
- var Downloader_1 = __webpack_require__(207);
3073
+ var Downloader_1 = __webpack_require__(205);
3072
3074
 
3073
- var withDashboardViz_1 = __webpack_require__(55);
3075
+ var withDashboardViz_1 = __webpack_require__(54);
3074
3076
 
3075
- var PureChoroplethSvg_1 = __webpack_require__(208);
3077
+ var PureChoroplethSvg_1 = __webpack_require__(206);
3076
3078
 
3077
- var SvgChoroplethDynamic_1 = __webpack_require__(166);
3079
+ var SvgChoroplethDynamic_1 = __webpack_require__(164);
3078
3080
 
3079
- var config_1 = __webpack_require__(213);
3081
+ var config_1 = __webpack_require__(211);
3080
3082
 
3081
- var IconPlaceholder_1 = __webpack_require__(37);
3083
+ var IconPlaceholder_1 = __webpack_require__(36);
3082
3084
 
3083
- var urlUtils_1 = __webpack_require__(214);
3085
+ var urlUtils_1 = __webpack_require__(212);
3084
3086
 
3085
- var ErrorMessage_1 = __webpack_require__(215);
3087
+ var ErrorMessage_1 = __webpack_require__(213);
3086
3088
 
3087
3089
  exports.config = config_1.default;
3088
3090
  exports.PureChoroplethSvg = PureChoroplethSvg_1.default; // todo: need remove when deleting @splunk/react-visualizations package
@@ -3188,31 +3190,31 @@ var platformViz = (0, withDashboardViz_1.default)({
3188
3190
  exports.default = platformViz;
3189
3191
 
3190
3192
  /***/ }),
3191
- /* 205 */
3193
+ /* 203 */
3192
3194
  /***/ (function(module, exports) {
3193
3195
 
3194
3196
  module.exports = require("@splunk/visualization-context/ImageContext");
3195
3197
 
3196
3198
  /***/ }),
3197
- /* 206 */
3199
+ /* 204 */
3198
3200
  /***/ (function(module, exports) {
3199
3201
 
3200
3202
  module.exports = require("@splunk/visualizations-shared/FileDownloader");
3201
3203
 
3202
3204
  /***/ }),
3203
- /* 207 */
3205
+ /* 205 */
3204
3206
  /***/ (function(module, exports) {
3205
3207
 
3206
3208
  module.exports = require("@splunk/visualizations-shared/Downloader");
3207
3209
 
3208
3210
  /***/ }),
3209
- /* 208 */
3211
+ /* 206 */
3210
3212
  /***/ (function(module, exports, __webpack_require__) {
3211
3213
 
3212
3214
  "use strict";
3213
3215
 
3214
3216
 
3215
- var _slicedToArray = __webpack_require__(6);
3217
+ var _slicedToArray = __webpack_require__(5);
3216
3218
 
3217
3219
  var __rest = this && this.__rest || function (s, e) {
3218
3220
  var t = {};
@@ -3232,19 +3234,19 @@ Object.defineProperty(exports, "__esModule", {
3232
3234
  });
3233
3235
  exports.computeSvgDynamicProps = void 0;
3234
3236
 
3235
- var React = __webpack_require__(0);
3237
+ var React = __webpack_require__(1);
3236
3238
 
3237
3239
  var styled_components_1 = __webpack_require__(4);
3238
3240
 
3239
- var lodash_1 = __webpack_require__(3);
3241
+ var lodash_1 = __webpack_require__(2);
3240
3242
 
3241
- var style_1 = __webpack_require__(19);
3243
+ var style_1 = __webpack_require__(18);
3242
3244
 
3243
- var SizeAwareWrapper_1 = __webpack_require__(26);
3245
+ var SizeAwareWrapper_1 = __webpack_require__(25);
3244
3246
 
3245
- var SvgChoroplethDynamic_1 = __webpack_require__(166);
3247
+ var SvgChoroplethDynamic_1 = __webpack_require__(164);
3246
3248
 
3247
- var VizStyleWrapper_1 = __webpack_require__(94);
3249
+ var VizStyleWrapper_1 = __webpack_require__(93);
3248
3250
 
3249
3251
  var Container = styled_components_1.default.div.withConfig({
3250
3252
  displayName: "PureChoroplethSvg__Container",
@@ -3332,15 +3334,15 @@ PureChoroplethSvg.defaultProps = {
3332
3334
  exports.default = (0, styled_components_1.withTheme)(PureChoroplethSvg);
3333
3335
 
3334
3336
  /***/ }),
3335
- /* 209 */
3337
+ /* 207 */
3336
3338
  /***/ (function(module, exports, __webpack_require__) {
3337
3339
 
3338
3340
  "use strict";
3339
3341
 
3340
3342
 
3341
- var _classCallCheck = __webpack_require__(9);
3343
+ var _classCallCheck = __webpack_require__(8);
3342
3344
 
3343
- var _createClass = __webpack_require__(25);
3345
+ var _createClass = __webpack_require__(24);
3344
3346
 
3345
3347
  Object.defineProperty(exports, "__esModule", {
3346
3348
  value: true
@@ -3348,13 +3350,13 @@ Object.defineProperty(exports, "__esModule", {
3348
3350
  exports.SvgMutator = exports.ERROR_NON_ATTRIBUTE_MUTATION = void 0;
3349
3351
  /* eslint-disable no-param-reassign */
3350
3352
 
3351
- var React = __webpack_require__(0);
3353
+ var React = __webpack_require__(1);
3352
3354
 
3353
- var XPath = __webpack_require__(210);
3355
+ var XPath = __webpack_require__(208);
3354
3356
 
3355
- var xmldom_1 = __webpack_require__(211);
3357
+ var xmldom_1 = __webpack_require__(209);
3356
3358
 
3357
- var jexl = __webpack_require__(212);
3359
+ var jexl = __webpack_require__(210);
3358
3360
  /**
3359
3361
  * An error message indicating that a mutation has attempted to target anything other than SVG attribute(s)
3360
3362
  * @type {string}
@@ -3761,25 +3763,25 @@ exports.SvgMutator = SvgMutator;
3761
3763
  SvgMutator.serializer = new xmldom_1.XMLSerializer();
3762
3764
 
3763
3765
  /***/ }),
3764
- /* 210 */
3766
+ /* 208 */
3765
3767
  /***/ (function(module, exports) {
3766
3768
 
3767
3769
  module.exports = require("xpath");
3768
3770
 
3769
3771
  /***/ }),
3770
- /* 211 */
3772
+ /* 209 */
3771
3773
  /***/ (function(module, exports) {
3772
3774
 
3773
3775
  module.exports = require("@xmldom/xmldom");
3774
3776
 
3775
3777
  /***/ }),
3776
- /* 212 */
3778
+ /* 210 */
3777
3779
  /***/ (function(module, exports) {
3778
3780
 
3779
3781
  module.exports = require("jexl");
3780
3782
 
3781
3783
  /***/ }),
3782
- /* 213 */
3784
+ /* 211 */
3783
3785
  /***/ (function(module, exports, __webpack_require__) {
3784
3786
 
3785
3787
  "use strict";
@@ -3789,27 +3791,27 @@ Object.defineProperty(exports, "__esModule", {
3789
3791
  value: true
3790
3792
  });
3791
3793
 
3792
- var i18n_1 = __webpack_require__(2);
3794
+ var i18n_1 = __webpack_require__(3);
3793
3795
 
3794
- var pick_1 = __webpack_require__(30);
3796
+ var pick_1 = __webpack_require__(29);
3795
3797
 
3796
- var variables_1 = __webpack_require__(14);
3798
+ var variables_1 = __webpack_require__(13);
3797
3799
 
3798
- var visualization_schemas_1 = __webpack_require__(10);
3800
+ var visualization_schemas_1 = __webpack_require__(9);
3799
3801
 
3800
- var PresetPalettes_1 = __webpack_require__(81);
3802
+ var PresetPalettes_1 = __webpack_require__(80);
3801
3803
 
3802
- var visualization_icons_1 = __webpack_require__(72);
3804
+ var visualization_icons_1 = __webpack_require__(71);
3803
3805
 
3804
- var placeholders_1 = __webpack_require__(71);
3806
+ var placeholders_1 = __webpack_require__(70);
3805
3807
 
3806
- var VizBehavior_1 = __webpack_require__(8);
3808
+ var VizBehavior_1 = __webpack_require__(7);
3807
3809
 
3808
- var configUtils_1 = __webpack_require__(27);
3810
+ var configUtils_1 = __webpack_require__(26);
3809
3811
 
3810
- var VizCategory_1 = __webpack_require__(23);
3812
+ var VizCategory_1 = __webpack_require__(22);
3811
3813
 
3812
- var StaticBackgroundColorEditor_1 = __webpack_require__(112);
3814
+ var StaticBackgroundColorEditor_1 = __webpack_require__(111);
3813
3815
 
3814
3816
  var dataContract = {
3815
3817
  requiredDataSources: [],
@@ -3972,7 +3974,7 @@ var config = {
3972
3974
  exports.default = (0, configUtils_1.enhanceConfig)(config);
3973
3975
 
3974
3976
  /***/ }),
3975
- /* 214 */
3977
+ /* 212 */
3976
3978
  /***/ (function(module, exports, __webpack_require__) {
3977
3979
 
3978
3980
  "use strict";
@@ -3995,7 +3997,7 @@ var isValidUrl = function isValidUrl(value) {
3995
3997
  exports.isValidUrl = isValidUrl;
3996
3998
 
3997
3999
  /***/ }),
3998
- /* 215 */
4000
+ /* 213 */
3999
4001
  /***/ (function(module, exports, __webpack_require__) {
4000
4002
 
4001
4003
  "use strict";
@@ -4018,11 +4020,11 @@ Object.defineProperty(exports, "__esModule", {
4018
4020
  value: true
4019
4021
  });
4020
4022
 
4021
- var React = __webpack_require__(0);
4023
+ var React = __webpack_require__(1);
4022
4024
 
4023
4025
  var styled_components_1 = __webpack_require__(4);
4024
4026
 
4025
- var visualization_icons_1 = __webpack_require__(72);
4027
+ var visualization_icons_1 = __webpack_require__(71);
4026
4028
 
4027
4029
  var Container = styled_components_1.default.div.withConfig({
4028
4030
  displayName: "ErrorMessage__Container",