@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/Punchcard.js CHANGED
@@ -87,7 +87,7 @@ module.exports =
87
87
  /******/
88
88
  /******/
89
89
  /******/ // Load entry module and return exports
90
- /******/ return __webpack_require__(__webpack_require__.s = 466);
90
+ /******/ return __webpack_require__(__webpack_require__.s = 454);
91
91
  /******/ })
92
92
  /************************************************************************/
93
93
  /******/ ({
@@ -95,25 +95,25 @@ module.exports =
95
95
  /***/ 0:
96
96
  /***/ (function(module, exports) {
97
97
 
98
- module.exports = require("react");
98
+ module.exports = require("prop-types");
99
99
 
100
100
  /***/ }),
101
101
 
102
102
  /***/ 1:
103
103
  /***/ (function(module, exports) {
104
104
 
105
- module.exports = require("prop-types");
105
+ module.exports = require("react");
106
106
 
107
107
  /***/ }),
108
108
 
109
109
  /***/ 10:
110
110
  /***/ (function(module, exports) {
111
111
 
112
- module.exports = require("@babel/runtime/helpers/classCallCheck");
112
+ module.exports = require("@splunk/visualizations-shared/numberUtils");
113
113
 
114
114
  /***/ }),
115
115
 
116
- /***/ 106:
116
+ /***/ 103:
117
117
  /***/ (function(module, exports) {
118
118
 
119
119
  module.exports = require("@splunk/visualization-encoding/utils/types");
@@ -123,11 +123,11 @@ module.exports = require("@splunk/visualization-encoding/utils/types");
123
123
  /***/ 11:
124
124
  /***/ (function(module, exports) {
125
125
 
126
- module.exports = require("@splunk/visualizations-shared/numberUtils");
126
+ module.exports = require("@splunk/visualizations-shared/Message");
127
127
 
128
128
  /***/ }),
129
129
 
130
- /***/ 116:
130
+ /***/ 112:
131
131
  /***/ (function(module, exports) {
132
132
 
133
133
  module.exports = require("d3-scale");
@@ -137,24 +137,24 @@ module.exports = require("d3-scale");
137
137
  /***/ 12:
138
138
  /***/ (function(module, exports) {
139
139
 
140
- module.exports = require("@splunk/visualizations-shared/Message");
140
+ module.exports = require("@babel/runtime/helpers/defineProperty");
141
141
 
142
142
  /***/ }),
143
143
 
144
- /***/ 122:
144
+ /***/ 120:
145
145
  /***/ (function(module, exports, __webpack_require__) {
146
146
 
147
147
  "use strict";
148
148
 
149
149
 
150
- var _slicedToArray = __webpack_require__(7);
150
+ var _slicedToArray = __webpack_require__(5);
151
151
 
152
152
  Object.defineProperty(exports, "__esModule", {
153
153
  value: true
154
154
  });
155
155
  exports.truncateAxisLabelText = exports.isBubbleSelected = exports.isSomethingSelected = exports.getDataByRows = exports.createValueScale = exports.getScales = exports.getChartAreaDimensions = exports.getColorCategoryMapping = exports.GRAYSCALE_FILTER_ID = exports.BUBBLE_LABELS_TYPES = exports.COLOR_MODE_TYPES = exports.BUBBLE_SCALE_TYPES = exports.BUBBLE_ROW_SCALE_TYPES = exports.AXIS_ORIENTATION_TYPES = void 0;
156
156
 
157
- var d3_scale_1 = __webpack_require__(116);
157
+ var d3_scale_1 = __webpack_require__(112);
158
158
  /**
159
159
  * @enum {AXIS_ORIENTATION_TYPES}
160
160
  */
@@ -557,7 +557,7 @@ module.exports = require("@splunk/themes/variables");
557
557
 
558
558
  /***/ }),
559
559
 
560
- /***/ 136:
560
+ /***/ 134:
561
561
  /***/ (function(module, exports) {
562
562
 
563
563
  module.exports = require("lodash/find");
@@ -575,9 +575,9 @@ Object.defineProperty(exports, "__esModule", {
575
575
  });
576
576
  exports.downsampleDataSources = exports.calculateDownsamplingThreshold = exports.calculateThresholdOnRangeSelect = exports.isDownsamplingEnabledForViz = exports.convertToArrOfObjects = void 0;
577
577
 
578
- var numberUtils_1 = __webpack_require__(11);
578
+ var numberUtils_1 = __webpack_require__(10);
579
579
 
580
- var interfaces_1 = __webpack_require__(40); // TODO: utilize this fn in ParallelCoordinates
580
+ var interfaces_1 = __webpack_require__(39); // TODO: utilize this fn in ParallelCoordinates
581
581
 
582
582
 
583
583
  var convertToArrOfObjects = function convertToArrOfObjects(columns, fields) {
@@ -712,19 +712,21 @@ var largestTriangleThreeBuckets = function largestTriangleThreeBuckets(data, thr
712
712
  */
713
713
 
714
714
 
715
- var strictlyCoerceYColumn = function strictlyCoerceYColumn(column) {
716
- // Splunk charting allows for numbers in formats such as negative hex that
715
+ var strictlyCoerceYColumn = function strictlyCoerceYColumn(column, options) {
716
+ var isNullCoercionEnabled = options.nullValueDisplay === 'zero'; // Splunk charting allows for numbers in formats such as negative hex that
717
717
  // Number() does not support and also allows loose coercion of hex numbers (but not other formats)
718
718
  // We want to identify columns which contain at least one value that can be loosely coerced
719
+
719
720
  var canLooselyCoerceSomeValues = column.findIndex(function (value) {
720
- return (0, numberUtils_1.startsWithNumber)("".concat(value));
721
+ return (0, numberUtils_1.startsWithNumber)("".concat(value)) || isNullCoercionEnabled && value === null;
721
722
  }) >= 0; // If not all values in column can be strictly coerced to a number, we do not downsample
722
723
 
723
724
  var coercedColumn = [];
724
725
  var canDownsampleColumn = !column.some(function (value) {
725
- var coercedValue = Number(value); // if it can't be parsed or isn't safe, fail
726
+ var coercedValue = Number(value);
727
+ var coerceValueToZero = isNullCoercionEnabled && value === null; // if it can't be parsed or isn't safe, fail
726
728
 
727
- if (Number.isNaN(coercedValue) || coercedValue <= Number.MIN_SAFE_INTEGER || coercedValue >= Number.MAX_SAFE_INTEGER || typeof value !== 'string' && typeof value !== 'number') {
729
+ if (Number.isNaN(coercedValue) || coercedValue <= Number.MIN_SAFE_INTEGER || coercedValue >= Number.MAX_SAFE_INTEGER || typeof value !== 'string' && typeof value !== 'number' && !coerceValueToZero) {
728
730
  return true;
729
731
  } // save value and continue to next
730
732
 
@@ -805,8 +807,7 @@ var calculateDownsamplingThreshold = function calculateDownsamplingThreshold(_re
805
807
  dataSources = _ref3.dataSources,
806
808
  selectChartEvent = _ref3.selectChartEvent,
807
809
  width = _ref3.width,
808
- xField = _ref3.xField,
809
- y2Fields = _ref3.y2Fields;
810
+ xField = _ref3.xField;
810
811
 
811
812
  var _a, _b, _c;
812
813
 
@@ -843,14 +844,7 @@ var calculateDownsamplingThreshold = function calculateDownsamplingThreshold(_re
843
844
  });
844
845
  var lastIndex = fullSeries.findIndex(function (x) {
845
846
  return downsampledSeries[endXIndex] === x;
846
- }); // For charts with categorical x-axis (charts with an xField that isn't _time), do not support
847
- // re-calculating downsampling threshold if the chart is zoomed in until SPL-259458 is fixed
848
- // Also do not support re-calculating downsampling threshold for zoomed-in charts with y2
849
- // until SPL-259611 is fixed
850
-
851
- if (xField !== '_time' || (y2Fields === null || y2Fields === void 0 ? void 0 : y2Fields.length)) {
852
- return firstIndex === 0 && lastIndex === fullSeries.length - 1 ? width : null;
853
- }
847
+ });
854
848
 
855
849
  if (firstIndex >= 0 && lastIndex >= 0 && firstIndex <= lastIndex) {
856
850
  return (0, exports.calculateThresholdOnRangeSelect)({
@@ -861,6 +855,7 @@ var calculateDownsamplingThreshold = function calculateDownsamplingThreshold(_re
861
855
  });
862
856
  }
863
857
  } catch (e) {
858
+ // eslint-disable-next-line no-console
864
859
  console.error('Error occurred while setting downsample threshold on range select event', e);
865
860
  }
866
861
 
@@ -899,7 +894,7 @@ var isColumnStrictlyIncreasing = function isColumnStrictlyIncreasing(column, fie
899
894
  */
900
895
 
901
896
 
902
- var tryToCoerceAllDisplayedFields = function tryToCoerceAllDisplayedFields(ds, xField, yFields, fieldTypes) {
897
+ var tryToCoerceAllDisplayedFields = function tryToCoerceAllDisplayedFields(ds, xField, yFields, fieldTypes, options) {
903
898
  var xColumn = [];
904
899
  var yColumns = [];
905
900
  var canDownsample = !ds.data.fields.some(function (field, index) {
@@ -913,7 +908,7 @@ var tryToCoerceAllDisplayedFields = function tryToCoerceAllDisplayedFields(ds, x
913
908
  if (fieldName === xField) {
914
909
  xColumn = strictlyCoerceXColumn(column, fieldType);
915
910
  } else if (yFields.has(fieldName)) {
916
- var _strictlyCoerceYColum = strictlyCoerceYColumn(ds.data.columns[index]),
911
+ var _strictlyCoerceYColum = strictlyCoerceYColumn(ds.data.columns[index], options),
917
912
  coercedColumn = _strictlyCoerceYColum.coercedColumn,
918
913
  canLooselyCoerceSomeValues = _strictlyCoerceYColum.canLooselyCoerceSomeValues,
919
914
  canDownsampleColumn = _strictlyCoerceYColum.canDownsampleColumn; // do not perform downsampling if a column can possibly be displayed but cannot
@@ -1003,7 +998,7 @@ var downsampleDataSources = function downsampleDataSources(_ref4) {
1003
998
  return dataSources;
1004
999
  }
1005
1000
 
1006
- var _tryToCoerceAllDispla = tryToCoerceAllDisplayedFields(primaryDS, xField, nonInternalYFields, fieldTypes),
1001
+ var _tryToCoerceAllDispla = tryToCoerceAllDisplayedFields(primaryDS, xField, nonInternalYFields, fieldTypes, options),
1007
1002
  xColumn = _tryToCoerceAllDispla.xColumn,
1008
1003
  yColumns = _tryToCoerceAllDispla.yColumns;
1009
1004
 
@@ -1027,6 +1022,7 @@ var downsampleDataSources = function downsampleDataSources(_ref4) {
1027
1022
  return downsampledIndices.add(downsampleIndex);
1028
1023
  });
1029
1024
  } catch (e) {
1025
+ // eslint-disable-next-line no-console
1030
1026
  console.error("Error occurred while downsampling column ".concat(columnIndex), e);
1031
1027
  }
1032
1028
  }); // update data columns with downsampled columns
@@ -1046,24 +1042,24 @@ module.exports = require("@splunk/visualizations-shared/colorUtils");
1046
1042
 
1047
1043
  /***/ }),
1048
1044
 
1049
- /***/ 16:
1045
+ /***/ 155:
1050
1046
  /***/ (function(module, exports) {
1051
1047
 
1052
- module.exports = require("@splunk/visualization-encoding/Options");
1048
+ module.exports = require("lodash/findIndex");
1053
1049
 
1054
1050
  /***/ }),
1055
1051
 
1056
- /***/ 160:
1052
+ /***/ 156:
1057
1053
  /***/ (function(module, exports) {
1058
1054
 
1059
- module.exports = require("lodash/findIndex");
1055
+ module.exports = require("lodash/flattenDeep");
1060
1056
 
1061
1057
  /***/ }),
1062
1058
 
1063
- /***/ 161:
1059
+ /***/ 16:
1064
1060
  /***/ (function(module, exports) {
1065
1061
 
1066
- module.exports = require("lodash/flattenDeep");
1062
+ module.exports = require("@splunk/visualization-encoding/Options");
1067
1063
 
1068
1064
  /***/ }),
1069
1065
 
@@ -1073,13 +1069,13 @@ module.exports = require("lodash/flattenDeep");
1073
1069
  "use strict";
1074
1070
 
1075
1071
 
1076
- var _slicedToArray = __webpack_require__(7);
1072
+ var _slicedToArray = __webpack_require__(5);
1077
1073
 
1078
1074
  Object.defineProperty(exports, "__esModule", {
1079
1075
  value: true
1080
1076
  });
1081
1077
 
1082
- var React = __webpack_require__(0);
1078
+ var React = __webpack_require__(1);
1083
1079
 
1084
1080
  var styled_components_1 = __webpack_require__(4);
1085
1081
 
@@ -1087,7 +1083,7 @@ var style_1 = __webpack_require__(18);
1087
1083
 
1088
1084
  var colorUtils_1 = __webpack_require__(15);
1089
1085
 
1090
- var SizeAwareWrapper_1 = __webpack_require__(26);
1086
+ var SizeAwareWrapper_1 = __webpack_require__(25);
1091
1087
 
1092
1088
  var Item = styled_components_1.default.div.attrs(function (_ref) {
1093
1089
  var width = _ref.width;
@@ -1158,7 +1154,7 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
1158
1154
 
1159
1155
  return React.createElement(FixSizeItem, {
1160
1156
  "data-test": "fix-size-item",
1161
- "data-splunk-visualization-version": "26.2.1 - 714383dbb",
1157
+ "data-splunk-visualization-version": "26.4.0 - 04078274d",
1162
1158
  width: width,
1163
1159
  height: height,
1164
1160
  backgroundColor: backgroundColor
@@ -1187,33 +1183,32 @@ module.exports = require("@splunk/visualizations-shared/style");
1187
1183
 
1188
1184
  /***/ }),
1189
1185
 
1190
- /***/ 19:
1191
- /***/ (function(module, exports, __webpack_require__) {
1192
-
1193
- "use strict";
1194
-
1186
+ /***/ 187:
1187
+ /***/ (function(module, exports) {
1195
1188
 
1196
- Object.defineProperty(exports, "__esModule", {
1197
- value: true
1198
- });
1199
- exports.validOutputModes = exports.validSegmentationModes = exports.validSortDirs = void 0;
1200
- exports.validSortDirs = ['asc', 'desc', 'none'];
1201
- exports.validSegmentationModes = ['none', 'inner'];
1202
- exports.validOutputModes = ['json_cols', 'json'];
1189
+ module.exports = require("lodash/sortBy");
1203
1190
 
1204
1191
  /***/ }),
1205
1192
 
1206
- /***/ 193:
1193
+ /***/ 2:
1207
1194
  /***/ (function(module, exports) {
1208
1195
 
1209
- module.exports = require("lodash/sortBy");
1196
+ module.exports = require("lodash");
1210
1197
 
1211
1198
  /***/ }),
1212
1199
 
1213
- /***/ 2:
1214
- /***/ (function(module, exports) {
1200
+ /***/ 20:
1201
+ /***/ (function(module, exports, __webpack_require__) {
1215
1202
 
1216
- module.exports = require("@splunk/ui-utils/i18n");
1203
+ "use strict";
1204
+
1205
+
1206
+ Object.defineProperty(exports, "__esModule", {
1207
+ value: true
1208
+ });
1209
+ exports.validOutputModes = exports.validSortDirs = void 0;
1210
+ exports.validSortDirs = ['asc', 'desc', 'none'];
1211
+ exports.validOutputModes = ['json_cols', 'json'];
1217
1212
 
1218
1213
  /***/ }),
1219
1214
 
@@ -1223,9 +1218,9 @@ module.exports = require("@splunk/ui-utils/i18n");
1223
1218
  "use strict";
1224
1219
 
1225
1220
 
1226
- var _classCallCheck = __webpack_require__(10);
1221
+ var _classCallCheck = __webpack_require__(8);
1227
1222
 
1228
- var _createClass = __webpack_require__(25);
1223
+ var _createClass = __webpack_require__(24);
1229
1224
 
1230
1225
  Object.defineProperty(exports, "__esModule", {
1231
1226
  value: true
@@ -1320,123 +1315,41 @@ exports.extendStaticWrapperProps = extendStaticWrapperProps;
1320
1315
  /***/ 24:
1321
1316
  /***/ (function(module, exports) {
1322
1317
 
1323
- module.exports = require("@splunk/visualizations-shared/schemaUtils");
1324
-
1325
- /***/ }),
1326
-
1327
- /***/ 25:
1328
- /***/ (function(module, exports) {
1329
-
1330
1318
  module.exports = require("@babel/runtime/helpers/createClass");
1331
1319
 
1332
1320
  /***/ }),
1333
1321
 
1334
- /***/ 26:
1322
+ /***/ 25:
1335
1323
  /***/ (function(module, exports) {
1336
1324
 
1337
1325
  module.exports = require("@splunk/visualizations-shared/SizeAwareWrapper");
1338
1326
 
1339
1327
  /***/ }),
1340
1328
 
1341
- /***/ 27:
1329
+ /***/ 26:
1342
1330
  /***/ (function(module, exports, __webpack_require__) {
1343
1331
 
1344
1332
  "use strict";
1345
1333
 
1346
1334
 
1347
- var _toConsumableArray = __webpack_require__(8);
1348
-
1349
- var _defineProperty = __webpack_require__(9);
1350
-
1351
- var __rest = this && this.__rest || function (s, e) {
1352
- var t = {};
1353
-
1354
- for (var p in s) {
1355
- if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
1356
- }
1357
-
1358
- if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
1359
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
1360
- }
1361
- return t;
1362
- };
1335
+ var _toConsumableArray = __webpack_require__(6);
1363
1336
 
1364
1337
  Object.defineProperty(exports, "__esModule", {
1365
1338
  value: true
1366
1339
  });
1367
- exports.insertLayout = exports.isDynamicOption = exports.uncollapseEditorConfig = exports.generatePrecisionValues = exports.getInitialPreset = exports.enhanceOptionsSchemaWithDynamicOptions = exports.enhanceConfig = void 0;
1368
-
1369
- var lodash_1 = __webpack_require__(3);
1370
-
1371
- var schemaUtils_1 = __webpack_require__(24);
1372
-
1373
- var VizBehavior_1 = __webpack_require__(6);
1340
+ exports.insertLayout = exports.isDynamicOption = exports.uncollapseEditorConfig = exports.generatePrecisionValues = exports.getInitialPreset = exports.enhanceConfig = exports.enhanceOptionsSchemaWithDynamicOptions = void 0;
1374
1341
 
1375
- var dynamicOptionsDSLType = {
1376
- type: 'string',
1377
- pattern: schemaUtils_1.DYNAMIC_OPTIONS_DSL_PATTERN
1378
- };
1379
- /**
1380
- * Helper function to extend an options schema with dynamic options DSL
1381
- * @param optionsSchema a visualization's options schema
1382
- * @returns an updated options schema that additionally allows strings starting with > for each option
1383
- */
1342
+ var lodash_1 = __webpack_require__(2); // included for backwards compatibility
1384
1343
 
1385
- function enhanceOptionsSchemaWithDynamicOptions(optionsSchema) {
1386
- var enhancedOptionsSchema = {};
1387
- Object.keys(optionsSchema).forEach(function (key) {
1388
- var _a = optionsSchema[key],
1389
- title = _a.title,
1390
- description = _a.description,
1391
- readOnly = _a.readOnly,
1392
- writeOnly = _a.writeOnly,
1393
- examples = _a.examples,
1394
- defaultValue = _a.default,
1395
- type = _a.type,
1396
- properties = _a.properties,
1397
- patternProperties = _a.patternProperties,
1398
- remainingSchemaEntry = __rest(_a, ["title", "description", "readOnly", "writeOnly", "examples", "default", "type", "properties", "patternProperties"]);
1399
-
1400
- var annotations = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, title !== undefined && {
1401
- title: title
1402
- }), description !== undefined && {
1403
- description: description
1404
- }), readOnly !== undefined && {
1405
- readOnly: readOnly
1406
- }), writeOnly !== undefined && {
1407
- writeOnly: writeOnly
1408
- }), examples !== undefined && {
1409
- examples: examples
1410
- }), defaultValue !== undefined && {
1411
- default: defaultValue
1412
- });
1413
1344
 
1414
- if (type === 'object') {
1415
- enhancedOptionsSchema[key] = Object.assign(Object.assign(Object.assign(Object.assign({}, remainingSchemaEntry), annotations), {
1416
- type: type
1417
- }), properties && {
1418
- properties: enhanceOptionsSchemaWithDynamicOptions(properties)
1419
- });
1345
+ var visualization_schemas_1 = __webpack_require__(9);
1420
1346
 
1421
- if (patternProperties) {
1422
- var enhancedPatternProperties = {};
1423
- Object.keys(patternProperties).forEach(function (opt) {
1424
- enhancedPatternProperties = Object.assign(Object.assign({}, enhancedPatternProperties), enhanceOptionsSchemaWithDynamicOptions(_defineProperty({}, opt, patternProperties[opt])));
1425
- });
1426
- enhancedOptionsSchema[key].patternProperties = enhancedPatternProperties;
1427
- }
1428
- } else {
1429
- enhancedOptionsSchema[key] = Object.assign(Object.assign({}, annotations), {
1430
- anyOf: [Object.assign(Object.assign({}, type !== undefined && {
1431
- type: type
1432
- }), remainingSchemaEntry), dynamicOptionsDSLType]
1433
- });
1434
- }
1435
- });
1436
- return enhancedOptionsSchema;
1437
- }
1438
-
1439
- exports.enhanceOptionsSchemaWithDynamicOptions = enhanceOptionsSchemaWithDynamicOptions;
1347
+ Object.defineProperty(exports, "enhanceOptionsSchemaWithDynamicOptions", {
1348
+ enumerable: true,
1349
+ get: function get() {
1350
+ return visualization_schemas_1.enhanceOptionsSchemaWithDynamicOptions;
1351
+ }
1352
+ });
1440
1353
  /**
1441
1354
  * Helper function to enhance a Visualization Config as needed based on behaviors specified in supports block
1442
1355
  * this function also collapse all editor panels
@@ -1447,11 +1360,6 @@ exports.enhanceOptionsSchemaWithDynamicOptions = enhanceOptionsSchemaWithDynamic
1447
1360
 
1448
1361
  function enhanceConfig(vizConfig) {
1449
1362
  var enhancedConfig = Object.assign({}, vizConfig);
1450
-
1451
- if (vizConfig.supports.indexOf(VizBehavior_1.VizBehavior.DYNAMIC_OPTIONS) !== -1) {
1452
- enhancedConfig.optionsSchema = enhanceOptionsSchemaWithDynamicOptions(vizConfig.optionsSchema);
1453
- }
1454
-
1455
1363
  enhancedConfig.editorConfig = vizConfig.editorConfig.map(function (config) {
1456
1364
  return Object.assign(Object.assign({}, config), {
1457
1365
  open: config.open || false
@@ -1575,42 +1483,42 @@ exports.insertLayout = insertLayout;
1575
1483
 
1576
1484
  /***/ }),
1577
1485
 
1578
- /***/ 28:
1486
+ /***/ 27:
1579
1487
  /***/ (function(module, exports) {
1580
1488
 
1581
1489
  module.exports = require("@splunk/visualization-context/FeatureFlagContext");
1582
1490
 
1583
1491
  /***/ }),
1584
1492
 
1585
- /***/ 3:
1493
+ /***/ 29:
1586
1494
  /***/ (function(module, exports) {
1587
1495
 
1588
- module.exports = require("lodash");
1496
+ module.exports = require("@splunk/themes/pick");
1589
1497
 
1590
1498
  /***/ }),
1591
1499
 
1592
- /***/ 30:
1500
+ /***/ 3:
1593
1501
  /***/ (function(module, exports) {
1594
1502
 
1595
- module.exports = require("@splunk/themes/pick");
1503
+ module.exports = require("@splunk/ui-utils/i18n");
1596
1504
 
1597
1505
  /***/ }),
1598
1506
 
1599
- /***/ 31:
1507
+ /***/ 30:
1600
1508
  /***/ (function(module, exports) {
1601
1509
 
1602
1510
  module.exports = require("@splunk/ui-utils/id");
1603
1511
 
1604
1512
  /***/ }),
1605
1513
 
1606
- /***/ 32:
1514
+ /***/ 31:
1607
1515
  /***/ (function(module, exports) {
1608
1516
 
1609
1517
  module.exports = require("@splunk/visualization-context/TimezoneContext");
1610
1518
 
1611
1519
  /***/ }),
1612
1520
 
1613
- /***/ 33:
1521
+ /***/ 32:
1614
1522
  /***/ (function(module, exports, __webpack_require__) {
1615
1523
 
1616
1524
  "use strict";
@@ -1620,7 +1528,7 @@ Object.defineProperty(exports, "__esModule", {
1620
1528
  value: true
1621
1529
  });
1622
1530
 
1623
- var react_1 = __webpack_require__(0);
1531
+ var react_1 = __webpack_require__(1);
1624
1532
 
1625
1533
  function usePrevious(value) {
1626
1534
  var ref = (0, react_1.useRef)();
@@ -1634,21 +1542,21 @@ exports.default = usePrevious;
1634
1542
 
1635
1543
  /***/ }),
1636
1544
 
1637
- /***/ 34:
1545
+ /***/ 33:
1638
1546
  /***/ (function(module, exports) {
1639
1547
 
1640
1548
  module.exports = require("@splunk/visualizations-shared/hocUtils");
1641
1549
 
1642
1550
  /***/ }),
1643
1551
 
1644
- /***/ 35:
1552
+ /***/ 34:
1645
1553
  /***/ (function(module, exports) {
1646
1554
 
1647
1555
  module.exports = require("@splunk/visualizations-shared/JSONSchemaUtils");
1648
1556
 
1649
1557
  /***/ }),
1650
1558
 
1651
- /***/ 37:
1559
+ /***/ 36:
1652
1560
  /***/ (function(module, exports, __webpack_require__) {
1653
1561
 
1654
1562
  "use strict";
@@ -1659,15 +1567,15 @@ Object.defineProperty(exports, "__esModule", {
1659
1567
  });
1660
1568
  exports.shouldShowIconPlaceholder = void 0;
1661
1569
 
1662
- var React = __webpack_require__(0);
1570
+ var React = __webpack_require__(1);
1663
1571
 
1664
- var T = __webpack_require__(1);
1572
+ var T = __webpack_require__(0);
1665
1573
 
1666
- var lodash_1 = __webpack_require__(3);
1574
+ var lodash_1 = __webpack_require__(2);
1667
1575
 
1668
- var i18n_1 = __webpack_require__(2);
1576
+ var i18n_1 = __webpack_require__(3);
1669
1577
 
1670
- var Message_1 = __webpack_require__(12);
1578
+ var Message_1 = __webpack_require__(11);
1671
1579
 
1672
1580
  var FixedSizeContainer_1 = __webpack_require__(17);
1673
1581
  /**
@@ -1741,24 +1649,24 @@ exports.default = (0, FixedSizeContainer_1.default)(IconPlaceholder);
1741
1649
 
1742
1650
  /***/ }),
1743
1651
 
1744
- /***/ 38:
1652
+ /***/ 37:
1745
1653
  /***/ (function(module, exports, __webpack_require__) {
1746
1654
 
1747
1655
  "use strict";
1748
1656
 
1749
1657
 
1750
- var _defineProperty = __webpack_require__(9);
1658
+ var _defineProperty = __webpack_require__(12);
1751
1659
 
1752
1660
  Object.defineProperty(exports, "__esModule", {
1753
1661
  value: true
1754
1662
  });
1755
1663
  exports.getSortingParams = exports.SortParamsPropTypes = void 0;
1756
1664
 
1757
- var T = __webpack_require__(1);
1665
+ var T = __webpack_require__(0);
1758
1666
 
1759
- var lodash_1 = __webpack_require__(3);
1667
+ var lodash_1 = __webpack_require__(2);
1760
1668
 
1761
- var DataSource_1 = __webpack_require__(19);
1669
+ var DataSource_1 = __webpack_require__(20);
1762
1670
 
1763
1671
  exports.SortParamsPropTypes = T.shape({
1764
1672
  currentSortKey: T.string,
@@ -1812,7 +1720,7 @@ exports.getSortingParams = getSortingParams;
1812
1720
 
1813
1721
  /***/ }),
1814
1722
 
1815
- /***/ 39:
1723
+ /***/ 38:
1816
1724
  /***/ (function(module, exports, __webpack_require__) {
1817
1725
 
1818
1726
  "use strict";
@@ -1823,9 +1731,9 @@ Object.defineProperty(exports, "__esModule", {
1823
1731
  });
1824
1732
  exports.getPaginationParams = exports.PaginatorParamsPropTypes = void 0;
1825
1733
 
1826
- var T = __webpack_require__(1);
1734
+ var T = __webpack_require__(0);
1827
1735
 
1828
- var lodash_1 = __webpack_require__(3);
1736
+ var lodash_1 = __webpack_require__(2);
1829
1737
 
1830
1738
  exports.PaginatorParamsPropTypes = T.shape({
1831
1739
  isPaging: T.bool,
@@ -1877,14 +1785,7 @@ exports.getPaginationParams = getPaginationParams;
1877
1785
 
1878
1786
  /***/ }),
1879
1787
 
1880
- /***/ 4:
1881
- /***/ (function(module, exports) {
1882
-
1883
- module.exports = require("styled-components");
1884
-
1885
- /***/ }),
1886
-
1887
- /***/ 40:
1788
+ /***/ 39:
1888
1789
  /***/ (function(module, exports, __webpack_require__) {
1889
1790
 
1890
1791
  "use strict";
@@ -1919,11 +1820,13 @@ Object.defineProperty(exports, "__esModule", {
1919
1820
  value: true
1920
1821
  });
1921
1822
 
1823
+ __exportStar(__webpack_require__(40), exports);
1824
+
1922
1825
  __exportStar(__webpack_require__(41), exports);
1923
1826
 
1924
- __exportStar(__webpack_require__(42), exports);
1827
+ __exportStar(__webpack_require__(20), exports);
1925
1828
 
1926
- __exportStar(__webpack_require__(19), exports);
1829
+ __exportStar(__webpack_require__(42), exports);
1927
1830
 
1928
1831
  __exportStar(__webpack_require__(43), exports);
1929
1832
 
@@ -1935,16 +1838,16 @@ __exportStar(__webpack_require__(46), exports);
1935
1838
 
1936
1839
  __exportStar(__webpack_require__(47), exports);
1937
1840
 
1938
- __exportStar(__webpack_require__(48), exports);
1939
-
1940
- __exportStar(__webpack_require__(49), exports);
1941
-
1942
1841
  __exportStar(__webpack_require__(21), exports);
1943
1842
 
1944
- __exportStar(__webpack_require__(6), exports);
1843
+ __exportStar(__webpack_require__(7), exports);
1945
1844
 
1946
1845
  __exportStar(__webpack_require__(22), exports);
1947
1846
 
1847
+ __exportStar(__webpack_require__(48), exports);
1848
+
1849
+ __exportStar(__webpack_require__(49), exports);
1850
+
1948
1851
  __exportStar(__webpack_require__(50), exports);
1949
1852
 
1950
1853
  __exportStar(__webpack_require__(51), exports);
@@ -1953,13 +1856,16 @@ __exportStar(__webpack_require__(52), exports);
1953
1856
 
1954
1857
  __exportStar(__webpack_require__(53), exports);
1955
1858
 
1956
- __exportStar(__webpack_require__(54), exports);
1859
+ /***/ }),
1957
1860
 
1958
- __exportStar(__webpack_require__(55), exports);
1861
+ /***/ 4:
1862
+ /***/ (function(module, exports) {
1863
+
1864
+ module.exports = require("styled-components");
1959
1865
 
1960
1866
  /***/ }),
1961
1867
 
1962
- /***/ 41:
1868
+ /***/ 40:
1963
1869
  /***/ (function(module, exports, __webpack_require__) {
1964
1870
 
1965
1871
  "use strict";
@@ -1971,7 +1877,7 @@ Object.defineProperty(exports, "__esModule", {
1971
1877
 
1972
1878
  /***/ }),
1973
1879
 
1974
- /***/ 42:
1880
+ /***/ 41:
1975
1881
  /***/ (function(module, exports, __webpack_require__) {
1976
1882
 
1977
1883
  "use strict";
@@ -1986,7 +1892,7 @@ Object.defineProperty(exports, "__esModule", {
1986
1892
 
1987
1893
  /***/ }),
1988
1894
 
1989
- /***/ 43:
1895
+ /***/ 42:
1990
1896
  /***/ (function(module, exports, __webpack_require__) {
1991
1897
 
1992
1898
  "use strict";
@@ -1998,7 +1904,7 @@ Object.defineProperty(exports, "__esModule", {
1998
1904
 
1999
1905
  /***/ }),
2000
1906
 
2001
- /***/ 44:
1907
+ /***/ 43:
2002
1908
  /***/ (function(module, exports, __webpack_require__) {
2003
1909
 
2004
1910
  "use strict";
@@ -2010,7 +1916,7 @@ Object.defineProperty(exports, "__esModule", {
2010
1916
 
2011
1917
  /***/ }),
2012
1918
 
2013
- /***/ 45:
1919
+ /***/ 44:
2014
1920
  /***/ (function(module, exports, __webpack_require__) {
2015
1921
 
2016
1922
  "use strict";
@@ -2022,7 +1928,7 @@ Object.defineProperty(exports, "__esModule", {
2022
1928
 
2023
1929
  /***/ }),
2024
1930
 
2025
- /***/ 46:
1931
+ /***/ 45:
2026
1932
  /***/ (function(module, exports, __webpack_require__) {
2027
1933
 
2028
1934
  "use strict";
@@ -2034,7 +1940,7 @@ Object.defineProperty(exports, "__esModule", {
2034
1940
 
2035
1941
  /***/ }),
2036
1942
 
2037
- /***/ 466:
1943
+ /***/ 454:
2038
1944
  /***/ (function(module, exports, __webpack_require__) {
2039
1945
 
2040
1946
  "use strict";
@@ -2058,17 +1964,17 @@ Object.defineProperty(exports, "__esModule", {
2058
1964
  });
2059
1965
  exports.themes = exports.computeVizProps = exports.PurePunchcard = exports.config = void 0;
2060
1966
 
2061
- var lodash_1 = __webpack_require__(3);
1967
+ var lodash_1 = __webpack_require__(2);
2062
1968
 
2063
- var visualization_color_palettes_1 = __webpack_require__(73);
1969
+ var visualization_color_palettes_1 = __webpack_require__(74);
2064
1970
 
2065
- var config_1 = __webpack_require__(467);
1971
+ var config_1 = __webpack_require__(455);
2066
1972
 
2067
- var withDashboardViz_1 = __webpack_require__(56);
1973
+ var withDashboardViz_1 = __webpack_require__(54);
2068
1974
 
2069
- var Punchcard_1 = __webpack_require__(468);
1975
+ var Punchcard_1 = __webpack_require__(456);
2070
1976
 
2071
- var punchcardUtils_1 = __webpack_require__(476);
1977
+ var punchcardUtils_1 = __webpack_require__(464);
2072
1978
 
2073
1979
  exports.config = config_1.default;
2074
1980
  exports.PurePunchcard = Punchcard_1.default;
@@ -2113,7 +2019,7 @@ exports.default = viz;
2113
2019
 
2114
2020
  /***/ }),
2115
2021
 
2116
- /***/ 467:
2022
+ /***/ 455:
2117
2023
  /***/ (function(module, exports, __webpack_require__) {
2118
2024
 
2119
2025
  "use strict";
@@ -2123,27 +2029,25 @@ Object.defineProperty(exports, "__esModule", {
2123
2029
  value: true
2124
2030
  });
2125
2031
 
2126
- var i18n_1 = __webpack_require__(2);
2127
-
2128
- var schemaUtils_1 = __webpack_require__(24);
2032
+ var i18n_1 = __webpack_require__(3);
2129
2033
 
2130
- var visualization_icons_1 = __webpack_require__(74);
2034
+ var visualization_schemas_1 = __webpack_require__(9);
2131
2035
 
2132
- var placeholders_1 = __webpack_require__(72);
2036
+ var visualization_icons_1 = __webpack_require__(71);
2133
2037
 
2134
- var visualization_color_palettes_1 = __webpack_require__(73);
2038
+ var placeholders_1 = __webpack_require__(70);
2135
2039
 
2136
- var pick_1 = __webpack_require__(30);
2040
+ var pick_1 = __webpack_require__(29);
2137
2041
 
2138
2042
  var variables_1 = __webpack_require__(13);
2139
2043
 
2140
- var VizBehavior_1 = __webpack_require__(6);
2044
+ var VizBehavior_1 = __webpack_require__(7);
2141
2045
 
2142
2046
  var VizCategory_1 = __webpack_require__(22);
2143
2047
 
2144
- var configUtils_1 = __webpack_require__(27);
2048
+ var configUtils_1 = __webpack_require__(26);
2145
2049
 
2146
- var BackgroundColor_1 = __webpack_require__(75);
2050
+ var BackgroundColor_1 = __webpack_require__(72);
2147
2051
 
2148
2052
  var dataContract = {
2149
2053
  requiredDataSources: [{
@@ -2172,144 +2076,6 @@ var defaultContext = {
2172
2076
  colors: ['rgba(123,86,219,0.4)', 'rgba(123,86,219,1)']
2173
2077
  }
2174
2078
  };
2175
- var optionsSchema = {
2176
- x: {
2177
- default: '> primary | seriesByIndex(0)',
2178
- description: 'Specify the dataSource applied to the x-axis.',
2179
- type: 'array',
2180
- items: {
2181
- type: ['string', 'number']
2182
- }
2183
- },
2184
- y: {
2185
- default: '> primary | seriesByIndex(1)',
2186
- description: 'Specify the dataSource applied to the y-axis.',
2187
- type: 'array',
2188
- items: {
2189
- type: ['string', 'number']
2190
- }
2191
- },
2192
- category: {
2193
- default: '> primary | seriesByIndex(3)',
2194
- description: 'Specify the dataSource to apply series categories.',
2195
- type: 'array',
2196
- items: {
2197
- type: ['string', 'number']
2198
- }
2199
- },
2200
- size: {
2201
- default: '> primary | seriesByIndex(2)',
2202
- description: 'Specify the dataSource to apply bubble size in the chart.',
2203
- type: 'array',
2204
- items: {
2205
- type: 'number'
2206
- }
2207
- },
2208
- xField: {
2209
- default: '> x | getField()',
2210
- description: 'Specify the field that should be mapped to the x-axis.',
2211
- type: 'string'
2212
- },
2213
- yField: {
2214
- default: '> y | getField()',
2215
- description: 'Specify the field that should be mapped to the y-axis.',
2216
- type: 'string'
2217
- },
2218
- categoryField: {
2219
- default: '> category | getField()',
2220
- description: 'Specify the field that should be mapped to the series categories.',
2221
- type: 'string'
2222
- },
2223
- sizeField: {
2224
- default: '> size | getField()',
2225
- description: 'Specify the field that should be mapped to the bubble size in the chart.',
2226
- type: 'string'
2227
- },
2228
- backgroundColor: {
2229
- default: '> themes.defaultBackgroundColor',
2230
- description: 'Specify the color used for the background. The default for enterprise light is "#ffffff". The default for enterprise dark is "#000000". The default for prisma dark is "#0b0c0e".',
2231
- pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA,
2232
- type: 'string'
2233
- },
2234
- bubbleColor: {
2235
- default: '> size | gradient(bubbleColorConfig)',
2236
- description: 'Specify the coloring method used for the bubbles when the colorMode “dynamic” is specified. For example “> size | gradient(bubbleColorConfig)".',
2237
- type: ['string', 'array']
2238
- },
2239
- bubbleLabelDisplay: {
2240
- default: 'all',
2241
- description: 'Specify whether all bubble labels, the max value bubble labels, or none of the bubble labels should be displayed.',
2242
- pattern: (0, schemaUtils_1.getPattern)(['all', 'max', 'off']),
2243
- type: 'string'
2244
- },
2245
- bubbleRadiusMax: {
2246
- default: 15,
2247
- description: 'Specify the max radius (in pixels) of the bubbles when showDynamicBubbleSize option is false. Greater than 0.',
2248
- type: 'number'
2249
- },
2250
- bubbleRadiusMin: {
2251
- default: 1,
2252
- description: 'Specify the min radius (in pixels) of the bubbles when showDynamicBubbleSize option is false. Greater than 0.',
2253
- type: 'number'
2254
- },
2255
- bubbleRowScale: {
2256
- default: 'global',
2257
- description: 'Specify how bubbles are scaled relative to other rows.',
2258
- pattern: (0, schemaUtils_1.getPattern)(['global', 'row']),
2259
- type: 'string'
2260
- },
2261
- bubbleSizeMax: {
2262
- default: 1,
2263
- description: 'Specify the max percentage (in decimal format) of space a bubble should take up within a cell when showDynamicBubbleSize option is true. The number specified must be between 0 and 1.',
2264
- type: 'number'
2265
- },
2266
- bubbleSizeMin: {
2267
- default: 0.25,
2268
- description: 'Specify the min percentage (in decimal format) of space a bubble should take up within a cell when showDynamicBubbleSize option is true. The number specified must be between 0 and 1.',
2269
- type: 'number'
2270
- },
2271
- bubbleSizeMethod: {
2272
- default: 'area',
2273
- description: 'Specify whether bubble area or diameter corresponds to the size value.',
2274
- pattern: (0, schemaUtils_1.getPattern)(['radius', 'area']),
2275
- type: 'string'
2276
- },
2277
- colorMode: {
2278
- default: 'dynamic',
2279
- description: 'Specify the coloring method used for the bubbles.',
2280
- pattern: (0, schemaUtils_1.getPattern)(['categorical', 'dynamic']),
2281
- type: 'string'
2282
- },
2283
- legendDisplay: {
2284
- default: 'right',
2285
- description: 'Specify the location of the legend on the panel.',
2286
- pattern: (0, schemaUtils_1.getPattern)(['right', 'off']),
2287
- type: 'string'
2288
- },
2289
- seriesColors: {
2290
- default: visualization_color_palettes_1.VIZ_CATEGORICAL,
2291
- description: 'Specify the colors used for a series. For example, "#FF0000", "#0000FF", "#008000".',
2292
- type: 'array',
2293
- items: {
2294
- type: 'string'
2295
- }
2296
- },
2297
- showDefaultSort: {
2298
- default: false,
2299
- description: 'Specify whether axes should be sorted based on order of time, digits and strings.',
2300
- type: 'boolean'
2301
- },
2302
- showDynamicBubbleSize: {
2303
- default: true,
2304
- description: 'Specify whether the bubble size should be dynamic or fixed.',
2305
- type: 'boolean'
2306
- },
2307
- showMaxValuePulsation: {
2308
- default: true,
2309
- description: 'Specify whether the max value bubble should pulsate.',
2310
- type: 'boolean'
2311
- }
2312
- };
2313
2079
  var themes = {
2314
2080
  defaultBackgroundColor: function defaultBackgroundColor(props) {
2315
2081
  return (0, pick_1.default)({
@@ -2452,7 +2218,7 @@ var config = {
2452
2218
  dataContract: dataContract,
2453
2219
  size: size,
2454
2220
  defaultContext: defaultContext,
2455
- optionsSchema: optionsSchema,
2221
+ optionsSchema: visualization_schemas_1.punchcardOptionsSchema,
2456
2222
  editorConfig: editorConfig,
2457
2223
  events: {
2458
2224
  'legend.click': {
@@ -2470,51 +2236,51 @@ exports.default = (0, configUtils_1.enhanceConfig)(config);
2470
2236
 
2471
2237
  /***/ }),
2472
2238
 
2473
- /***/ 468:
2239
+ /***/ 456:
2474
2240
  /***/ (function(module, exports, __webpack_require__) {
2475
2241
 
2476
2242
  "use strict";
2477
2243
 
2478
2244
 
2479
- var _defineProperty = __webpack_require__(9);
2245
+ var _defineProperty = __webpack_require__(12);
2480
2246
 
2481
- var _slicedToArray = __webpack_require__(7);
2247
+ var _slicedToArray = __webpack_require__(5);
2482
2248
 
2483
2249
  Object.defineProperty(exports, "__esModule", {
2484
2250
  value: true
2485
2251
  });
2486
2252
 
2487
- var React = __webpack_require__(0);
2253
+ var React = __webpack_require__(1);
2488
2254
 
2489
2255
  var styled_components_1 = __webpack_require__(4);
2490
2256
 
2491
- var T = __webpack_require__(1);
2257
+ var T = __webpack_require__(0);
2492
2258
 
2493
- var lodash_1 = __webpack_require__(3);
2259
+ var lodash_1 = __webpack_require__(2);
2494
2260
 
2495
- var types_1 = __webpack_require__(106);
2261
+ var types_1 = __webpack_require__(103);
2496
2262
 
2497
- var SizeAwareWrapper_1 = __webpack_require__(26);
2263
+ var SizeAwareWrapper_1 = __webpack_require__(25);
2498
2264
 
2499
2265
  var style_1 = __webpack_require__(18);
2500
2266
 
2501
- var visualization_color_palettes_1 = __webpack_require__(73);
2267
+ var visualization_color_palettes_1 = __webpack_require__(74);
2502
2268
 
2503
- var punchcardUtils_1 = __webpack_require__(122);
2269
+ var punchcardUtils_1 = __webpack_require__(120);
2504
2270
 
2505
- var sortUtils_1 = __webpack_require__(469);
2271
+ var sortUtils_1 = __webpack_require__(457);
2506
2272
 
2507
- var PunchcardAxis_1 = __webpack_require__(470);
2273
+ var PunchcardAxis_1 = __webpack_require__(458);
2508
2274
 
2509
- var PunchcardChartArea_1 = __webpack_require__(471);
2275
+ var PunchcardChartArea_1 = __webpack_require__(459);
2510
2276
 
2511
- var PunchcardLegend_1 = __webpack_require__(474);
2277
+ var PunchcardLegend_1 = __webpack_require__(462);
2512
2278
 
2513
- var PunchcardGridLines_1 = __webpack_require__(475);
2279
+ var PunchcardGridLines_1 = __webpack_require__(463);
2514
2280
 
2515
2281
  var Container = styled_components_1.default.div.withConfig({
2516
2282
  displayName: "Punchcard__Container",
2517
- componentId: "orvtgq-0"
2283
+ componentId: "sc-orvtgq-0"
2518
2284
  })(["cursor:default;overflow:hidden;", ";background-color:", ";"], function (props) {
2519
2285
  return (0, style_1.toDimension)((0, lodash_1.pick)(props, ['width', 'height']));
2520
2286
  }, function (props) {
@@ -2522,19 +2288,19 @@ var Container = styled_components_1.default.div.withConfig({
2522
2288
  });
2523
2289
  var PunchcardWrapper = styled_components_1.default.div.withConfig({
2524
2290
  displayName: "Punchcard__PunchcardWrapper",
2525
- componentId: "orvtgq-1"
2291
+ componentId: "sc-orvtgq-1"
2526
2292
  })(["display:flex;justify-content:center;flex-direction:row;width:100%;height:100%;background-color:", ";"], function (props) {
2527
2293
  return props.backgroundColor;
2528
2294
  });
2529
2295
  var PunchcardContainer = styled_components_1.default.div.withConfig({
2530
2296
  displayName: "Punchcard__PunchcardContainer",
2531
- componentId: "orvtgq-2"
2297
+ componentId: "sc-orvtgq-2"
2532
2298
  })(["overflow:hidden;position:relative;", ";"], function (props) {
2533
2299
  return (0, style_1.toDimension)((0, lodash_1.pick)(props, ['width', 'height']));
2534
2300
  });
2535
2301
  var PunchcardSVG = styled_components_1.default.svg.withConfig({
2536
2302
  displayName: "Punchcard__PunchcardSVG",
2537
- componentId: "orvtgq-3"
2303
+ componentId: "sc-orvtgq-3"
2538
2304
  })(["", ";"], function (props) {
2539
2305
  return (0, style_1.toDimension)((0, lodash_1.pick)(props, ['width', 'height']));
2540
2306
  });
@@ -2670,8 +2436,6 @@ var Punchcard = function Punchcard(props) {
2670
2436
  };
2671
2437
 
2672
2438
  var renderVisualization = function renderVisualization() {
2673
- console.debug('renderVisualization', containerWidth, containerHeight);
2674
-
2675
2439
  if (!containerWidth || !containerHeight) {
2676
2440
  return null;
2677
2441
  }
@@ -2707,8 +2471,10 @@ var Punchcard = function Punchcard(props) {
2707
2471
 
2708
2472
  var minBand = Math.min(xScale.bandwidth(), yScale.bandwidth());
2709
2473
  return React.createElement(PunchcardWrapper, {
2474
+ "data-test": "punchcard-wrapper",
2710
2475
  backgroundColor: backgroundColor
2711
2476
  }, React.createElement(PunchcardContainer, {
2477
+ "data-test": "punchcard-container",
2712
2478
  width: containerWidth,
2713
2479
  height: containerHeight
2714
2480
  }, React.createElement(PunchcardSVG, {
@@ -2865,7 +2631,7 @@ exports.default = Punchcard;
2865
2631
 
2866
2632
  /***/ }),
2867
2633
 
2868
- /***/ 469:
2634
+ /***/ 457:
2869
2635
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
2870
2636
 
2871
2637
  "use strict";
@@ -2875,15 +2641,15 @@ __webpack_require__.r(__webpack_exports__);
2875
2641
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "sortedByDTime", function() { return sortedByDTime; });
2876
2642
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "sortByDigitOrAlpha", function() { return sortByDigitOrAlpha; });
2877
2643
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "sortAxis", function() { return sortAxis; });
2878
- /* harmony import */ var lodash_findIndex__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(160);
2644
+ /* harmony import */ var lodash_findIndex__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(155);
2879
2645
  /* harmony import */ var lodash_findIndex__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_findIndex__WEBPACK_IMPORTED_MODULE_0__);
2880
- /* harmony import */ var lodash_find__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(136);
2646
+ /* harmony import */ var lodash_find__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(134);
2881
2647
  /* harmony import */ var lodash_find__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash_find__WEBPACK_IMPORTED_MODULE_1__);
2882
- /* harmony import */ var lodash_sortBy__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(193);
2648
+ /* harmony import */ var lodash_sortBy__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(187);
2883
2649
  /* harmony import */ var lodash_sortBy__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash_sortBy__WEBPACK_IMPORTED_MODULE_2__);
2884
- /* harmony import */ var lodash_flattenDeep__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(161);
2650
+ /* harmony import */ var lodash_flattenDeep__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(156);
2885
2651
  /* harmony import */ var lodash_flattenDeep__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(lodash_flattenDeep__WEBPACK_IMPORTED_MODULE_3__);
2886
- /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(3);
2652
+ /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(2);
2887
2653
  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_4__);
2888
2654
 
2889
2655
 
@@ -3150,7 +2916,7 @@ var sortAxis = function sortAxis(axis) {
3150
2916
 
3151
2917
  /***/ }),
3152
2918
 
3153
- /***/ 47:
2919
+ /***/ 458:
3154
2920
  /***/ (function(module, exports, __webpack_require__) {
3155
2921
 
3156
2922
  "use strict";
@@ -3160,29 +2926,17 @@ Object.defineProperty(exports, "__esModule", {
3160
2926
  value: true
3161
2927
  });
3162
2928
 
3163
- /***/ }),
3164
-
3165
- /***/ 470:
3166
- /***/ (function(module, exports, __webpack_require__) {
3167
-
3168
- "use strict";
3169
-
3170
-
3171
- Object.defineProperty(exports, "__esModule", {
3172
- value: true
3173
- });
2929
+ var React = __webpack_require__(1);
3174
2930
 
3175
- var React = __webpack_require__(0);
3176
-
3177
- var T = __webpack_require__(1);
2931
+ var T = __webpack_require__(0);
3178
2932
 
3179
2933
  var styled_components_1 = __webpack_require__(4);
3180
2934
 
3181
- var pick_1 = __webpack_require__(30);
2935
+ var pick_1 = __webpack_require__(29);
3182
2936
 
3183
2937
  var variables_1 = __webpack_require__(13);
3184
2938
 
3185
- var punchcardUtils_1 = __webpack_require__(122);
2939
+ var punchcardUtils_1 = __webpack_require__(120);
3186
2940
 
3187
2941
  var AxisLabelText = styled_components_1.default.text.withConfig({
3188
2942
  displayName: "PunchcardAxis__AxisLabelText",
@@ -3206,7 +2960,9 @@ var PunchcardAxis = function PunchcardAxis(props) {
3206
2960
  selected = props.selected,
3207
2961
  startPositionX = props.startPositionX,
3208
2962
  startPositionY = props.startPositionY;
3209
- return React.createElement("g", null, labels.map(function (label, index) {
2963
+ return React.createElement("g", {
2964
+ "data-test": "".concat(orientation === punchcardUtils_1.AXIS_ORIENTATION_TYPES.VERTICAL ? 'y' : 'x', "-axis")
2965
+ }, labels.map(function (label, index) {
3210
2966
  // Space between labels either in x or y direction depending on orientation
3211
2967
  var positionDelta = index * scale.bandwidth() + scale.bandwidth() / 2;
3212
2968
  var xPosition = orientation === punchcardUtils_1.AXIS_ORIENTATION_TYPES.VERTICAL ? startPositionX : startPositionX + positionDelta;
@@ -3263,27 +3019,27 @@ exports.default = PunchcardAxis;
3263
3019
 
3264
3020
  /***/ }),
3265
3021
 
3266
- /***/ 471:
3022
+ /***/ 459:
3267
3023
  /***/ (function(module, exports, __webpack_require__) {
3268
3024
 
3269
3025
  "use strict";
3270
3026
 
3271
3027
 
3272
- var _toConsumableArray = __webpack_require__(8);
3028
+ var _toConsumableArray = __webpack_require__(6);
3273
3029
 
3274
- var _slicedToArray = __webpack_require__(7);
3030
+ var _slicedToArray = __webpack_require__(5);
3275
3031
 
3276
3032
  Object.defineProperty(exports, "__esModule", {
3277
3033
  value: true
3278
3034
  });
3279
3035
 
3280
- var React = __webpack_require__(0);
3036
+ var React = __webpack_require__(1);
3281
3037
 
3282
- var T = __webpack_require__(1);
3038
+ var T = __webpack_require__(0);
3283
3039
 
3284
- var punchcardUtils_1 = __webpack_require__(122);
3040
+ var punchcardUtils_1 = __webpack_require__(120);
3285
3041
 
3286
- var PunchcardRow_1 = __webpack_require__(472);
3042
+ var PunchcardRow_1 = __webpack_require__(460);
3287
3043
 
3288
3044
  var PunchcardChartArea = function PunchcardChartArea(props) {
3289
3045
  var showBubbleLabels = props.showBubbleLabels,
@@ -3435,7 +3191,19 @@ exports.default = PunchcardChartArea;
3435
3191
 
3436
3192
  /***/ }),
3437
3193
 
3438
- /***/ 472:
3194
+ /***/ 46:
3195
+ /***/ (function(module, exports, __webpack_require__) {
3196
+
3197
+ "use strict";
3198
+
3199
+
3200
+ Object.defineProperty(exports, "__esModule", {
3201
+ value: true
3202
+ });
3203
+
3204
+ /***/ }),
3205
+
3206
+ /***/ 460:
3439
3207
  /***/ (function(module, exports, __webpack_require__) {
3440
3208
 
3441
3209
  "use strict";
@@ -3445,15 +3213,15 @@ Object.defineProperty(exports, "__esModule", {
3445
3213
  value: true
3446
3214
  });
3447
3215
 
3448
- var React = __webpack_require__(0);
3216
+ var React = __webpack_require__(1);
3449
3217
 
3450
- var T = __webpack_require__(1);
3218
+ var T = __webpack_require__(0);
3451
3219
 
3452
3220
  var styled_components_1 = __webpack_require__(4);
3453
3221
 
3454
- var PunchcardBubble_1 = __webpack_require__(473);
3222
+ var PunchcardBubble_1 = __webpack_require__(461);
3455
3223
 
3456
- var punchcardUtils_1 = __webpack_require__(122);
3224
+ var punchcardUtils_1 = __webpack_require__(120);
3457
3225
 
3458
3226
  var PunchcardRow = function PunchcardRow(props) {
3459
3227
  var showBubbleLabels = props.showBubbleLabels,
@@ -3567,13 +3335,13 @@ exports.default = (0, styled_components_1.withTheme)(PunchcardRow);
3567
3335
 
3568
3336
  /***/ }),
3569
3337
 
3570
- /***/ 473:
3338
+ /***/ 461:
3571
3339
  /***/ (function(module, exports, __webpack_require__) {
3572
3340
 
3573
3341
  "use strict";
3574
3342
 
3575
3343
 
3576
- var _taggedTemplateLiteral = __webpack_require__(81);
3344
+ var _taggedTemplateLiteral = __webpack_require__(78);
3577
3345
 
3578
3346
  var _templateObject, _templateObject2;
3579
3347
 
@@ -3581,19 +3349,19 @@ Object.defineProperty(exports, "__esModule", {
3581
3349
  value: true
3582
3350
  });
3583
3351
 
3584
- var React = __webpack_require__(0);
3352
+ var React = __webpack_require__(1);
3585
3353
 
3586
- var T = __webpack_require__(1);
3354
+ var T = __webpack_require__(0);
3587
3355
 
3588
3356
  var styled_components_1 = __webpack_require__(4);
3589
3357
 
3590
- var pick_1 = __webpack_require__(30);
3358
+ var pick_1 = __webpack_require__(29);
3591
3359
 
3592
3360
  var variables_1 = __webpack_require__(13);
3593
3361
 
3594
- var numberUtils_1 = __webpack_require__(11);
3362
+ var numberUtils_1 = __webpack_require__(10);
3595
3363
 
3596
- var punchcardUtils_1 = __webpack_require__(122);
3364
+ var punchcardUtils_1 = __webpack_require__(120);
3597
3365
 
3598
3366
  var BubbleCircle = styled_components_1.default.circle.withConfig({
3599
3367
  displayName: "PunchcardBubble__BubbleCircle",
@@ -3748,7 +3516,7 @@ exports.default = PunchcardBubble;
3748
3516
 
3749
3517
  /***/ }),
3750
3518
 
3751
- /***/ 474:
3519
+ /***/ 462:
3752
3520
  /***/ (function(module, exports, __webpack_require__) {
3753
3521
 
3754
3522
  "use strict";
@@ -3758,13 +3526,13 @@ Object.defineProperty(exports, "__esModule", {
3758
3526
  value: true
3759
3527
  });
3760
3528
 
3761
- var React = __webpack_require__(0);
3529
+ var React = __webpack_require__(1);
3762
3530
 
3763
- var T = __webpack_require__(1);
3531
+ var T = __webpack_require__(0);
3764
3532
 
3765
3533
  var styled_components_1 = __webpack_require__(4);
3766
3534
 
3767
- var pick_1 = __webpack_require__(30);
3535
+ var pick_1 = __webpack_require__(29);
3768
3536
 
3769
3537
  var variables_1 = __webpack_require__(13);
3770
3538
 
@@ -3777,17 +3545,17 @@ var LEGEND_OFFSET_RIGHT = 16;
3777
3545
  var LEGEND_OFFSET_BOTTOM = 16;
3778
3546
  var LegendGroup = styled_components_1.default.g.withConfig({
3779
3547
  displayName: "PunchcardLegend__LegendGroup",
3780
- componentId: "c2f7we-0"
3548
+ componentId: "sc-c2f7we-0"
3781
3549
  })(["cursor:pointer;opacity:", ";transition:opacity 0.15s;"], function (props) {
3782
3550
  return props.muted ? 0.15 : 1;
3783
3551
  });
3784
3552
  var LegendIcon = styled_components_1.default.rect.withConfig({
3785
3553
  displayName: "PunchcardLegend__LegendIcon",
3786
- componentId: "c2f7we-1"
3554
+ componentId: "sc-c2f7we-1"
3787
3555
  })(["width:", "px;height:", "px;rx:1px;ry:1px;"], LEGEND_RECT_WIDTH, LEGEND_RECT_HEIGHT);
3788
3556
  var LegendText = styled_components_1.default.text.withConfig({
3789
3557
  displayName: "PunchcardLegend__LegendText",
3790
- componentId: "c2f7we-2"
3558
+ componentId: "sc-c2f7we-2"
3791
3559
  })(["dominant-baseline:middle;fill:", ";font-size:12px;"], (0, pick_1.default)({
3792
3560
  /* was previously named textColor in themeReg */
3793
3561
  enterprise: variables_1.default.textColor,
@@ -3867,7 +3635,7 @@ exports.default = PunchcardLegend;
3867
3635
 
3868
3636
  /***/ }),
3869
3637
 
3870
- /***/ 475:
3638
+ /***/ 463:
3871
3639
  /***/ (function(module, exports, __webpack_require__) {
3872
3640
 
3873
3641
  "use strict";
@@ -3877,15 +3645,15 @@ Object.defineProperty(exports, "__esModule", {
3877
3645
  value: true
3878
3646
  });
3879
3647
 
3880
- var React = __webpack_require__(0);
3648
+ var React = __webpack_require__(1);
3881
3649
 
3882
- var T = __webpack_require__(1);
3650
+ var T = __webpack_require__(0);
3883
3651
 
3884
3652
  var styled_components_1 = __webpack_require__(4);
3885
3653
 
3886
- var lodash_1 = __webpack_require__(3);
3654
+ var lodash_1 = __webpack_require__(2);
3887
3655
 
3888
- var pick_1 = __webpack_require__(30);
3656
+ var pick_1 = __webpack_require__(29);
3889
3657
 
3890
3658
  var variables_1 = __webpack_require__(13); // was previously lineColor in themeRegistry
3891
3659
 
@@ -3953,7 +3721,7 @@ exports.default = PunchcardGridLines;
3953
3721
 
3954
3722
  /***/ }),
3955
3723
 
3956
- /***/ 476:
3724
+ /***/ 464:
3957
3725
  /***/ (function(module, exports, __webpack_require__) {
3958
3726
 
3959
3727
  "use strict";
@@ -3964,9 +3732,9 @@ Object.defineProperty(exports, "__esModule", {
3964
3732
  });
3965
3733
  exports.convertToPunchcardProperties = exports.mapToOldKey = exports.punchcardOptionValuesMapping = void 0;
3966
3734
 
3967
- var lodash_1 = __webpack_require__(3);
3735
+ var lodash_1 = __webpack_require__(2);
3968
3736
 
3969
- var chartingUtils_1 = __webpack_require__(79);
3737
+ var chartingUtils_1 = __webpack_require__(77);
3970
3738
 
3971
3739
  var punchcardOptionsMapping = {
3972
3740
  legendDisplay: 'showLegend',
@@ -4023,7 +3791,7 @@ exports.convertToPunchcardProperties = convertToPunchcardProperties;
4023
3791
 
4024
3792
  /***/ }),
4025
3793
 
4026
- /***/ 48:
3794
+ /***/ 47:
4027
3795
  /***/ (function(module, exports, __webpack_require__) {
4028
3796
 
4029
3797
  "use strict";
@@ -4035,7 +3803,7 @@ Object.defineProperty(exports, "__esModule", {
4035
3803
 
4036
3804
  /***/ }),
4037
3805
 
4038
- /***/ 49:
3806
+ /***/ 48:
4039
3807
  /***/ (function(module, exports, __webpack_require__) {
4040
3808
 
4041
3809
  "use strict";
@@ -4047,7 +3815,7 @@ Object.defineProperty(exports, "__esModule", {
4047
3815
 
4048
3816
  /***/ }),
4049
3817
 
4050
- /***/ 50:
3818
+ /***/ 49:
4051
3819
  /***/ (function(module, exports, __webpack_require__) {
4052
3820
 
4053
3821
  "use strict";
@@ -4059,19 +3827,14 @@ Object.defineProperty(exports, "__esModule", {
4059
3827
 
4060
3828
  /***/ }),
4061
3829
 
4062
- /***/ 51:
4063
- /***/ (function(module, exports, __webpack_require__) {
4064
-
4065
- "use strict";
4066
-
3830
+ /***/ 5:
3831
+ /***/ (function(module, exports) {
4067
3832
 
4068
- Object.defineProperty(exports, "__esModule", {
4069
- value: true
4070
- });
3833
+ module.exports = require("@babel/runtime/helpers/slicedToArray");
4071
3834
 
4072
3835
  /***/ }),
4073
3836
 
4074
- /***/ 52:
3837
+ /***/ 50:
4075
3838
  /***/ (function(module, exports, __webpack_require__) {
4076
3839
 
4077
3840
  "use strict";
@@ -4083,7 +3846,7 @@ Object.defineProperty(exports, "__esModule", {
4083
3846
 
4084
3847
  /***/ }),
4085
3848
 
4086
- /***/ 53:
3849
+ /***/ 51:
4087
3850
  /***/ (function(module, exports, __webpack_require__) {
4088
3851
 
4089
3852
  "use strict";
@@ -4095,7 +3858,7 @@ Object.defineProperty(exports, "__esModule", {
4095
3858
 
4096
3859
  /***/ }),
4097
3860
 
4098
- /***/ 54:
3861
+ /***/ 52:
4099
3862
  /***/ (function(module, exports, __webpack_require__) {
4100
3863
 
4101
3864
  "use strict";
@@ -4107,7 +3870,7 @@ Object.defineProperty(exports, "__esModule", {
4107
3870
 
4108
3871
  /***/ }),
4109
3872
 
4110
- /***/ 55:
3873
+ /***/ 53:
4111
3874
  /***/ (function(module, exports, __webpack_require__) {
4112
3875
 
4113
3876
  "use strict";
@@ -4119,65 +3882,65 @@ Object.defineProperty(exports, "__esModule", {
4119
3882
 
4120
3883
  /***/ }),
4121
3884
 
4122
- /***/ 56:
3885
+ /***/ 54:
4123
3886
  /***/ (function(module, exports, __webpack_require__) {
4124
3887
 
4125
3888
  "use strict";
4126
3889
 
4127
3890
 
4128
- var _slicedToArray = __webpack_require__(7);
3891
+ var _slicedToArray = __webpack_require__(5);
4129
3892
 
4130
3893
  Object.defineProperty(exports, "__esModule", {
4131
3894
  value: true
4132
3895
  });
4133
3896
 
4134
- var React = __webpack_require__(0);
3897
+ var React = __webpack_require__(1);
4135
3898
 
4136
- var lodash_1 = __webpack_require__(3);
3899
+ var lodash_1 = __webpack_require__(2);
4137
3900
 
4138
- var getSettingsFromThemedProps_1 = __webpack_require__(57);
3901
+ var getSettingsFromThemedProps_1 = __webpack_require__(55);
4139
3902
 
4140
3903
  var Options_1 = __webpack_require__(16);
4141
3904
 
4142
- var SanitizeProps_1 = __webpack_require__(58);
3905
+ var SanitizeProps_1 = __webpack_require__(56);
4143
3906
 
4144
- var TimezoneContext_1 = __webpack_require__(32);
3907
+ var TimezoneContext_1 = __webpack_require__(31);
4145
3908
 
4146
- var moment_1 = __webpack_require__(59);
3909
+ var moment_1 = __webpack_require__(57);
4147
3910
 
4148
- var FeatureFlagContext_1 = __webpack_require__(28);
3911
+ var FeatureFlagContext_1 = __webpack_require__(27);
4149
3912
 
4150
3913
  var styled_components_1 = __webpack_require__(4);
4151
3914
 
4152
- var hocUtils_1 = __webpack_require__(34);
3915
+ var hocUtils_1 = __webpack_require__(33);
4153
3916
 
4154
- var JSONSchemaUtils_1 = __webpack_require__(35);
3917
+ var JSONSchemaUtils_1 = __webpack_require__(34);
4155
3918
 
4156
- var async_dynamic_options_evaluator_1 = __webpack_require__(60);
3919
+ var async_dynamic_options_evaluator_1 = __webpack_require__(58);
4157
3920
 
4158
- var id_1 = __webpack_require__(31);
3921
+ var id_1 = __webpack_require__(30);
4159
3922
 
4160
- var SplunkVisualization_1 = __webpack_require__(61);
3923
+ var SplunkVisualization_1 = __webpack_require__(59);
4161
3924
 
4162
- var VizBehavior_1 = __webpack_require__(6);
3925
+ var VizBehavior_1 = __webpack_require__(7);
4163
3926
 
4164
- var getSorting_1 = __webpack_require__(38);
3927
+ var getSorting_1 = __webpack_require__(37);
4165
3928
 
4166
- var getPagination_1 = __webpack_require__(39);
3929
+ var getPagination_1 = __webpack_require__(38);
4167
3930
 
4168
- var useDeepMemo_1 = __webpack_require__(62);
3931
+ var useDeepMemo_1 = __webpack_require__(60);
4169
3932
 
4170
- var MissingPropsMessage_1 = __webpack_require__(63);
3933
+ var MissingPropsMessage_1 = __webpack_require__(61);
4171
3934
 
4172
- var withEditModeCover_1 = __webpack_require__(64);
3935
+ var withEditModeCover_1 = __webpack_require__(62);
4173
3936
 
4174
- var withPlaceholder_1 = __webpack_require__(65);
3937
+ var withPlaceholder_1 = __webpack_require__(63);
4175
3938
 
4176
- var useDownsampleDataSources_1 = __webpack_require__(66);
3939
+ var useDownsampleDataSources_1 = __webpack_require__(64);
4177
3940
 
4178
3941
  var dataUtils_1 = __webpack_require__(14);
4179
3942
 
4180
- var featureFlagUtils_1 = __webpack_require__(68);
3943
+ var featureFlagUtils_1 = __webpack_require__(66);
4181
3944
  /**
4182
3945
  * hoc that wraps a pure react visualization in a Dashboard visualization
4183
3946
  * @param {DashboardVizOpts} opts
@@ -4510,81 +4273,41 @@ exports.default = withDashboardViz;
4510
4273
 
4511
4274
  /***/ }),
4512
4275
 
4513
- /***/ 57:
4276
+ /***/ 55:
4514
4277
  /***/ (function(module, exports) {
4515
4278
 
4516
4279
  module.exports = require("@splunk/themes/getSettingsFromThemedProps");
4517
4280
 
4518
4281
  /***/ }),
4519
4282
 
4520
- /***/ 58:
4283
+ /***/ 56:
4521
4284
  /***/ (function(module, exports) {
4522
4285
 
4523
4286
  module.exports = require("@splunk/visualizations-shared/SanitizeProps");
4524
4287
 
4525
4288
  /***/ }),
4526
4289
 
4527
- /***/ 59:
4290
+ /***/ 57:
4528
4291
  /***/ (function(module, exports) {
4529
4292
 
4530
4293
  module.exports = require("@splunk/moment");
4531
4294
 
4532
4295
  /***/ }),
4533
4296
 
4534
- /***/ 6:
4535
- /***/ (function(module, exports, __webpack_require__) {
4536
-
4537
- "use strict";
4538
-
4539
-
4540
- Object.defineProperty(exports, "__esModule", {
4541
- value: true
4542
- });
4543
- exports.VizBehavior = void 0;
4544
- var VizBehavior;
4545
-
4546
- (function (VizBehavior) {
4547
- /**
4548
- * Dynamic Options Behavior.
4549
- * This allows visualization options to be powered by data
4550
- *
4551
- * **Example**
4552
- *
4553
- * sparklineValues: ">primary|seriesByIndex(0)"
4554
- * would configure sparklineValues with an array of data points
4555
- * coming from the first series in the primary datasource
4556
- *
4557
- */
4558
- VizBehavior["DYNAMIC_OPTIONS"] = "dynamic-options";
4559
- VizBehavior["EVENTS"] = "events";
4560
- VizBehavior["DOWNSAMPLING"] = "downsampling";
4561
- /**
4562
- * Placeholder behavior: visualization will display a placeholder rather than fail if any of the `requiredProps` is
4563
- * missing.
4564
- * @type {string}
4565
- */
4566
-
4567
- VizBehavior["PLACEHOLDER"] = "placeholder";
4568
- VizBehavior["PAGE_AND_SORT"] = "page-and-sort";
4569
- VizBehavior["TRELLIS"] = "trellis";
4570
- })(VizBehavior = exports.VizBehavior || (exports.VizBehavior = {}));
4571
-
4572
- /***/ }),
4573
-
4574
- /***/ 60:
4297
+ /***/ 58:
4575
4298
  /***/ (function(module, exports) {
4576
4299
 
4577
4300
  module.exports = require("@splunk/async-dynamic-options-evaluator");
4578
4301
 
4579
4302
  /***/ }),
4580
4303
 
4581
- /***/ 61:
4304
+ /***/ 59:
4582
4305
  /***/ (function(module, exports, __webpack_require__) {
4583
4306
 
4584
4307
  "use strict";
4585
4308
 
4586
4309
 
4587
- var _classCallCheck = __webpack_require__(10);
4310
+ var _classCallCheck = __webpack_require__(8);
4588
4311
 
4589
4312
  Object.defineProperty(exports, "__esModule", {
4590
4313
  value: true
@@ -4592,9 +4315,9 @@ Object.defineProperty(exports, "__esModule", {
4592
4315
  exports.INITIAL_HEIGHT = exports.INITIAL_WIDTH = void 0;
4593
4316
  /* eslint-disable react/no-unused-prop-types,react/prefer-stateless-function */
4594
4317
 
4595
- var T = __webpack_require__(1);
4318
+ var T = __webpack_require__(0);
4596
4319
 
4597
- var lodash_1 = __webpack_require__(3);
4320
+ var lodash_1 = __webpack_require__(2);
4598
4321
 
4599
4322
  var VizActionHandler_1 = __webpack_require__(21); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
4600
4323
 
@@ -4730,7 +4453,14 @@ exports.default = SplunkVisualization;
4730
4453
 
4731
4454
  /***/ }),
4732
4455
 
4733
- /***/ 62:
4456
+ /***/ 6:
4457
+ /***/ (function(module, exports) {
4458
+
4459
+ module.exports = require("@babel/runtime/helpers/toConsumableArray");
4460
+
4461
+ /***/ }),
4462
+
4463
+ /***/ 60:
4734
4464
  /***/ (function(module, exports, __webpack_require__) {
4735
4465
 
4736
4466
  "use strict";
@@ -4741,9 +4471,9 @@ Object.defineProperty(exports, "__esModule", {
4741
4471
  });
4742
4472
  exports.useDeepMemo = void 0;
4743
4473
 
4744
- var react_1 = __webpack_require__(0);
4474
+ var react_1 = __webpack_require__(1);
4745
4475
 
4746
- var lodash_1 = __webpack_require__(3);
4476
+ var lodash_1 = __webpack_require__(2);
4747
4477
  /**
4748
4478
  * This hook evaluates and stores the result of a passed function and only
4749
4479
  * re-evaluates the function when passed dependencies change.
@@ -4776,7 +4506,7 @@ exports.useDeepMemo = useDeepMemo;
4776
4506
 
4777
4507
  /***/ }),
4778
4508
 
4779
- /***/ 63:
4509
+ /***/ 61:
4780
4510
  /***/ (function(module, exports, __webpack_require__) {
4781
4511
 
4782
4512
  "use strict";
@@ -4787,13 +4517,13 @@ Object.defineProperty(exports, "__esModule", {
4787
4517
  });
4788
4518
  exports.MissingPropsMessage = exports.missingKeys = exports.isMissing = void 0;
4789
4519
 
4790
- var React = __webpack_require__(0);
4520
+ var React = __webpack_require__(1);
4791
4521
 
4792
- var T = __webpack_require__(1);
4522
+ var T = __webpack_require__(0);
4793
4523
 
4794
- var i18n_1 = __webpack_require__(2);
4524
+ var i18n_1 = __webpack_require__(3);
4795
4525
 
4796
- var Message_1 = __webpack_require__(12);
4526
+ var Message_1 = __webpack_require__(11);
4797
4527
 
4798
4528
  var FixedSizeContainer_1 = __webpack_require__(17);
4799
4529
  /**
@@ -4857,7 +4587,7 @@ exports.default = (0, FixedSizeContainer_1.default)(exports.MissingPropsMessage)
4857
4587
 
4858
4588
  /***/ }),
4859
4589
 
4860
- /***/ 64:
4590
+ /***/ 62:
4861
4591
  /***/ (function(module, exports, __webpack_require__) {
4862
4592
 
4863
4593
  "use strict";
@@ -4867,7 +4597,7 @@ Object.defineProperty(exports, "__esModule", {
4867
4597
  value: true
4868
4598
  });
4869
4599
 
4870
- var React = __webpack_require__(0);
4600
+ var React = __webpack_require__(1);
4871
4601
 
4872
4602
  var styled_components_1 = __webpack_require__(4);
4873
4603
 
@@ -4878,7 +4608,7 @@ var Cover = styled_components_1.default.div.withConfig({
4878
4608
  componentId: "sc-1gsbnxb-0"
4879
4609
  })(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
4880
4610
  var Blocker = styled_components_1.default.div.attrs({
4881
- 'data-splunk-visualization-version': "26.2.1 - 714383dbb"
4611
+ 'data-splunk-visualization-version': "26.4.0 - 04078274d"
4882
4612
  }).withConfig({
4883
4613
  displayName: "withEditModeCover__Blocker",
4884
4614
  componentId: "sc-1gsbnxb-1"
@@ -4910,7 +4640,7 @@ exports.default = withEditModeCover;
4910
4640
 
4911
4641
  /***/ }),
4912
4642
 
4913
- /***/ 65:
4643
+ /***/ 63:
4914
4644
  /***/ (function(module, exports, __webpack_require__) {
4915
4645
 
4916
4646
  "use strict";
@@ -4920,15 +4650,15 @@ Object.defineProperty(exports, "__esModule", {
4920
4650
  value: true
4921
4651
  });
4922
4652
 
4923
- var React = __webpack_require__(0);
4653
+ var React = __webpack_require__(1);
4924
4654
 
4925
4655
  var colorUtils_1 = __webpack_require__(15);
4926
4656
 
4927
4657
  var variables_1 = __webpack_require__(13);
4928
4658
 
4929
- var IconPlaceholder_1 = __webpack_require__(37);
4659
+ var IconPlaceholder_1 = __webpack_require__(36);
4930
4660
 
4931
- var VizBehavior_1 = __webpack_require__(6);
4661
+ var VizBehavior_1 = __webpack_require__(7);
4932
4662
 
4933
4663
  var hocUtils_1 = __webpack_require__(23);
4934
4664
 
@@ -4975,27 +4705,30 @@ exports.default = withPlaceholder;
4975
4705
 
4976
4706
  /***/ }),
4977
4707
 
4978
- /***/ 66:
4708
+ /***/ 64:
4979
4709
  /***/ (function(module, exports, __webpack_require__) {
4980
4710
 
4981
4711
  "use strict";
4982
4712
 
4983
4713
 
4984
- var _slicedToArray = __webpack_require__(7);
4714
+ var _slicedToArray = __webpack_require__(5);
4985
4715
 
4986
4716
  Object.defineProperty(exports, "__esModule", {
4987
4717
  value: true
4988
4718
  });
4989
4719
 
4990
- var react_1 = __webpack_require__(0);
4720
+ var react_1 = __webpack_require__(1);
4991
4721
 
4992
- var lodash_1 = __webpack_require__(3);
4722
+ var lodash_1 = __webpack_require__(2);
4993
4723
 
4994
4724
  var dataUtils_1 = __webpack_require__(14);
4995
4725
 
4996
- var usePrevious_1 = __webpack_require__(33);
4726
+ var usePrevious_1 = __webpack_require__(32);
4727
+
4728
+ var useGetXAndYFields_1 = __webpack_require__(65); // Options properties which impact/require re-downsample on change.
4997
4729
 
4998
- var useGetXAndYFields_1 = __webpack_require__(67);
4730
+
4731
+ var downsampleVizOptionProperties = ['nullValueDisplay'];
4999
4732
 
5000
4733
  var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
5001
4734
  var dataSources = _ref.dataSources,
@@ -5009,8 +4742,15 @@ var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
5009
4742
  options: options,
5010
4743
  context: context,
5011
4744
  dataSources: dataSources
5012
- });
5013
- var previousXAndYFieldsWithTypes = (0, usePrevious_1.default)(xAndYFieldsWithTypes);
4745
+ }); // Extract viz options that impact downsampling.
4746
+
4747
+ var downsampleVizOptions = (0, react_1.useMemo)(function () {
4748
+ return (0, lodash_1.pick)(options, downsampleVizOptionProperties);
4749
+ }, [options]);
4750
+ var downsampleDSOptions = (0, react_1.useMemo)(function () {
4751
+ return Object.assign(Object.assign({}, downsampleVizOptions), xAndYFieldsWithTypes);
4752
+ }, [xAndYFieldsWithTypes, downsampleVizOptions]);
4753
+ var previousDownsampleDSOptions = (0, usePrevious_1.default)(downsampleDSOptions);
5014
4754
  var previousDataSources = (0, usePrevious_1.default)(dataSources);
5015
4755
  var previousThreshold = (0, usePrevious_1.default)(threshold);
5016
4756
 
@@ -5018,7 +4758,7 @@ var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
5018
4758
  return isDownsamplingEnabled ? (0, dataUtils_1.downsampleDataSources)({
5019
4759
  dataSources: dataSources,
5020
4760
  threshold: threshold,
5021
- options: xAndYFieldsWithTypes
4761
+ options: downsampleDSOptions
5022
4762
  }) : dataSources;
5023
4763
  }),
5024
4764
  _ref3 = _slicedToArray(_ref2, 2),
@@ -5046,7 +4786,7 @@ var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
5046
4786
  return;
5047
4787
  }
5048
4788
 
5049
- if ((0, lodash_1.isEqual)(previousXAndYFieldsWithTypes, xAndYFieldsWithTypes) && previousDataSources === dataSources && previousThreshold === threshold) {
4789
+ if ((0, lodash_1.isEqual)(previousDownsampleDSOptions, downsampleDSOptions) && previousDataSources === dataSources && previousThreshold === threshold) {
5050
4790
  return;
5051
4791
  } // Debounce the downsampling so we don't have to downsample and execute DSL multiple times
5052
4792
  // while the viz is being resized
@@ -5054,10 +4794,10 @@ var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
5054
4794
 
5055
4795
  debouncedDownsampleDataSources({
5056
4796
  dataSources: dataSources,
5057
- options: xAndYFieldsWithTypes,
4797
+ options: downsampleDSOptions,
5058
4798
  threshold: threshold
5059
4799
  }); // need to detect if this runs as part of the initial render
5060
- }, [dataSources, debouncedDownsampleDataSources, xAndYFieldsWithTypes, threshold, isDownsamplingEnabled, previousXAndYFieldsWithTypes, previousDataSources, previousThreshold]);
4800
+ }, [dataSources, downsampleDSOptions, debouncedDownsampleDataSources, xAndYFieldsWithTypes, threshold, isDownsamplingEnabled, previousDataSources, previousThreshold, previousDownsampleDSOptions]);
5061
4801
  return downsampledDataSources;
5062
4802
  };
5063
4803
 
@@ -5065,19 +4805,19 @@ exports.default = useDownsampleDataSources;
5065
4805
 
5066
4806
  /***/ }),
5067
4807
 
5068
- /***/ 67:
4808
+ /***/ 65:
5069
4809
  /***/ (function(module, exports, __webpack_require__) {
5070
4810
 
5071
4811
  "use strict";
5072
4812
 
5073
4813
 
5074
- var _toConsumableArray = __webpack_require__(8);
4814
+ var _toConsumableArray = __webpack_require__(6);
5075
4815
 
5076
4816
  Object.defineProperty(exports, "__esModule", {
5077
4817
  value: true
5078
4818
  });
5079
4819
 
5080
- var react_1 = __webpack_require__(0);
4820
+ var react_1 = __webpack_require__(1);
5081
4821
 
5082
4822
  var Options_1 = __webpack_require__(16);
5083
4823
  /**
@@ -5180,7 +4920,7 @@ exports.default = useGetXAndYFields;
5180
4920
 
5181
4921
  /***/ }),
5182
4922
 
5183
- /***/ 68:
4923
+ /***/ 66:
5184
4924
  /***/ (function(module, exports, __webpack_require__) {
5185
4925
 
5186
4926
  "use strict";
@@ -5191,7 +4931,7 @@ Object.defineProperty(exports, "__esModule", {
5191
4931
  });
5192
4932
  exports.getFeatureFlag = void 0;
5193
4933
 
5194
- var FeatureFlags_1 = __webpack_require__(69);
4934
+ var FeatureFlags_1 = __webpack_require__(67);
5195
4935
 
5196
4936
  var getFeatureFlag = function getFeatureFlag(context, flagName) {
5197
4937
  // look for feature flag in context first
@@ -5216,7 +4956,7 @@ exports.getFeatureFlag = getFeatureFlag;
5216
4956
 
5217
4957
  /***/ }),
5218
4958
 
5219
- /***/ 69:
4959
+ /***/ 67:
5220
4960
  /***/ (function(module, exports) {
5221
4961
 
5222
4962
  module.exports = require("@splunk/visualization-context/FeatureFlags");
@@ -5224,34 +4964,60 @@ module.exports = require("@splunk/visualization-context/FeatureFlags");
5224
4964
  /***/ }),
5225
4965
 
5226
4966
  /***/ 7:
5227
- /***/ (function(module, exports) {
4967
+ /***/ (function(module, exports, __webpack_require__) {
5228
4968
 
5229
- module.exports = require("@babel/runtime/helpers/slicedToArray");
4969
+ "use strict";
5230
4970
 
5231
- /***/ }),
5232
4971
 
5233
- /***/ 72:
5234
- /***/ (function(module, exports) {
4972
+ Object.defineProperty(exports, "__esModule", {
4973
+ value: true
4974
+ });
4975
+ exports.VizBehavior = void 0;
4976
+ var VizBehavior;
5235
4977
 
5236
- module.exports = require("@splunk/visualization-icons/placeholders");
4978
+ (function (VizBehavior) {
4979
+ /**
4980
+ * Dynamic Options Behavior.
4981
+ * This allows visualization options to be powered by data
4982
+ *
4983
+ * **Example**
4984
+ *
4985
+ * sparklineValues: ">primary|seriesByIndex(0)"
4986
+ * would configure sparklineValues with an array of data points
4987
+ * coming from the first series in the primary datasource
4988
+ *
4989
+ */
4990
+ VizBehavior["DYNAMIC_OPTIONS"] = "dynamic-options";
4991
+ VizBehavior["EVENTS"] = "events";
4992
+ VizBehavior["DOWNSAMPLING"] = "downsampling";
4993
+ /**
4994
+ * Placeholder behavior: visualization will display a placeholder rather than fail if any of the `requiredProps` is
4995
+ * missing.
4996
+ * @type {string}
4997
+ */
4998
+
4999
+ VizBehavior["PLACEHOLDER"] = "placeholder";
5000
+ VizBehavior["PAGE_AND_SORT"] = "page-and-sort";
5001
+ VizBehavior["TRELLIS"] = "trellis";
5002
+ })(VizBehavior = exports.VizBehavior || (exports.VizBehavior = {}));
5237
5003
 
5238
5004
  /***/ }),
5239
5005
 
5240
- /***/ 73:
5006
+ /***/ 70:
5241
5007
  /***/ (function(module, exports) {
5242
5008
 
5243
- module.exports = require("@splunk/visualization-color-palettes");
5009
+ module.exports = require("@splunk/visualization-icons/placeholders");
5244
5010
 
5245
5011
  /***/ }),
5246
5012
 
5247
- /***/ 74:
5013
+ /***/ 71:
5248
5014
  /***/ (function(module, exports) {
5249
5015
 
5250
5016
  module.exports = require("@splunk/visualization-icons");
5251
5017
 
5252
5018
  /***/ }),
5253
5019
 
5254
- /***/ 75:
5020
+ /***/ 72:
5255
5021
  /***/ (function(module, exports, __webpack_require__) {
5256
5022
 
5257
5023
  "use strict";
@@ -5261,14 +5027,14 @@ Object.defineProperty(exports, "__esModule", {
5261
5027
  value: true
5262
5028
  });
5263
5029
 
5264
- var i18n_1 = __webpack_require__(2);
5030
+ var i18n_1 = __webpack_require__(3);
5265
5031
 
5266
5032
  var background = function background(_ref) {
5267
5033
  var label = _ref.label,
5268
5034
  themes = _ref.themes,
5269
5035
  labelPosition = _ref.labelPosition;
5270
5036
  return [{
5271
- label: (0, i18n_1._)(label || 'Background'),
5037
+ label: (0, i18n_1._)(label || 'Background color'),
5272
5038
  option: 'backgroundColor',
5273
5039
  editor: 'editor.color',
5274
5040
  editorProps: {
@@ -5282,13 +5048,20 @@ exports.default = background;
5282
5048
 
5283
5049
  /***/ }),
5284
5050
 
5285
- /***/ 79:
5051
+ /***/ 74:
5052
+ /***/ (function(module, exports) {
5053
+
5054
+ module.exports = require("@splunk/visualization-color-palettes");
5055
+
5056
+ /***/ }),
5057
+
5058
+ /***/ 77:
5286
5059
  /***/ (function(module, exports, __webpack_require__) {
5287
5060
 
5288
5061
  "use strict";
5289
5062
 
5290
5063
 
5291
- var _toConsumableArray = __webpack_require__(8);
5064
+ var _toConsumableArray = __webpack_require__(6);
5292
5065
 
5293
5066
  var __rest = this && this.__rest || function (s, e) {
5294
5067
  var t = {};
@@ -5308,7 +5081,7 @@ Object.defineProperty(exports, "__esModule", {
5308
5081
  });
5309
5082
  exports.shouldEnableSearchZoom = exports.constructFieldsAndColumns = exports.toArrayForSeries = exports.isMultiSeriesData = exports.convertOverlayFields = exports.convertY2AxisOptions = exports.mapToValues = exports.truncateData = exports.getAnnotations = void 0;
5310
5083
 
5311
- var lodash_1 = __webpack_require__(3);
5084
+ var lodash_1 = __webpack_require__(2);
5312
5085
  /**
5313
5086
  * Get formatted annotations
5314
5087
  * @method getAnnotations
@@ -5520,24 +5293,24 @@ exports.shouldEnableSearchZoom = shouldEnableSearchZoom;
5520
5293
 
5521
5294
  /***/ }),
5522
5295
 
5523
- /***/ 8:
5296
+ /***/ 78:
5524
5297
  /***/ (function(module, exports) {
5525
5298
 
5526
- module.exports = require("@babel/runtime/helpers/toConsumableArray");
5299
+ module.exports = require("@babel/runtime/helpers/taggedTemplateLiteral");
5527
5300
 
5528
5301
  /***/ }),
5529
5302
 
5530
- /***/ 81:
5303
+ /***/ 8:
5531
5304
  /***/ (function(module, exports) {
5532
5305
 
5533
- module.exports = require("@babel/runtime/helpers/taggedTemplateLiteral");
5306
+ module.exports = require("@babel/runtime/helpers/classCallCheck");
5534
5307
 
5535
5308
  /***/ }),
5536
5309
 
5537
5310
  /***/ 9:
5538
5311
  /***/ (function(module, exports) {
5539
5312
 
5540
- module.exports = require("@babel/runtime/helpers/defineProperty");
5313
+ module.exports = require("@splunk/visualization-schemas");
5541
5314
 
5542
5315
  /***/ })
5543
5316