@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
package/Area.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 = 200);
90
+ /******/ return __webpack_require__(__webpack_require__.s = 194);
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,8 +121,19 @@ module.exports = require("lodash");
121
121
  module.exports = require("styled-components");
122
122
 
123
123
  /***/ }),
124
- /* 5 */,
124
+ /* 5 */
125
+ /***/ (function(module, exports) {
126
+
127
+ module.exports = require("@babel/runtime/helpers/slicedToArray");
128
+
129
+ /***/ }),
125
130
  /* 6 */
131
+ /***/ (function(module, exports) {
132
+
133
+ module.exports = require("@babel/runtime/helpers/toConsumableArray");
134
+
135
+ /***/ }),
136
+ /* 7 */
126
137
  /***/ (function(module, exports, __webpack_require__) {
127
138
 
128
139
  "use strict";
@@ -160,41 +171,35 @@ var VizBehavior;
160
171
  VizBehavior["TRELLIS"] = "trellis";
161
172
  })(VizBehavior = exports.VizBehavior || (exports.VizBehavior = {}));
162
173
 
163
- /***/ }),
164
- /* 7 */
165
- /***/ (function(module, exports) {
166
-
167
- module.exports = require("@babel/runtime/helpers/slicedToArray");
168
-
169
174
  /***/ }),
170
175
  /* 8 */
171
176
  /***/ (function(module, exports) {
172
177
 
173
- module.exports = require("@babel/runtime/helpers/toConsumableArray");
178
+ module.exports = require("@babel/runtime/helpers/classCallCheck");
174
179
 
175
180
  /***/ }),
176
181
  /* 9 */
177
182
  /***/ (function(module, exports) {
178
183
 
179
- module.exports = require("@babel/runtime/helpers/defineProperty");
184
+ module.exports = require("@splunk/visualization-schemas");
180
185
 
181
186
  /***/ }),
182
187
  /* 10 */
183
188
  /***/ (function(module, exports) {
184
189
 
185
- module.exports = require("@babel/runtime/helpers/classCallCheck");
190
+ module.exports = require("@splunk/visualizations-shared/numberUtils");
186
191
 
187
192
  /***/ }),
188
193
  /* 11 */
189
194
  /***/ (function(module, exports) {
190
195
 
191
- module.exports = require("@splunk/visualizations-shared/numberUtils");
196
+ module.exports = require("@splunk/visualizations-shared/Message");
192
197
 
193
198
  /***/ }),
194
199
  /* 12 */
195
200
  /***/ (function(module, exports) {
196
201
 
197
- module.exports = require("@splunk/visualizations-shared/Message");
202
+ module.exports = require("@babel/runtime/helpers/defineProperty");
198
203
 
199
204
  /***/ }),
200
205
  /* 13 */
@@ -214,9 +219,9 @@ Object.defineProperty(exports, "__esModule", {
214
219
  });
215
220
  exports.downsampleDataSources = exports.calculateDownsamplingThreshold = exports.calculateThresholdOnRangeSelect = exports.isDownsamplingEnabledForViz = exports.convertToArrOfObjects = void 0;
216
221
 
217
- var numberUtils_1 = __webpack_require__(11);
222
+ var numberUtils_1 = __webpack_require__(10);
218
223
 
219
- 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
220
225
 
221
226
 
222
227
  var convertToArrOfObjects = function convertToArrOfObjects(columns, fields) {
@@ -351,19 +356,21 @@ var largestTriangleThreeBuckets = function largestTriangleThreeBuckets(data, thr
351
356
  */
352
357
 
353
358
 
354
- var strictlyCoerceYColumn = function strictlyCoerceYColumn(column) {
355
- // 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
356
361
  // Number() does not support and also allows loose coercion of hex numbers (but not other formats)
357
362
  // We want to identify columns which contain at least one value that can be loosely coerced
363
+
358
364
  var canLooselyCoerceSomeValues = column.findIndex(function (value) {
359
- return (0, numberUtils_1.startsWithNumber)("".concat(value));
365
+ return (0, numberUtils_1.startsWithNumber)("".concat(value)) || isNullCoercionEnabled && value === null;
360
366
  }) >= 0; // If not all values in column can be strictly coerced to a number, we do not downsample
361
367
 
362
368
  var coercedColumn = [];
363
369
  var canDownsampleColumn = !column.some(function (value) {
364
- 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
365
372
 
366
- 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) {
367
374
  return true;
368
375
  } // save value and continue to next
369
376
 
@@ -444,8 +451,7 @@ var calculateDownsamplingThreshold = function calculateDownsamplingThreshold(_re
444
451
  dataSources = _ref3.dataSources,
445
452
  selectChartEvent = _ref3.selectChartEvent,
446
453
  width = _ref3.width,
447
- xField = _ref3.xField,
448
- y2Fields = _ref3.y2Fields;
454
+ xField = _ref3.xField;
449
455
 
450
456
  var _a, _b, _c;
451
457
 
@@ -482,14 +488,7 @@ var calculateDownsamplingThreshold = function calculateDownsamplingThreshold(_re
482
488
  });
483
489
  var lastIndex = fullSeries.findIndex(function (x) {
484
490
  return downsampledSeries[endXIndex] === x;
485
- }); // For charts with categorical x-axis (charts with an xField that isn't _time), do not support
486
- // re-calculating downsampling threshold if the chart is zoomed in until SPL-259458 is fixed
487
- // Also do not support re-calculating downsampling threshold for zoomed-in charts with y2
488
- // until SPL-259611 is fixed
489
-
490
- if (xField !== '_time' || (y2Fields === null || y2Fields === void 0 ? void 0 : y2Fields.length)) {
491
- return firstIndex === 0 && lastIndex === fullSeries.length - 1 ? width : null;
492
- }
491
+ });
493
492
 
494
493
  if (firstIndex >= 0 && lastIndex >= 0 && firstIndex <= lastIndex) {
495
494
  return (0, exports.calculateThresholdOnRangeSelect)({
@@ -500,6 +499,7 @@ var calculateDownsamplingThreshold = function calculateDownsamplingThreshold(_re
500
499
  });
501
500
  }
502
501
  } catch (e) {
502
+ // eslint-disable-next-line no-console
503
503
  console.error('Error occurred while setting downsample threshold on range select event', e);
504
504
  }
505
505
 
@@ -538,7 +538,7 @@ var isColumnStrictlyIncreasing = function isColumnStrictlyIncreasing(column, fie
538
538
  */
539
539
 
540
540
 
541
- var tryToCoerceAllDisplayedFields = function tryToCoerceAllDisplayedFields(ds, xField, yFields, fieldTypes) {
541
+ var tryToCoerceAllDisplayedFields = function tryToCoerceAllDisplayedFields(ds, xField, yFields, fieldTypes, options) {
542
542
  var xColumn = [];
543
543
  var yColumns = [];
544
544
  var canDownsample = !ds.data.fields.some(function (field, index) {
@@ -552,7 +552,7 @@ var tryToCoerceAllDisplayedFields = function tryToCoerceAllDisplayedFields(ds, x
552
552
  if (fieldName === xField) {
553
553
  xColumn = strictlyCoerceXColumn(column, fieldType);
554
554
  } else if (yFields.has(fieldName)) {
555
- var _strictlyCoerceYColum = strictlyCoerceYColumn(ds.data.columns[index]),
555
+ var _strictlyCoerceYColum = strictlyCoerceYColumn(ds.data.columns[index], options),
556
556
  coercedColumn = _strictlyCoerceYColum.coercedColumn,
557
557
  canLooselyCoerceSomeValues = _strictlyCoerceYColum.canLooselyCoerceSomeValues,
558
558
  canDownsampleColumn = _strictlyCoerceYColum.canDownsampleColumn; // do not perform downsampling if a column can possibly be displayed but cannot
@@ -642,7 +642,7 @@ var downsampleDataSources = function downsampleDataSources(_ref4) {
642
642
  return dataSources;
643
643
  }
644
644
 
645
- var _tryToCoerceAllDispla = tryToCoerceAllDisplayedFields(primaryDS, xField, nonInternalYFields, fieldTypes),
645
+ var _tryToCoerceAllDispla = tryToCoerceAllDisplayedFields(primaryDS, xField, nonInternalYFields, fieldTypes, options),
646
646
  xColumn = _tryToCoerceAllDispla.xColumn,
647
647
  yColumns = _tryToCoerceAllDispla.yColumns;
648
648
 
@@ -666,6 +666,7 @@ var downsampleDataSources = function downsampleDataSources(_ref4) {
666
666
  return downsampledIndices.add(downsampleIndex);
667
667
  });
668
668
  } catch (e) {
669
+ // eslint-disable-next-line no-console
669
670
  console.error("Error occurred while downsampling column ".concat(columnIndex), e);
670
671
  }
671
672
  }); // update data columns with downsampled columns
@@ -695,13 +696,13 @@ module.exports = require("@splunk/visualization-encoding/Options");
695
696
  "use strict";
696
697
 
697
698
 
698
- var _slicedToArray = __webpack_require__(7);
699
+ var _slicedToArray = __webpack_require__(5);
699
700
 
700
701
  Object.defineProperty(exports, "__esModule", {
701
702
  value: true
702
703
  });
703
704
 
704
- var React = __webpack_require__(0);
705
+ var React = __webpack_require__(1);
705
706
 
706
707
  var styled_components_1 = __webpack_require__(4);
707
708
 
@@ -709,7 +710,7 @@ var style_1 = __webpack_require__(18);
709
710
 
710
711
  var colorUtils_1 = __webpack_require__(15);
711
712
 
712
- var SizeAwareWrapper_1 = __webpack_require__(26);
713
+ var SizeAwareWrapper_1 = __webpack_require__(25);
713
714
 
714
715
  var Item = styled_components_1.default.div.attrs(function (_ref) {
715
716
  var width = _ref.width;
@@ -780,7 +781,7 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
780
781
 
781
782
  return React.createElement(FixSizeItem, {
782
783
  "data-test": "fix-size-item",
783
- "data-splunk-visualization-version": "26.2.1 - 714383dbb",
784
+ "data-splunk-visualization-version": "26.4.0 - 04078274d",
784
785
  width: width,
785
786
  height: height,
786
787
  backgroundColor: backgroundColor
@@ -807,7 +808,8 @@ exports.default = withFixedSizeContainer;
807
808
  module.exports = require("@splunk/visualizations-shared/style");
808
809
 
809
810
  /***/ }),
810
- /* 19 */
811
+ /* 19 */,
812
+ /* 20 */
811
813
  /***/ (function(module, exports, __webpack_require__) {
812
814
 
813
815
  "use strict";
@@ -816,22 +818,20 @@ module.exports = require("@splunk/visualizations-shared/style");
816
818
  Object.defineProperty(exports, "__esModule", {
817
819
  value: true
818
820
  });
819
- exports.validOutputModes = exports.validSegmentationModes = exports.validSortDirs = void 0;
821
+ exports.validOutputModes = exports.validSortDirs = void 0;
820
822
  exports.validSortDirs = ['asc', 'desc', 'none'];
821
- exports.validSegmentationModes = ['none', 'inner'];
822
823
  exports.validOutputModes = ['json_cols', 'json'];
823
824
 
824
825
  /***/ }),
825
- /* 20 */,
826
826
  /* 21 */
827
827
  /***/ (function(module, exports, __webpack_require__) {
828
828
 
829
829
  "use strict";
830
830
 
831
831
 
832
- var _classCallCheck = __webpack_require__(10);
832
+ var _classCallCheck = __webpack_require__(8);
833
833
 
834
- var _createClass = __webpack_require__(25);
834
+ var _createClass = __webpack_require__(24);
835
835
 
836
836
  Object.defineProperty(exports, "__esModule", {
837
837
  value: true
@@ -923,120 +923,39 @@ exports.extendStaticWrapperProps = extendStaticWrapperProps;
923
923
  /* 24 */
924
924
  /***/ (function(module, exports) {
925
925
 
926
- module.exports = require("@splunk/visualizations-shared/schemaUtils");
927
-
928
- /***/ }),
929
- /* 25 */
930
- /***/ (function(module, exports) {
931
-
932
926
  module.exports = require("@babel/runtime/helpers/createClass");
933
927
 
934
928
  /***/ }),
935
- /* 26 */
929
+ /* 25 */
936
930
  /***/ (function(module, exports) {
937
931
 
938
932
  module.exports = require("@splunk/visualizations-shared/SizeAwareWrapper");
939
933
 
940
934
  /***/ }),
941
- /* 27 */
935
+ /* 26 */
942
936
  /***/ (function(module, exports, __webpack_require__) {
943
937
 
944
938
  "use strict";
945
939
 
946
940
 
947
- var _toConsumableArray = __webpack_require__(8);
948
-
949
- var _defineProperty = __webpack_require__(9);
950
-
951
- var __rest = this && this.__rest || function (s, e) {
952
- var t = {};
953
-
954
- for (var p in s) {
955
- if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
956
- }
957
-
958
- if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
959
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
960
- }
961
- return t;
962
- };
941
+ var _toConsumableArray = __webpack_require__(6);
963
942
 
964
943
  Object.defineProperty(exports, "__esModule", {
965
944
  value: true
966
945
  });
967
- exports.insertLayout = exports.isDynamicOption = exports.uncollapseEditorConfig = exports.generatePrecisionValues = exports.getInitialPreset = exports.enhanceOptionsSchemaWithDynamicOptions = exports.enhanceConfig = void 0;
968
-
969
- var lodash_1 = __webpack_require__(3);
970
-
971
- var schemaUtils_1 = __webpack_require__(24);
972
-
973
- var VizBehavior_1 = __webpack_require__(6);
974
-
975
- var dynamicOptionsDSLType = {
976
- type: 'string',
977
- pattern: schemaUtils_1.DYNAMIC_OPTIONS_DSL_PATTERN
978
- };
979
- /**
980
- * Helper function to extend an options schema with dynamic options DSL
981
- * @param optionsSchema a visualization's options schema
982
- * @returns an updated options schema that additionally allows strings starting with > for each option
983
- */
946
+ exports.insertLayout = exports.isDynamicOption = exports.uncollapseEditorConfig = exports.generatePrecisionValues = exports.getInitialPreset = exports.enhanceConfig = exports.enhanceOptionsSchemaWithDynamicOptions = void 0;
984
947
 
985
- function enhanceOptionsSchemaWithDynamicOptions(optionsSchema) {
986
- var enhancedOptionsSchema = {};
987
- Object.keys(optionsSchema).forEach(function (key) {
988
- var _a = optionsSchema[key],
989
- title = _a.title,
990
- description = _a.description,
991
- readOnly = _a.readOnly,
992
- writeOnly = _a.writeOnly,
993
- examples = _a.examples,
994
- defaultValue = _a.default,
995
- type = _a.type,
996
- properties = _a.properties,
997
- patternProperties = _a.patternProperties,
998
- remainingSchemaEntry = __rest(_a, ["title", "description", "readOnly", "writeOnly", "examples", "default", "type", "properties", "patternProperties"]);
999
-
1000
- var annotations = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, title !== undefined && {
1001
- title: title
1002
- }), description !== undefined && {
1003
- description: description
1004
- }), readOnly !== undefined && {
1005
- readOnly: readOnly
1006
- }), writeOnly !== undefined && {
1007
- writeOnly: writeOnly
1008
- }), examples !== undefined && {
1009
- examples: examples
1010
- }), defaultValue !== undefined && {
1011
- default: defaultValue
1012
- });
948
+ var lodash_1 = __webpack_require__(2); // included for backwards compatibility
1013
949
 
1014
- if (type === 'object') {
1015
- enhancedOptionsSchema[key] = Object.assign(Object.assign(Object.assign(Object.assign({}, remainingSchemaEntry), annotations), {
1016
- type: type
1017
- }), properties && {
1018
- properties: enhanceOptionsSchemaWithDynamicOptions(properties)
1019
- });
1020
950
 
1021
- if (patternProperties) {
1022
- var enhancedPatternProperties = {};
1023
- Object.keys(patternProperties).forEach(function (opt) {
1024
- enhancedPatternProperties = Object.assign(Object.assign({}, enhancedPatternProperties), enhanceOptionsSchemaWithDynamicOptions(_defineProperty({}, opt, patternProperties[opt])));
1025
- });
1026
- enhancedOptionsSchema[key].patternProperties = enhancedPatternProperties;
1027
- }
1028
- } else {
1029
- enhancedOptionsSchema[key] = Object.assign(Object.assign({}, annotations), {
1030
- anyOf: [Object.assign(Object.assign({}, type !== undefined && {
1031
- type: type
1032
- }), remainingSchemaEntry), dynamicOptionsDSLType]
1033
- });
1034
- }
1035
- });
1036
- return enhancedOptionsSchema;
1037
- }
951
+ var visualization_schemas_1 = __webpack_require__(9);
1038
952
 
1039
- exports.enhanceOptionsSchemaWithDynamicOptions = enhanceOptionsSchemaWithDynamicOptions;
953
+ Object.defineProperty(exports, "enhanceOptionsSchemaWithDynamicOptions", {
954
+ enumerable: true,
955
+ get: function get() {
956
+ return visualization_schemas_1.enhanceOptionsSchemaWithDynamicOptions;
957
+ }
958
+ });
1040
959
  /**
1041
960
  * Helper function to enhance a Visualization Config as needed based on behaviors specified in supports block
1042
961
  * this function also collapse all editor panels
@@ -1047,11 +966,6 @@ exports.enhanceOptionsSchemaWithDynamicOptions = enhanceOptionsSchemaWithDynamic
1047
966
 
1048
967
  function enhanceConfig(vizConfig) {
1049
968
  var enhancedConfig = Object.assign({}, vizConfig);
1050
-
1051
- if (vizConfig.supports.indexOf(VizBehavior_1.VizBehavior.DYNAMIC_OPTIONS) !== -1) {
1052
- enhancedConfig.optionsSchema = enhanceOptionsSchemaWithDynamicOptions(vizConfig.optionsSchema);
1053
- }
1054
-
1055
969
  enhancedConfig.editorConfig = vizConfig.editorConfig.map(function (config) {
1056
970
  return Object.assign(Object.assign({}, config), {
1057
971
  open: config.open || false
@@ -1174,32 +1088,32 @@ var insertLayout = function insertLayout(layout, index) {
1174
1088
  exports.insertLayout = insertLayout;
1175
1089
 
1176
1090
  /***/ }),
1177
- /* 28 */
1091
+ /* 27 */
1178
1092
  /***/ (function(module, exports) {
1179
1093
 
1180
1094
  module.exports = require("@splunk/visualization-context/FeatureFlagContext");
1181
1095
 
1182
1096
  /***/ }),
1183
- /* 29 */,
1184
- /* 30 */
1097
+ /* 28 */,
1098
+ /* 29 */
1185
1099
  /***/ (function(module, exports) {
1186
1100
 
1187
1101
  module.exports = require("@splunk/themes/pick");
1188
1102
 
1189
1103
  /***/ }),
1190
- /* 31 */
1104
+ /* 30 */
1191
1105
  /***/ (function(module, exports) {
1192
1106
 
1193
1107
  module.exports = require("@splunk/ui-utils/id");
1194
1108
 
1195
1109
  /***/ }),
1196
- /* 32 */
1110
+ /* 31 */
1197
1111
  /***/ (function(module, exports) {
1198
1112
 
1199
1113
  module.exports = require("@splunk/visualization-context/TimezoneContext");
1200
1114
 
1201
1115
  /***/ }),
1202
- /* 33 */
1116
+ /* 32 */
1203
1117
  /***/ (function(module, exports, __webpack_require__) {
1204
1118
 
1205
1119
  "use strict";
@@ -1209,7 +1123,7 @@ Object.defineProperty(exports, "__esModule", {
1209
1123
  value: true
1210
1124
  });
1211
1125
 
1212
- var react_1 = __webpack_require__(0);
1126
+ var react_1 = __webpack_require__(1);
1213
1127
 
1214
1128
  function usePrevious(value) {
1215
1129
  var ref = (0, react_1.useRef)();
@@ -1222,25 +1136,25 @@ function usePrevious(value) {
1222
1136
  exports.default = usePrevious;
1223
1137
 
1224
1138
  /***/ }),
1225
- /* 34 */
1139
+ /* 33 */
1226
1140
  /***/ (function(module, exports) {
1227
1141
 
1228
1142
  module.exports = require("@splunk/visualizations-shared/hocUtils");
1229
1143
 
1230
1144
  /***/ }),
1231
- /* 35 */
1145
+ /* 34 */
1232
1146
  /***/ (function(module, exports) {
1233
1147
 
1234
1148
  module.exports = require("@splunk/visualizations-shared/JSONSchemaUtils");
1235
1149
 
1236
1150
  /***/ }),
1237
- /* 36 */
1151
+ /* 35 */
1238
1152
  /***/ (function(module, exports) {
1239
1153
 
1240
1154
  module.exports = require("@splunk/visualizations-shared/propUtils");
1241
1155
 
1242
1156
  /***/ }),
1243
- /* 37 */
1157
+ /* 36 */
1244
1158
  /***/ (function(module, exports, __webpack_require__) {
1245
1159
 
1246
1160
  "use strict";
@@ -1251,15 +1165,15 @@ Object.defineProperty(exports, "__esModule", {
1251
1165
  });
1252
1166
  exports.shouldShowIconPlaceholder = void 0;
1253
1167
 
1254
- var React = __webpack_require__(0);
1168
+ var React = __webpack_require__(1);
1255
1169
 
1256
- var T = __webpack_require__(1);
1170
+ var T = __webpack_require__(0);
1257
1171
 
1258
- var lodash_1 = __webpack_require__(3);
1172
+ var lodash_1 = __webpack_require__(2);
1259
1173
 
1260
- var i18n_1 = __webpack_require__(2);
1174
+ var i18n_1 = __webpack_require__(3);
1261
1175
 
1262
- var Message_1 = __webpack_require__(12);
1176
+ var Message_1 = __webpack_require__(11);
1263
1177
 
1264
1178
  var FixedSizeContainer_1 = __webpack_require__(17);
1265
1179
  /**
@@ -1332,24 +1246,24 @@ IconPlaceholder.defaultProps = {
1332
1246
  exports.default = (0, FixedSizeContainer_1.default)(IconPlaceholder);
1333
1247
 
1334
1248
  /***/ }),
1335
- /* 38 */
1249
+ /* 37 */
1336
1250
  /***/ (function(module, exports, __webpack_require__) {
1337
1251
 
1338
1252
  "use strict";
1339
1253
 
1340
1254
 
1341
- var _defineProperty = __webpack_require__(9);
1255
+ var _defineProperty = __webpack_require__(12);
1342
1256
 
1343
1257
  Object.defineProperty(exports, "__esModule", {
1344
1258
  value: true
1345
1259
  });
1346
1260
  exports.getSortingParams = exports.SortParamsPropTypes = void 0;
1347
1261
 
1348
- var T = __webpack_require__(1);
1262
+ var T = __webpack_require__(0);
1349
1263
 
1350
- var lodash_1 = __webpack_require__(3);
1264
+ var lodash_1 = __webpack_require__(2);
1351
1265
 
1352
- var DataSource_1 = __webpack_require__(19);
1266
+ var DataSource_1 = __webpack_require__(20);
1353
1267
 
1354
1268
  exports.SortParamsPropTypes = T.shape({
1355
1269
  currentSortKey: T.string,
@@ -1402,7 +1316,7 @@ var getSortingParams = function getSortingParams(_ref) {
1402
1316
  exports.getSortingParams = getSortingParams;
1403
1317
 
1404
1318
  /***/ }),
1405
- /* 39 */
1319
+ /* 38 */
1406
1320
  /***/ (function(module, exports, __webpack_require__) {
1407
1321
 
1408
1322
  "use strict";
@@ -1413,9 +1327,9 @@ Object.defineProperty(exports, "__esModule", {
1413
1327
  });
1414
1328
  exports.getPaginationParams = exports.PaginatorParamsPropTypes = void 0;
1415
1329
 
1416
- var T = __webpack_require__(1);
1330
+ var T = __webpack_require__(0);
1417
1331
 
1418
- var lodash_1 = __webpack_require__(3);
1332
+ var lodash_1 = __webpack_require__(2);
1419
1333
 
1420
1334
  exports.PaginatorParamsPropTypes = T.shape({
1421
1335
  isPaging: T.bool,
@@ -1466,7 +1380,7 @@ var getPaginationParams = function getPaginationParams(_ref) {
1466
1380
  exports.getPaginationParams = getPaginationParams;
1467
1381
 
1468
1382
  /***/ }),
1469
- /* 40 */
1383
+ /* 39 */
1470
1384
  /***/ (function(module, exports, __webpack_require__) {
1471
1385
 
1472
1386
  "use strict";
@@ -1501,11 +1415,13 @@ Object.defineProperty(exports, "__esModule", {
1501
1415
  value: true
1502
1416
  });
1503
1417
 
1418
+ __exportStar(__webpack_require__(40), exports);
1419
+
1504
1420
  __exportStar(__webpack_require__(41), exports);
1505
1421
 
1506
- __exportStar(__webpack_require__(42), exports);
1422
+ __exportStar(__webpack_require__(20), exports);
1507
1423
 
1508
- __exportStar(__webpack_require__(19), exports);
1424
+ __exportStar(__webpack_require__(42), exports);
1509
1425
 
1510
1426
  __exportStar(__webpack_require__(43), exports);
1511
1427
 
@@ -1517,16 +1433,16 @@ __exportStar(__webpack_require__(46), exports);
1517
1433
 
1518
1434
  __exportStar(__webpack_require__(47), exports);
1519
1435
 
1520
- __exportStar(__webpack_require__(48), exports);
1521
-
1522
- __exportStar(__webpack_require__(49), exports);
1523
-
1524
1436
  __exportStar(__webpack_require__(21), exports);
1525
1437
 
1526
- __exportStar(__webpack_require__(6), exports);
1438
+ __exportStar(__webpack_require__(7), exports);
1527
1439
 
1528
1440
  __exportStar(__webpack_require__(22), exports);
1529
1441
 
1442
+ __exportStar(__webpack_require__(48), exports);
1443
+
1444
+ __exportStar(__webpack_require__(49), exports);
1445
+
1530
1446
  __exportStar(__webpack_require__(50), exports);
1531
1447
 
1532
1448
  __exportStar(__webpack_require__(51), exports);
@@ -1535,9 +1451,16 @@ __exportStar(__webpack_require__(52), exports);
1535
1451
 
1536
1452
  __exportStar(__webpack_require__(53), exports);
1537
1453
 
1538
- __exportStar(__webpack_require__(54), exports);
1454
+ /***/ }),
1455
+ /* 40 */
1456
+ /***/ (function(module, exports, __webpack_require__) {
1457
+
1458
+ "use strict";
1539
1459
 
1540
- __exportStar(__webpack_require__(55), exports);
1460
+
1461
+ Object.defineProperty(exports, "__esModule", {
1462
+ value: true
1463
+ });
1541
1464
 
1542
1465
  /***/ }),
1543
1466
  /* 41 */
@@ -1545,6 +1468,9 @@ __exportStar(__webpack_require__(55), exports);
1545
1468
 
1546
1469
  "use strict";
1547
1470
 
1471
+ /**
1472
+ * A data structure used at runtime to wire up a visualization.
1473
+ */
1548
1474
 
1549
1475
  Object.defineProperty(exports, "__esModule", {
1550
1476
  value: true
@@ -1556,9 +1482,6 @@ Object.defineProperty(exports, "__esModule", {
1556
1482
 
1557
1483
  "use strict";
1558
1484
 
1559
- /**
1560
- * A data structure used at runtime to wire up a visualization.
1561
- */
1562
1485
 
1563
1486
  Object.defineProperty(exports, "__esModule", {
1564
1487
  value: true
@@ -1692,81 +1615,59 @@ Object.defineProperty(exports, "__esModule", {
1692
1615
  "use strict";
1693
1616
 
1694
1617
 
1695
- Object.defineProperty(exports, "__esModule", {
1696
- value: true
1697
- });
1698
-
1699
- /***/ }),
1700
- /* 55 */
1701
- /***/ (function(module, exports, __webpack_require__) {
1702
-
1703
- "use strict";
1704
-
1705
-
1706
- Object.defineProperty(exports, "__esModule", {
1707
- value: true
1708
- });
1709
-
1710
- /***/ }),
1711
- /* 56 */
1712
- /***/ (function(module, exports, __webpack_require__) {
1713
-
1714
- "use strict";
1715
-
1716
-
1717
- var _slicedToArray = __webpack_require__(7);
1618
+ var _slicedToArray = __webpack_require__(5);
1718
1619
 
1719
1620
  Object.defineProperty(exports, "__esModule", {
1720
1621
  value: true
1721
1622
  });
1722
1623
 
1723
- var React = __webpack_require__(0);
1624
+ var React = __webpack_require__(1);
1724
1625
 
1725
- var lodash_1 = __webpack_require__(3);
1626
+ var lodash_1 = __webpack_require__(2);
1726
1627
 
1727
- var getSettingsFromThemedProps_1 = __webpack_require__(57);
1628
+ var getSettingsFromThemedProps_1 = __webpack_require__(55);
1728
1629
 
1729
1630
  var Options_1 = __webpack_require__(16);
1730
1631
 
1731
- var SanitizeProps_1 = __webpack_require__(58);
1632
+ var SanitizeProps_1 = __webpack_require__(56);
1732
1633
 
1733
- var TimezoneContext_1 = __webpack_require__(32);
1634
+ var TimezoneContext_1 = __webpack_require__(31);
1734
1635
 
1735
- var moment_1 = __webpack_require__(59);
1636
+ var moment_1 = __webpack_require__(57);
1736
1637
 
1737
- var FeatureFlagContext_1 = __webpack_require__(28);
1638
+ var FeatureFlagContext_1 = __webpack_require__(27);
1738
1639
 
1739
1640
  var styled_components_1 = __webpack_require__(4);
1740
1641
 
1741
- var hocUtils_1 = __webpack_require__(34);
1642
+ var hocUtils_1 = __webpack_require__(33);
1742
1643
 
1743
- var JSONSchemaUtils_1 = __webpack_require__(35);
1644
+ var JSONSchemaUtils_1 = __webpack_require__(34);
1744
1645
 
1745
- var async_dynamic_options_evaluator_1 = __webpack_require__(60);
1646
+ var async_dynamic_options_evaluator_1 = __webpack_require__(58);
1746
1647
 
1747
- var id_1 = __webpack_require__(31);
1648
+ var id_1 = __webpack_require__(30);
1748
1649
 
1749
- var SplunkVisualization_1 = __webpack_require__(61);
1650
+ var SplunkVisualization_1 = __webpack_require__(59);
1750
1651
 
1751
- var VizBehavior_1 = __webpack_require__(6);
1652
+ var VizBehavior_1 = __webpack_require__(7);
1752
1653
 
1753
- var getSorting_1 = __webpack_require__(38);
1654
+ var getSorting_1 = __webpack_require__(37);
1754
1655
 
1755
- var getPagination_1 = __webpack_require__(39);
1656
+ var getPagination_1 = __webpack_require__(38);
1756
1657
 
1757
- var useDeepMemo_1 = __webpack_require__(62);
1658
+ var useDeepMemo_1 = __webpack_require__(60);
1758
1659
 
1759
- var MissingPropsMessage_1 = __webpack_require__(63);
1660
+ var MissingPropsMessage_1 = __webpack_require__(61);
1760
1661
 
1761
- var withEditModeCover_1 = __webpack_require__(64);
1662
+ var withEditModeCover_1 = __webpack_require__(62);
1762
1663
 
1763
- var withPlaceholder_1 = __webpack_require__(65);
1664
+ var withPlaceholder_1 = __webpack_require__(63);
1764
1665
 
1765
- var useDownsampleDataSources_1 = __webpack_require__(66);
1666
+ var useDownsampleDataSources_1 = __webpack_require__(64);
1766
1667
 
1767
1668
  var dataUtils_1 = __webpack_require__(14);
1768
1669
 
1769
- var featureFlagUtils_1 = __webpack_require__(68);
1670
+ var featureFlagUtils_1 = __webpack_require__(66);
1770
1671
  /**
1771
1672
  * hoc that wraps a pure react visualization in a Dashboard visualization
1772
1673
  * @param {DashboardVizOpts} opts
@@ -2098,37 +1999,37 @@ var withDashboardViz = function withDashboardViz(opts) {
2098
1999
  exports.default = withDashboardViz;
2099
2000
 
2100
2001
  /***/ }),
2101
- /* 57 */
2002
+ /* 55 */
2102
2003
  /***/ (function(module, exports) {
2103
2004
 
2104
2005
  module.exports = require("@splunk/themes/getSettingsFromThemedProps");
2105
2006
 
2106
2007
  /***/ }),
2107
- /* 58 */
2008
+ /* 56 */
2108
2009
  /***/ (function(module, exports) {
2109
2010
 
2110
2011
  module.exports = require("@splunk/visualizations-shared/SanitizeProps");
2111
2012
 
2112
2013
  /***/ }),
2113
- /* 59 */
2014
+ /* 57 */
2114
2015
  /***/ (function(module, exports) {
2115
2016
 
2116
2017
  module.exports = require("@splunk/moment");
2117
2018
 
2118
2019
  /***/ }),
2119
- /* 60 */
2020
+ /* 58 */
2120
2021
  /***/ (function(module, exports) {
2121
2022
 
2122
2023
  module.exports = require("@splunk/async-dynamic-options-evaluator");
2123
2024
 
2124
2025
  /***/ }),
2125
- /* 61 */
2026
+ /* 59 */
2126
2027
  /***/ (function(module, exports, __webpack_require__) {
2127
2028
 
2128
2029
  "use strict";
2129
2030
 
2130
2031
 
2131
- var _classCallCheck = __webpack_require__(10);
2032
+ var _classCallCheck = __webpack_require__(8);
2132
2033
 
2133
2034
  Object.defineProperty(exports, "__esModule", {
2134
2035
  value: true
@@ -2136,9 +2037,9 @@ Object.defineProperty(exports, "__esModule", {
2136
2037
  exports.INITIAL_HEIGHT = exports.INITIAL_WIDTH = void 0;
2137
2038
  /* eslint-disable react/no-unused-prop-types,react/prefer-stateless-function */
2138
2039
 
2139
- var T = __webpack_require__(1);
2040
+ var T = __webpack_require__(0);
2140
2041
 
2141
- var lodash_1 = __webpack_require__(3);
2042
+ var lodash_1 = __webpack_require__(2);
2142
2043
 
2143
2044
  var VizActionHandler_1 = __webpack_require__(21); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
2144
2045
 
@@ -2273,7 +2174,7 @@ SplunkVisualization.defaultProps = {
2273
2174
  exports.default = SplunkVisualization;
2274
2175
 
2275
2176
  /***/ }),
2276
- /* 62 */
2177
+ /* 60 */
2277
2178
  /***/ (function(module, exports, __webpack_require__) {
2278
2179
 
2279
2180
  "use strict";
@@ -2284,9 +2185,9 @@ Object.defineProperty(exports, "__esModule", {
2284
2185
  });
2285
2186
  exports.useDeepMemo = void 0;
2286
2187
 
2287
- var react_1 = __webpack_require__(0);
2188
+ var react_1 = __webpack_require__(1);
2288
2189
 
2289
- var lodash_1 = __webpack_require__(3);
2190
+ var lodash_1 = __webpack_require__(2);
2290
2191
  /**
2291
2192
  * This hook evaluates and stores the result of a passed function and only
2292
2193
  * re-evaluates the function when passed dependencies change.
@@ -2318,7 +2219,7 @@ var useDeepMemo = function useDeepMemo(fn, dependencies) {
2318
2219
  exports.useDeepMemo = useDeepMemo;
2319
2220
 
2320
2221
  /***/ }),
2321
- /* 63 */
2222
+ /* 61 */
2322
2223
  /***/ (function(module, exports, __webpack_require__) {
2323
2224
 
2324
2225
  "use strict";
@@ -2329,13 +2230,13 @@ Object.defineProperty(exports, "__esModule", {
2329
2230
  });
2330
2231
  exports.MissingPropsMessage = exports.missingKeys = exports.isMissing = void 0;
2331
2232
 
2332
- var React = __webpack_require__(0);
2233
+ var React = __webpack_require__(1);
2333
2234
 
2334
- var T = __webpack_require__(1);
2235
+ var T = __webpack_require__(0);
2335
2236
 
2336
- var i18n_1 = __webpack_require__(2);
2237
+ var i18n_1 = __webpack_require__(3);
2337
2238
 
2338
- var Message_1 = __webpack_require__(12);
2239
+ var Message_1 = __webpack_require__(11);
2339
2240
 
2340
2241
  var FixedSizeContainer_1 = __webpack_require__(17);
2341
2242
  /**
@@ -2398,7 +2299,7 @@ exports.MissingPropsMessage.defaultProps = {
2398
2299
  exports.default = (0, FixedSizeContainer_1.default)(exports.MissingPropsMessage);
2399
2300
 
2400
2301
  /***/ }),
2401
- /* 64 */
2302
+ /* 62 */
2402
2303
  /***/ (function(module, exports, __webpack_require__) {
2403
2304
 
2404
2305
  "use strict";
@@ -2408,7 +2309,7 @@ Object.defineProperty(exports, "__esModule", {
2408
2309
  value: true
2409
2310
  });
2410
2311
 
2411
- var React = __webpack_require__(0);
2312
+ var React = __webpack_require__(1);
2412
2313
 
2413
2314
  var styled_components_1 = __webpack_require__(4);
2414
2315
 
@@ -2419,7 +2320,7 @@ var Cover = styled_components_1.default.div.withConfig({
2419
2320
  componentId: "sc-1gsbnxb-0"
2420
2321
  })(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
2421
2322
  var Blocker = styled_components_1.default.div.attrs({
2422
- 'data-splunk-visualization-version': "26.2.1 - 714383dbb"
2323
+ 'data-splunk-visualization-version': "26.4.0 - 04078274d"
2423
2324
  }).withConfig({
2424
2325
  displayName: "withEditModeCover__Blocker",
2425
2326
  componentId: "sc-1gsbnxb-1"
@@ -2450,7 +2351,7 @@ var withEditModeCover = function withEditModeCover(Visualization, disableEditMod
2450
2351
  exports.default = withEditModeCover;
2451
2352
 
2452
2353
  /***/ }),
2453
- /* 65 */
2354
+ /* 63 */
2454
2355
  /***/ (function(module, exports, __webpack_require__) {
2455
2356
 
2456
2357
  "use strict";
@@ -2460,15 +2361,15 @@ Object.defineProperty(exports, "__esModule", {
2460
2361
  value: true
2461
2362
  });
2462
2363
 
2463
- var React = __webpack_require__(0);
2364
+ var React = __webpack_require__(1);
2464
2365
 
2465
2366
  var colorUtils_1 = __webpack_require__(15);
2466
2367
 
2467
2368
  var variables_1 = __webpack_require__(13);
2468
2369
 
2469
- var IconPlaceholder_1 = __webpack_require__(37);
2370
+ var IconPlaceholder_1 = __webpack_require__(36);
2470
2371
 
2471
- var VizBehavior_1 = __webpack_require__(6);
2372
+ var VizBehavior_1 = __webpack_require__(7);
2472
2373
 
2473
2374
  var hocUtils_1 = __webpack_require__(23);
2474
2375
 
@@ -2514,27 +2415,30 @@ var withPlaceholder = function withPlaceholder(Visualization) {
2514
2415
  exports.default = withPlaceholder;
2515
2416
 
2516
2417
  /***/ }),
2517
- /* 66 */
2418
+ /* 64 */
2518
2419
  /***/ (function(module, exports, __webpack_require__) {
2519
2420
 
2520
2421
  "use strict";
2521
2422
 
2522
2423
 
2523
- var _slicedToArray = __webpack_require__(7);
2424
+ var _slicedToArray = __webpack_require__(5);
2524
2425
 
2525
2426
  Object.defineProperty(exports, "__esModule", {
2526
2427
  value: true
2527
2428
  });
2528
2429
 
2529
- var react_1 = __webpack_require__(0);
2430
+ var react_1 = __webpack_require__(1);
2530
2431
 
2531
- var lodash_1 = __webpack_require__(3);
2432
+ var lodash_1 = __webpack_require__(2);
2532
2433
 
2533
2434
  var dataUtils_1 = __webpack_require__(14);
2534
2435
 
2535
- var usePrevious_1 = __webpack_require__(33);
2436
+ var usePrevious_1 = __webpack_require__(32);
2437
+
2438
+ var useGetXAndYFields_1 = __webpack_require__(65); // Options properties which impact/require re-downsample on change.
2536
2439
 
2537
- var useGetXAndYFields_1 = __webpack_require__(67);
2440
+
2441
+ var downsampleVizOptionProperties = ['nullValueDisplay'];
2538
2442
 
2539
2443
  var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
2540
2444
  var dataSources = _ref.dataSources,
@@ -2548,8 +2452,15 @@ var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
2548
2452
  options: options,
2549
2453
  context: context,
2550
2454
  dataSources: dataSources
2551
- });
2552
- 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);
2553
2464
  var previousDataSources = (0, usePrevious_1.default)(dataSources);
2554
2465
  var previousThreshold = (0, usePrevious_1.default)(threshold);
2555
2466
 
@@ -2557,7 +2468,7 @@ var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
2557
2468
  return isDownsamplingEnabled ? (0, dataUtils_1.downsampleDataSources)({
2558
2469
  dataSources: dataSources,
2559
2470
  threshold: threshold,
2560
- options: xAndYFieldsWithTypes
2471
+ options: downsampleDSOptions
2561
2472
  }) : dataSources;
2562
2473
  }),
2563
2474
  _ref3 = _slicedToArray(_ref2, 2),
@@ -2585,7 +2496,7 @@ var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
2585
2496
  return;
2586
2497
  }
2587
2498
 
2588
- if ((0, lodash_1.isEqual)(previousXAndYFieldsWithTypes, xAndYFieldsWithTypes) && previousDataSources === dataSources && previousThreshold === threshold) {
2499
+ if ((0, lodash_1.isEqual)(previousDownsampleDSOptions, downsampleDSOptions) && previousDataSources === dataSources && previousThreshold === threshold) {
2589
2500
  return;
2590
2501
  } // Debounce the downsampling so we don't have to downsample and execute DSL multiple times
2591
2502
  // while the viz is being resized
@@ -2593,29 +2504,29 @@ var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
2593
2504
 
2594
2505
  debouncedDownsampleDataSources({
2595
2506
  dataSources: dataSources,
2596
- options: xAndYFieldsWithTypes,
2507
+ options: downsampleDSOptions,
2597
2508
  threshold: threshold
2598
2509
  }); // need to detect if this runs as part of the initial render
2599
- }, [dataSources, debouncedDownsampleDataSources, xAndYFieldsWithTypes, threshold, isDownsamplingEnabled, previousXAndYFieldsWithTypes, previousDataSources, previousThreshold]);
2510
+ }, [dataSources, downsampleDSOptions, debouncedDownsampleDataSources, xAndYFieldsWithTypes, threshold, isDownsamplingEnabled, previousDataSources, previousThreshold, previousDownsampleDSOptions]);
2600
2511
  return downsampledDataSources;
2601
2512
  };
2602
2513
 
2603
2514
  exports.default = useDownsampleDataSources;
2604
2515
 
2605
2516
  /***/ }),
2606
- /* 67 */
2517
+ /* 65 */
2607
2518
  /***/ (function(module, exports, __webpack_require__) {
2608
2519
 
2609
2520
  "use strict";
2610
2521
 
2611
2522
 
2612
- var _toConsumableArray = __webpack_require__(8);
2523
+ var _toConsumableArray = __webpack_require__(6);
2613
2524
 
2614
2525
  Object.defineProperty(exports, "__esModule", {
2615
2526
  value: true
2616
2527
  });
2617
2528
 
2618
- var react_1 = __webpack_require__(0);
2529
+ var react_1 = __webpack_require__(1);
2619
2530
 
2620
2531
  var Options_1 = __webpack_require__(16);
2621
2532
  /**
@@ -2717,7 +2628,7 @@ var useGetXAndYFields = function useGetXAndYFields(_ref) {
2717
2628
  exports.default = useGetXAndYFields;
2718
2629
 
2719
2630
  /***/ }),
2720
- /* 68 */
2631
+ /* 66 */
2721
2632
  /***/ (function(module, exports, __webpack_require__) {
2722
2633
 
2723
2634
  "use strict";
@@ -2728,7 +2639,7 @@ Object.defineProperty(exports, "__esModule", {
2728
2639
  });
2729
2640
  exports.getFeatureFlag = void 0;
2730
2641
 
2731
- var FeatureFlags_1 = __webpack_require__(69);
2642
+ var FeatureFlags_1 = __webpack_require__(67);
2732
2643
 
2733
2644
  var getFeatureFlag = function getFeatureFlag(context, flagName) {
2734
2645
  // look for feature flag in context first
@@ -2752,33 +2663,27 @@ var getFeatureFlag = function getFeatureFlag(context, flagName) {
2752
2663
  exports.getFeatureFlag = getFeatureFlag;
2753
2664
 
2754
2665
  /***/ }),
2755
- /* 69 */
2666
+ /* 67 */
2756
2667
  /***/ (function(module, exports) {
2757
2668
 
2758
2669
  module.exports = require("@splunk/visualization-context/FeatureFlags");
2759
2670
 
2760
2671
  /***/ }),
2761
- /* 70 */,
2762
- /* 71 */,
2763
- /* 72 */
2672
+ /* 68 */,
2673
+ /* 69 */,
2674
+ /* 70 */
2764
2675
  /***/ (function(module, exports) {
2765
2676
 
2766
2677
  module.exports = require("@splunk/visualization-icons/placeholders");
2767
2678
 
2768
2679
  /***/ }),
2769
- /* 73 */
2770
- /***/ (function(module, exports) {
2771
-
2772
- module.exports = require("@splunk/visualization-color-palettes");
2773
-
2774
- /***/ }),
2775
- /* 74 */
2680
+ /* 71 */
2776
2681
  /***/ (function(module, exports) {
2777
2682
 
2778
2683
  module.exports = require("@splunk/visualization-icons");
2779
2684
 
2780
2685
  /***/ }),
2781
- /* 75 */
2686
+ /* 72 */
2782
2687
  /***/ (function(module, exports, __webpack_require__) {
2783
2688
 
2784
2689
  "use strict";
@@ -2788,14 +2693,14 @@ Object.defineProperty(exports, "__esModule", {
2788
2693
  value: true
2789
2694
  });
2790
2695
 
2791
- var i18n_1 = __webpack_require__(2);
2696
+ var i18n_1 = __webpack_require__(3);
2792
2697
 
2793
2698
  var background = function background(_ref) {
2794
2699
  var label = _ref.label,
2795
2700
  themes = _ref.themes,
2796
2701
  labelPosition = _ref.labelPosition;
2797
2702
  return [{
2798
- label: (0, i18n_1._)(label || 'Background'),
2703
+ label: (0, i18n_1._)(label || 'Background color'),
2799
2704
  option: 'backgroundColor',
2800
2705
  editor: 'editor.color',
2801
2706
  editorProps: {
@@ -2808,26 +2713,32 @@ var background = function background(_ref) {
2808
2713
  exports.default = background;
2809
2714
 
2810
2715
  /***/ }),
2811
- /* 76 */,
2812
- /* 77 */
2716
+ /* 73 */,
2717
+ /* 74 */
2718
+ /***/ (function(module, exports) {
2719
+
2720
+ module.exports = require("@splunk/visualization-color-palettes");
2721
+
2722
+ /***/ }),
2723
+ /* 75 */
2813
2724
  /***/ (function(module, exports) {
2814
2725
 
2815
2726
  module.exports = require("@splunk/charting-bundle");
2816
2727
 
2817
2728
  /***/ }),
2818
- /* 78 */
2729
+ /* 76 */
2819
2730
  /***/ (function(module, exports) {
2820
2731
 
2821
2732
  module.exports = require("@splunk/themes/useSplunkTheme");
2822
2733
 
2823
2734
  /***/ }),
2824
- /* 79 */
2735
+ /* 77 */
2825
2736
  /***/ (function(module, exports, __webpack_require__) {
2826
2737
 
2827
2738
  "use strict";
2828
2739
 
2829
2740
 
2830
- var _toConsumableArray = __webpack_require__(8);
2741
+ var _toConsumableArray = __webpack_require__(6);
2831
2742
 
2832
2743
  var __rest = this && this.__rest || function (s, e) {
2833
2744
  var t = {};
@@ -2847,7 +2758,7 @@ Object.defineProperty(exports, "__esModule", {
2847
2758
  });
2848
2759
  exports.shouldEnableSearchZoom = exports.constructFieldsAndColumns = exports.toArrayForSeries = exports.isMultiSeriesData = exports.convertOverlayFields = exports.convertY2AxisOptions = exports.mapToValues = exports.truncateData = exports.getAnnotations = void 0;
2849
2760
 
2850
- var lodash_1 = __webpack_require__(3);
2761
+ var lodash_1 = __webpack_require__(2);
2851
2762
  /**
2852
2763
  * Get formatted annotations
2853
2764
  * @method getAnnotations
@@ -3058,14 +2969,13 @@ var shouldEnableSearchZoom = function shouldEnableSearchZoom() {
3058
2969
  exports.shouldEnableSearchZoom = shouldEnableSearchZoom;
3059
2970
 
3060
2971
  /***/ }),
2972
+ /* 78 */,
2973
+ /* 79 */,
3061
2974
  /* 80 */,
3062
2975
  /* 81 */,
3063
2976
  /* 82 */,
3064
2977
  /* 83 */,
3065
- /* 84 */,
3066
- /* 85 */,
3067
- /* 86 */,
3068
- /* 87 */
2978
+ /* 84 */
3069
2979
  /***/ (function(module, exports, __webpack_require__) {
3070
2980
 
3071
2981
  "use strict";
@@ -3077,42 +2987,42 @@ Object.defineProperty(exports, "__esModule", {
3077
2987
  exports.updateRowPayload = exports.canUpdateInPlace = exports.changedOptions = exports.NO_INPLACE_PROPS = void 0;
3078
2988
  /* eslint-disable react/no-unused-prop-types */
3079
2989
 
3080
- var lodash_1 = __webpack_require__(3);
2990
+ var lodash_1 = __webpack_require__(2);
3081
2991
 
3082
- var i18n_1 = __webpack_require__(2);
2992
+ var i18n_1 = __webpack_require__(3);
3083
2993
 
3084
- var visualization_color_palettes_1 = __webpack_require__(73);
2994
+ var visualization_color_palettes_1 = __webpack_require__(74);
3085
2995
 
3086
- var react_1 = __webpack_require__(0);
2996
+ var react_1 = __webpack_require__(1);
3087
2997
 
3088
- var React = __webpack_require__(0);
2998
+ var React = __webpack_require__(1);
3089
2999
 
3090
- var T = __webpack_require__(1);
3000
+ var T = __webpack_require__(0);
3091
3001
 
3092
- var react_event_listener_1 = __webpack_require__(88);
3002
+ var react_event_listener_1 = __webpack_require__(85);
3093
3003
 
3094
- __webpack_require__(89); // fixme, @splunk/charting should be refactor to use locale & timezone instead of i18n functions
3004
+ __webpack_require__(86); // fixme, @splunk/charting should be refactor to use locale & timezone instead of i18n functions
3095
3005
 
3096
3006
 
3097
- var charting_bundle_1 = __webpack_require__(77);
3007
+ var charting_bundle_1 = __webpack_require__(75);
3098
3008
 
3099
- var TimezoneContext_1 = __webpack_require__(32);
3009
+ var TimezoneContext_1 = __webpack_require__(31);
3100
3010
 
3101
3011
  var style_1 = __webpack_require__(18);
3102
3012
 
3103
3013
  var styled_components_1 = __webpack_require__(4);
3104
3014
 
3105
- var Message_1 = __webpack_require__(12);
3015
+ var Message_1 = __webpack_require__(11);
3106
3016
 
3107
- var useSplunkTheme_1 = __webpack_require__(78);
3017
+ var useSplunkTheme_1 = __webpack_require__(76);
3108
3018
 
3109
- var themeUtils_1 = __webpack_require__(90);
3019
+ var themeUtils_1 = __webpack_require__(87);
3110
3020
 
3111
- var ChartingApi_1 = __webpack_require__(91);
3021
+ var ChartingApi_1 = __webpack_require__(88);
3112
3022
 
3113
- var usePrevious_1 = __webpack_require__(33);
3023
+ var usePrevious_1 = __webpack_require__(32);
3114
3024
 
3115
- var useEventCallback_1 = __webpack_require__(92);
3025
+ var useEventCallback_1 = __webpack_require__(89);
3116
3026
 
3117
3027
  var dataUtils_1 = __webpack_require__(14);
3118
3028
 
@@ -3239,8 +3149,7 @@ var Charting = function Charting(props) {
3239
3149
  onEventTrigger = props.onEventTrigger,
3240
3150
  originalDataSources = props.originalDataSources,
3241
3151
  onDownsamplingThresholdChange = props.onDownsamplingThresholdChange,
3242
- xField = props.xField,
3243
- y2Fields = props.y2Fields;
3152
+ xField = props.xField;
3244
3153
  var prevOptions = (0, usePrevious_1.default)(options);
3245
3154
  var prevTimezone = (0, usePrevious_1.default)(timezone);
3246
3155
 
@@ -3283,14 +3192,13 @@ var Charting = function Charting(props) {
3283
3192
  dataSources: originalDataSources,
3284
3193
  width: Number(width),
3285
3194
  selectChartEvent: selectChartEvent.current,
3286
- xField: xField,
3287
- y2Fields: y2Fields
3195
+ xField: xField
3288
3196
  });
3289
3197
 
3290
3198
  if (Number.isFinite(newThreshold)) {
3291
3199
  onDownsamplingThresholdChange(newThreshold);
3292
3200
  }
3293
- }, [enableSearchZoom, originalDataSources, onDownsamplingThresholdChange, width, xField, y2Fields]);
3201
+ }, [enableSearchZoom, originalDataSources, onDownsamplingThresholdChange, width, xField]);
3294
3202
  React.useEffect(function () {
3295
3203
  recalculateDownsamplingThreshold();
3296
3204
  }, [recalculateDownsamplingThreshold]); // useEventCallback is used for these handlers to make sure that they are a stable reference and
@@ -3528,33 +3436,33 @@ var withEmptyChartMessage = function withEmptyChartMessage(Chart) {
3528
3436
  exports.default = withEmptyChartMessage(Charting);
3529
3437
 
3530
3438
  /***/ }),
3531
- /* 88 */
3439
+ /* 85 */
3532
3440
  /***/ (function(module, exports) {
3533
3441
 
3534
3442
  module.exports = require("react-event-listener");
3535
3443
 
3536
3444
  /***/ }),
3537
- /* 89 */
3445
+ /* 86 */
3538
3446
  /***/ (function(module, exports) {
3539
3447
 
3540
3448
  module.exports = require("@splunk/visualizations-shared/i18n");
3541
3449
 
3542
3450
  /***/ }),
3543
- /* 90 */
3451
+ /* 87 */
3544
3452
  /***/ (function(module, exports) {
3545
3453
 
3546
3454
  module.exports = require("@splunk/visualizations-shared/themeUtils");
3547
3455
 
3548
3456
  /***/ }),
3549
- /* 91 */
3457
+ /* 88 */
3550
3458
  /***/ (function(module, exports, __webpack_require__) {
3551
3459
 
3552
3460
  "use strict";
3553
3461
 
3554
3462
 
3555
- var _classCallCheck = __webpack_require__(10);
3463
+ var _classCallCheck = __webpack_require__(8);
3556
3464
 
3557
- var _createClass = __webpack_require__(25);
3465
+ var _createClass = __webpack_require__(24);
3558
3466
 
3559
3467
  Object.defineProperty(exports, "__esModule", {
3560
3468
  value: true
@@ -3614,7 +3522,7 @@ var ChartingApiFunctional = /*#__PURE__*/function () {
3614
3522
  exports.ChartingApiFunctional = ChartingApiFunctional;
3615
3523
 
3616
3524
  /***/ }),
3617
- /* 92 */
3525
+ /* 89 */
3618
3526
  /***/ (function(module, exports, __webpack_require__) {
3619
3527
 
3620
3528
  "use strict";
@@ -3624,7 +3532,7 @@ Object.defineProperty(exports, "__esModule", {
3624
3532
  value: true
3625
3533
  });
3626
3534
 
3627
- var react_1 = __webpack_require__(0);
3535
+ var react_1 = __webpack_require__(1);
3628
3536
 
3629
3537
  var useEventCallback = function useEventCallback(fn) {
3630
3538
  var ref = (0, react_1.useRef)(fn);
@@ -3639,31 +3547,31 @@ var useEventCallback = function useEventCallback(fn) {
3639
3547
  exports.default = useEventCallback;
3640
3548
 
3641
3549
  /***/ }),
3642
- /* 93 */
3550
+ /* 90 */
3643
3551
  /***/ (function(module, exports) {
3644
3552
 
3645
3553
  module.exports = require("@splunk/visualizations-shared/simpleXMLOptions");
3646
3554
 
3647
3555
  /***/ }),
3648
- /* 94 */,
3649
- /* 95 */,
3650
- /* 96 */,
3651
- /* 97 */
3556
+ /* 91 */,
3557
+ /* 92 */,
3558
+ /* 93 */,
3559
+ /* 94 */
3652
3560
  /***/ (function(module, exports, __webpack_require__) {
3653
3561
 
3654
3562
  "use strict";
3655
3563
 
3656
3564
 
3657
- var _toConsumableArray = __webpack_require__(8);
3565
+ var _toConsumableArray = __webpack_require__(6);
3658
3566
 
3659
3567
  Object.defineProperty(exports, "__esModule", {
3660
3568
  value: true
3661
3569
  });
3662
3570
  exports.AxesChartDataConfigAreaColumnLine = exports.AxesChartDataConfigBubble = exports.AxesChartDataConfigScatter = exports.AxesChartDataConfigBar = void 0;
3663
3571
 
3664
- var i18n_1 = __webpack_require__(2);
3572
+ var i18n_1 = __webpack_require__(3);
3665
3573
 
3666
- var configUtils_1 = __webpack_require__(27);
3574
+ var configUtils_1 = __webpack_require__(26);
3667
3575
 
3668
3576
  var AxesChartDataConfig = {
3669
3577
  label: (0, i18n_1._)('Data configurations'),
@@ -3788,7 +3696,7 @@ exports.AxesChartDataConfigAreaColumnLine = {
3788
3696
  exports.default = AxesChartDataConfig;
3789
3697
 
3790
3698
  /***/ }),
3791
- /* 98 */
3699
+ /* 95 */
3792
3700
  /***/ (function(module, exports, __webpack_require__) {
3793
3701
 
3794
3702
  "use strict";
@@ -3798,13 +3706,13 @@ Object.defineProperty(exports, "__esModule", {
3798
3706
  value: true
3799
3707
  });
3800
3708
 
3801
- var i18n_1 = __webpack_require__(2);
3709
+ var i18n_1 = __webpack_require__(3);
3802
3710
 
3803
- var pick_1 = __webpack_require__(30);
3711
+ var pick_1 = __webpack_require__(29);
3804
3712
 
3805
3713
  var variables_1 = __webpack_require__(13);
3806
3714
 
3807
- var BackgroundColor_1 = __webpack_require__(75);
3715
+ var BackgroundColor_1 = __webpack_require__(72);
3808
3716
 
3809
3717
  var themes = {
3810
3718
  defaultBackgroundColor: function defaultBackgroundColor(props) {
@@ -3834,7 +3742,7 @@ var AxesChartColorAndStyle = {
3834
3742
  exports.default = AxesChartColorAndStyle;
3835
3743
 
3836
3744
  /***/ }),
3837
- /* 99 */
3745
+ /* 96 */
3838
3746
  /***/ (function(module, exports, __webpack_require__) {
3839
3747
 
3840
3748
  "use strict";
@@ -3844,7 +3752,7 @@ Object.defineProperty(exports, "__esModule", {
3844
3752
  value: true
3845
3753
  });
3846
3754
 
3847
- var i18n_1 = __webpack_require__(2);
3755
+ var i18n_1 = __webpack_require__(3);
3848
3756
 
3849
3757
  var AxesChartLegend = {
3850
3758
  label: (0, i18n_1._)('Legend'),
@@ -3898,22 +3806,22 @@ var AxesChartLegend = {
3898
3806
  exports.default = AxesChartLegend;
3899
3807
 
3900
3808
  /***/ }),
3901
- /* 100 */
3809
+ /* 97 */
3902
3810
  /***/ (function(module, exports, __webpack_require__) {
3903
3811
 
3904
3812
  "use strict";
3905
3813
 
3906
3814
 
3907
- var _toConsumableArray = __webpack_require__(8);
3815
+ var _toConsumableArray = __webpack_require__(6);
3908
3816
 
3909
3817
  Object.defineProperty(exports, "__esModule", {
3910
3818
  value: true
3911
3819
  });
3912
3820
  exports.AxesChartXGridAndLabelsBubbleScatter = exports.AxesChartXGridAndLabelsCommon = void 0;
3913
3821
 
3914
- var i18n_1 = __webpack_require__(2);
3822
+ var i18n_1 = __webpack_require__(3);
3915
3823
 
3916
- var configUtils_1 = __webpack_require__(27);
3824
+ var configUtils_1 = __webpack_require__(26);
3917
3825
 
3918
3826
  exports.AxesChartXGridAndLabelsCommon = {
3919
3827
  label: (0, i18n_1._)('X-axis grid and labels'),
@@ -4186,7 +4094,7 @@ exports.AxesChartXGridAndLabelsBubbleScatter = {
4186
4094
  exports.default = AxesChartXGridAndLabels;
4187
4095
 
4188
4096
  /***/ }),
4189
- /* 101 */
4097
+ /* 98 */
4190
4098
  /***/ (function(module, exports, __webpack_require__) {
4191
4099
 
4192
4100
  "use strict";
@@ -4196,7 +4104,7 @@ Object.defineProperty(exports, "__esModule", {
4196
4104
  value: true
4197
4105
  });
4198
4106
 
4199
- var i18n_1 = __webpack_require__(2);
4107
+ var i18n_1 = __webpack_require__(3);
4200
4108
 
4201
4109
  var AxesChartYGridAndLabels = {
4202
4110
  label: (0, i18n_1._)('Y-axis grid and labels'),
@@ -4348,6 +4256,9 @@ var AxesChartYGridAndLabels = {
4348
4256
  exports.default = AxesChartYGridAndLabels;
4349
4257
 
4350
4258
  /***/ }),
4259
+ /* 99 */,
4260
+ /* 100 */,
4261
+ /* 101 */,
4351
4262
  /* 102 */,
4352
4263
  /* 103 */,
4353
4264
  /* 104 */,
@@ -4355,27 +4266,24 @@ exports.default = AxesChartYGridAndLabels;
4355
4266
  /* 106 */,
4356
4267
  /* 107 */,
4357
4268
  /* 108 */,
4358
- /* 109 */,
4359
- /* 110 */,
4360
- /* 111 */,
4361
- /* 112 */
4269
+ /* 109 */
4362
4270
  /***/ (function(module, exports, __webpack_require__) {
4363
4271
 
4364
4272
  "use strict";
4365
4273
 
4366
4274
 
4367
- var _toConsumableArray = __webpack_require__(8);
4275
+ var _toConsumableArray = __webpack_require__(6);
4368
4276
 
4369
4277
  Object.defineProperty(exports, "__esModule", {
4370
4278
  value: true
4371
4279
  });
4372
4280
  exports.AxesChartDataDisplayColumn = exports.AxesChartDataDisplayBar = exports.AxesChartDataDisplayLine = void 0;
4373
4281
 
4374
- var i18n_1 = __webpack_require__(2);
4282
+ var i18n_1 = __webpack_require__(3);
4375
4283
 
4376
- var lodash_1 = __webpack_require__(3);
4284
+ var lodash_1 = __webpack_require__(2);
4377
4285
 
4378
- var configUtils_1 = __webpack_require__(27);
4286
+ var configUtils_1 = __webpack_require__(26);
4379
4287
 
4380
4288
  exports.AxesChartDataDisplayLine = {
4381
4289
  label: (0, i18n_1._)('Data display'),
@@ -4496,7 +4404,7 @@ exports.AxesChartDataDisplayColumn = {
4496
4404
  exports.default = AxesChartDataDisplay;
4497
4405
 
4498
4406
  /***/ }),
4499
- /* 113 */
4407
+ /* 110 */
4500
4408
  /***/ (function(module, exports, __webpack_require__) {
4501
4409
 
4502
4410
  "use strict";
@@ -4506,7 +4414,7 @@ Object.defineProperty(exports, "__esModule", {
4506
4414
  value: true
4507
4415
  });
4508
4416
 
4509
- var i18n_1 = __webpack_require__(2);
4417
+ var i18n_1 = __webpack_require__(3);
4510
4418
 
4511
4419
  var axesChartY2GridAndLabels = {
4512
4420
  label: (0, i18n_1._)('Y2-axis grid and labels'),
@@ -4670,6 +4578,9 @@ var axesChartY2GridAndLabels = {
4670
4578
  exports.default = axesChartY2GridAndLabels;
4671
4579
 
4672
4580
  /***/ }),
4581
+ /* 111 */,
4582
+ /* 112 */,
4583
+ /* 113 */,
4673
4584
  /* 114 */,
4674
4585
  /* 115 */,
4675
4586
  /* 116 */,
@@ -4716,12 +4627,7 @@ exports.default = axesChartY2GridAndLabels;
4716
4627
  /* 157 */,
4717
4628
  /* 158 */,
4718
4629
  /* 159 */,
4719
- /* 160 */,
4720
- /* 161 */,
4721
- /* 162 */,
4722
- /* 163 */,
4723
- /* 164 */,
4724
- /* 165 */
4630
+ /* 160 */
4725
4631
  /***/ (function(module, exports, __webpack_require__) {
4726
4632
 
4727
4633
  "use strict";
@@ -4745,20 +4651,20 @@ Object.defineProperty(exports, "__esModule", {
4745
4651
  });
4746
4652
  exports.config = exports.themes = exports.computeVizProps = void 0; // Charting imports i18n which needs to be run to instantiate window globals in the tests
4747
4653
 
4748
- var Charting_1 = __webpack_require__(87); // eslint-disable-next-line import/order
4654
+ var Charting_1 = __webpack_require__(84); // eslint-disable-next-line import/order
4749
4655
 
4750
4656
 
4751
- var charting_bundle_1 = __webpack_require__(77);
4657
+ var charting_bundle_1 = __webpack_require__(75);
4752
4658
 
4753
- var config_1 = __webpack_require__(166);
4659
+ var config_1 = __webpack_require__(161);
4754
4660
 
4755
4661
  exports.config = config_1.default;
4756
4662
 
4757
- var withDashboardViz_1 = __webpack_require__(56);
4663
+ var withDashboardViz_1 = __webpack_require__(54);
4758
4664
 
4759
- var areaUtils_1 = __webpack_require__(201);
4665
+ var areaUtils_1 = __webpack_require__(195);
4760
4666
 
4761
- var chartingUtils_1 = __webpack_require__(79);
4667
+ var chartingUtils_1 = __webpack_require__(77);
4762
4668
 
4763
4669
  var computeVizProps = function computeVizProps(_a) {
4764
4670
  var dataSources = _a.dataSources,
@@ -4830,51 +4736,49 @@ exports.themes = themes;
4830
4736
  exports.default = Area;
4831
4737
 
4832
4738
  /***/ }),
4833
- /* 166 */
4739
+ /* 161 */
4834
4740
  /***/ (function(module, exports, __webpack_require__) {
4835
4741
 
4836
4742
  "use strict";
4837
4743
 
4838
4744
 
4839
- var _toConsumableArray = __webpack_require__(8);
4745
+ var _toConsumableArray = __webpack_require__(6);
4840
4746
 
4841
4747
  Object.defineProperty(exports, "__esModule", {
4842
4748
  value: true
4843
4749
  });
4844
4750
 
4845
- var visualization_icons_1 = __webpack_require__(74);
4846
-
4847
- var placeholders_1 = __webpack_require__(72);
4751
+ var visualization_icons_1 = __webpack_require__(71);
4848
4752
 
4849
- var schemaUtils_1 = __webpack_require__(24);
4753
+ var placeholders_1 = __webpack_require__(70);
4850
4754
 
4851
- var visualization_color_palettes_1 = __webpack_require__(73);
4755
+ var visualization_schemas_1 = __webpack_require__(9);
4852
4756
 
4853
- var i18n_1 = __webpack_require__(2);
4757
+ var i18n_1 = __webpack_require__(3);
4854
4758
 
4855
- var pick_1 = __webpack_require__(30);
4759
+ var pick_1 = __webpack_require__(29);
4856
4760
 
4857
4761
  var variables_1 = __webpack_require__(13);
4858
4762
 
4859
- var VizBehavior_1 = __webpack_require__(6);
4763
+ var VizBehavior_1 = __webpack_require__(7);
4860
4764
 
4861
4765
  var VizCategory_1 = __webpack_require__(22);
4862
4766
 
4863
- var configUtils_1 = __webpack_require__(27);
4767
+ var configUtils_1 = __webpack_require__(26);
4864
4768
 
4865
- var AxesChartDataConfig_1 = __webpack_require__(97);
4769
+ var AxesChartDataConfig_1 = __webpack_require__(94);
4866
4770
 
4867
- var AxesChartDataDisplay_1 = __webpack_require__(112);
4771
+ var AxesChartDataDisplay_1 = __webpack_require__(109);
4868
4772
 
4869
- var AxesChartColorAndStyle_1 = __webpack_require__(98);
4773
+ var AxesChartColorAndStyle_1 = __webpack_require__(95);
4870
4774
 
4871
- var AxesChartLegend_1 = __webpack_require__(99);
4775
+ var AxesChartLegend_1 = __webpack_require__(96);
4872
4776
 
4873
- var AxesChartXGridAndLabels_1 = __webpack_require__(100);
4777
+ var AxesChartXGridAndLabels_1 = __webpack_require__(97);
4874
4778
 
4875
- var AxesChartYGridAndLabels_1 = __webpack_require__(101);
4779
+ var AxesChartYGridAndLabels_1 = __webpack_require__(98);
4876
4780
 
4877
- var AxesChartY2GridAndLabels_1 = __webpack_require__(113);
4781
+ var AxesChartY2GridAndLabels_1 = __webpack_require__(110);
4878
4782
 
4879
4783
  var dataContract = {
4880
4784
  requiredDataSources: [{
@@ -4901,414 +4805,6 @@ var size = {
4901
4805
  initialHeight: 300
4902
4806
  };
4903
4807
  var defaultContext = {};
4904
- var optionsSchema = {
4905
- x: {
4906
- default: '> primary | seriesByIndex(0)',
4907
- description: 'Specify the data source to apply to the x-axis.',
4908
- type: 'array',
4909
- items: {
4910
- type: ['string', 'number']
4911
- }
4912
- },
4913
- y: {
4914
- default: '> primary | frameBySeriesIndexRange(1)',
4915
- description: 'Specify the data source to apply to the y-axis.',
4916
- type: 'array',
4917
- items: {
4918
- type: ['string', 'number']
4919
- }
4920
- },
4921
- y2: {
4922
- description: 'Specify the data source to apply to the second y-axis',
4923
- type: 'array',
4924
- items: {
4925
- type: ['string', 'number']
4926
- }
4927
- },
4928
- xField: {
4929
- default: '> x | getField()',
4930
- description: 'Specify the field to map to the x-axis.',
4931
- type: 'string'
4932
- },
4933
- yFields: {
4934
- default: '> y | getField()',
4935
- description: 'Specify the field to map to the y-axis.',
4936
- type: 'string'
4937
- },
4938
- annotationColor: {
4939
- description: "Specify the annotation colors. For example, [\u201C#FF0000\u201D, \u201C#0000FF\", \u201C#008000\u201D]. You can use a data source or a hexadecimal code to apply the color.",
4940
- type: 'array',
4941
- items: {
4942
- type: 'string'
4943
- }
4944
- },
4945
- annotationLabel: {
4946
- description: "Specify a list of labels to use for annotations. For example, [\u201CSales\u201D, \u201CRevenue\u201D, \u201COrders\u201D]. You might use a data source to apply the labels.",
4947
- type: 'array',
4948
- items: {
4949
- type: 'string'
4950
- }
4951
- },
4952
- annotationX: {
4953
- description: 'Specify a data source field to apply to the event annotation on the x-axis.',
4954
- type: 'array',
4955
- items: {
4956
- type: ['string', 'number']
4957
- }
4958
- },
4959
- areaOpacity: {
4960
- description: 'Specify the opacity of the area chart. Values can range from 0 (transparent) to 1 (opaque).',
4961
- type: 'number',
4962
- default: 0.75
4963
- },
4964
- backgroundColor: {
4965
- default: '> themes.defaultBackgroundColor',
4966
- description: 'Specify the color to use for the background. You can use a data source or hexadecimal code to apply the color.',
4967
- pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA,
4968
- type: 'string'
4969
- },
4970
- dataValuesDisplay: {
4971
- description: 'Specify the labels to display. Enter "all" to show labels for all data points, "off" to show no labels, or "minmax" to show high and low values.',
4972
- type: 'string',
4973
- pattern: (0, schemaUtils_1.getPattern)(['off', 'all', 'minmax']),
4974
- default: 'off'
4975
- },
4976
- legendDisplay: {
4977
- default: 'right',
4978
- description: 'Specify the location of the legend on the panel. You must select the Standard legend mode to make this change.',
4979
- pattern: (0, schemaUtils_1.getPattern)(['right', 'left', 'top', 'bottom', 'off']),
4980
- type: 'string'
4981
- },
4982
- legendLabels: {
4983
- description: "Specify a list of labels to populate the legend in advance. For example, [\"percent\", \"count\"].",
4984
- type: 'array',
4985
- items: {
4986
- type: 'string'
4987
- }
4988
- },
4989
- legendMode: {
4990
- default: 'standard',
4991
- description: 'Specify visual and behavioral settings for the tooltip and legend. "seriesCompare" is useful when comparing series.',
4992
- pattern: (0, schemaUtils_1.getPattern)(['standard', 'seriesCompare']),
4993
- type: 'string'
4994
- },
4995
- legendTruncation: {
4996
- default: 'ellipsisEnd',
4997
- description: 'Specify how to display legend labels when they overflow the layout boundaries by replacing overflow text with an ellipsis.',
4998
- pattern: (0, schemaUtils_1.getPattern)(['ellipsisEnd', 'ellipsisMiddle', 'ellipsisStart', 'ellipsisOff']),
4999
- type: 'string'
5000
- },
5001
- lineWidth: {
5002
- default: 2,
5003
- description: 'Specify the line width (px) for overlay field lines.',
5004
- type: 'number'
5005
- },
5006
- nullValueDisplay: {
5007
- default: 'gaps',
5008
- description: 'Specify the handling of null values for area and line charts .',
5009
- pattern: (0, schemaUtils_1.getPattern)(['gaps', 'zero', 'connect']),
5010
- type: 'string'
5011
- },
5012
- resultLimit: {
5013
- default: 50000,
5014
- description: 'Specify the number of data points to render in a chart.',
5015
- type: 'number'
5016
- },
5017
- seriesColors: {
5018
- default: visualization_color_palettes_1.VIZ_CATEGORICAL,
5019
- description: "Specify the colors to use in a series. For example, [\"#FF0000\", \"#0000FF\", \"#008000\"].",
5020
- type: 'array',
5021
- items: {
5022
- type: 'string'
5023
- }
5024
- },
5025
- seriesColorsByField: {
5026
- description: "Specify the colors to use for specific fields in a series. For example, {\u201Ccount\u201D: \u201C#008000\u201D, \u201Cpercent\u201D: \u201C#FFA500\u201D}.",
5027
- type: 'object'
5028
- },
5029
- stackMode: {
5030
- description: 'Specify stack mode.',
5031
- type: 'string',
5032
- pattern: (0, schemaUtils_1.getPattern)(['auto', 'stacked', 'stacked100']),
5033
- default: 'auto'
5034
- },
5035
- showIndependentYRanges: {
5036
- description: 'Specify whether split series charts have independent y-ranges.',
5037
- type: 'boolean',
5038
- default: false
5039
- },
5040
- showSplitSeries: {
5041
- description: 'Specify whether to split a multi-series chart into separate charts that are stacked from top to bottom; use one chart for each series.',
5042
- type: 'boolean',
5043
- default: false
5044
- },
5045
- showLines: {
5046
- description: 'Specify whether to show lines in area charts.',
5047
- default: true,
5048
- type: 'boolean'
5049
- },
5050
- showXMajorGridLines: {
5051
- description: 'Specify whether to show major grid lines on the x-axis.',
5052
- type: 'boolean',
5053
- default: false
5054
- },
5055
- showYMajorGridLines: {
5056
- description: 'Specify whether to show major grid lines on the y-axis.',
5057
- type: 'boolean',
5058
- default: true
5059
- },
5060
- showY2MajorGridLines: {
5061
- description: 'Specify whether to show major grid lines on the second y-axis.',
5062
- type: 'boolean',
5063
- default: false
5064
- },
5065
- showYMinorGridLines: {
5066
- description: 'Specify whether to show minor grid lines on the y-axis.',
5067
- type: 'boolean',
5068
- default: false
5069
- },
5070
- showY2MinorGridLines: {
5071
- description: 'Specify whether to show minor grid lines on the second y-axis.',
5072
- type: 'boolean',
5073
- default: false
5074
- },
5075
- showYAxisExtendedRange: {
5076
- description: 'Specify whether to extend the y-axis to include whole major tick marks.',
5077
- type: 'boolean',
5078
- default: true
5079
- },
5080
- showYAxisWithZero: {
5081
- description: 'Specify whether to include zero in the y-axis range.',
5082
- type: 'boolean',
5083
- default: false
5084
- },
5085
- showY2AxisWithZero: {
5086
- description: 'Specify whether to include zero in the second y-axis range.',
5087
- type: 'boolean',
5088
- default: false
5089
- },
5090
- xAxisLabelRotation: {
5091
- description: 'Specify the rotation of the x-axis label in degrees.',
5092
- enum: [-90, -45, 0, 45, 90],
5093
- type: 'number',
5094
- default: 0
5095
- },
5096
- xAxisLabelVisibility: {
5097
- default: 'auto',
5098
- description: 'Specify whether to show labels on the x-axis.',
5099
- pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
5100
- type: 'string'
5101
- },
5102
- yAxisLabelVisibility: {
5103
- default: 'auto',
5104
- description: 'Specify whether to show labels on the y-axis.',
5105
- pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
5106
- type: 'string'
5107
- },
5108
- y2AxisLabelVisibility: {
5109
- default: 'auto',
5110
- description: 'Specify whether to show labels on the second y-axis.',
5111
- pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
5112
- type: 'string'
5113
- },
5114
- xAxisLineVisibility: {
5115
- default: 'hide',
5116
- description: 'Specify whether to show the x-axis line.',
5117
- enum: ['hide', 'show'],
5118
- pattern: (0, schemaUtils_1.getPattern)(['show', 'hide']),
5119
- type: 'string'
5120
- },
5121
- yAxisLineVisibility: {
5122
- default: 'hide',
5123
- description: 'Specify whether to show the y-axis line.',
5124
- enum: ['hide', 'show'],
5125
- pattern: (0, schemaUtils_1.getPattern)(['show', 'hide']),
5126
- type: 'string'
5127
- },
5128
- y2AxisLineVisibility: {
5129
- default: 'hide',
5130
- description: 'Specify whether to show the second y-axis line.',
5131
- enum: ['hide', 'show'],
5132
- pattern: (0, schemaUtils_1.getPattern)(['show', 'hide']),
5133
- type: 'string'
5134
- },
5135
- xAxisMajorTickSize: {
5136
- default: 6,
5137
- description: 'Specify the size (px) of major tick marks on the x-axis.',
5138
- type: 'number'
5139
- },
5140
- yAxisMajorTickSize: {
5141
- default: 6,
5142
- description: 'Specify the size (px) of major tick marks on the y-axis.',
5143
- type: 'number'
5144
- },
5145
- y2AxisMajorTickSize: {
5146
- default: 6,
5147
- description: 'Specify the size (px) of major tick marks on the second y-axis.',
5148
- type: 'number'
5149
- },
5150
- yAxisMinorTickSize: {
5151
- default: 6,
5152
- description: 'Specify the size (px) of minor tick marks on the y-axis.',
5153
- type: 'number'
5154
- },
5155
- y2AxisMinorTickSize: {
5156
- default: 6,
5157
- description: 'Specify the size (px) of minor tick marks on the second y-axis.',
5158
- type: 'number'
5159
- },
5160
- xAxisMajorTickVisibility: {
5161
- default: 'auto',
5162
- description: 'Specify whether to show major tick marks on the x-axis.',
5163
- pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
5164
- type: 'string'
5165
- },
5166
- yAxisMajorTickVisibility: {
5167
- default: 'auto',
5168
- description: 'Specify whether to show major tick marks on the y-axis.',
5169
- pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
5170
- type: 'string'
5171
- },
5172
- y2AxisMajorTickVisibility: {
5173
- default: 'auto',
5174
- description: 'Specify whether to show major tick marks on the second y-axis.',
5175
- pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
5176
- type: 'string'
5177
- },
5178
- yAxisMinorTickVisibility: {
5179
- default: 'auto',
5180
- description: 'Specify whether to show minor tick marks on the y-axis.',
5181
- pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
5182
- type: 'string'
5183
- },
5184
- y2AxisMinorTickVisibility: {
5185
- default: 'auto',
5186
- description: 'Specify whether to show minor tick marks on the second y-axis.',
5187
- pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
5188
- type: 'string'
5189
- },
5190
- xAxisMaxLabelParts: {
5191
- default: 3,
5192
- minimum: 1,
5193
- maximum: 3,
5194
- description: 'Specify the maximum number of time-parts for a tick label. The 3 possible parts are year, month, and time. Values can range from 1 to 3.',
5195
- type: 'number'
5196
- },
5197
- yAxisScale: {
5198
- type: 'string',
5199
- pattern: (0, schemaUtils_1.getPattern)(['linear', 'log']),
5200
- description: 'Specify the type of scale that applies to a numerical y-axis.',
5201
- default: 'linear'
5202
- },
5203
- y2AxisScale: {
5204
- type: 'string',
5205
- pattern: (0, schemaUtils_1.getPattern)(['linear', 'log']),
5206
- description: 'Specify the type of scale that applies to a numerical second y-axis.',
5207
- default: 'linear'
5208
- },
5209
- xAxisTitleText: {
5210
- description: 'Specify the title of the x-axis.',
5211
- type: 'string'
5212
- },
5213
- yAxisTitleText: {
5214
- description: 'Specify the title of the y-axis.',
5215
- type: 'string'
5216
- },
5217
- y2AxisTitleText: {
5218
- description: 'Specify the title of the second y-axis.',
5219
- type: 'string'
5220
- },
5221
- xAxisTitleVisibility: {
5222
- default: 'show',
5223
- description: 'Specify whether to show the title of the x-axis.',
5224
- enum: ['hide', 'show'],
5225
- pattern: (0, schemaUtils_1.getPattern)(['show', 'hide']),
5226
- type: 'string'
5227
- },
5228
- yAxisTitleVisibility: {
5229
- default: 'show',
5230
- description: 'Specify whether to show the title of the y-axis.',
5231
- enum: ['hide', 'show'],
5232
- pattern: (0, schemaUtils_1.getPattern)(['show', 'hide']),
5233
- type: 'string'
5234
- },
5235
- y2AxisTitleVisibility: {
5236
- default: 'show',
5237
- description: 'Specify whether to show the title of the second y-axis.',
5238
- enum: ['hide', 'show'],
5239
- pattern: (0, schemaUtils_1.getPattern)(['show', 'hide']),
5240
- type: 'string'
5241
- },
5242
- yAxisAbbreviation: {
5243
- default: 'auto',
5244
- description: 'Specify whether to abbreviate large y-axis values with the closest International System of Units (SI) prefix.',
5245
- enum: ['auto', 'off'],
5246
- pattern: (0, schemaUtils_1.getPattern)(['off', 'auto']),
5247
- type: 'string'
5248
- },
5249
- y2AxisAbbreviation: {
5250
- default: 'auto',
5251
- description: 'Specify whether to abbreviate large second y-axis values with the closest International System of Units (SI) prefix.',
5252
- enum: ['auto', 'off'],
5253
- pattern: (0, schemaUtils_1.getPattern)(['off', 'auto']),
5254
- type: 'string'
5255
- },
5256
- yAxisMajorTickInterval: {
5257
- default: 'auto',
5258
- description: 'Specify the spacing unit between major tick marks along the numeric y-axis.',
5259
- type: ['string', 'number']
5260
- },
5261
- y2AxisMajorTickInterval: {
5262
- default: 'auto',
5263
- description: 'Specify the spacing unit between major tick marks along the numeric second y-axis.',
5264
- type: ['string', 'number']
5265
- },
5266
- yAxisMax: {
5267
- type: ['string', 'number'],
5268
- description: 'Specify the largest value for the visible y-axis range.',
5269
- default: 'auto'
5270
- },
5271
- y2AxisMax: {
5272
- type: ['string', 'number'],
5273
- description: 'Specify the largest value for the visible second y-axis range.',
5274
- default: 'auto'
5275
- },
5276
- yAxisMin: {
5277
- type: ['string', 'number'],
5278
- description: 'Specify the smallest value for the visible y-axis range.',
5279
- default: 'auto'
5280
- },
5281
- y2AxisMin: {
5282
- type: ['string', 'number'],
5283
- description: 'Specify the smallest value for the visible second y-axis range.',
5284
- default: 'auto'
5285
- },
5286
- overlayFields: {
5287
- description: 'Specify one or more fields to differentiate on the chart and display as chart overlays.',
5288
- type: ['array', 'string'],
5289
- items: {
5290
- type: 'string'
5291
- }
5292
- },
5293
- showOverlayY2Axis: {
5294
- default: false,
5295
- description: 'Enable a second y-axis for chart overlays. All overlay fields will map to a second y-axis.',
5296
- type: 'boolean'
5297
- },
5298
- showRoundedY2AxisLabels: {
5299
- default: true,
5300
- description: 'Specify whether to round second y-axis values to the nearest integer.',
5301
- type: 'boolean'
5302
- },
5303
- y2Fields: {
5304
- default: '> y2 | getField()',
5305
- description: 'Specify one or more fields to map to the second y-axis.',
5306
- type: ['array', 'string'],
5307
- items: {
5308
- type: 'string'
5309
- }
5310
- }
5311
- };
5312
4808
  var themes = {
5313
4809
  defaultBackgroundColor: function defaultBackgroundColor(props) {
5314
4810
  return (0, pick_1.default)({
@@ -5453,7 +4949,7 @@ var config = {
5453
4949
  dataContract: dataContract,
5454
4950
  size: size,
5455
4951
  defaultContext: defaultContext,
5456
- optionsSchema: optionsSchema,
4952
+ optionsSchema: visualization_schemas_1.areaOptionsSchema,
5457
4953
  editorConfig: editorConfig,
5458
4954
  events: {
5459
4955
  'legend.click': {
@@ -5478,6 +4974,11 @@ var config = {
5478
4974
  exports.default = (0, configUtils_1.enhanceConfig)(config);
5479
4975
 
5480
4976
  /***/ }),
4977
+ /* 162 */,
4978
+ /* 163 */,
4979
+ /* 164 */,
4980
+ /* 165 */,
4981
+ /* 166 */,
5481
4982
  /* 167 */,
5482
4983
  /* 168 */,
5483
4984
  /* 169 */,
@@ -5505,13 +5006,7 @@ exports.default = (0, configUtils_1.enhanceConfig)(config);
5505
5006
  /* 191 */,
5506
5007
  /* 192 */,
5507
5008
  /* 193 */,
5508
- /* 194 */,
5509
- /* 195 */,
5510
- /* 196 */,
5511
- /* 197 */,
5512
- /* 198 */,
5513
- /* 199 */,
5514
- /* 200 */
5009
+ /* 194 */
5515
5010
  /***/ (function(module, exports, __webpack_require__) {
5516
5011
 
5517
5012
  "use strict";
@@ -5547,9 +5042,9 @@ Object.defineProperty(exports, "__esModule", {
5547
5042
  });
5548
5043
  exports.default = void 0;
5549
5044
 
5550
- __exportStar(__webpack_require__(165), exports);
5045
+ __exportStar(__webpack_require__(160), exports);
5551
5046
 
5552
- var Area_1 = __webpack_require__(165);
5047
+ var Area_1 = __webpack_require__(160);
5553
5048
 
5554
5049
  Object.defineProperty(exports, "default", {
5555
5050
  enumerable: true,
@@ -5559,7 +5054,7 @@ Object.defineProperty(exports, "default", {
5559
5054
  });
5560
5055
 
5561
5056
  /***/ }),
5562
- /* 201 */
5057
+ /* 195 */
5563
5058
  /***/ (function(module, exports, __webpack_require__) {
5564
5059
 
5565
5060
  "use strict";
@@ -5570,11 +5065,11 @@ Object.defineProperty(exports, "__esModule", {
5570
5065
  });
5571
5066
  exports.convertToAreaSCProperties = exports.transformOptions = void 0;
5572
5067
 
5573
- var propUtils_1 = __webpack_require__(36);
5068
+ var propUtils_1 = __webpack_require__(35);
5574
5069
 
5575
- var simpleXMLOptions_1 = __webpack_require__(93);
5070
+ var simpleXMLOptions_1 = __webpack_require__(90);
5576
5071
 
5577
- var config_1 = __webpack_require__(166);
5072
+ var config_1 = __webpack_require__(161);
5578
5073
  /**
5579
5074
  * Helper for mapping the option properties (and values) we expose in config.ts into property values that splunk-charting accepts
5580
5075
  * This is for options that has new key name and can not directly be mapped with SimpleXML or