@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/Table.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 = 501);
90
+ /******/ return __webpack_require__(__webpack_require__.s = 489);
91
91
  /******/ })
92
92
  /************************************************************************/
93
93
  /******/ ({
@@ -95,86 +95,86 @@ 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
- /***/ 105:
116
+ /***/ 102:
117
117
  /***/ (function(module, exports) {
118
118
 
119
119
  module.exports = require("@babel/runtime/helpers/typeof");
120
120
 
121
121
  /***/ }),
122
122
 
123
- /***/ 11:
123
+ /***/ 108:
124
124
  /***/ (function(module, exports) {
125
125
 
126
- module.exports = require("@splunk/visualizations-shared/numberUtils");
126
+ module.exports = require("@babel/runtime/helpers/assertThisInitialized");
127
127
 
128
128
  /***/ }),
129
129
 
130
- /***/ 111:
130
+ /***/ 11:
131
131
  /***/ (function(module, exports) {
132
132
 
133
- module.exports = require("@babel/runtime/helpers/assertThisInitialized");
133
+ module.exports = require("@splunk/visualizations-shared/Message");
134
134
 
135
135
  /***/ }),
136
136
 
137
- /***/ 117:
137
+ /***/ 113:
138
138
  /***/ (function(module, exports) {
139
139
 
140
140
  module.exports = require("@splunk/react-ui/Paginator");
141
141
 
142
142
  /***/ }),
143
143
 
144
- /***/ 118:
144
+ /***/ 114:
145
145
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
146
146
 
147
147
  "use strict";
148
148
  __webpack_require__.r(__webpack_exports__);
149
- /* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(70);
149
+ /* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(68);
150
150
  /* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__);
151
- /* harmony import */ var _babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(10);
151
+ /* harmony import */ var _babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(8);
152
152
  /* harmony import */ var _babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_1__);
153
- /* harmony import */ var _babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(25);
153
+ /* harmony import */ var _babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(24);
154
154
  /* harmony import */ var _babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_2__);
155
- /* harmony import */ var _babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(111);
155
+ /* harmony import */ var _babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(108);
156
156
  /* harmony import */ var _babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3__);
157
- /* harmony import */ var _babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(94);
157
+ /* harmony import */ var _babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(91);
158
158
  /* harmony import */ var _babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_4__);
159
- /* harmony import */ var _babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(95);
159
+ /* harmony import */ var _babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(92);
160
160
  /* harmony import */ var _babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_5__);
161
- /* harmony import */ var _babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(85);
161
+ /* harmony import */ var _babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(82);
162
162
  /* harmony import */ var _babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_6__);
163
- /* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(9);
163
+ /* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(12);
164
164
  /* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_7__);
165
- /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(1);
165
+ /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(0);
166
166
  /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_8__);
167
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(0);
167
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(1);
168
168
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_9__);
169
- /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(3);
169
+ /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(2);
170
170
  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_10__);
171
171
  /* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(4);
172
172
  /* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_11__);
173
- /* harmony import */ var _splunk_react_ui_Popover__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(84);
173
+ /* harmony import */ var _splunk_react_ui_Popover__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(81);
174
174
  /* harmony import */ var _splunk_react_ui_Popover__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_splunk_react_ui_Popover__WEBPACK_IMPORTED_MODULE_12__);
175
- /* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(2);
175
+ /* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(3);
176
176
  /* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_13__);
177
- /* harmony import */ var _splunk_ui_utils_id__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(31);
177
+ /* harmony import */ var _splunk_ui_utils_id__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(30);
178
178
  /* harmony import */ var _splunk_ui_utils_id__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(_splunk_ui_utils_id__WEBPACK_IMPORTED_MODULE_14__);
179
179
 
180
180
 
@@ -786,7 +786,7 @@ _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_7___default()(Spa
786
786
  /***/ 12:
787
787
  /***/ (function(module, exports) {
788
788
 
789
- module.exports = require("@splunk/visualizations-shared/Message");
789
+ module.exports = require("@babel/runtime/helpers/defineProperty");
790
790
 
791
791
  /***/ }),
792
792
 
@@ -797,7 +797,7 @@ module.exports = require("@splunk/themes/variables");
797
797
 
798
798
  /***/ }),
799
799
 
800
- /***/ 135:
800
+ /***/ 133:
801
801
  /***/ (function(module, exports) {
802
802
 
803
803
  module.exports = require("@splunk/react-ui/Table");
@@ -815,9 +815,9 @@ Object.defineProperty(exports, "__esModule", {
815
815
  });
816
816
  exports.downsampleDataSources = exports.calculateDownsamplingThreshold = exports.calculateThresholdOnRangeSelect = exports.isDownsamplingEnabledForViz = exports.convertToArrOfObjects = void 0;
817
817
 
818
- var numberUtils_1 = __webpack_require__(11);
818
+ var numberUtils_1 = __webpack_require__(10);
819
819
 
820
- var interfaces_1 = __webpack_require__(40); // TODO: utilize this fn in ParallelCoordinates
820
+ var interfaces_1 = __webpack_require__(39); // TODO: utilize this fn in ParallelCoordinates
821
821
 
822
822
 
823
823
  var convertToArrOfObjects = function convertToArrOfObjects(columns, fields) {
@@ -952,19 +952,21 @@ var largestTriangleThreeBuckets = function largestTriangleThreeBuckets(data, thr
952
952
  */
953
953
 
954
954
 
955
- var strictlyCoerceYColumn = function strictlyCoerceYColumn(column) {
956
- // Splunk charting allows for numbers in formats such as negative hex that
955
+ var strictlyCoerceYColumn = function strictlyCoerceYColumn(column, options) {
956
+ var isNullCoercionEnabled = options.nullValueDisplay === 'zero'; // Splunk charting allows for numbers in formats such as negative hex that
957
957
  // Number() does not support and also allows loose coercion of hex numbers (but not other formats)
958
958
  // We want to identify columns which contain at least one value that can be loosely coerced
959
+
959
960
  var canLooselyCoerceSomeValues = column.findIndex(function (value) {
960
- return (0, numberUtils_1.startsWithNumber)("".concat(value));
961
+ return (0, numberUtils_1.startsWithNumber)("".concat(value)) || isNullCoercionEnabled && value === null;
961
962
  }) >= 0; // If not all values in column can be strictly coerced to a number, we do not downsample
962
963
 
963
964
  var coercedColumn = [];
964
965
  var canDownsampleColumn = !column.some(function (value) {
965
- var coercedValue = Number(value); // if it can't be parsed or isn't safe, fail
966
+ var coercedValue = Number(value);
967
+ var coerceValueToZero = isNullCoercionEnabled && value === null; // if it can't be parsed or isn't safe, fail
966
968
 
967
- if (Number.isNaN(coercedValue) || coercedValue <= Number.MIN_SAFE_INTEGER || coercedValue >= Number.MAX_SAFE_INTEGER || typeof value !== 'string' && typeof value !== 'number') {
969
+ if (Number.isNaN(coercedValue) || coercedValue <= Number.MIN_SAFE_INTEGER || coercedValue >= Number.MAX_SAFE_INTEGER || typeof value !== 'string' && typeof value !== 'number' && !coerceValueToZero) {
968
970
  return true;
969
971
  } // save value and continue to next
970
972
 
@@ -1045,8 +1047,7 @@ var calculateDownsamplingThreshold = function calculateDownsamplingThreshold(_re
1045
1047
  dataSources = _ref3.dataSources,
1046
1048
  selectChartEvent = _ref3.selectChartEvent,
1047
1049
  width = _ref3.width,
1048
- xField = _ref3.xField,
1049
- y2Fields = _ref3.y2Fields;
1050
+ xField = _ref3.xField;
1050
1051
 
1051
1052
  var _a, _b, _c;
1052
1053
 
@@ -1083,14 +1084,7 @@ var calculateDownsamplingThreshold = function calculateDownsamplingThreshold(_re
1083
1084
  });
1084
1085
  var lastIndex = fullSeries.findIndex(function (x) {
1085
1086
  return downsampledSeries[endXIndex] === x;
1086
- }); // For charts with categorical x-axis (charts with an xField that isn't _time), do not support
1087
- // re-calculating downsampling threshold if the chart is zoomed in until SPL-259458 is fixed
1088
- // Also do not support re-calculating downsampling threshold for zoomed-in charts with y2
1089
- // until SPL-259611 is fixed
1090
-
1091
- if (xField !== '_time' || (y2Fields === null || y2Fields === void 0 ? void 0 : y2Fields.length)) {
1092
- return firstIndex === 0 && lastIndex === fullSeries.length - 1 ? width : null;
1093
- }
1087
+ });
1094
1088
 
1095
1089
  if (firstIndex >= 0 && lastIndex >= 0 && firstIndex <= lastIndex) {
1096
1090
  return (0, exports.calculateThresholdOnRangeSelect)({
@@ -1101,6 +1095,7 @@ var calculateDownsamplingThreshold = function calculateDownsamplingThreshold(_re
1101
1095
  });
1102
1096
  }
1103
1097
  } catch (e) {
1098
+ // eslint-disable-next-line no-console
1104
1099
  console.error('Error occurred while setting downsample threshold on range select event', e);
1105
1100
  }
1106
1101
 
@@ -1139,7 +1134,7 @@ var isColumnStrictlyIncreasing = function isColumnStrictlyIncreasing(column, fie
1139
1134
  */
1140
1135
 
1141
1136
 
1142
- var tryToCoerceAllDisplayedFields = function tryToCoerceAllDisplayedFields(ds, xField, yFields, fieldTypes) {
1137
+ var tryToCoerceAllDisplayedFields = function tryToCoerceAllDisplayedFields(ds, xField, yFields, fieldTypes, options) {
1143
1138
  var xColumn = [];
1144
1139
  var yColumns = [];
1145
1140
  var canDownsample = !ds.data.fields.some(function (field, index) {
@@ -1153,7 +1148,7 @@ var tryToCoerceAllDisplayedFields = function tryToCoerceAllDisplayedFields(ds, x
1153
1148
  if (fieldName === xField) {
1154
1149
  xColumn = strictlyCoerceXColumn(column, fieldType);
1155
1150
  } else if (yFields.has(fieldName)) {
1156
- var _strictlyCoerceYColum = strictlyCoerceYColumn(ds.data.columns[index]),
1151
+ var _strictlyCoerceYColum = strictlyCoerceYColumn(ds.data.columns[index], options),
1157
1152
  coercedColumn = _strictlyCoerceYColum.coercedColumn,
1158
1153
  canLooselyCoerceSomeValues = _strictlyCoerceYColum.canLooselyCoerceSomeValues,
1159
1154
  canDownsampleColumn = _strictlyCoerceYColum.canDownsampleColumn; // do not perform downsampling if a column can possibly be displayed but cannot
@@ -1243,7 +1238,7 @@ var downsampleDataSources = function downsampleDataSources(_ref4) {
1243
1238
  return dataSources;
1244
1239
  }
1245
1240
 
1246
- var _tryToCoerceAllDispla = tryToCoerceAllDisplayedFields(primaryDS, xField, nonInternalYFields, fieldTypes),
1241
+ var _tryToCoerceAllDispla = tryToCoerceAllDisplayedFields(primaryDS, xField, nonInternalYFields, fieldTypes, options),
1247
1242
  xColumn = _tryToCoerceAllDispla.xColumn,
1248
1243
  yColumns = _tryToCoerceAllDispla.yColumns;
1249
1244
 
@@ -1267,6 +1262,7 @@ var downsampleDataSources = function downsampleDataSources(_ref4) {
1267
1262
  return downsampledIndices.add(downsampleIndex);
1268
1263
  });
1269
1264
  } catch (e) {
1265
+ // eslint-disable-next-line no-console
1270
1266
  console.error("Error occurred while downsampling column ".concat(columnIndex), e);
1271
1267
  }
1272
1268
  }); // update data columns with downsampled columns
@@ -1279,7 +1275,7 @@ exports.downsampleDataSources = downsampleDataSources;
1279
1275
 
1280
1276
  /***/ }),
1281
1277
 
1282
- /***/ 146:
1278
+ /***/ 143:
1283
1279
  /***/ (function(module, exports) {
1284
1280
 
1285
1281
  module.exports = require("@splunk/react-ui/Message");
@@ -1293,25 +1289,6 @@ module.exports = require("@splunk/visualizations-shared/colorUtils");
1293
1289
 
1294
1290
  /***/ }),
1295
1291
 
1296
- /***/ 159:
1297
- /***/ (function(module, exports, __webpack_require__) {
1298
-
1299
- "use strict";
1300
-
1301
-
1302
- Object.defineProperty(exports, "__esModule", {
1303
- value: true
1304
- });
1305
- exports.validFontSizes = exports.validTextOverflows = exports.validAlignments = exports.validHeaderVisibilities = exports.validSparklineTypes = exports.validCellRenderers = void 0;
1306
- exports.validCellRenderers = ['TextCell', 'ArrayCell', 'SparklineCell'];
1307
- exports.validSparklineTypes = ['line', 'area'];
1308
- exports.validHeaderVisibilities = ['none', 'fixed', 'inline'];
1309
- exports.validAlignments = ['left', 'center', 'right'];
1310
- exports.validTextOverflows = ['anywhere', 'break-word', 'ellipsis'];
1311
- exports.validFontSizes = ['extraSmall', 'small', 'default', 'large'];
1312
-
1313
- /***/ }),
1314
-
1315
1292
  /***/ 16:
1316
1293
  /***/ (function(module, exports) {
1317
1294
 
@@ -1325,13 +1302,13 @@ module.exports = require("@splunk/visualization-encoding/Options");
1325
1302
  "use strict";
1326
1303
 
1327
1304
 
1328
- var _slicedToArray = __webpack_require__(7);
1305
+ var _slicedToArray = __webpack_require__(5);
1329
1306
 
1330
1307
  Object.defineProperty(exports, "__esModule", {
1331
1308
  value: true
1332
1309
  });
1333
1310
 
1334
- var React = __webpack_require__(0);
1311
+ var React = __webpack_require__(1);
1335
1312
 
1336
1313
  var styled_components_1 = __webpack_require__(4);
1337
1314
 
@@ -1339,7 +1316,7 @@ var style_1 = __webpack_require__(18);
1339
1316
 
1340
1317
  var colorUtils_1 = __webpack_require__(15);
1341
1318
 
1342
- var SizeAwareWrapper_1 = __webpack_require__(26);
1319
+ var SizeAwareWrapper_1 = __webpack_require__(25);
1343
1320
 
1344
1321
  var Item = styled_components_1.default.div.attrs(function (_ref) {
1345
1322
  var width = _ref.width;
@@ -1410,7 +1387,7 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
1410
1387
 
1411
1388
  return React.createElement(FixSizeItem, {
1412
1389
  "data-test": "fix-size-item",
1413
- "data-splunk-visualization-version": "26.2.1 - 714383dbb",
1390
+ "data-splunk-visualization-version": "26.4.0 - 04078274d",
1414
1391
  width: width,
1415
1392
  height: height,
1416
1393
  backgroundColor: backgroundColor
@@ -1439,29 +1416,13 @@ module.exports = require("@splunk/visualizations-shared/style");
1439
1416
 
1440
1417
  /***/ }),
1441
1418
 
1442
- /***/ 19:
1419
+ /***/ 186:
1443
1420
  /***/ (function(module, exports, __webpack_require__) {
1444
1421
 
1445
1422
  "use strict";
1446
1423
 
1447
1424
 
1448
- Object.defineProperty(exports, "__esModule", {
1449
- value: true
1450
- });
1451
- exports.validOutputModes = exports.validSegmentationModes = exports.validSortDirs = void 0;
1452
- exports.validSortDirs = ['asc', 'desc', 'none'];
1453
- exports.validSegmentationModes = ['none', 'inner'];
1454
- exports.validOutputModes = ['json_cols', 'json'];
1455
-
1456
- /***/ }),
1457
-
1458
- /***/ 191:
1459
- /***/ (function(module, exports, __webpack_require__) {
1460
-
1461
- "use strict";
1462
-
1463
-
1464
- var _slicedToArray = __webpack_require__(7);
1425
+ var _slicedToArray = __webpack_require__(5);
1465
1426
 
1466
1427
  var __rest = this && this.__rest || function (s, e) {
1467
1428
  var t = {};
@@ -1481,17 +1442,17 @@ Object.defineProperty(exports, "__esModule", {
1481
1442
  });
1482
1443
  exports.config = exports.PureTable = exports.themes = exports.computeVizProps = void 0;
1483
1444
 
1484
- var lodash_1 = __webpack_require__(3);
1445
+ var lodash_1 = __webpack_require__(2);
1485
1446
 
1486
1447
  var colorUtils_1 = __webpack_require__(15);
1487
1448
 
1488
- var config_1 = __webpack_require__(502);
1449
+ var config_1 = __webpack_require__(490);
1489
1450
 
1490
1451
  exports.config = config_1.default;
1491
1452
 
1492
- var withDashboardViz_1 = __webpack_require__(56);
1453
+ var withDashboardViz_1 = __webpack_require__(54);
1493
1454
 
1494
- var PureTable_1 = __webpack_require__(506);
1455
+ var PureTable_1 = __webpack_require__(494);
1495
1456
 
1496
1457
  exports.PureTable = PureTable_1.default;
1497
1458
 
@@ -1592,7 +1553,22 @@ exports.default = Table;
1592
1553
  /***/ 2:
1593
1554
  /***/ (function(module, exports) {
1594
1555
 
1595
- module.exports = require("@splunk/ui-utils/i18n");
1556
+ module.exports = require("lodash");
1557
+
1558
+ /***/ }),
1559
+
1560
+ /***/ 20:
1561
+ /***/ (function(module, exports, __webpack_require__) {
1562
+
1563
+ "use strict";
1564
+
1565
+
1566
+ Object.defineProperty(exports, "__esModule", {
1567
+ value: true
1568
+ });
1569
+ exports.validOutputModes = exports.validSortDirs = void 0;
1570
+ exports.validSortDirs = ['asc', 'desc', 'none'];
1571
+ exports.validOutputModes = ['json_cols', 'json'];
1596
1572
 
1597
1573
  /***/ }),
1598
1574
 
@@ -1602,9 +1578,9 @@ module.exports = require("@splunk/ui-utils/i18n");
1602
1578
  "use strict";
1603
1579
 
1604
1580
 
1605
- var _classCallCheck = __webpack_require__(10);
1581
+ var _classCallCheck = __webpack_require__(8);
1606
1582
 
1607
- var _createClass = __webpack_require__(25);
1583
+ var _createClass = __webpack_require__(24);
1608
1584
 
1609
1585
  Object.defineProperty(exports, "__esModule", {
1610
1586
  value: true
@@ -1699,123 +1675,41 @@ exports.extendStaticWrapperProps = extendStaticWrapperProps;
1699
1675
  /***/ 24:
1700
1676
  /***/ (function(module, exports) {
1701
1677
 
1702
- module.exports = require("@splunk/visualizations-shared/schemaUtils");
1703
-
1704
- /***/ }),
1705
-
1706
- /***/ 25:
1707
- /***/ (function(module, exports) {
1708
-
1709
1678
  module.exports = require("@babel/runtime/helpers/createClass");
1710
1679
 
1711
1680
  /***/ }),
1712
1681
 
1713
- /***/ 26:
1682
+ /***/ 25:
1714
1683
  /***/ (function(module, exports) {
1715
1684
 
1716
1685
  module.exports = require("@splunk/visualizations-shared/SizeAwareWrapper");
1717
1686
 
1718
1687
  /***/ }),
1719
1688
 
1720
- /***/ 27:
1689
+ /***/ 26:
1721
1690
  /***/ (function(module, exports, __webpack_require__) {
1722
1691
 
1723
1692
  "use strict";
1724
1693
 
1725
1694
 
1726
- var _toConsumableArray = __webpack_require__(8);
1727
-
1728
- var _defineProperty = __webpack_require__(9);
1729
-
1730
- var __rest = this && this.__rest || function (s, e) {
1731
- var t = {};
1732
-
1733
- for (var p in s) {
1734
- if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
1735
- }
1736
-
1737
- if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
1738
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
1739
- }
1740
- return t;
1741
- };
1695
+ var _toConsumableArray = __webpack_require__(6);
1742
1696
 
1743
1697
  Object.defineProperty(exports, "__esModule", {
1744
1698
  value: true
1745
1699
  });
1746
- exports.insertLayout = exports.isDynamicOption = exports.uncollapseEditorConfig = exports.generatePrecisionValues = exports.getInitialPreset = exports.enhanceOptionsSchemaWithDynamicOptions = exports.enhanceConfig = void 0;
1747
-
1748
- var lodash_1 = __webpack_require__(3);
1749
-
1750
- var schemaUtils_1 = __webpack_require__(24);
1751
-
1752
- var VizBehavior_1 = __webpack_require__(6);
1753
-
1754
- var dynamicOptionsDSLType = {
1755
- type: 'string',
1756
- pattern: schemaUtils_1.DYNAMIC_OPTIONS_DSL_PATTERN
1757
- };
1758
- /**
1759
- * Helper function to extend an options schema with dynamic options DSL
1760
- * @param optionsSchema a visualization's options schema
1761
- * @returns an updated options schema that additionally allows strings starting with > for each option
1762
- */
1700
+ exports.insertLayout = exports.isDynamicOption = exports.uncollapseEditorConfig = exports.generatePrecisionValues = exports.getInitialPreset = exports.enhanceConfig = exports.enhanceOptionsSchemaWithDynamicOptions = void 0;
1763
1701
 
1764
- function enhanceOptionsSchemaWithDynamicOptions(optionsSchema) {
1765
- var enhancedOptionsSchema = {};
1766
- Object.keys(optionsSchema).forEach(function (key) {
1767
- var _a = optionsSchema[key],
1768
- title = _a.title,
1769
- description = _a.description,
1770
- readOnly = _a.readOnly,
1771
- writeOnly = _a.writeOnly,
1772
- examples = _a.examples,
1773
- defaultValue = _a.default,
1774
- type = _a.type,
1775
- properties = _a.properties,
1776
- patternProperties = _a.patternProperties,
1777
- remainingSchemaEntry = __rest(_a, ["title", "description", "readOnly", "writeOnly", "examples", "default", "type", "properties", "patternProperties"]);
1778
-
1779
- var annotations = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, title !== undefined && {
1780
- title: title
1781
- }), description !== undefined && {
1782
- description: description
1783
- }), readOnly !== undefined && {
1784
- readOnly: readOnly
1785
- }), writeOnly !== undefined && {
1786
- writeOnly: writeOnly
1787
- }), examples !== undefined && {
1788
- examples: examples
1789
- }), defaultValue !== undefined && {
1790
- default: defaultValue
1791
- });
1702
+ var lodash_1 = __webpack_require__(2); // included for backwards compatibility
1792
1703
 
1793
- if (type === 'object') {
1794
- enhancedOptionsSchema[key] = Object.assign(Object.assign(Object.assign(Object.assign({}, remainingSchemaEntry), annotations), {
1795
- type: type
1796
- }), properties && {
1797
- properties: enhanceOptionsSchemaWithDynamicOptions(properties)
1798
- });
1799
1704
 
1800
- if (patternProperties) {
1801
- var enhancedPatternProperties = {};
1802
- Object.keys(patternProperties).forEach(function (opt) {
1803
- enhancedPatternProperties = Object.assign(Object.assign({}, enhancedPatternProperties), enhanceOptionsSchemaWithDynamicOptions(_defineProperty({}, opt, patternProperties[opt])));
1804
- });
1805
- enhancedOptionsSchema[key].patternProperties = enhancedPatternProperties;
1806
- }
1807
- } else {
1808
- enhancedOptionsSchema[key] = Object.assign(Object.assign({}, annotations), {
1809
- anyOf: [Object.assign(Object.assign({}, type !== undefined && {
1810
- type: type
1811
- }), remainingSchemaEntry), dynamicOptionsDSLType]
1812
- });
1813
- }
1814
- });
1815
- return enhancedOptionsSchema;
1816
- }
1705
+ var visualization_schemas_1 = __webpack_require__(9);
1817
1706
 
1818
- exports.enhanceOptionsSchemaWithDynamicOptions = enhanceOptionsSchemaWithDynamicOptions;
1707
+ Object.defineProperty(exports, "enhanceOptionsSchemaWithDynamicOptions", {
1708
+ enumerable: true,
1709
+ get: function get() {
1710
+ return visualization_schemas_1.enhanceOptionsSchemaWithDynamicOptions;
1711
+ }
1712
+ });
1819
1713
  /**
1820
1714
  * Helper function to enhance a Visualization Config as needed based on behaviors specified in supports block
1821
1715
  * this function also collapse all editor panels
@@ -1826,11 +1720,6 @@ exports.enhanceOptionsSchemaWithDynamicOptions = enhanceOptionsSchemaWithDynamic
1826
1720
 
1827
1721
  function enhanceConfig(vizConfig) {
1828
1722
  var enhancedConfig = Object.assign({}, vizConfig);
1829
-
1830
- if (vizConfig.supports.indexOf(VizBehavior_1.VizBehavior.DYNAMIC_OPTIONS) !== -1) {
1831
- enhancedConfig.optionsSchema = enhanceOptionsSchemaWithDynamicOptions(vizConfig.optionsSchema);
1832
- }
1833
-
1834
1723
  enhancedConfig.editorConfig = vizConfig.editorConfig.map(function (config) {
1835
1724
  return Object.assign(Object.assign({}, config), {
1836
1725
  open: config.open || false
@@ -1954,42 +1843,42 @@ exports.insertLayout = insertLayout;
1954
1843
 
1955
1844
  /***/ }),
1956
1845
 
1957
- /***/ 28:
1846
+ /***/ 27:
1958
1847
  /***/ (function(module, exports) {
1959
1848
 
1960
1849
  module.exports = require("@splunk/visualization-context/FeatureFlagContext");
1961
1850
 
1962
1851
  /***/ }),
1963
1852
 
1964
- /***/ 3:
1853
+ /***/ 29:
1965
1854
  /***/ (function(module, exports) {
1966
1855
 
1967
- module.exports = require("lodash");
1856
+ module.exports = require("@splunk/themes/pick");
1968
1857
 
1969
1858
  /***/ }),
1970
1859
 
1971
- /***/ 30:
1860
+ /***/ 3:
1972
1861
  /***/ (function(module, exports) {
1973
1862
 
1974
- module.exports = require("@splunk/themes/pick");
1863
+ module.exports = require("@splunk/ui-utils/i18n");
1975
1864
 
1976
1865
  /***/ }),
1977
1866
 
1978
- /***/ 31:
1867
+ /***/ 30:
1979
1868
  /***/ (function(module, exports) {
1980
1869
 
1981
1870
  module.exports = require("@splunk/ui-utils/id");
1982
1871
 
1983
1872
  /***/ }),
1984
1873
 
1985
- /***/ 32:
1874
+ /***/ 31:
1986
1875
  /***/ (function(module, exports) {
1987
1876
 
1988
1877
  module.exports = require("@splunk/visualization-context/TimezoneContext");
1989
1878
 
1990
1879
  /***/ }),
1991
1880
 
1992
- /***/ 33:
1881
+ /***/ 32:
1993
1882
  /***/ (function(module, exports, __webpack_require__) {
1994
1883
 
1995
1884
  "use strict";
@@ -1999,7 +1888,7 @@ Object.defineProperty(exports, "__esModule", {
1999
1888
  value: true
2000
1889
  });
2001
1890
 
2002
- var react_1 = __webpack_require__(0);
1891
+ var react_1 = __webpack_require__(1);
2003
1892
 
2004
1893
  function usePrevious(value) {
2005
1894
  var ref = (0, react_1.useRef)();
@@ -2013,21 +1902,21 @@ exports.default = usePrevious;
2013
1902
 
2014
1903
  /***/ }),
2015
1904
 
2016
- /***/ 34:
1905
+ /***/ 33:
2017
1906
  /***/ (function(module, exports) {
2018
1907
 
2019
1908
  module.exports = require("@splunk/visualizations-shared/hocUtils");
2020
1909
 
2021
1910
  /***/ }),
2022
1911
 
2023
- /***/ 35:
1912
+ /***/ 34:
2024
1913
  /***/ (function(module, exports) {
2025
1914
 
2026
1915
  module.exports = require("@splunk/visualizations-shared/JSONSchemaUtils");
2027
1916
 
2028
1917
  /***/ }),
2029
1918
 
2030
- /***/ 37:
1919
+ /***/ 36:
2031
1920
  /***/ (function(module, exports, __webpack_require__) {
2032
1921
 
2033
1922
  "use strict";
@@ -2038,15 +1927,15 @@ Object.defineProperty(exports, "__esModule", {
2038
1927
  });
2039
1928
  exports.shouldShowIconPlaceholder = void 0;
2040
1929
 
2041
- var React = __webpack_require__(0);
1930
+ var React = __webpack_require__(1);
2042
1931
 
2043
- var T = __webpack_require__(1);
1932
+ var T = __webpack_require__(0);
2044
1933
 
2045
- var lodash_1 = __webpack_require__(3);
1934
+ var lodash_1 = __webpack_require__(2);
2046
1935
 
2047
- var i18n_1 = __webpack_require__(2);
1936
+ var i18n_1 = __webpack_require__(3);
2048
1937
 
2049
- var Message_1 = __webpack_require__(12);
1938
+ var Message_1 = __webpack_require__(11);
2050
1939
 
2051
1940
  var FixedSizeContainer_1 = __webpack_require__(17);
2052
1941
  /**
@@ -2120,24 +2009,24 @@ exports.default = (0, FixedSizeContainer_1.default)(IconPlaceholder);
2120
2009
 
2121
2010
  /***/ }),
2122
2011
 
2123
- /***/ 38:
2012
+ /***/ 37:
2124
2013
  /***/ (function(module, exports, __webpack_require__) {
2125
2014
 
2126
2015
  "use strict";
2127
2016
 
2128
2017
 
2129
- var _defineProperty = __webpack_require__(9);
2018
+ var _defineProperty = __webpack_require__(12);
2130
2019
 
2131
2020
  Object.defineProperty(exports, "__esModule", {
2132
2021
  value: true
2133
2022
  });
2134
2023
  exports.getSortingParams = exports.SortParamsPropTypes = void 0;
2135
2024
 
2136
- var T = __webpack_require__(1);
2025
+ var T = __webpack_require__(0);
2137
2026
 
2138
- var lodash_1 = __webpack_require__(3);
2027
+ var lodash_1 = __webpack_require__(2);
2139
2028
 
2140
- var DataSource_1 = __webpack_require__(19);
2029
+ var DataSource_1 = __webpack_require__(20);
2141
2030
 
2142
2031
  exports.SortParamsPropTypes = T.shape({
2143
2032
  currentSortKey: T.string,
@@ -2191,7 +2080,7 @@ exports.getSortingParams = getSortingParams;
2191
2080
 
2192
2081
  /***/ }),
2193
2082
 
2194
- /***/ 39:
2083
+ /***/ 38:
2195
2084
  /***/ (function(module, exports, __webpack_require__) {
2196
2085
 
2197
2086
  "use strict";
@@ -2202,9 +2091,9 @@ Object.defineProperty(exports, "__esModule", {
2202
2091
  });
2203
2092
  exports.getPaginationParams = exports.PaginatorParamsPropTypes = void 0;
2204
2093
 
2205
- var T = __webpack_require__(1);
2094
+ var T = __webpack_require__(0);
2206
2095
 
2207
- var lodash_1 = __webpack_require__(3);
2096
+ var lodash_1 = __webpack_require__(2);
2208
2097
 
2209
2098
  exports.PaginatorParamsPropTypes = T.shape({
2210
2099
  isPaging: T.bool,
@@ -2256,14 +2145,7 @@ exports.getPaginationParams = getPaginationParams;
2256
2145
 
2257
2146
  /***/ }),
2258
2147
 
2259
- /***/ 4:
2260
- /***/ (function(module, exports) {
2261
-
2262
- module.exports = require("styled-components");
2263
-
2264
- /***/ }),
2265
-
2266
- /***/ 40:
2148
+ /***/ 39:
2267
2149
  /***/ (function(module, exports, __webpack_require__) {
2268
2150
 
2269
2151
  "use strict";
@@ -2298,11 +2180,13 @@ Object.defineProperty(exports, "__esModule", {
2298
2180
  value: true
2299
2181
  });
2300
2182
 
2183
+ __exportStar(__webpack_require__(40), exports);
2184
+
2301
2185
  __exportStar(__webpack_require__(41), exports);
2302
2186
 
2303
- __exportStar(__webpack_require__(42), exports);
2187
+ __exportStar(__webpack_require__(20), exports);
2304
2188
 
2305
- __exportStar(__webpack_require__(19), exports);
2189
+ __exportStar(__webpack_require__(42), exports);
2306
2190
 
2307
2191
  __exportStar(__webpack_require__(43), exports);
2308
2192
 
@@ -2314,16 +2198,16 @@ __exportStar(__webpack_require__(46), exports);
2314
2198
 
2315
2199
  __exportStar(__webpack_require__(47), exports);
2316
2200
 
2317
- __exportStar(__webpack_require__(48), exports);
2318
-
2319
- __exportStar(__webpack_require__(49), exports);
2320
-
2321
2201
  __exportStar(__webpack_require__(21), exports);
2322
2202
 
2323
- __exportStar(__webpack_require__(6), exports);
2203
+ __exportStar(__webpack_require__(7), exports);
2324
2204
 
2325
2205
  __exportStar(__webpack_require__(22), exports);
2326
2206
 
2207
+ __exportStar(__webpack_require__(48), exports);
2208
+
2209
+ __exportStar(__webpack_require__(49), exports);
2210
+
2327
2211
  __exportStar(__webpack_require__(50), exports);
2328
2212
 
2329
2213
  __exportStar(__webpack_require__(51), exports);
@@ -2332,13 +2216,16 @@ __exportStar(__webpack_require__(52), exports);
2332
2216
 
2333
2217
  __exportStar(__webpack_require__(53), exports);
2334
2218
 
2335
- __exportStar(__webpack_require__(54), exports);
2219
+ /***/ }),
2220
+
2221
+ /***/ 4:
2222
+ /***/ (function(module, exports) {
2336
2223
 
2337
- __exportStar(__webpack_require__(55), exports);
2224
+ module.exports = require("styled-components");
2338
2225
 
2339
2226
  /***/ }),
2340
2227
 
2341
- /***/ 41:
2228
+ /***/ 40:
2342
2229
  /***/ (function(module, exports, __webpack_require__) {
2343
2230
 
2344
2231
  "use strict";
@@ -2350,7 +2237,7 @@ Object.defineProperty(exports, "__esModule", {
2350
2237
 
2351
2238
  /***/ }),
2352
2239
 
2353
- /***/ 42:
2240
+ /***/ 41:
2354
2241
  /***/ (function(module, exports, __webpack_require__) {
2355
2242
 
2356
2243
  "use strict";
@@ -2365,19 +2252,7 @@ Object.defineProperty(exports, "__esModule", {
2365
2252
 
2366
2253
  /***/ }),
2367
2254
 
2368
- /***/ 43:
2369
- /***/ (function(module, exports, __webpack_require__) {
2370
-
2371
- "use strict";
2372
-
2373
-
2374
- Object.defineProperty(exports, "__esModule", {
2375
- value: true
2376
- });
2377
-
2378
- /***/ }),
2379
-
2380
- /***/ 44:
2255
+ /***/ 42:
2381
2256
  /***/ (function(module, exports, __webpack_require__) {
2382
2257
 
2383
2258
  "use strict";
@@ -2389,7 +2264,7 @@ Object.defineProperty(exports, "__esModule", {
2389
2264
 
2390
2265
  /***/ }),
2391
2266
 
2392
- /***/ 45:
2267
+ /***/ 43:
2393
2268
  /***/ (function(module, exports, __webpack_require__) {
2394
2269
 
2395
2270
  "use strict";
@@ -2401,7 +2276,7 @@ Object.defineProperty(exports, "__esModule", {
2401
2276
 
2402
2277
  /***/ }),
2403
2278
 
2404
- /***/ 46:
2279
+ /***/ 44:
2405
2280
  /***/ (function(module, exports, __webpack_require__) {
2406
2281
 
2407
2282
  "use strict";
@@ -2413,7 +2288,7 @@ Object.defineProperty(exports, "__esModule", {
2413
2288
 
2414
2289
  /***/ }),
2415
2290
 
2416
- /***/ 47:
2291
+ /***/ 45:
2417
2292
  /***/ (function(module, exports, __webpack_require__) {
2418
2293
 
2419
2294
  "use strict";
@@ -2425,7 +2300,7 @@ Object.defineProperty(exports, "__esModule", {
2425
2300
 
2426
2301
  /***/ }),
2427
2302
 
2428
- /***/ 48:
2303
+ /***/ 46:
2429
2304
  /***/ (function(module, exports, __webpack_require__) {
2430
2305
 
2431
2306
  "use strict";
@@ -2437,7 +2312,7 @@ Object.defineProperty(exports, "__esModule", {
2437
2312
 
2438
2313
  /***/ }),
2439
2314
 
2440
- /***/ 49:
2315
+ /***/ 47:
2441
2316
  /***/ (function(module, exports, __webpack_require__) {
2442
2317
 
2443
2318
  "use strict";
@@ -2449,7 +2324,7 @@ Object.defineProperty(exports, "__esModule", {
2449
2324
 
2450
2325
  /***/ }),
2451
2326
 
2452
- /***/ 50:
2327
+ /***/ 48:
2453
2328
  /***/ (function(module, exports, __webpack_require__) {
2454
2329
 
2455
2330
  "use strict";
@@ -2461,7 +2336,7 @@ Object.defineProperty(exports, "__esModule", {
2461
2336
 
2462
2337
  /***/ }),
2463
2338
 
2464
- /***/ 501:
2339
+ /***/ 489:
2465
2340
  /***/ (function(module, exports, __webpack_require__) {
2466
2341
 
2467
2342
  "use strict";
@@ -2499,9 +2374,9 @@ exports.default = void 0; // NOTE: wildcard syntax only works for named exports
2499
2374
  // for some reason, omitting the default export worked before TS v4
2500
2375
  // see: https://stackoverflow.com/a/34445175
2501
2376
 
2502
- __exportStar(__webpack_require__(191), exports);
2377
+ __exportStar(__webpack_require__(186), exports);
2503
2378
 
2504
- var Table_1 = __webpack_require__(191);
2379
+ var Table_1 = __webpack_require__(186);
2505
2380
 
2506
2381
  Object.defineProperty(exports, "default", {
2507
2382
  enumerable: true,
@@ -2512,45 +2387,55 @@ Object.defineProperty(exports, "default", {
2512
2387
 
2513
2388
  /***/ }),
2514
2389
 
2515
- /***/ 502:
2390
+ /***/ 49:
2516
2391
  /***/ (function(module, exports, __webpack_require__) {
2517
2392
 
2518
2393
  "use strict";
2519
2394
 
2520
2395
 
2521
- var _toConsumableArray = __webpack_require__(8);
2396
+ Object.defineProperty(exports, "__esModule", {
2397
+ value: true
2398
+ });
2399
+
2400
+ /***/ }),
2401
+
2402
+ /***/ 490:
2403
+ /***/ (function(module, exports, __webpack_require__) {
2404
+
2405
+ "use strict";
2406
+
2407
+
2408
+ var _toConsumableArray = __webpack_require__(6);
2522
2409
 
2523
2410
  Object.defineProperty(exports, "__esModule", {
2524
2411
  value: true
2525
2412
  });
2526
2413
 
2527
- var i18n_1 = __webpack_require__(2);
2414
+ var i18n_1 = __webpack_require__(3);
2528
2415
 
2529
- var lodash_1 = __webpack_require__(3);
2416
+ var lodash_1 = __webpack_require__(2);
2530
2417
 
2531
- var schemaUtils_1 = __webpack_require__(24);
2418
+ var visualization_schemas_1 = __webpack_require__(9);
2532
2419
 
2533
- var colorConstants_1 = __webpack_require__(71);
2420
+ var colorConstants_1 = __webpack_require__(69);
2534
2421
 
2535
- var visualization_icons_1 = __webpack_require__(74);
2422
+ var visualization_icons_1 = __webpack_require__(71);
2536
2423
 
2537
- var placeholders_1 = __webpack_require__(72);
2424
+ var placeholders_1 = __webpack_require__(70);
2538
2425
 
2539
2426
  var variables_1 = __webpack_require__(13);
2540
2427
 
2541
- var pick_1 = __webpack_require__(30);
2542
-
2543
- var TextAlignCenter_1 = __webpack_require__(503);
2428
+ var pick_1 = __webpack_require__(29);
2544
2429
 
2545
- var TextAlignLeft_1 = __webpack_require__(504);
2430
+ var TextAlignCenter_1 = __webpack_require__(491);
2546
2431
 
2547
- var TextAlignRight_1 = __webpack_require__(505);
2432
+ var TextAlignLeft_1 = __webpack_require__(492);
2548
2433
 
2549
- var configUtils_1 = __webpack_require__(27);
2434
+ var TextAlignRight_1 = __webpack_require__(493);
2550
2435
 
2551
- var VizBehavior_1 = __webpack_require__(6);
2436
+ var configUtils_1 = __webpack_require__(26);
2552
2437
 
2553
- var consts_1 = __webpack_require__(159);
2438
+ var VizBehavior_1 = __webpack_require__(7);
2554
2439
 
2555
2440
  var VizCategory_1 = __webpack_require__(22);
2556
2441
 
@@ -2626,6 +2511,11 @@ var defaultContext = {
2626
2511
  match: 'null',
2627
2512
  value: 'TextCell'
2628
2513
  }],
2514
+ tableDataFormatByType: {
2515
+ time: {
2516
+ format: 'YYYY-MM-DD HH:mm:ss'
2517
+ }
2518
+ },
2629
2519
  // NOTE: These contexts are used by the table background color editor.
2630
2520
  // Please be careful removing/renaming/altering them.
2631
2521
  // There are unit tests and visual test that will capture breakages.
@@ -2798,320 +2688,6 @@ var matchColorConfig = [{
2798
2688
  match: '',
2799
2689
  value: '#5C33FF'
2800
2690
  }];
2801
- var optionsSchema = {
2802
- backgroundColor: {
2803
- default: '> themes.defaultBackgroundColor',
2804
- description: 'Specify the color for the background. You might use a data source to apply the color. The default for enterprise light is "#FFFFFF". The default for enterprise dark is "#000000". The default for prisma dark is "#0B0C0E".',
2805
- pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA,
2806
- type: 'string'
2807
- },
2808
- columnFormat: {
2809
- description: 'Lets you format an individual column in a table. Specify a column in a table as a field, followed by a property. For more information, see the Column Format Align - Left example on the Examples page.',
2810
- type: 'object',
2811
- patternProperties: {
2812
- '.*': {
2813
- description: 'Customization for column property',
2814
- type: 'object',
2815
- properties: {
2816
- align: {
2817
- description: 'Specify the alignment for the whole column. Valid alignments include "left", "center", and "right". You can also pass an array to specify the alignment of each cell. When set to "auto", the column will use the same configuration as tableFormat.align.',
2818
- type: ['string', 'array'],
2819
- items: {
2820
- type: 'string',
2821
- enum: consts_1.validAlignments.concat()
2822
- },
2823
- default: 'auto'
2824
- },
2825
- cellTypes: {
2826
- description: 'Specify how to render data in cells. Valid cell renders include "TextCell", "ArrayCell", "SparklineCell".',
2827
- type: 'array',
2828
- items: {
2829
- type: 'string',
2830
- enum: consts_1.validCellRenderers.concat()
2831
- }
2832
- },
2833
- data: {
2834
- description: 'Specify data points to be displayed in the cells of a column.',
2835
- type: 'array',
2836
- items: {
2837
- oneOf: [{
2838
- type: 'string'
2839
- }, {
2840
- type: 'number'
2841
- }, {
2842
- type: 'array',
2843
- items: {
2844
- type: ['string', 'number']
2845
- }
2846
- }]
2847
- }
2848
- },
2849
- headerAlign: {
2850
- description: 'Specify the heaader alignment for the whole column. Valid alignments include "left", "center", and "right". When set to "auto", the column will use the same configuration as tableFormat.headerAlign',
2851
- type: 'string',
2852
- items: {
2853
- type: 'string',
2854
- enum: consts_1.validAlignments.concat()
2855
- },
2856
- default: 'auto'
2857
- },
2858
- rowBackgroundColors: {
2859
- description: 'Specify a list of colors, in hexadecimal code, for the background color of each column of the table. For example, ["#2C333B", "32373D"].',
2860
- type: 'array',
2861
- items: {
2862
- type: 'string',
2863
- pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA
2864
- }
2865
- },
2866
- rowColors: {
2867
- description: 'Specify a list of colors, in hexadecimal code, for the text color of the cells of a column. For example, ["#2C333B", "32373D"].',
2868
- type: 'array',
2869
- items: {
2870
- type: 'string',
2871
- pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA
2872
- }
2873
- },
2874
- sparklineAreaColors: {
2875
- description: 'Specify a list of colors, in hexadecimal code, for the sparkline area of each column. For example, ["#2C333B", "32373D"].',
2876
- type: 'array',
2877
- items: {
2878
- type: 'string',
2879
- pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA
2880
- }
2881
- },
2882
- sparklineColors: {
2883
- description: 'Specify a list of colors, in hexadecimal code, for the sparkline stroke of each column. For example, ["#2C333B", "32373D"].',
2884
- type: 'array',
2885
- items: {
2886
- type: 'string',
2887
- pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA
2888
- }
2889
- },
2890
- sparklineTypes: {
2891
- description: 'Choose either area or line formatting for the Sparkline. Valid sparkline types include "line" and "area".',
2892
- type: 'array',
2893
- items: {
2894
- type: 'string',
2895
- enum: consts_1.validSparklineTypes.concat()
2896
- }
2897
- },
2898
- textOverflow: {
2899
- description: 'Controls how the text should be truncated within a particular column. Valid types include "anywhere", "break-word", "ellipsis". Columns are "break-word" styled by default when "textOverflow" is not configured.',
2900
- type: 'string',
2901
- pattern: (0, schemaUtils_1.getPattern)(consts_1.validTextOverflows),
2902
- enum: consts_1.validTextOverflows.concat()
2903
- },
2904
- width: {
2905
- description: 'Specify, in pixels, the width of the column. The default displays a minimum width of at least 90, unless the table needs to filled further. The minimum width is 30px.',
2906
- type: 'number',
2907
- minimum: 30
2908
- }
2909
- }
2910
- }
2911
- }
2912
- },
2913
- count: {
2914
- description: 'Specify the maximum number of rows to display.',
2915
- type: 'number',
2916
- default: 10
2917
- },
2918
- font: {
2919
- default: 'proportional',
2920
- description: 'Specify the font style to use for table content.',
2921
- type: 'string',
2922
- pattern: (0, schemaUtils_1.getPattern)(['proportional', 'monospace'])
2923
- },
2924
- fontSize: {
2925
- default: 'default',
2926
- description: 'Specify the font size to use for table content. Font sizes range from extra small (10px) to large (16px) with the default being 14px.',
2927
- type: 'string',
2928
- pattern: (0, schemaUtils_1.getPattern)(consts_1.validFontSizes)
2929
- },
2930
- headers: {
2931
- default: '> table | getField()',
2932
- description: "Specify an array of headers to display on the table. Though these can be statically listed, it's best to use the dynamic default, as it will return the fields of your search.",
2933
- type: 'array',
2934
- items: {
2935
- type: 'string'
2936
- }
2937
- },
2938
- headerVisibility: {
2939
- default: 'inline',
2940
- description: 'Specify how to display the table header row.',
2941
- pattern: (0, schemaUtils_1.getPattern)(consts_1.validHeaderVisibilities),
2942
- enum: consts_1.validHeaderVisibilities.concat(),
2943
- type: 'string'
2944
- },
2945
- paginateDataSourceKey: {
2946
- default: 'primary',
2947
- description: 'Specify the data source key for pagination and sorting.',
2948
- type: 'string'
2949
- },
2950
- showInternalFields: {
2951
- default: true,
2952
- description: 'Specify whether to show internal fields that start with an underscore. The _time field will still be shown if false.',
2953
- type: 'boolean'
2954
- },
2955
- showRowNumbers: {
2956
- default: false,
2957
- description: 'Show row numbers in the first column.',
2958
- type: 'boolean'
2959
- },
2960
- table: {
2961
- default: '> primary',
2962
- description: 'Two dimensional array of data to be displayed in the table.',
2963
- type: 'array',
2964
- items: {
2965
- type: 'array',
2966
- items: {
2967
- oneOf: [{
2968
- type: 'string'
2969
- }, {
2970
- type: 'number'
2971
- }, {
2972
- type: 'array',
2973
- items: {
2974
- type: ['string', 'number']
2975
- }
2976
- }]
2977
- }
2978
- }
2979
- },
2980
- tableFormat: {
2981
- description: 'Lets you set global options for a table.',
2982
- type: 'object',
2983
- properties: {
2984
- align: {
2985
- default: '> table | type() | matchValue(tableAlignByType)',
2986
- description: 'Specify alignment for the whole table. Valid alignments include "left", "center", and "right". You can also pass a 2 dimensional array to specify the alignment of each cell. By default, the table will be aligned by type.',
2987
- type: ['string', 'array'],
2988
- items: {
2989
- type: 'array',
2990
- items: {
2991
- type: 'string',
2992
- enum: consts_1.validAlignments.concat()
2993
- }
2994
- }
2995
- },
2996
- cellTypes: {
2997
- default: '> table | type() | matchValue(tableCellTypeByType)',
2998
- description: 'Specify how to render data in cells. Valid cell renders include "TextCell", "ArrayCell", "SparklineCell".',
2999
- type: 'array',
3000
- items: {
3001
- type: 'array',
3002
- items: {
3003
- type: 'string',
3004
- enum: consts_1.validCellRenderers.concat()
3005
- }
3006
- }
3007
- },
3008
- data: {
3009
- description: 'Two dimensional data to be displayed in the table. This is usually formatted data instead of raw data from search.',
3010
- type: 'array',
3011
- items: {
3012
- type: 'array',
3013
- items: {
3014
- oneOf: [{
3015
- type: 'string'
3016
- }, {
3017
- type: 'number'
3018
- }, {
3019
- type: 'array',
3020
- items: {
3021
- type: ['string', 'number']
3022
- }
3023
- }]
3024
- }
3025
- }
3026
- },
3027
- headerAlign: {
3028
- description: 'Specify the header alignment for the whole table. Valid alignments include "left", "center", and "right".',
3029
- type: 'string',
3030
- items: {
3031
- type: 'string',
3032
- enum: consts_1.validAlignments.concat()
3033
- },
3034
- default: 'left'
3035
- },
3036
- headerBackgroundColor: {
3037
- default: '> themes.defaultHeaderBackgroundColor',
3038
- description: 'Specify the table header background color using a hexadecimal code. For example, "#FFFFFF".',
3039
- pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA,
3040
- type: 'string'
3041
- },
3042
- headerColor: {
3043
- description: 'Specify the table header text color using a hexadecimal code. For example, "#FFFFFF".',
3044
- pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA,
3045
- type: 'string'
3046
- },
3047
- rowBackgroundColors: {
3048
- default: '> table | seriesByIndex(0) | pick(tableAltRowBackgroundColorsByTheme)',
3049
- description: 'Specify a list of colors, in hexadecimal code, for the background color of each row of the table. For example, ["#2C333B", "32373D"].',
3050
- type: 'array',
3051
- items: {
3052
- type: 'array',
3053
- items: {
3054
- type: 'string',
3055
- pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA
3056
- }
3057
- }
3058
- },
3059
- rowColors: {
3060
- description: 'Specify a list of colors, in hexadecimal code, for the text color of each row of the table. For example, ["#2C333B", "32373D"].',
3061
- type: 'array',
3062
- items: {
3063
- type: 'array',
3064
- items: {
3065
- type: 'string',
3066
- pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA
3067
- }
3068
- }
3069
- },
3070
- sparklineAreaColors: {
3071
- description: 'Specify a list of colors, in hexadecimal code, for the sparkline area of each row of the table. For example, ["#2C333B", "32373D"].',
3072
- type: 'array',
3073
- items: {
3074
- type: 'array',
3075
- items: {
3076
- type: 'string',
3077
- pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA
3078
- }
3079
- }
3080
- },
3081
- sparklineColors: {
3082
- description: 'Specify a list of colors, in hexadecimal code, for the sparkline stroke of each row of the table. For example, ["#2C333B", "32373D"].',
3083
- type: 'array',
3084
- items: {
3085
- type: 'array',
3086
- items: {
3087
- type: 'string',
3088
- pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA
3089
- }
3090
- }
3091
- },
3092
- sparklineTypes: {
3093
- description: 'Choose either area or line formatting for the Sparkline.',
3094
- type: 'array',
3095
- items: {
3096
- type: 'array',
3097
- items: {
3098
- type: 'string',
3099
- enum: consts_1.validSparklineTypes.concat()
3100
- }
3101
- }
3102
- },
3103
- textOverflow: {
3104
- description: 'Specify the text overflow for the whole column. Valid overflows include "break-word", "anywhere", and "ellipsis".',
3105
- type: 'string',
3106
- items: {
3107
- type: 'string',
3108
- enum: consts_1.validTextOverflows.concat()
3109
- },
3110
- default: 'break-word'
3111
- }
3112
- }
3113
- }
3114
- };
3115
2691
  var themes = {
3116
2692
  defaultBackgroundColor: function defaultBackgroundColor(props) {
3117
2693
  return (0, pick_1.default)({
@@ -3303,6 +2879,9 @@ var editorConfig = [{
3303
2879
  align: 'auto',
3304
2880
  headerAlign: 'auto',
3305
2881
  textOverflow: 'break-word'
2882
+ },
2883
+ time: {
2884
+ format: 'YYYY-MM-DD HH:mm:ss'
3306
2885
  }
3307
2886
  },
3308
2887
  textFormatConfig: [[Object.assign({}, headerAlignConfigColumn)], [Object.assign({}, textAlignConfigColumn)], [Object.assign({}, textOverflowConfigColumn)]],
@@ -3370,7 +2949,7 @@ var config = {
3370
2949
  dataContract: dataContract,
3371
2950
  size: size,
3372
2951
  defaultContext: defaultContext,
3373
- optionsSchema: optionsSchema,
2952
+ optionsSchema: visualization_schemas_1.tableOptionsSchema,
3374
2953
  editorConfig: editorConfig,
3375
2954
  events: {
3376
2955
  'cell.click': {
@@ -3384,36 +2963,36 @@ exports.default = (0, configUtils_1.enhanceConfig)(config);
3384
2963
 
3385
2964
  /***/ }),
3386
2965
 
3387
- /***/ 503:
2966
+ /***/ 491:
3388
2967
  /***/ (function(module, exports) {
3389
2968
 
3390
2969
  module.exports = require("@splunk/react-icons/TextAlignCenter");
3391
2970
 
3392
2971
  /***/ }),
3393
2972
 
3394
- /***/ 504:
2973
+ /***/ 492:
3395
2974
  /***/ (function(module, exports) {
3396
2975
 
3397
2976
  module.exports = require("@splunk/react-icons/TextAlignLeft");
3398
2977
 
3399
2978
  /***/ }),
3400
2979
 
3401
- /***/ 505:
2980
+ /***/ 493:
3402
2981
  /***/ (function(module, exports) {
3403
2982
 
3404
2983
  module.exports = require("@splunk/react-icons/TextAlignRight");
3405
2984
 
3406
2985
  /***/ }),
3407
2986
 
3408
- /***/ 506:
2987
+ /***/ 494:
3409
2988
  /***/ (function(module, exports, __webpack_require__) {
3410
2989
 
3411
2990
  "use strict";
3412
2991
 
3413
2992
 
3414
- var _slicedToArray = __webpack_require__(7);
2993
+ var _slicedToArray = __webpack_require__(5);
3415
2994
 
3416
- var _taggedTemplateLiteral = __webpack_require__(81);
2995
+ var _taggedTemplateLiteral = __webpack_require__(78);
3417
2996
 
3418
2997
  var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6;
3419
2998
 
@@ -3435,45 +3014,45 @@ Object.defineProperty(exports, "__esModule", {
3435
3014
  });
3436
3015
  exports.INITIAL_UNSET_COLUMN_WIDTH = exports.MINIMUM_COLUMN_SIZE = void 0;
3437
3016
 
3438
- var React = __webpack_require__(0);
3017
+ var React = __webpack_require__(1);
3439
3018
 
3440
- var T = __webpack_require__(1);
3019
+ var T = __webpack_require__(0);
3441
3020
 
3442
- var lodash_1 = __webpack_require__(3);
3021
+ var lodash_1 = __webpack_require__(2);
3443
3022
 
3444
3023
  var styled_components_1 = __webpack_require__(4);
3445
3024
 
3446
- var i18n_1 = __webpack_require__(2);
3025
+ var i18n_1 = __webpack_require__(3);
3447
3026
 
3448
- var Table_1 = __webpack_require__(135);
3027
+ var Table_1 = __webpack_require__(133);
3449
3028
 
3450
- var Paginator_1 = __webpack_require__(117);
3029
+ var Paginator_1 = __webpack_require__(113);
3451
3030
 
3452
- var Message_1 = __webpack_require__(146);
3031
+ var Message_1 = __webpack_require__(143);
3453
3032
 
3454
3033
  var colorUtils_1 = __webpack_require__(15);
3455
3034
 
3456
3035
  var style_1 = __webpack_require__(18);
3457
3036
 
3458
- var pick_1 = __webpack_require__(30);
3037
+ var pick_1 = __webpack_require__(29);
3459
3038
 
3460
3039
  var variables_1 = __webpack_require__(13);
3461
3040
 
3462
- var hooks_1 = __webpack_require__(507);
3041
+ var visualization_schemas_1 = __webpack_require__(9);
3463
3042
 
3464
- var consts_1 = __webpack_require__(159);
3043
+ var hooks_1 = __webpack_require__(495);
3465
3044
 
3466
- var cells_1 = __webpack_require__(508);
3045
+ var cells_1 = __webpack_require__(496);
3467
3046
 
3468
- var getPagination_1 = __webpack_require__(39);
3047
+ var getPagination_1 = __webpack_require__(38);
3469
3048
 
3470
- var getSorting_1 = __webpack_require__(38);
3049
+ var getSorting_1 = __webpack_require__(37);
3471
3050
 
3472
3051
  var FixedSizeContainer_1 = __webpack_require__(17); // debounce was imported this way due to typing
3473
3052
  // eslint-disable-next-line import/order
3474
3053
 
3475
3054
 
3476
- var debounce = __webpack_require__(513);
3055
+ var debounce = __webpack_require__(501);
3477
3056
 
3478
3057
  exports.MINIMUM_COLUMN_SIZE = 30;
3479
3058
  exports.INITIAL_UNSET_COLUMN_WIDTH = 90;
@@ -3485,7 +3064,7 @@ var TableHeadCell = (0, styled_components_1.default)(Table_1.default.HeadCell)(_
3485
3064
  });
3486
3065
  var VizTableContainer = styled_components_1.default.div.withConfig({
3487
3066
  displayName: "PureTable__VizTableContainer",
3488
- componentId: "tovzjg-0"
3067
+ componentId: "sc-tovzjg-0"
3489
3068
  })(["box-sizing:border-box;padding:", ";background-color:", ";display:flex;flex-flow:column nowrap;overflow:hidden;td,* > td:hover{color:", ";}"], (0, pick_1.default)({
3490
3069
  enterprise: variables_1.default.spacingHalf,
3491
3070
  prisma: variables_1.default.spacingSmall
@@ -3500,7 +3079,7 @@ var PAGINATOR_CONTAINER_HEIGHT = 38;
3500
3079
  var PAGINATOR_SPACING = 5;
3501
3080
  var SUITableContainer = styled_components_1.default.div.withConfig({
3502
3081
  displayName: "PureTable__SUITableContainer",
3503
- componentId: "tovzjg-1"
3082
+ componentId: "sc-tovzjg-1"
3504
3083
  })(["& *{font-family:", ";font-size:", ";line-height:", ";}box-sizing:border-box;flex-grow:1;overflow:hidden;", ";", ";", " ", " [data-test=\"main-table\"]{", " td{white-space:pre-wrap;}}"], function (props) {
3505
3084
  return props.font;
3506
3085
  }, function (props) {
@@ -3543,7 +3122,7 @@ var SUITableContainer = styled_components_1.default.div.withConfig({
3543
3122
  SUITableContainer.displayName = 'SUITableContainer';
3544
3123
  var PaginatorContainer = styled_components_1.default.div.withConfig({
3545
3124
  displayName: "PureTable__PaginatorContainer",
3546
- componentId: "tovzjg-2"
3125
+ componentId: "sc-tovzjg-2"
3547
3126
  })(["position:relative;text-align:right;height:", "px;"], PAGINATOR_CONTAINER_HEIGHT);
3548
3127
  PaginatorContainer.displayName = 'PaginatorContainer'; // allow for early return in case of empty tableBody while still following hook rules
3549
3128
 
@@ -3899,18 +3478,18 @@ PureTable.propTypes = {
3899
3478
  backgroundColor: T.string,
3900
3479
  count: T.number,
3901
3480
  columnFormat: T.objectOf(T.shape({
3902
- align: T.oneOfType([T.arrayOf(T.oneOf(consts_1.validAlignments)), T.oneOf(consts_1.validAlignments)]),
3903
- cellTypes: T.arrayOf(T.oneOf(consts_1.validCellRenderers)),
3481
+ align: T.oneOfType([T.arrayOf(T.oneOf(visualization_schemas_1.validColumnAlignments)), T.oneOf(visualization_schemas_1.validColumnAlignments)]),
3482
+ cellTypes: T.arrayOf(T.oneOf(visualization_schemas_1.validCellRenderers)),
3904
3483
  data: T.arrayOf(cellDataType),
3905
- headerAlign: T.oneOf(consts_1.validAlignments),
3484
+ headerAlign: T.oneOf(visualization_schemas_1.validColumnAlignments),
3906
3485
  rowBackgroundColors: T.arrayOf(T.string),
3907
3486
  rowColors: T.arrayOf(T.string),
3908
3487
  sparklineAreaColors: T.arrayOf(T.string),
3909
3488
  sparklineColors: T.arrayOf(T.string),
3910
- sparklineTypes: T.arrayOf(T.oneOf(consts_1.validSparklineTypes))
3489
+ sparklineTypes: T.arrayOf(T.oneOf(visualization_schemas_1.validSparklineTypes))
3911
3490
  })),
3912
3491
  headers: T.arrayOf(T.string),
3913
- headerVisibility: T.oneOf(consts_1.validHeaderVisibilities),
3492
+ headerVisibility: T.oneOf(visualization_schemas_1.validHeaderVisibilities),
3914
3493
  height: T.oneOfType([T.number]),
3915
3494
  mode: T.string,
3916
3495
  onCellClick: T.func,
@@ -3919,17 +3498,17 @@ PureTable.propTypes = {
3919
3498
  sortParams: getSorting_1.SortParamsPropTypes,
3920
3499
  table: T.arrayOf(T.arrayOf(cellDataType)),
3921
3500
  tableFormat: T.shape({
3922
- align: T.oneOfType([T.arrayOf(T.arrayOf(T.oneOf(consts_1.validAlignments))), T.oneOf(consts_1.validAlignments)]),
3923
- cellTypes: T.arrayOf(T.arrayOf(T.oneOf(consts_1.validCellRenderers))),
3501
+ align: T.oneOfType([T.arrayOf(T.arrayOf(T.oneOf(visualization_schemas_1.validAlignments))), T.oneOf(visualization_schemas_1.validAlignments)]),
3502
+ cellTypes: T.arrayOf(T.arrayOf(T.oneOf(visualization_schemas_1.validCellRenderers))),
3924
3503
  data: T.arrayOf(T.arrayOf(cellDataType)),
3925
- headerAlign: T.oneOf(consts_1.validAlignments),
3504
+ headerAlign: T.oneOf(visualization_schemas_1.validAlignments),
3926
3505
  headerBackgroundColor: T.string,
3927
3506
  headerColor: T.string,
3928
3507
  rowBackgroundColors: T.oneOfType([T.arrayOf(T.string), T.arrayOf(T.arrayOf(T.string))]),
3929
3508
  rowColors: T.oneOfType([T.arrayOf(T.string), T.arrayOf(T.arrayOf(T.string))]),
3930
3509
  sparklineAreaColors: T.arrayOf(T.arrayOf(T.string)),
3931
3510
  sparklineColors: T.arrayOf(T.arrayOf(T.string)),
3932
- sparklineTypes: T.arrayOf(T.arrayOf(T.oneOf(consts_1.validSparklineTypes)))
3511
+ sparklineTypes: T.arrayOf(T.arrayOf(T.oneOf(visualization_schemas_1.validSparklineTypes)))
3933
3512
  }),
3934
3513
  theme: T.any,
3935
3514
  width: T.oneOfType([T.number]),
@@ -3965,26 +3544,26 @@ exports.default = withEmptyTableMessage((0, FixedSizeContainer_1.default)(PureTa
3965
3544
 
3966
3545
  /***/ }),
3967
3546
 
3968
- /***/ 507:
3547
+ /***/ 495:
3969
3548
  /***/ (function(module, exports, __webpack_require__) {
3970
3549
 
3971
3550
  "use strict";
3972
3551
 
3973
3552
 
3974
- var _toConsumableArray = __webpack_require__(8);
3553
+ var _toConsumableArray = __webpack_require__(6);
3975
3554
 
3976
- var _typeof = __webpack_require__(105);
3555
+ var _typeof = __webpack_require__(102);
3977
3556
 
3978
3557
  Object.defineProperty(exports, "__esModule", {
3979
3558
  value: true
3980
3559
  });
3981
3560
  exports.useTable = exports.getTextOverflowType = exports.getOverflowStyles = void 0;
3982
3561
 
3983
- var lodash_1 = __webpack_require__(3);
3562
+ var lodash_1 = __webpack_require__(2);
3984
3563
 
3985
3564
  var colorUtils_1 = __webpack_require__(15);
3986
3565
 
3987
- var consts_1 = __webpack_require__(159);
3566
+ var visualization_schemas_1 = __webpack_require__(9);
3988
3567
 
3989
3568
  var isArray = function isArray(v) {
3990
3569
  return Array.isArray(v);
@@ -4056,14 +3635,15 @@ var getColumnFormatAlign = function getColumnFormatAlign(columnFormat, currentCo
4056
3635
  var align;
4057
3636
  var alignOption = getAttributeFromColumnFormat('align', columnFormat, currentColumn.columnId, currentColumn.value);
4058
3637
 
4059
- if (isArray(alignOption) && (0, lodash_1.includes)(consts_1.validAlignments, alignOption[currentRow])) {
3638
+ if (isArray(alignOption) && (0, lodash_1.includes)(visualization_schemas_1.validAlignments, alignOption[currentRow])) {
4060
3639
  align = alignOption[currentRow];
4061
3640
  } else if (typeof alignOption === 'string' && alignOption === 'auto') {
4062
3641
  align = undefined;
4063
- } else if (typeof alignOption === 'string' && (0, lodash_1.includes)(consts_1.validAlignments, alignOption)) {
3642
+ } else if (typeof alignOption === 'string' && (0, lodash_1.includes)(visualization_schemas_1.validAlignments, alignOption)) {
4064
3643
  align = alignOption;
4065
3644
  } else if (typeof alignOption !== 'undefined') {
4066
- console.warn("columnFormat.".concat(currentColumn.columnId, ".align should be a string or an array containing (").concat(consts_1.validAlignments.join(' | '), "). ").concat(JSON.stringify(alignOption), " provided"));
3645
+ // eslint-disable-next-line no-console
3646
+ console.warn("columnFormat.".concat(currentColumn.columnId, ".align should be a string or an array containing (").concat(visualization_schemas_1.validAlignments.join(' | '), "). ").concat(JSON.stringify(alignOption), " provided"));
4067
3647
  }
4068
3648
 
4069
3649
  return align;
@@ -4073,10 +3653,11 @@ var getColumnFormatCellType = function getColumnFormatCellType(columnFormat, cur
4073
3653
  var cellType;
4074
3654
  var cellTypes = getAttributeFromColumnFormat('cellTypes', columnFormat, currentColumn.columnId, currentColumn.value);
4075
3655
 
4076
- if (isArray(cellTypes) && (0, lodash_1.includes)(consts_1.validCellRenderers, cellTypes[currentRow])) {
3656
+ if (isArray(cellTypes) && (0, lodash_1.includes)(visualization_schemas_1.validCellRenderers, cellTypes[currentRow])) {
4077
3657
  cellType = cellTypes[currentRow];
4078
3658
  } else if (typeof cellTypes !== 'undefined') {
4079
- console.warn("columnFormat.".concat(currentColumn.value, ".cellType should be an array containing (").concat(consts_1.validCellRenderers.join(' | '), "). ").concat(JSON.stringify(cellTypes), " provided"));
3659
+ // eslint-disable-next-line no-console
3660
+ console.warn("columnFormat.".concat(currentColumn.value, ".cellType should be an array containing (").concat(visualization_schemas_1.validCellRenderers.join(' | '), "). ").concat(JSON.stringify(cellTypes), " provided"));
4080
3661
  }
4081
3662
 
4082
3663
  return cellType;
@@ -4086,10 +3667,11 @@ var getColumnFormatSparklineType = function getColumnFormatSparklineType(columnF
4086
3667
  var sparklineType;
4087
3668
  var types = getAttributeFromColumnFormat('sparklineTypes', columnFormat, currentColumn.columnId, currentColumn.value);
4088
3669
 
4089
- if (isArray(types) && (0, lodash_1.includes)(consts_1.validSparklineTypes, types[currentRow])) {
3670
+ if (isArray(types) && (0, lodash_1.includes)(visualization_schemas_1.validSparklineTypes, types[currentRow])) {
4090
3671
  sparklineType = types[currentRow];
4091
3672
  } else if (typeof types !== 'undefined') {
4092
- console.warn("columnFormat.".concat(currentColumn.value, ".sparklineTypes should be one of (").concat(consts_1.validSparklineTypes.join(' | '), "). ").concat(JSON.stringify(types), " provided"));
3673
+ // eslint-disable-next-line no-console
3674
+ console.warn("columnFormat.".concat(currentColumn.value, ".sparklineTypes should be one of (").concat(visualization_schemas_1.validSparklineTypes.join(' | '), "). ").concat(JSON.stringify(types), " provided"));
4093
3675
  }
4094
3676
 
4095
3677
  return sparklineType;
@@ -4102,6 +3684,7 @@ var getColumnFormatData = function getColumnFormatData(columnFormat, currentColu
4102
3684
  if (isArray(data)) {
4103
3685
  datum = data[currentRow];
4104
3686
  } else if (typeof data !== 'undefined') {
3687
+ // eslint-disable-next-line no-console
4105
3688
  console.warn("columnFormat.".concat(currentColumn.value, ".data should be an array containing formatted data. ").concat(_typeof(data), " provided"));
4106
3689
  }
4107
3690
 
@@ -4115,6 +3698,7 @@ var getColumnFormatColor = function getColumnFormatColor(columnFormat, currentCo
4115
3698
  if (isArray(colors) && (0, colorUtils_1.isColor)(colors[currentRow])) {
4116
3699
  color = colors[currentRow];
4117
3700
  } else if (typeof colors !== 'undefined') {
3701
+ // eslint-disable-next-line no-console
4118
3702
  console.warn("columnFormat.".concat(currentColumn.columnId, ".").concat(field, " should be an array containing valid colors. ").concat(JSON.stringify(colors), " provided"));
4119
3703
  }
4120
3704
 
@@ -4145,10 +3729,11 @@ var getColumnFormatHeaderAlign = function getColumnFormatHeaderAlign(columnForma
4145
3729
  return undefined;
4146
3730
  }
4147
3731
 
4148
- if (typeof alignOption === 'string' && (0, lodash_1.includes)(consts_1.validAlignments, alignOption)) {
3732
+ if (typeof alignOption === 'string' && (0, lodash_1.includes)(visualization_schemas_1.validAlignments, alignOption)) {
4149
3733
  headerAlign = alignOption;
4150
3734
  } else if (typeof alignOption !== 'undefined') {
4151
- console.warn("columnFormat.".concat(columnId, ".headerAlign should be a string containing (").concat(consts_1.validAlignments.join(' | '), "). ").concat(JSON.stringify(alignOption), " provided"));
3735
+ // eslint-disable-next-line no-console
3736
+ console.warn("columnFormat.".concat(columnId, ".headerAlign should be a string containing (").concat(visualization_schemas_1.validAlignments.join(' | '), "). ").concat(JSON.stringify(alignOption), " provided"));
4152
3737
  }
4153
3738
 
4154
3739
  return headerAlign;
@@ -4158,12 +3743,13 @@ var getTableFormatAlign = function getTableFormatAlign(tableFormat, currentColum
4158
3743
  var alignOption = (0, lodash_1.get)(tableFormat, 'align');
4159
3744
  var align;
4160
3745
 
4161
- if (isArray(alignOption) && isArray(alignOption[currentColumn]) && (0, lodash_1.includes)(consts_1.validAlignments, alignOption[currentColumn][currentRow])) {
3746
+ if (isArray(alignOption) && isArray(alignOption[currentColumn]) && (0, lodash_1.includes)(visualization_schemas_1.validAlignments, alignOption[currentColumn][currentRow])) {
4162
3747
  align = alignOption[currentColumn][currentRow];
4163
- } else if (typeof alignOption === 'string' && (0, lodash_1.includes)(consts_1.validAlignments, alignOption)) {
3748
+ } else if (typeof alignOption === 'string' && (0, lodash_1.includes)(visualization_schemas_1.validAlignments, alignOption)) {
4164
3749
  align = alignOption;
4165
3750
  } else if (typeof alignOption !== 'undefined') {
4166
- console.warn("tableFormat.align should be a string or a 2 dimensional array containing (".concat(consts_1.validAlignments.join(' | '), "). ").concat(JSON.stringify(alignOption), " provided"));
3751
+ // eslint-disable-next-line no-console
3752
+ console.warn("tableFormat.align should be a string or a 2 dimensional array containing (".concat(visualization_schemas_1.validAlignments.join(' | '), "). ").concat(JSON.stringify(alignOption), " provided"));
4167
3753
  }
4168
3754
 
4169
3755
  return align;
@@ -4173,10 +3759,11 @@ var getTableFormatCellType = function getTableFormatCellType(tableFormat, curren
4173
3759
  var cellTypes = (0, lodash_1.get)(tableFormat, 'cellTypes');
4174
3760
  var cellType;
4175
3761
 
4176
- if (isArray(cellTypes) && isArray(cellTypes[currentColumn]) && (0, lodash_1.includes)(consts_1.validCellRenderers, cellTypes[currentColumn][currentRow])) {
3762
+ if (isArray(cellTypes) && isArray(cellTypes[currentColumn]) && (0, lodash_1.includes)(visualization_schemas_1.validCellRenderers, cellTypes[currentColumn][currentRow])) {
4177
3763
  cellType = cellTypes[currentColumn][currentRow];
4178
3764
  } else if (typeof cellTypes !== 'undefined') {
4179
- console.warn("tableFormat.cellType should be a 2 dimensional array containing (".concat(consts_1.validCellRenderers.join(' | '), "). ").concat(JSON.stringify(cellTypes), " provided"));
3765
+ // eslint-disable-next-line no-console
3766
+ console.warn("tableFormat.cellType should be a 2 dimensional array containing (".concat(visualization_schemas_1.validCellRenderers.join(' | '), "). ").concat(JSON.stringify(cellTypes), " provided"));
4180
3767
  }
4181
3768
 
4182
3769
  return cellType;
@@ -4186,10 +3773,11 @@ var getTableFormatSparklineType = function getTableFormatSparklineType(tableForm
4186
3773
  var types = (0, lodash_1.get)(tableFormat, 'sparklineTypes');
4187
3774
  var sparklineType;
4188
3775
 
4189
- if (isArray(types) && isArray(types[currentColumn]) && (0, lodash_1.includes)(consts_1.validSparklineTypes, types[currentColumn][currentRow])) {
3776
+ if (isArray(types) && isArray(types[currentColumn]) && (0, lodash_1.includes)(visualization_schemas_1.validSparklineTypes, types[currentColumn][currentRow])) {
4190
3777
  sparklineType = types[currentColumn][currentRow];
4191
3778
  } else if (typeof types !== 'undefined') {
4192
- console.warn("tableFormat.sparklineTypes should be a 2 dimensional array containing one of (".concat(consts_1.validSparklineTypes.join(' | '), "). ").concat(JSON.stringify(types), " provided"));
3779
+ // eslint-disable-next-line no-console
3780
+ console.warn("tableFormat.sparklineTypes should be a 2 dimensional array containing one of (".concat(visualization_schemas_1.validSparklineTypes.join(' | '), "). ").concat(JSON.stringify(types), " provided"));
4193
3781
  }
4194
3782
 
4195
3783
  return sparklineType;
@@ -4204,6 +3792,7 @@ var getTableFormatColor = function getTableFormatColor(tableFormat, currentColum
4204
3792
  } else if (isArray(colors) && (0, colorUtils_1.isColor)(colors[currentRow])) {
4205
3793
  color = colors[currentRow];
4206
3794
  } else if (typeof colors !== 'undefined' && isArray(colors) && isArray(colors[currentColumn]) && colors[currentColumn][currentRow] !== undefined) {
3795
+ // eslint-disable-next-line no-console
4207
3796
  console.warn("tableFormat.".concat(field, " needs to be an array of colors, provided ").concat(JSON.stringify(colors), ". Current value at [").concat(currentColumn, "][").concat(currentRow, "] is ").concat(JSON.stringify(colors[currentRow])));
4208
3797
  }
4209
3798
 
@@ -4233,6 +3822,7 @@ var getTableFormatData = function getTableFormatData(tableFormat, currentCol, cu
4233
3822
  if (isArray(data) && isArray(data[currentCol])) {
4234
3823
  datum = data[currentCol][currentRow];
4235
3824
  } else if (typeof data !== 'undefined') {
3825
+ // eslint-disable-next-line no-console
4236
3826
  console.warn("tableFormat.data should be a 2 dimensional array containing formatted data to be displayed. ".concat(_typeof(data), " provided"));
4237
3827
  }
4238
3828
 
@@ -4243,10 +3833,11 @@ var getTableFormatHeaderAlign = function getTableFormatHeaderAlign(tableFormat)
4243
3833
  var alignOption = (0, lodash_1.get)(tableFormat, 'headerAlign');
4244
3834
  var headerAlign;
4245
3835
 
4246
- if (typeof alignOption === 'string' && consts_1.validAlignments.includes(alignOption)) {
3836
+ if (typeof alignOption === 'string' && visualization_schemas_1.validAlignments.includes(alignOption)) {
4247
3837
  headerAlign = alignOption;
4248
3838
  } else if (typeof alignOption !== 'undefined') {
4249
- console.warn("tableFormat.headerAlign should be a string containing (".concat(consts_1.validAlignments.join(' | '), "). ").concat(JSON.stringify(alignOption), " provided"));
3839
+ // eslint-disable-next-line no-console
3840
+ console.warn("tableFormat.headerAlign should be a string containing (".concat(visualization_schemas_1.validAlignments.join(' | '), "). ").concat(JSON.stringify(alignOption), " provided"));
4250
3841
  }
4251
3842
 
4252
3843
  return headerAlign;
@@ -4304,11 +3895,12 @@ var useTable = function useTable() {
4304
3895
  var correctedPaginationOffset = Math.max(0, (paginationOffset - 1) * count);
4305
3896
  headers = ['#'].concat(_toConsumableArray(headers));
4306
3897
  columnIds = ['#'].concat(_toConsumableArray(columnIds));
4307
- table = [Array.from({
3898
+ var rowNumbers = Array.from({
4308
3899
  length: longestColumnLength
4309
3900
  }, function (v, i) {
4310
3901
  return correctedPaginationOffset + i + 1;
4311
- })].concat(_toConsumableArray(table));
3902
+ });
3903
+ table = [rowNumbers].concat(_toConsumableArray(table));
4312
3904
 
4313
3905
  if (isArray(tableFormat.align)) {
4314
3906
  tableFormat.align = [new Array(longestColumnLength).fill('left')].concat(_toConsumableArray(tableFormat.align));
@@ -4319,11 +3911,7 @@ var useTable = function useTable() {
4319
3911
  }
4320
3912
 
4321
3913
  if (isArray(tableFormat.data)) {
4322
- tableFormat.data = [Array.from({
4323
- length: longestColumnLength
4324
- }, function (v, i) {
4325
- return "".concat(i + 1);
4326
- })].concat(_toConsumableArray(tableFormat.data));
3914
+ tableFormat.data = [rowNumbers].concat(_toConsumableArray(tableFormat.data));
4327
3915
  }
4328
3916
 
4329
3917
  if (isArray(tableFormat.rowBackgroundColors)) {
@@ -4352,7 +3940,7 @@ var useTable = function useTable() {
4352
3940
  }
4353
3941
 
4354
3942
  var tableHeader = {
4355
- visibility: consts_1.validHeaderVisibilities.indexOf(headerVisibility) >= 0 ? headerVisibility : 'inline',
3943
+ visibility: visualization_schemas_1.validHeaderVisibilities.indexOf(headerVisibility) >= 0 ? headerVisibility : 'inline',
4356
3944
  cells: table.map(function (f, i) {
4357
3945
  if (i < headers.length) {
4358
3946
  return generateHeader(headers[i], columnIds[i], i, columnFormat, tableFormat, showInternalFields);
@@ -4435,7 +4023,7 @@ exports.useTable = useTable;
4435
4023
 
4436
4024
  /***/ }),
4437
4025
 
4438
- /***/ 508:
4026
+ /***/ 496:
4439
4027
  /***/ (function(module, exports, __webpack_require__) {
4440
4028
 
4441
4029
  "use strict";
@@ -4470,17 +4058,17 @@ Object.defineProperty(exports, "__esModule", {
4470
4058
  value: true
4471
4059
  });
4472
4060
 
4473
- __exportStar(__webpack_require__(509), exports);
4061
+ __exportStar(__webpack_require__(497), exports);
4474
4062
 
4475
- __exportStar(__webpack_require__(510), exports);
4063
+ __exportStar(__webpack_require__(498), exports);
4476
4064
 
4477
- __exportStar(__webpack_require__(511), exports);
4065
+ __exportStar(__webpack_require__(499), exports);
4478
4066
 
4479
- __exportStar(__webpack_require__(512), exports);
4067
+ __exportStar(__webpack_require__(500), exports);
4480
4068
 
4481
4069
  /***/ }),
4482
4070
 
4483
- /***/ 509:
4071
+ /***/ 497:
4484
4072
  /***/ (function(module, exports, __webpack_require__) {
4485
4073
 
4486
4074
  "use strict";
@@ -4503,19 +4091,7 @@ exports.SwitchTableCell = SwitchTableCell;
4503
4091
 
4504
4092
  /***/ }),
4505
4093
 
4506
- /***/ 51:
4507
- /***/ (function(module, exports, __webpack_require__) {
4508
-
4509
- "use strict";
4510
-
4511
-
4512
- Object.defineProperty(exports, "__esModule", {
4513
- value: true
4514
- });
4515
-
4516
- /***/ }),
4517
-
4518
- /***/ 510:
4094
+ /***/ 498:
4519
4095
  /***/ (function(module, exports, __webpack_require__) {
4520
4096
 
4521
4097
  "use strict";
@@ -4526,9 +4102,9 @@ Object.defineProperty(exports, "__esModule", {
4526
4102
  });
4527
4103
  exports.TextCell = void 0;
4528
4104
 
4529
- var React = __webpack_require__(0);
4105
+ var React = __webpack_require__(1);
4530
4106
 
4531
- var Table_1 = __webpack_require__(135);
4107
+ var Table_1 = __webpack_require__(133);
4532
4108
 
4533
4109
  var noop = function noop() {
4534
4110
  return undefined;
@@ -4556,7 +4132,7 @@ exports.TextCell.displayName = 'TextCell';
4556
4132
 
4557
4133
  /***/ }),
4558
4134
 
4559
- /***/ 511:
4135
+ /***/ 499:
4560
4136
  /***/ (function(module, exports, __webpack_require__) {
4561
4137
 
4562
4138
  "use strict";
@@ -4567,9 +4143,9 @@ Object.defineProperty(exports, "__esModule", {
4567
4143
  });
4568
4144
  exports.ArrayCell = void 0;
4569
4145
 
4570
- var React = __webpack_require__(0);
4146
+ var React = __webpack_require__(1);
4571
4147
 
4572
- var Table_1 = __webpack_require__(135);
4148
+ var Table_1 = __webpack_require__(133);
4573
4149
 
4574
4150
  var noop = function noop() {
4575
4151
  return undefined;
@@ -4605,24 +4181,43 @@ exports.ArrayCell.displayName = 'ArrayCell';
4605
4181
 
4606
4182
  /***/ }),
4607
4183
 
4608
- /***/ 512:
4184
+ /***/ 5:
4185
+ /***/ (function(module, exports) {
4186
+
4187
+ module.exports = require("@babel/runtime/helpers/slicedToArray");
4188
+
4189
+ /***/ }),
4190
+
4191
+ /***/ 50:
4609
4192
  /***/ (function(module, exports, __webpack_require__) {
4610
4193
 
4611
4194
  "use strict";
4612
4195
 
4613
4196
 
4614
- var _slicedToArray = __webpack_require__(7);
4197
+ Object.defineProperty(exports, "__esModule", {
4198
+ value: true
4199
+ });
4200
+
4201
+ /***/ }),
4202
+
4203
+ /***/ 500:
4204
+ /***/ (function(module, exports, __webpack_require__) {
4205
+
4206
+ "use strict";
4207
+
4208
+
4209
+ var _slicedToArray = __webpack_require__(5);
4615
4210
 
4616
4211
  Object.defineProperty(exports, "__esModule", {
4617
4212
  value: true
4618
4213
  });
4619
- exports.SparklineCell = exports.validSparklineTypes = void 0;
4214
+ exports.SparklineCell = void 0;
4620
4215
 
4621
- var React = __webpack_require__(0);
4216
+ var React = __webpack_require__(1);
4622
4217
 
4623
- var Table_1 = __webpack_require__(135);
4218
+ var Table_1 = __webpack_require__(133);
4624
4219
 
4625
- var SparkLine_1 = __webpack_require__(118);
4220
+ var SparkLine_1 = __webpack_require__(114);
4626
4221
 
4627
4222
  var paddingLeftRight = 5;
4628
4223
  var paddingTopBottom = 3;
@@ -4636,8 +4231,6 @@ var parseSparklineData = function parseSparklineData(data) {
4636
4231
  }; // eslint-disable-line no-restricted-globals
4637
4232
 
4638
4233
 
4639
- exports.validSparklineTypes = ['line', 'area'];
4640
-
4641
4234
  var noop = function noop() {
4642
4235
  return undefined;
4643
4236
  };
@@ -4717,26 +4310,14 @@ exports.SparklineCell.displayName = 'SparklineCell';
4717
4310
 
4718
4311
  /***/ }),
4719
4312
 
4720
- /***/ 513:
4313
+ /***/ 501:
4721
4314
  /***/ (function(module, exports) {
4722
4315
 
4723
4316
  module.exports = require("lodash/debounce");
4724
4317
 
4725
4318
  /***/ }),
4726
4319
 
4727
- /***/ 52:
4728
- /***/ (function(module, exports, __webpack_require__) {
4729
-
4730
- "use strict";
4731
-
4732
-
4733
- Object.defineProperty(exports, "__esModule", {
4734
- value: true
4735
- });
4736
-
4737
- /***/ }),
4738
-
4739
- /***/ 53:
4320
+ /***/ 51:
4740
4321
  /***/ (function(module, exports, __webpack_require__) {
4741
4322
 
4742
4323
  "use strict";
@@ -4748,7 +4329,7 @@ Object.defineProperty(exports, "__esModule", {
4748
4329
 
4749
4330
  /***/ }),
4750
4331
 
4751
- /***/ 54:
4332
+ /***/ 52:
4752
4333
  /***/ (function(module, exports, __webpack_require__) {
4753
4334
 
4754
4335
  "use strict";
@@ -4760,7 +4341,7 @@ Object.defineProperty(exports, "__esModule", {
4760
4341
 
4761
4342
  /***/ }),
4762
4343
 
4763
- /***/ 55:
4344
+ /***/ 53:
4764
4345
  /***/ (function(module, exports, __webpack_require__) {
4765
4346
 
4766
4347
  "use strict";
@@ -4772,65 +4353,65 @@ Object.defineProperty(exports, "__esModule", {
4772
4353
 
4773
4354
  /***/ }),
4774
4355
 
4775
- /***/ 56:
4356
+ /***/ 54:
4776
4357
  /***/ (function(module, exports, __webpack_require__) {
4777
4358
 
4778
4359
  "use strict";
4779
4360
 
4780
4361
 
4781
- var _slicedToArray = __webpack_require__(7);
4362
+ var _slicedToArray = __webpack_require__(5);
4782
4363
 
4783
4364
  Object.defineProperty(exports, "__esModule", {
4784
4365
  value: true
4785
4366
  });
4786
4367
 
4787
- var React = __webpack_require__(0);
4368
+ var React = __webpack_require__(1);
4788
4369
 
4789
- var lodash_1 = __webpack_require__(3);
4370
+ var lodash_1 = __webpack_require__(2);
4790
4371
 
4791
- var getSettingsFromThemedProps_1 = __webpack_require__(57);
4372
+ var getSettingsFromThemedProps_1 = __webpack_require__(55);
4792
4373
 
4793
4374
  var Options_1 = __webpack_require__(16);
4794
4375
 
4795
- var SanitizeProps_1 = __webpack_require__(58);
4376
+ var SanitizeProps_1 = __webpack_require__(56);
4796
4377
 
4797
- var TimezoneContext_1 = __webpack_require__(32);
4378
+ var TimezoneContext_1 = __webpack_require__(31);
4798
4379
 
4799
- var moment_1 = __webpack_require__(59);
4380
+ var moment_1 = __webpack_require__(57);
4800
4381
 
4801
- var FeatureFlagContext_1 = __webpack_require__(28);
4382
+ var FeatureFlagContext_1 = __webpack_require__(27);
4802
4383
 
4803
4384
  var styled_components_1 = __webpack_require__(4);
4804
4385
 
4805
- var hocUtils_1 = __webpack_require__(34);
4386
+ var hocUtils_1 = __webpack_require__(33);
4806
4387
 
4807
- var JSONSchemaUtils_1 = __webpack_require__(35);
4388
+ var JSONSchemaUtils_1 = __webpack_require__(34);
4808
4389
 
4809
- var async_dynamic_options_evaluator_1 = __webpack_require__(60);
4390
+ var async_dynamic_options_evaluator_1 = __webpack_require__(58);
4810
4391
 
4811
- var id_1 = __webpack_require__(31);
4392
+ var id_1 = __webpack_require__(30);
4812
4393
 
4813
- var SplunkVisualization_1 = __webpack_require__(61);
4394
+ var SplunkVisualization_1 = __webpack_require__(59);
4814
4395
 
4815
- var VizBehavior_1 = __webpack_require__(6);
4396
+ var VizBehavior_1 = __webpack_require__(7);
4816
4397
 
4817
- var getSorting_1 = __webpack_require__(38);
4398
+ var getSorting_1 = __webpack_require__(37);
4818
4399
 
4819
- var getPagination_1 = __webpack_require__(39);
4400
+ var getPagination_1 = __webpack_require__(38);
4820
4401
 
4821
- var useDeepMemo_1 = __webpack_require__(62);
4402
+ var useDeepMemo_1 = __webpack_require__(60);
4822
4403
 
4823
- var MissingPropsMessage_1 = __webpack_require__(63);
4404
+ var MissingPropsMessage_1 = __webpack_require__(61);
4824
4405
 
4825
- var withEditModeCover_1 = __webpack_require__(64);
4406
+ var withEditModeCover_1 = __webpack_require__(62);
4826
4407
 
4827
- var withPlaceholder_1 = __webpack_require__(65);
4408
+ var withPlaceholder_1 = __webpack_require__(63);
4828
4409
 
4829
- var useDownsampleDataSources_1 = __webpack_require__(66);
4410
+ var useDownsampleDataSources_1 = __webpack_require__(64);
4830
4411
 
4831
4412
  var dataUtils_1 = __webpack_require__(14);
4832
4413
 
4833
- var featureFlagUtils_1 = __webpack_require__(68);
4414
+ var featureFlagUtils_1 = __webpack_require__(66);
4834
4415
  /**
4835
4416
  * hoc that wraps a pure react visualization in a Dashboard visualization
4836
4417
  * @param {DashboardVizOpts} opts
@@ -5163,81 +4744,41 @@ exports.default = withDashboardViz;
5163
4744
 
5164
4745
  /***/ }),
5165
4746
 
5166
- /***/ 57:
4747
+ /***/ 55:
5167
4748
  /***/ (function(module, exports) {
5168
4749
 
5169
4750
  module.exports = require("@splunk/themes/getSettingsFromThemedProps");
5170
4751
 
5171
4752
  /***/ }),
5172
4753
 
5173
- /***/ 58:
4754
+ /***/ 56:
5174
4755
  /***/ (function(module, exports) {
5175
4756
 
5176
4757
  module.exports = require("@splunk/visualizations-shared/SanitizeProps");
5177
4758
 
5178
4759
  /***/ }),
5179
4760
 
5180
- /***/ 59:
4761
+ /***/ 57:
5181
4762
  /***/ (function(module, exports) {
5182
4763
 
5183
4764
  module.exports = require("@splunk/moment");
5184
4765
 
5185
4766
  /***/ }),
5186
4767
 
5187
- /***/ 6:
5188
- /***/ (function(module, exports, __webpack_require__) {
5189
-
5190
- "use strict";
5191
-
5192
-
5193
- Object.defineProperty(exports, "__esModule", {
5194
- value: true
5195
- });
5196
- exports.VizBehavior = void 0;
5197
- var VizBehavior;
5198
-
5199
- (function (VizBehavior) {
5200
- /**
5201
- * Dynamic Options Behavior.
5202
- * This allows visualization options to be powered by data
5203
- *
5204
- * **Example**
5205
- *
5206
- * sparklineValues: ">primary|seriesByIndex(0)"
5207
- * would configure sparklineValues with an array of data points
5208
- * coming from the first series in the primary datasource
5209
- *
5210
- */
5211
- VizBehavior["DYNAMIC_OPTIONS"] = "dynamic-options";
5212
- VizBehavior["EVENTS"] = "events";
5213
- VizBehavior["DOWNSAMPLING"] = "downsampling";
5214
- /**
5215
- * Placeholder behavior: visualization will display a placeholder rather than fail if any of the `requiredProps` is
5216
- * missing.
5217
- * @type {string}
5218
- */
5219
-
5220
- VizBehavior["PLACEHOLDER"] = "placeholder";
5221
- VizBehavior["PAGE_AND_SORT"] = "page-and-sort";
5222
- VizBehavior["TRELLIS"] = "trellis";
5223
- })(VizBehavior = exports.VizBehavior || (exports.VizBehavior = {}));
5224
-
5225
- /***/ }),
5226
-
5227
- /***/ 60:
4768
+ /***/ 58:
5228
4769
  /***/ (function(module, exports) {
5229
4770
 
5230
4771
  module.exports = require("@splunk/async-dynamic-options-evaluator");
5231
4772
 
5232
4773
  /***/ }),
5233
4774
 
5234
- /***/ 61:
4775
+ /***/ 59:
5235
4776
  /***/ (function(module, exports, __webpack_require__) {
5236
4777
 
5237
4778
  "use strict";
5238
4779
 
5239
4780
 
5240
- var _classCallCheck = __webpack_require__(10);
4781
+ var _classCallCheck = __webpack_require__(8);
5241
4782
 
5242
4783
  Object.defineProperty(exports, "__esModule", {
5243
4784
  value: true
@@ -5245,9 +4786,9 @@ Object.defineProperty(exports, "__esModule", {
5245
4786
  exports.INITIAL_HEIGHT = exports.INITIAL_WIDTH = void 0;
5246
4787
  /* eslint-disable react/no-unused-prop-types,react/prefer-stateless-function */
5247
4788
 
5248
- var T = __webpack_require__(1);
4789
+ var T = __webpack_require__(0);
5249
4790
 
5250
- var lodash_1 = __webpack_require__(3);
4791
+ var lodash_1 = __webpack_require__(2);
5251
4792
 
5252
4793
  var VizActionHandler_1 = __webpack_require__(21); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
5253
4794
 
@@ -5383,7 +4924,14 @@ exports.default = SplunkVisualization;
5383
4924
 
5384
4925
  /***/ }),
5385
4926
 
5386
- /***/ 62:
4927
+ /***/ 6:
4928
+ /***/ (function(module, exports) {
4929
+
4930
+ module.exports = require("@babel/runtime/helpers/toConsumableArray");
4931
+
4932
+ /***/ }),
4933
+
4934
+ /***/ 60:
5387
4935
  /***/ (function(module, exports, __webpack_require__) {
5388
4936
 
5389
4937
  "use strict";
@@ -5394,9 +4942,9 @@ Object.defineProperty(exports, "__esModule", {
5394
4942
  });
5395
4943
  exports.useDeepMemo = void 0;
5396
4944
 
5397
- var react_1 = __webpack_require__(0);
4945
+ var react_1 = __webpack_require__(1);
5398
4946
 
5399
- var lodash_1 = __webpack_require__(3);
4947
+ var lodash_1 = __webpack_require__(2);
5400
4948
  /**
5401
4949
  * This hook evaluates and stores the result of a passed function and only
5402
4950
  * re-evaluates the function when passed dependencies change.
@@ -5429,7 +4977,7 @@ exports.useDeepMemo = useDeepMemo;
5429
4977
 
5430
4978
  /***/ }),
5431
4979
 
5432
- /***/ 63:
4980
+ /***/ 61:
5433
4981
  /***/ (function(module, exports, __webpack_require__) {
5434
4982
 
5435
4983
  "use strict";
@@ -5440,13 +4988,13 @@ Object.defineProperty(exports, "__esModule", {
5440
4988
  });
5441
4989
  exports.MissingPropsMessage = exports.missingKeys = exports.isMissing = void 0;
5442
4990
 
5443
- var React = __webpack_require__(0);
4991
+ var React = __webpack_require__(1);
5444
4992
 
5445
- var T = __webpack_require__(1);
4993
+ var T = __webpack_require__(0);
5446
4994
 
5447
- var i18n_1 = __webpack_require__(2);
4995
+ var i18n_1 = __webpack_require__(3);
5448
4996
 
5449
- var Message_1 = __webpack_require__(12);
4997
+ var Message_1 = __webpack_require__(11);
5450
4998
 
5451
4999
  var FixedSizeContainer_1 = __webpack_require__(17);
5452
5000
  /**
@@ -5510,7 +5058,7 @@ exports.default = (0, FixedSizeContainer_1.default)(exports.MissingPropsMessage)
5510
5058
 
5511
5059
  /***/ }),
5512
5060
 
5513
- /***/ 64:
5061
+ /***/ 62:
5514
5062
  /***/ (function(module, exports, __webpack_require__) {
5515
5063
 
5516
5064
  "use strict";
@@ -5520,7 +5068,7 @@ Object.defineProperty(exports, "__esModule", {
5520
5068
  value: true
5521
5069
  });
5522
5070
 
5523
- var React = __webpack_require__(0);
5071
+ var React = __webpack_require__(1);
5524
5072
 
5525
5073
  var styled_components_1 = __webpack_require__(4);
5526
5074
 
@@ -5531,7 +5079,7 @@ var Cover = styled_components_1.default.div.withConfig({
5531
5079
  componentId: "sc-1gsbnxb-0"
5532
5080
  })(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
5533
5081
  var Blocker = styled_components_1.default.div.attrs({
5534
- 'data-splunk-visualization-version': "26.2.1 - 714383dbb"
5082
+ 'data-splunk-visualization-version': "26.4.0 - 04078274d"
5535
5083
  }).withConfig({
5536
5084
  displayName: "withEditModeCover__Blocker",
5537
5085
  componentId: "sc-1gsbnxb-1"
@@ -5563,7 +5111,7 @@ exports.default = withEditModeCover;
5563
5111
 
5564
5112
  /***/ }),
5565
5113
 
5566
- /***/ 65:
5114
+ /***/ 63:
5567
5115
  /***/ (function(module, exports, __webpack_require__) {
5568
5116
 
5569
5117
  "use strict";
@@ -5573,15 +5121,15 @@ Object.defineProperty(exports, "__esModule", {
5573
5121
  value: true
5574
5122
  });
5575
5123
 
5576
- var React = __webpack_require__(0);
5124
+ var React = __webpack_require__(1);
5577
5125
 
5578
5126
  var colorUtils_1 = __webpack_require__(15);
5579
5127
 
5580
5128
  var variables_1 = __webpack_require__(13);
5581
5129
 
5582
- var IconPlaceholder_1 = __webpack_require__(37);
5130
+ var IconPlaceholder_1 = __webpack_require__(36);
5583
5131
 
5584
- var VizBehavior_1 = __webpack_require__(6);
5132
+ var VizBehavior_1 = __webpack_require__(7);
5585
5133
 
5586
5134
  var hocUtils_1 = __webpack_require__(23);
5587
5135
 
@@ -5628,27 +5176,30 @@ exports.default = withPlaceholder;
5628
5176
 
5629
5177
  /***/ }),
5630
5178
 
5631
- /***/ 66:
5179
+ /***/ 64:
5632
5180
  /***/ (function(module, exports, __webpack_require__) {
5633
5181
 
5634
5182
  "use strict";
5635
5183
 
5636
5184
 
5637
- var _slicedToArray = __webpack_require__(7);
5185
+ var _slicedToArray = __webpack_require__(5);
5638
5186
 
5639
5187
  Object.defineProperty(exports, "__esModule", {
5640
5188
  value: true
5641
5189
  });
5642
5190
 
5643
- var react_1 = __webpack_require__(0);
5191
+ var react_1 = __webpack_require__(1);
5644
5192
 
5645
- var lodash_1 = __webpack_require__(3);
5193
+ var lodash_1 = __webpack_require__(2);
5646
5194
 
5647
5195
  var dataUtils_1 = __webpack_require__(14);
5648
5196
 
5649
- var usePrevious_1 = __webpack_require__(33);
5197
+ var usePrevious_1 = __webpack_require__(32);
5650
5198
 
5651
- var useGetXAndYFields_1 = __webpack_require__(67);
5199
+ var useGetXAndYFields_1 = __webpack_require__(65); // Options properties which impact/require re-downsample on change.
5200
+
5201
+
5202
+ var downsampleVizOptionProperties = ['nullValueDisplay'];
5652
5203
 
5653
5204
  var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
5654
5205
  var dataSources = _ref.dataSources,
@@ -5662,8 +5213,15 @@ var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
5662
5213
  options: options,
5663
5214
  context: context,
5664
5215
  dataSources: dataSources
5665
- });
5666
- var previousXAndYFieldsWithTypes = (0, usePrevious_1.default)(xAndYFieldsWithTypes);
5216
+ }); // Extract viz options that impact downsampling.
5217
+
5218
+ var downsampleVizOptions = (0, react_1.useMemo)(function () {
5219
+ return (0, lodash_1.pick)(options, downsampleVizOptionProperties);
5220
+ }, [options]);
5221
+ var downsampleDSOptions = (0, react_1.useMemo)(function () {
5222
+ return Object.assign(Object.assign({}, downsampleVizOptions), xAndYFieldsWithTypes);
5223
+ }, [xAndYFieldsWithTypes, downsampleVizOptions]);
5224
+ var previousDownsampleDSOptions = (0, usePrevious_1.default)(downsampleDSOptions);
5667
5225
  var previousDataSources = (0, usePrevious_1.default)(dataSources);
5668
5226
  var previousThreshold = (0, usePrevious_1.default)(threshold);
5669
5227
 
@@ -5671,7 +5229,7 @@ var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
5671
5229
  return isDownsamplingEnabled ? (0, dataUtils_1.downsampleDataSources)({
5672
5230
  dataSources: dataSources,
5673
5231
  threshold: threshold,
5674
- options: xAndYFieldsWithTypes
5232
+ options: downsampleDSOptions
5675
5233
  }) : dataSources;
5676
5234
  }),
5677
5235
  _ref3 = _slicedToArray(_ref2, 2),
@@ -5699,7 +5257,7 @@ var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
5699
5257
  return;
5700
5258
  }
5701
5259
 
5702
- if ((0, lodash_1.isEqual)(previousXAndYFieldsWithTypes, xAndYFieldsWithTypes) && previousDataSources === dataSources && previousThreshold === threshold) {
5260
+ if ((0, lodash_1.isEqual)(previousDownsampleDSOptions, downsampleDSOptions) && previousDataSources === dataSources && previousThreshold === threshold) {
5703
5261
  return;
5704
5262
  } // Debounce the downsampling so we don't have to downsample and execute DSL multiple times
5705
5263
  // while the viz is being resized
@@ -5707,10 +5265,10 @@ var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
5707
5265
 
5708
5266
  debouncedDownsampleDataSources({
5709
5267
  dataSources: dataSources,
5710
- options: xAndYFieldsWithTypes,
5268
+ options: downsampleDSOptions,
5711
5269
  threshold: threshold
5712
5270
  }); // need to detect if this runs as part of the initial render
5713
- }, [dataSources, debouncedDownsampleDataSources, xAndYFieldsWithTypes, threshold, isDownsamplingEnabled, previousXAndYFieldsWithTypes, previousDataSources, previousThreshold]);
5271
+ }, [dataSources, downsampleDSOptions, debouncedDownsampleDataSources, xAndYFieldsWithTypes, threshold, isDownsamplingEnabled, previousDataSources, previousThreshold, previousDownsampleDSOptions]);
5714
5272
  return downsampledDataSources;
5715
5273
  };
5716
5274
 
@@ -5718,19 +5276,19 @@ exports.default = useDownsampleDataSources;
5718
5276
 
5719
5277
  /***/ }),
5720
5278
 
5721
- /***/ 67:
5279
+ /***/ 65:
5722
5280
  /***/ (function(module, exports, __webpack_require__) {
5723
5281
 
5724
5282
  "use strict";
5725
5283
 
5726
5284
 
5727
- var _toConsumableArray = __webpack_require__(8);
5285
+ var _toConsumableArray = __webpack_require__(6);
5728
5286
 
5729
5287
  Object.defineProperty(exports, "__esModule", {
5730
5288
  value: true
5731
5289
  });
5732
5290
 
5733
- var react_1 = __webpack_require__(0);
5291
+ var react_1 = __webpack_require__(1);
5734
5292
 
5735
5293
  var Options_1 = __webpack_require__(16);
5736
5294
  /**
@@ -5833,7 +5391,7 @@ exports.default = useGetXAndYFields;
5833
5391
 
5834
5392
  /***/ }),
5835
5393
 
5836
- /***/ 68:
5394
+ /***/ 66:
5837
5395
  /***/ (function(module, exports, __webpack_require__) {
5838
5396
 
5839
5397
  "use strict";
@@ -5844,7 +5402,7 @@ Object.defineProperty(exports, "__esModule", {
5844
5402
  });
5845
5403
  exports.getFeatureFlag = void 0;
5846
5404
 
5847
- var FeatureFlags_1 = __webpack_require__(69);
5405
+ var FeatureFlags_1 = __webpack_require__(67);
5848
5406
 
5849
5407
  var getFeatureFlag = function getFeatureFlag(context, flagName) {
5850
5408
  // look for feature flag in context first
@@ -5869,70 +5427,103 @@ exports.getFeatureFlag = getFeatureFlag;
5869
5427
 
5870
5428
  /***/ }),
5871
5429
 
5872
- /***/ 69:
5430
+ /***/ 67:
5873
5431
  /***/ (function(module, exports) {
5874
5432
 
5875
5433
  module.exports = require("@splunk/visualization-context/FeatureFlags");
5876
5434
 
5877
5435
  /***/ }),
5878
5436
 
5879
- /***/ 7:
5437
+ /***/ 68:
5880
5438
  /***/ (function(module, exports) {
5881
5439
 
5882
- module.exports = require("@babel/runtime/helpers/slicedToArray");
5440
+ module.exports = require("@babel/runtime/helpers/extends");
5883
5441
 
5884
5442
  /***/ }),
5885
5443
 
5886
- /***/ 70:
5444
+ /***/ 69:
5887
5445
  /***/ (function(module, exports) {
5888
5446
 
5889
- module.exports = require("@babel/runtime/helpers/extends");
5447
+ module.exports = require("@splunk/visualizations-shared/colorConstants");
5890
5448
 
5891
5449
  /***/ }),
5892
5450
 
5893
- /***/ 71:
5894
- /***/ (function(module, exports) {
5451
+ /***/ 7:
5452
+ /***/ (function(module, exports, __webpack_require__) {
5453
+
5454
+ "use strict";
5895
5455
 
5896
- module.exports = require("@splunk/visualizations-shared/colorConstants");
5456
+
5457
+ Object.defineProperty(exports, "__esModule", {
5458
+ value: true
5459
+ });
5460
+ exports.VizBehavior = void 0;
5461
+ var VizBehavior;
5462
+
5463
+ (function (VizBehavior) {
5464
+ /**
5465
+ * Dynamic Options Behavior.
5466
+ * This allows visualization options to be powered by data
5467
+ *
5468
+ * **Example**
5469
+ *
5470
+ * sparklineValues: ">primary|seriesByIndex(0)"
5471
+ * would configure sparklineValues with an array of data points
5472
+ * coming from the first series in the primary datasource
5473
+ *
5474
+ */
5475
+ VizBehavior["DYNAMIC_OPTIONS"] = "dynamic-options";
5476
+ VizBehavior["EVENTS"] = "events";
5477
+ VizBehavior["DOWNSAMPLING"] = "downsampling";
5478
+ /**
5479
+ * Placeholder behavior: visualization will display a placeholder rather than fail if any of the `requiredProps` is
5480
+ * missing.
5481
+ * @type {string}
5482
+ */
5483
+
5484
+ VizBehavior["PLACEHOLDER"] = "placeholder";
5485
+ VizBehavior["PAGE_AND_SORT"] = "page-and-sort";
5486
+ VizBehavior["TRELLIS"] = "trellis";
5487
+ })(VizBehavior = exports.VizBehavior || (exports.VizBehavior = {}));
5897
5488
 
5898
5489
  /***/ }),
5899
5490
 
5900
- /***/ 72:
5491
+ /***/ 70:
5901
5492
  /***/ (function(module, exports) {
5902
5493
 
5903
5494
  module.exports = require("@splunk/visualization-icons/placeholders");
5904
5495
 
5905
5496
  /***/ }),
5906
5497
 
5907
- /***/ 74:
5498
+ /***/ 71:
5908
5499
  /***/ (function(module, exports) {
5909
5500
 
5910
5501
  module.exports = require("@splunk/visualization-icons");
5911
5502
 
5912
5503
  /***/ }),
5913
5504
 
5914
- /***/ 8:
5505
+ /***/ 78:
5915
5506
  /***/ (function(module, exports) {
5916
5507
 
5917
- module.exports = require("@babel/runtime/helpers/toConsumableArray");
5508
+ module.exports = require("@babel/runtime/helpers/taggedTemplateLiteral");
5918
5509
 
5919
5510
  /***/ }),
5920
5511
 
5921
- /***/ 81:
5512
+ /***/ 8:
5922
5513
  /***/ (function(module, exports) {
5923
5514
 
5924
- module.exports = require("@babel/runtime/helpers/taggedTemplateLiteral");
5515
+ module.exports = require("@babel/runtime/helpers/classCallCheck");
5925
5516
 
5926
5517
  /***/ }),
5927
5518
 
5928
- /***/ 84:
5519
+ /***/ 81:
5929
5520
  /***/ (function(module, exports) {
5930
5521
 
5931
5522
  module.exports = require("@splunk/react-ui/Popover");
5932
5523
 
5933
5524
  /***/ }),
5934
5525
 
5935
- /***/ 85:
5526
+ /***/ 82:
5936
5527
  /***/ (function(module, exports) {
5937
5528
 
5938
5529
  module.exports = require("@babel/runtime/helpers/getPrototypeOf");
@@ -5942,18 +5533,18 @@ module.exports = require("@babel/runtime/helpers/getPrototypeOf");
5942
5533
  /***/ 9:
5943
5534
  /***/ (function(module, exports) {
5944
5535
 
5945
- module.exports = require("@babel/runtime/helpers/defineProperty");
5536
+ module.exports = require("@splunk/visualization-schemas");
5946
5537
 
5947
5538
  /***/ }),
5948
5539
 
5949
- /***/ 94:
5540
+ /***/ 91:
5950
5541
  /***/ (function(module, exports) {
5951
5542
 
5952
5543
  module.exports = require("@babel/runtime/helpers/inherits");
5953
5544
 
5954
5545
  /***/ }),
5955
5546
 
5956
- /***/ 95:
5547
+ /***/ 92:
5957
5548
  /***/ (function(module, exports) {
5958
5549
 
5959
5550
  module.exports = require("@babel/runtime/helpers/possibleConstructorReturn");