@splunk/visualizations 25.0.0 → 25.1.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 (181) hide show
  1. package/.loki/reference/chrome_docker_PureVisualizations_PureMap_basic.png +0 -0
  2. package/.loki/reference/chrome_docker_PureVisualizations_PureMap_custom_base_layer_tile_server.png +0 -0
  3. package/.loki/reference/chrome_docker_PureVisualizations_PureMap_marker_layer_dynamic_color.png +0 -0
  4. package/.loki/reference/chrome_docker_PureVisualizations_PureMap_marker_layer_static_color.png +0 -0
  5. package/.loki/reference/chrome_docker_PureVisualizations_PureMap_marker_layer_static_color_with_no_seriesColors.png +0 -0
  6. package/.loki/reference/chrome_docker_PureVisualizations_PureMap_scale_off.png +0 -0
  7. package/.loki/reference/chrome_docker_PureVisualizations_PureMap_scale_unit_metric.png +0 -0
  8. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Area_Editor.png +0 -0
  9. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Bar_Editor.png +0 -0
  10. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Bubble_Editor.png +0 -0
  11. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_ChoroplethSvg_Editor.png +0 -0
  12. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Column_Editor.png +0 -0
  13. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Ellipse_Editor.png +0 -0
  14. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_FillerGauge_Editor.png +0 -0
  15. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Image_Editor.png +0 -0
  16. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Line_Editor.png +0 -0
  17. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_LinkGraph_Editor.png +0 -0
  18. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Map_Editor.png +0 -0
  19. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Markdown_Editor.png +0 -0
  20. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_MarkerGauge_Editor.png +0 -0
  21. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Parallel_Coordinates_Editor.png +0 -0
  22. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Pie_Editor.png +0 -0
  23. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Punchcard_Editor.png +0 -0
  24. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Rectangle_Editor.png +0 -0
  25. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Sankey_Editor.png +0 -0
  26. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Scatter_Editor.png +0 -0
  27. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Single_Value_Editor.png +0 -0
  28. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Single_Value_Icon_Editor.png +0 -0
  29. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Single_Value_Radial_Editor.png +0 -0
  30. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Table_Editor.png +0 -0
  31. package/.loki/reference/chrome_docker_Visualizations_Line_Line_Placeholder_if_datasource_does_not_have_any_data.png +0 -0
  32. package/.loki/reference/chrome_docker_Visualizations_Line_Line_Placeholder_if_viz_does_not_connect_to_datasource.png +0 -0
  33. package/.loki/reference/chrome_docker_Visualizations_Map_Map_Basic_Map.png +0 -0
  34. package/.loki/reference/chrome_docker_Visualizations_Map_Map_Bubble_Layer.png +0 -0
  35. package/.loki/reference/chrome_docker_Visualizations_Map_Map_Bubble_Layer_Geostats_By_GET.png +0 -0
  36. package/.loki/reference/chrome_docker_Visualizations_Map_Map_Bubble_Layer_Geostats_By_GET_Dynamic_Coloring.png +0 -0
  37. package/.loki/reference/chrome_docker_Visualizations_Map_Map_Bubble_Layer_Geostats_By_Internal_Fields.png +0 -0
  38. package/.loki/reference/chrome_docker_Visualizations_Map_Map_Bubble_Layer_Geostats_By_Static_Coloring.png +0 -0
  39. package/.loki/reference/chrome_docker_Visualizations_Map_Map_Bubble_Layer_Geostats_Dynamic_Coloring.png +0 -0
  40. package/.loki/reference/chrome_docker_Visualizations_Map_Map_Marker_layer.png +0 -0
  41. package/.loki/reference/chrome_docker_Visualizations_Map_Map_Marker_layer_Dynamic_coloring.png +0 -0
  42. package/.loki/reference/chrome_docker_Visualizations_Map_Map_Marker_layer_Result_Limit_Set_To_3.png +0 -0
  43. package/.loki/reference/chrome_docker_Visualizations_Map_Map_Restricted_Zoom.png +0 -0
  44. package/.loki/reference/chrome_docker_Visualizations_Map_Map_Set_Map_tiles.png +0 -0
  45. package/Area.config.js +166 -152
  46. package/Area.config.js.map +1 -1
  47. package/Area.js +362 -433
  48. package/Area.js.map +1 -1
  49. package/Bar.config.js +168 -148
  50. package/Bar.config.js.map +1 -1
  51. package/Bar.js +364 -429
  52. package/Bar.js.map +1 -1
  53. package/Bubble.config.js +155 -117
  54. package/Bubble.config.js.map +1 -1
  55. package/Bubble.js +353 -400
  56. package/Bubble.js.map +1 -1
  57. package/ChoroplethSvg.config.js +112 -82
  58. package/ChoroplethSvg.config.js.map +1 -1
  59. package/ChoroplethSvg.js +336 -391
  60. package/ChoroplethSvg.js.map +1 -1
  61. package/Column.config.js +164 -146
  62. package/Column.config.js.map +1 -1
  63. package/Column.js +360 -427
  64. package/Column.js.map +1 -1
  65. package/Ellipse.config.js +111 -80
  66. package/Ellipse.config.js.map +1 -1
  67. package/Ellipse.js +317 -371
  68. package/Ellipse.js.map +1 -1
  69. package/FillerGauge.config.js +117 -86
  70. package/FillerGauge.config.js.map +1 -1
  71. package/FillerGauge.js +324 -378
  72. package/FillerGauge.js.map +1 -1
  73. package/Image.config.js +100 -76
  74. package/Image.config.js.map +1 -1
  75. package/Image.js +725 -789
  76. package/Image.js.map +1 -1
  77. package/Line.config.js +164 -137
  78. package/Line.config.js.map +1 -1
  79. package/Line.js +360 -418
  80. package/Line.js.map +1 -1
  81. package/LinkGraph.config.js +137 -112
  82. package/LinkGraph.config.js.map +1 -1
  83. package/LinkGraph.js +351 -410
  84. package/LinkGraph.js.map +1 -1
  85. package/Map.config.js +140 -97
  86. package/Map.config.js.map +1 -1
  87. package/Map.js +517 -523
  88. package/Map.js.map +1 -1
  89. package/Markdown.config.js +138 -115
  90. package/Markdown.config.js.map +1 -1
  91. package/Markdown.js +502 -553
  92. package/Markdown.js.map +1 -1
  93. package/MarkerGauge.config.js +218 -195
  94. package/MarkerGauge.config.js.map +1 -1
  95. package/MarkerGauge.js +2926 -3098
  96. package/MarkerGauge.js.map +1 -1
  97. package/ParallelCoordinates.config.js +158 -133
  98. package/ParallelCoordinates.config.js.map +1 -1
  99. package/ParallelCoordinates.js +319 -377
  100. package/ParallelCoordinates.js.map +1 -1
  101. package/Pie.config.js +160 -136
  102. package/Pie.config.js.map +1 -1
  103. package/Pie.js +1316 -1492
  104. package/Pie.js.map +1 -1
  105. package/Punchcard.config.js +164 -141
  106. package/Punchcard.config.js.map +1 -1
  107. package/Punchcard.js +344 -404
  108. package/Punchcard.js.map +1 -1
  109. package/Rectangle.config.js +280 -248
  110. package/Rectangle.config.js.map +1 -1
  111. package/Rectangle.js +1247 -1303
  112. package/Rectangle.js.map +1 -1
  113. package/Sankey.config.js +175 -143
  114. package/Sankey.config.js.map +1 -1
  115. package/Sankey.js +377 -426
  116. package/Sankey.js.map +1 -1
  117. package/Scatter.config.js +156 -117
  118. package/Scatter.config.js.map +1 -1
  119. package/Scatter.js +550 -601
  120. package/Scatter.js.map +1 -1
  121. package/SingleValue.config.js +147 -115
  122. package/SingleValue.config.js.map +1 -1
  123. package/SingleValue.js +542 -598
  124. package/SingleValue.js.map +1 -1
  125. package/SingleValueBasic.js +19 -19
  126. package/SingleValueBasic.js.map +1 -1
  127. package/SingleValueIcon.config.js +154 -120
  128. package/SingleValueIcon.config.js.map +1 -1
  129. package/SingleValueIcon.js +373 -424
  130. package/SingleValueIcon.js.map +1 -1
  131. package/SingleValueRadial.config.js +143 -111
  132. package/SingleValueRadial.config.js.map +1 -1
  133. package/SingleValueRadial.js +612 -668
  134. package/SingleValueRadial.js.map +1 -1
  135. package/Table.config.js +176 -152
  136. package/Table.config.js.map +1 -1
  137. package/Table.js +740 -797
  138. package/Table.js.map +1 -1
  139. package/common/Charting.js +11 -11
  140. package/common/Charting.js.map +1 -1
  141. package/common/ChartingApi.js +2 -2
  142. package/common/ChartingApi.js.map +1 -1
  143. package/common/EventsDoc.js +12 -12
  144. package/common/EventsDoc.js.map +1 -1
  145. package/common/GaugeMajorTicks.js +8 -8
  146. package/common/GaugeMajorTicks.js.map +1 -1
  147. package/common/GaugeValueMarker.js +8 -8
  148. package/common/GaugeValueMarker.js.map +1 -1
  149. package/common/OptionsDoc.js +51 -327
  150. package/common/OptionsDoc.js.map +1 -1
  151. package/common/OverviewDoc.js +22 -22
  152. package/common/OverviewDoc.js.map +1 -1
  153. package/common/SplunkVisualization.js +4 -4
  154. package/common/SplunkVisualization.js.map +1 -1
  155. package/common/SplunkVisualizationApi.js +2 -2
  156. package/common/SplunkVisualizationApi.js.map +1 -1
  157. package/common/ThemesDoc.js +19 -19
  158. package/common/ThemesDoc.js.map +1 -1
  159. package/common/chartingUtils.js +4 -4
  160. package/common/chartingUtils.js.map +1 -1
  161. package/common/docUtils.js +4 -4
  162. package/common/docUtils.js.map +1 -1
  163. package/common/gaugeUtils.js +13 -13
  164. package/common/gaugeUtils.js.map +1 -1
  165. package/common/shapeUtils.js +8 -8
  166. package/common/shapeUtils.js.map +1 -1
  167. package/common/utils/configUtils.js +42 -18
  168. package/common/utils/configUtils.js.map +1 -1
  169. package/common/utils/hocUtils.js +6 -86
  170. package/common/utils/hocUtils.js.map +1 -1
  171. package/common/utils/{JSONSchemaUtils.js → mapUtils.js} +89 -29
  172. package/common/utils/mapUtils.js.map +1 -0
  173. package/common/utils/singleValueUtils.js +14 -12
  174. package/common/utils/singleValueUtils.js.map +1 -1
  175. package/common/utils/testHelper.js +8 -8
  176. package/common/utils/testHelper.js.map +1 -1
  177. package/common/withDashboardViz.js +120 -207
  178. package/common/withDashboardViz.js.map +1 -1
  179. package/package.json +12 -12
  180. package/.loki/reference/chrome_docker_PureVisualizations_SvgChoroplethDynamic_SVG_Of_Size_Greater_Than_2_MB_Render.png +0 -0
  181. package/common/utils/JSONSchemaUtils.js.map +0 -1
package/FillerGauge.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 = 171);
90
+ /******/ return __webpack_require__(__webpack_require__.s = 173);
91
91
  /******/ })
92
92
  /************************************************************************/
93
93
  /******/ ([
@@ -106,13 +106,13 @@ module.exports = require("react");
106
106
  /* 2 */
107
107
  /***/ (function(module, exports) {
108
108
 
109
- module.exports = require("lodash");
109
+ module.exports = require("@splunk/ui-utils/i18n");
110
110
 
111
111
  /***/ }),
112
112
  /* 3 */
113
113
  /***/ (function(module, exports) {
114
114
 
115
- module.exports = require("@splunk/ui-utils/i18n");
115
+ module.exports = require("lodash");
116
116
 
117
117
  /***/ }),
118
118
  /* 4 */
@@ -159,14 +159,190 @@ var VizBehavior;
159
159
 
160
160
  /***/ }),
161
161
  /* 6 */
162
+ /***/ (function(module, exports) {
163
+
164
+ module.exports = require("@babel/runtime/helpers/defineProperty");
165
+
166
+ /***/ }),
167
+ /* 7 */
168
+ /***/ (function(module, exports) {
169
+
170
+ module.exports = require("@babel/runtime/helpers/toConsumableArray");
171
+
172
+ /***/ }),
173
+ /* 8 */
174
+ /***/ (function(module, exports) {
175
+
176
+ module.exports = require("@splunk/themes/variables");
177
+
178
+ /***/ }),
179
+ /* 9 */
180
+ /***/ (function(module, exports) {
181
+
182
+ module.exports = require("@splunk/visualizations-shared/Message");
183
+
184
+ /***/ }),
185
+ /* 10 */
186
+ /***/ (function(module, exports) {
187
+
188
+ module.exports = require("@babel/runtime/helpers/classCallCheck");
189
+
190
+ /***/ }),
191
+ /* 11 */
192
+ /***/ (function(module, exports) {
193
+
194
+ module.exports = require("@splunk/visualizations-shared/colorUtils");
195
+
196
+ /***/ }),
197
+ /* 12 */
162
198
  /***/ (function(module, exports, __webpack_require__) {
163
199
 
164
200
  "use strict";
165
201
 
166
202
 
167
- var _toConsumableArray = __webpack_require__(9);
203
+ Object.defineProperty(exports, "__esModule", {
204
+ value: true
205
+ });
206
+
207
+ var React = __webpack_require__(1);
208
+
209
+ var styled_components_1 = __webpack_require__(4);
210
+
211
+ var SizeAwareWrapper_1 = __webpack_require__(19);
212
+
213
+ var style_1 = __webpack_require__(14);
214
+
215
+ var colorUtils_1 = __webpack_require__(11);
216
+
217
+ var Item = styled_components_1.default.div.attrs(function (_ref) {
218
+ var width = _ref.width;
219
+ return {
220
+ style: {
221
+ width: style_1.toPx(width)
222
+ }
223
+ };
224
+ }).withConfig({
225
+ displayName: "FixedSizeContainer__Item",
226
+ componentId: "sc-1yhgpod-0"
227
+ })(["position:relative;background-color:", "};"], function (props) {
228
+ return colorUtils_1.isColor(props.backgroundColor) && props.backgroundColor || props.theme.defaultBackgroundColor;
229
+ }); // Use `.attrs()` for highly dynamic styles. Ref: https://github.com/styled-components/styled-components/issues/134#issuecomment-312415291
230
+
231
+ var FixSizeItem = styled_components_1.default.div.attrs(function (_ref2) {
232
+ var width = _ref2.width,
233
+ height = _ref2.height;
234
+ return {
235
+ style: Object.assign(Object.assign({}, width && {
236
+ width: style_1.toPx(width)
237
+ }), height && {
238
+ height: style_1.toPx(height)
239
+ })
240
+ };
241
+ }).withConfig({
242
+ displayName: "FixedSizeContainer__FixSizeItem",
243
+ componentId: "sc-1yhgpod-1"
244
+ })(["position:relative;flex-direction:column;flex:1;display:flex;background-color:", "};"], function (props) {
245
+ return colorUtils_1.isColor(props.backgroundColor) && props.backgroundColor || props.theme.defaultBackgroundColor;
246
+ });
247
+ var ItemContent = styled_components_1.default.div.withConfig({
248
+ displayName: "FixedSizeContainer__ItemContent",
249
+ componentId: "sc-1yhgpod-2"
250
+ })(["position:relative;min-height:100px;width:100%;"]);
251
+ var FixSizeItemContent = styled_components_1.default.div.withConfig({
252
+ displayName: "FixedSizeContainer__FixSizeItemContent",
253
+ componentId: "sc-1yhgpod-3"
254
+ })(["min-height:0px;flex:1;position:relative;box-sizing:border-box;"]);
255
+
256
+ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
257
+ var FixedSizeContainer = function FixedSizeContainer(props) {
258
+ var width = props.width,
259
+ height = props.height,
260
+ backgroundColor = props.backgroundColor;
168
261
 
169
- var _defineProperty = __webpack_require__(7);
262
+ if (!height) {
263
+ return React.createElement(Item, {
264
+ "data-test": "item",
265
+ width: width,
266
+ backgroundColor: backgroundColor
267
+ }, React.createElement(ItemContent, null, React.createElement(Viz, Object.assign({}, props))));
268
+ }
269
+
270
+ return React.createElement(FixSizeItem, {
271
+ "data-test": "fix-size-item",
272
+ "data-splunk-visualization-version": "25.1.0 - 812a9a4d8",
273
+ width: width,
274
+ height: height,
275
+ backgroundColor: backgroundColor
276
+ }, React.createElement(FixSizeItemContent, null, React.createElement(SizeAwareWrapper_1.default, null, function (_ref3) {
277
+ var newWidth = _ref3.width,
278
+ newHeight = _ref3.height;
279
+ return React.createElement(Viz, Object.assign({}, props, {
280
+ width: newWidth,
281
+ height: newHeight
282
+ }));
283
+ })));
284
+ };
285
+
286
+ FixedSizeContainer.displayName = 'withFixedSizeContainer';
287
+ return FixedSizeContainer;
288
+ };
289
+
290
+ exports.default = withFixedSizeContainer;
291
+
292
+ /***/ }),
293
+ /* 13 */
294
+ /***/ (function(module, exports, __webpack_require__) {
295
+
296
+ "use strict";
297
+
298
+
299
+ Object.defineProperty(exports, "__esModule", {
300
+ value: true
301
+ });
302
+ exports.extendStaticWrapperProps = void 0;
303
+ /**
304
+ * @method extendStaticWrapperProps
305
+ * @param {Object} props
306
+ * @param {DashboardVizType} props.Wrapper
307
+ * @param {DashboardVizType} props.Visualization
308
+ */
309
+
310
+ var extendStaticWrapperProps = function extendStaticWrapperProps(_ref) {
311
+ var Wrapper = _ref.Wrapper,
312
+ Visualization = _ref.Visualization;
313
+ var extendProperties = ['propTypes', 'defaultProps', 'config'];
314
+ extendProperties.forEach(function (prop) {
315
+ if (Visualization[prop]) {
316
+ // eslint-disable-next-line no-param-reassign
317
+ Wrapper[prop] = Visualization[prop];
318
+ }
319
+ });
320
+ };
321
+
322
+ exports.extendStaticWrapperProps = extendStaticWrapperProps;
323
+
324
+ /***/ }),
325
+ /* 14 */
326
+ /***/ (function(module, exports) {
327
+
328
+ module.exports = require("@splunk/visualizations-shared/style");
329
+
330
+ /***/ }),
331
+ /* 15 */
332
+ /***/ (function(module, exports) {
333
+
334
+ module.exports = require("@splunk/visualizations-shared/schemaUtils");
335
+
336
+ /***/ }),
337
+ /* 16 */
338
+ /***/ (function(module, exports, __webpack_require__) {
339
+
340
+ "use strict";
341
+
342
+
343
+ var _toConsumableArray = __webpack_require__(7);
344
+
345
+ var _defineProperty = __webpack_require__(6);
170
346
 
171
347
  var __rest = this && this.__rest || function (s, e) {
172
348
  var t = {};
@@ -184,11 +360,11 @@ var __rest = this && this.__rest || function (s, e) {
184
360
  Object.defineProperty(exports, "__esModule", {
185
361
  value: true
186
362
  });
187
- exports.insertLayout = exports.generatePrecisionValues = exports.getInitialPreset = exports.isDynamicOption = exports.enhanceOptionsSchemaWithDynamicOptions = exports.enhanceConfig = void 0;
363
+ exports.insertLayout = exports.isDynamicOption = exports.uncollapseEditorConfig = exports.generatePrecisionValues = exports.getInitialPreset = exports.enhanceOptionsSchemaWithDynamicOptions = exports.enhanceConfig = void 0;
188
364
 
189
- var lodash_1 = __webpack_require__(2);
365
+ var lodash_1 = __webpack_require__(3);
190
366
 
191
- var schemaUtils_1 = __webpack_require__(16);
367
+ var schemaUtils_1 = __webpack_require__(15);
192
368
 
193
369
  var VizBehavior_1 = __webpack_require__(5);
194
370
 
@@ -259,8 +435,10 @@ function enhanceOptionsSchemaWithDynamicOptions(optionsSchema) {
259
435
  exports.enhanceOptionsSchemaWithDynamicOptions = enhanceOptionsSchemaWithDynamicOptions;
260
436
  /**
261
437
  * Helper function to enhance a Visualization Config as needed based on behaviors specified in supports block
438
+ * this function also collapse all editor panels
262
439
  * @param vizConfig a Visualization Config
263
440
  * @returns an enhanced Visualization Config containing updated config entries based on behaviors it supports
441
+ * and containing `open: false` for all editor panels in editorConfig
264
442
  */
265
443
 
266
444
  function enhanceConfig(vizConfig) {
@@ -270,10 +448,33 @@ function enhanceConfig(vizConfig) {
270
448
  enhancedConfig.optionsSchema = enhanceOptionsSchemaWithDynamicOptions(vizConfig.optionsSchema);
271
449
  }
272
450
 
451
+ enhancedConfig.editorConfig = vizConfig.editorConfig.map(function (config) {
452
+ return Object.assign(Object.assign({}, config), {
453
+ open: false
454
+ });
455
+ });
273
456
  return enhancedConfig;
274
457
  }
275
458
 
276
459
  exports.enhanceConfig = enhanceConfig;
460
+ /**
461
+ * Helper function to uncollapse all editor panels by adding `open: true` to the editorConfig
462
+ * Created for editor unit tests
463
+ * @param vizConfig a Visualization Config
464
+ * @returns a Visualization Config containing `open: true` for all editor panels in editorConfig
465
+ */
466
+
467
+ function uncollapseEditorConfig(vizConfig) {
468
+ var editorPanelUncollapsedConfig = vizConfig;
469
+ editorPanelUncollapsedConfig.editorConfig = vizConfig.editorConfig.map(function (config) {
470
+ return Object.assign(Object.assign({}, config), {
471
+ open: true
472
+ });
473
+ });
474
+ return editorPanelUncollapsedConfig;
475
+ }
476
+
477
+ exports.uncollapseEditorConfig = uncollapseEditorConfig;
277
478
 
278
479
  function isDynamicOption(option) {
279
480
  return option && typeof option === 'string' && option.trim().startsWith('>') || false;
@@ -369,308 +570,57 @@ var insertLayout = function insertLayout(layout, index) {
369
570
  exports.insertLayout = insertLayout;
370
571
 
371
572
  /***/ }),
372
- /* 7 */
373
- /***/ (function(module, exports) {
374
-
375
- module.exports = require("@babel/runtime/helpers/defineProperty");
376
-
377
- /***/ }),
378
- /* 8 */
379
- /***/ (function(module, exports, __webpack_require__) {
380
-
381
- "use strict";
382
-
383
-
384
- var _typeof = __webpack_require__(23);
385
-
386
- Object.defineProperty(exports, "__esModule", {
387
- value: true
388
- });
389
- exports.deepMergeWithArrayPrimitiveOverrides = exports.extendStaticWrapperProps = void 0;
390
-
391
- var lodash_1 = __webpack_require__(2);
392
-
393
- var mapUtils_1 = __webpack_require__(41);
394
- /**
395
- * @method extendStaticWrapperProps
396
- * @param {Object} props
397
- * @param {DashboardVizType} props.Wrapper
398
- * @param {DashboardVizType} props.Visualization
399
- */
400
-
401
-
402
- var extendStaticWrapperProps = function extendStaticWrapperProps(_ref) {
403
- var Wrapper = _ref.Wrapper,
404
- Visualization = _ref.Visualization;
405
- var extendProperties = ['propTypes', 'defaultProps', 'config'];
406
- extendProperties.forEach(function (prop) {
407
- if (Visualization[prop]) {
408
- // eslint-disable-next-line no-param-reassign
409
- Wrapper[prop] = Visualization[prop];
410
- }
411
- });
412
- };
413
-
414
- exports.extendStaticWrapperProps = extendStaticWrapperProps;
415
- /**
416
- * helper to deeply merge objects while preserving arrays in earlier source objects
417
- * deeply nested primitive keys are merged similarly to lodash's defaultsDeep, while keys with arrays of primitives will be preserved if already present in the resultant merged object
418
- * this prevents default arrays of primitives from appending values to user-defined arrays (this occurs if the default array is longer than the user-defined one).
419
- * Array of objects gets merged with the defaults, where the defaults can be an array of objects. Closest matching default object from the defaults list based on key - value pair
420
- * will be used for merging defaults for each object in the array. If no closest match found, first object in default array list used for merging.
421
- *
422
- * @method deepMergeWithArrayPrimitiveOverrides
423
- * @param {Object} initial - target object to merge values into
424
- * @param {Object[]} sources - other default options to be merged into the resultant object if no explicit value is provided, with earlier args taking precedence over later ones
425
- *
426
- * @returns {Object}
427
- */
428
-
429
- var deepMergeWithArrayPrimitiveOverrides = function deepMergeWithArrayPrimitiveOverrides(initial) {
430
- var clone = lodash_1.cloneDeep(initial);
431
-
432
- for (var _len = arguments.length, sources = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
433
- sources[_key - 1] = arguments[_key];
434
- }
435
-
436
- sources.forEach(function (sourceToApply) {
437
- Object.keys(sourceToApply).forEach(function (sourceKey) {
438
- if (!Object.prototype.hasOwnProperty.call(clone, sourceKey)) {
439
- clone[sourceKey] = lodash_1.cloneDeep(sourceToApply[sourceKey]);
440
- }
441
-
442
- if (clone[sourceKey] && _typeof(clone[sourceKey]) === 'object' && !Array.isArray(clone[sourceKey]) && _typeof(sourceToApply[sourceKey]) === 'object') {
443
- clone[sourceKey] = exports.deepMergeWithArrayPrimitiveOverrides(clone[sourceKey], sourceToApply[sourceKey]);
444
- } else if (Array.isArray(clone[sourceKey]) && _typeof(clone[sourceKey][0]) === 'object' && !Array.isArray(clone[sourceKey][0])) {
445
- // If option is an array of objects
446
- for (var i = 0; i < clone[sourceKey].length; i += 1) {
447
- if (_typeof(clone[sourceKey][i]) === 'object') {
448
- var closestMatchIdx = mapUtils_1.findClosestMatchFromDefaultList(sourceToApply[sourceKey], clone[sourceKey][i]);
449
-
450
- if (closestMatchIdx > -1) {
451
- clone[sourceKey][i] = exports.deepMergeWithArrayPrimitiveOverrides(clone[sourceKey][i], sourceToApply[sourceKey][closestMatchIdx]);
452
- }
453
- }
454
- }
455
- }
456
- });
457
- });
458
- return clone;
459
- };
460
-
461
- exports.deepMergeWithArrayPrimitiveOverrides = deepMergeWithArrayPrimitiveOverrides;
462
-
463
- /***/ }),
464
- /* 9 */
465
- /***/ (function(module, exports) {
466
-
467
- module.exports = require("@babel/runtime/helpers/toConsumableArray");
468
-
469
- /***/ }),
470
- /* 10 */
471
- /***/ (function(module, exports) {
472
-
473
- module.exports = require("@splunk/themes/variables");
474
-
475
- /***/ }),
476
- /* 11 */
477
- /***/ (function(module, exports) {
478
-
479
- module.exports = require("@splunk/visualizations-shared/Message");
480
-
481
- /***/ }),
482
- /* 12 */
483
- /***/ (function(module, exports) {
484
-
485
- module.exports = require("@babel/runtime/helpers/classCallCheck");
486
-
487
- /***/ }),
488
- /* 13 */
489
- /***/ (function(module, exports) {
490
-
491
- module.exports = require("@splunk/visualizations-shared/colorUtils");
492
-
493
- /***/ }),
494
- /* 14 */
495
- /***/ (function(module, exports, __webpack_require__) {
496
-
497
- "use strict";
498
-
499
-
500
- Object.defineProperty(exports, "__esModule", {
501
- value: true
502
- });
503
-
504
- var React = __webpack_require__(1);
505
-
506
- var styled_components_1 = __webpack_require__(4);
507
-
508
- var SizeAwareWrapper_1 = __webpack_require__(18);
509
-
510
- var style_1 = __webpack_require__(15);
511
-
512
- var colorUtils_1 = __webpack_require__(13);
513
-
514
- var Item = styled_components_1.default.div.attrs(function (_ref) {
515
- var width = _ref.width;
516
- return {
517
- style: {
518
- width: style_1.toPx(width)
519
- }
520
- };
521
- }).withConfig({
522
- displayName: "FixedSizeContainer__Item",
523
- componentId: "sc-1yhgpod-0"
524
- })(["position:relative;background-color:", "};"], function (props) {
525
- return colorUtils_1.isColor(props.backgroundColor) && props.backgroundColor || props.theme.defaultBackgroundColor;
526
- }); // Use `.attrs()` for highly dynamic styles. Ref: https://github.com/styled-components/styled-components/issues/134#issuecomment-312415291
527
-
528
- var FixSizeItem = styled_components_1.default.div.attrs(function (_ref2) {
529
- var width = _ref2.width,
530
- height = _ref2.height;
531
- return {
532
- style: Object.assign(Object.assign({}, width && {
533
- width: style_1.toPx(width)
534
- }), height && {
535
- height: style_1.toPx(height)
536
- })
537
- };
538
- }).withConfig({
539
- displayName: "FixedSizeContainer__FixSizeItem",
540
- componentId: "sc-1yhgpod-1"
541
- })(["position:relative;flex-direction:column;flex:1;display:flex;background-color:", "};"], function (props) {
542
- return colorUtils_1.isColor(props.backgroundColor) && props.backgroundColor || props.theme.defaultBackgroundColor;
543
- });
544
- var ItemContent = styled_components_1.default.div.withConfig({
545
- displayName: "FixedSizeContainer__ItemContent",
546
- componentId: "sc-1yhgpod-2"
547
- })(["position:relative;min-height:100px;width:100%;"]);
548
- var FixSizeItemContent = styled_components_1.default.div.withConfig({
549
- displayName: "FixedSizeContainer__FixSizeItemContent",
550
- componentId: "sc-1yhgpod-3"
551
- })(["min-height:0px;flex:1;position:relative;box-sizing:border-box;"]);
552
-
553
- var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
554
- var FixedSizeContainer = function FixedSizeContainer(props) {
555
- var width = props.width,
556
- height = props.height,
557
- backgroundColor = props.backgroundColor;
558
-
559
- if (!height) {
560
- return React.createElement(Item, {
561
- "data-test": "item",
562
- width: width,
563
- backgroundColor: backgroundColor
564
- }, React.createElement(ItemContent, null, React.createElement(Viz, Object.assign({}, props))));
565
- }
566
-
567
- return React.createElement(FixSizeItem, {
568
- "data-test": "fix-size-item",
569
- "data-splunk-visualization-version": "25.0.0 - 5e0f30e5a",
570
- width: width,
571
- height: height,
572
- backgroundColor: backgroundColor
573
- }, React.createElement(FixSizeItemContent, null, React.createElement(SizeAwareWrapper_1.default, null, function (_ref3) {
574
- var newWidth = _ref3.width,
575
- newHeight = _ref3.height;
576
- return React.createElement(Viz, Object.assign({}, props, {
577
- width: newWidth,
578
- height: newHeight
579
- }));
580
- })));
581
- };
582
-
583
- FixedSizeContainer.displayName = 'withFixedSizeContainer';
584
- return FixedSizeContainer;
585
- };
586
-
587
- exports.default = withFixedSizeContainer;
588
-
589
- /***/ }),
590
- /* 15 */
591
- /***/ (function(module, exports) {
592
-
593
- module.exports = require("@splunk/visualizations-shared/style");
594
-
595
- /***/ }),
596
- /* 16 */
573
+ /* 17 */
597
574
  /***/ (function(module, exports) {
598
575
 
599
- module.exports = require("@splunk/visualizations-shared/schemaUtils");
576
+ module.exports = require("@splunk/visualizations-shared/configUtils");
600
577
 
601
578
  /***/ }),
602
- /* 17 */
579
+ /* 18 */
603
580
  /***/ (function(module, exports) {
604
581
 
605
582
  module.exports = require("@babel/runtime/helpers/createClass");
606
583
 
607
584
  /***/ }),
608
- /* 18 */
585
+ /* 19 */
609
586
  /***/ (function(module, exports) {
610
587
 
611
588
  module.exports = require("@splunk/visualizations-shared/SizeAwareWrapper");
612
589
 
613
590
  /***/ }),
614
- /* 19 */,
615
- /* 20 */
591
+ /* 20 */,
592
+ /* 21 */
616
593
  /***/ (function(module, exports) {
617
594
 
618
595
  module.exports = require("@splunk/themes/pick");
619
596
 
620
597
  /***/ }),
621
- /* 21 */
598
+ /* 22 */
622
599
  /***/ (function(module, exports) {
623
600
 
624
601
  module.exports = require("@splunk/visualization-context/TimezoneContext");
625
602
 
626
603
  /***/ }),
627
- /* 22 */,
628
- /* 23 */
629
- /***/ (function(module, exports) {
630
-
631
- module.exports = require("@babel/runtime/helpers/typeof");
632
-
633
- /***/ }),
604
+ /* 23 */,
634
605
  /* 24 */
635
606
  /***/ (function(module, exports) {
636
607
 
637
- module.exports = require("@splunk/visualizations-shared/numberUtils");
608
+ module.exports = require("@splunk/visualizations-shared/hocUtils");
638
609
 
639
610
  /***/ }),
640
611
  /* 25 */
641
- /***/ (function(module, exports, __webpack_require__) {
642
-
643
- "use strict";
644
-
645
-
646
- Object.defineProperty(exports, "__esModule", {
647
- value: true
648
- });
649
- exports.pickFieldFromJSONSchema = void 0;
650
-
651
- var lodash_1 = __webpack_require__(2);
652
-
653
- var pickFieldFromJSONSchema = function pickFieldFromJSONSchema(optionsSchema) {
654
- var fieldName = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'default';
655
- return Object.keys(optionsSchema).reduce(function (accum, k) {
656
- if (lodash_1.has(optionsSchema[k], fieldName)) {
657
- accum[k] = optionsSchema[k][fieldName];
658
- } else if (lodash_1.get(optionsSchema, [k, 'type']) === 'object' && lodash_1.has(optionsSchema[k], 'properties')) {
659
- var nestedSchema = exports.pickFieldFromJSONSchema(optionsSchema[k].properties, fieldName);
612
+ /***/ (function(module, exports) {
660
613
 
661
- if (!lodash_1.isEmpty(nestedSchema)) {
662
- accum[k] = nestedSchema;
663
- }
664
- }
614
+ module.exports = require("@splunk/visualizations-shared/JSONSchemaUtils");
665
615
 
666
- return accum;
667
- }, {});
668
- };
616
+ /***/ }),
617
+ /* 26 */
618
+ /***/ (function(module, exports) {
669
619
 
670
- exports.pickFieldFromJSONSchema = pickFieldFromJSONSchema;
620
+ module.exports = require("@splunk/visualizations-shared/numberUtils");
671
621
 
672
622
  /***/ }),
673
- /* 26 */
623
+ /* 27 */
674
624
  /***/ (function(module, exports, __webpack_require__) {
675
625
 
676
626
  "use strict";
@@ -685,13 +635,13 @@ var React = __webpack_require__(1);
685
635
 
686
636
  var T = __webpack_require__(0);
687
637
 
688
- var lodash_1 = __webpack_require__(2);
638
+ var lodash_1 = __webpack_require__(3);
689
639
 
690
- var i18n_1 = __webpack_require__(3);
640
+ var i18n_1 = __webpack_require__(2);
691
641
 
692
- var Message_1 = __webpack_require__(11);
642
+ var Message_1 = __webpack_require__(9);
693
643
 
694
- var FixedSizeContainer_1 = __webpack_require__(14);
644
+ var FixedSizeContainer_1 = __webpack_require__(12);
695
645
  /**
696
646
  * @method shouldShowIconPlaceholder
697
647
  * @param {object} dataSources
@@ -761,13 +711,13 @@ IconPlaceholder.defaultProps = {
761
711
  exports.default = FixedSizeContainer_1.default(IconPlaceholder);
762
712
 
763
713
  /***/ }),
764
- /* 27 */
714
+ /* 28 */
765
715
  /***/ (function(module, exports, __webpack_require__) {
766
716
 
767
717
  "use strict";
768
718
 
769
719
 
770
- var _defineProperty = __webpack_require__(7);
720
+ var _defineProperty = __webpack_require__(6);
771
721
 
772
722
  Object.defineProperty(exports, "__esModule", {
773
723
  value: true
@@ -776,9 +726,9 @@ exports.getSortingParams = exports.SortParamsPropTypes = void 0;
776
726
 
777
727
  var T = __webpack_require__(0);
778
728
 
779
- var lodash_1 = __webpack_require__(2);
729
+ var lodash_1 = __webpack_require__(3);
780
730
 
781
- var DataSource_1 = __webpack_require__(37);
731
+ var DataSource_1 = __webpack_require__(38);
782
732
 
783
733
  exports.SortParamsPropTypes = T.shape({
784
734
  currentSortKey: T.string,
@@ -831,7 +781,7 @@ var getSortingParams = function getSortingParams(_ref) {
831
781
  exports.getSortingParams = getSortingParams;
832
782
 
833
783
  /***/ }),
834
- /* 28 */
784
+ /* 29 */
835
785
  /***/ (function(module, exports, __webpack_require__) {
836
786
 
837
787
  "use strict";
@@ -844,7 +794,7 @@ exports.getPaginationParams = exports.PaginatorParamsPropTypes = void 0;
844
794
 
845
795
  var T = __webpack_require__(0);
846
796
 
847
- var lodash_1 = __webpack_require__(2);
797
+ var lodash_1 = __webpack_require__(3);
848
798
 
849
799
  exports.PaginatorParamsPropTypes = T.shape({
850
800
  isPaging: T.bool,
@@ -895,7 +845,7 @@ var getPaginationParams = function getPaginationParams(_ref) {
895
845
  exports.getPaginationParams = getPaginationParams;
896
846
 
897
847
  /***/ }),
898
- /* 29 */
848
+ /* 30 */
899
849
  /***/ (function(module, exports, __webpack_require__) {
900
850
 
901
851
  "use strict";
@@ -923,7 +873,7 @@ var VizCategory;
923
873
  })(VizCategory = exports.VizCategory || (exports.VizCategory = {}));
924
874
 
925
875
  /***/ }),
926
- /* 30 */
876
+ /* 31 */
927
877
  /***/ (function(module, exports, __webpack_require__) {
928
878
 
929
879
  "use strict";
@@ -935,39 +885,39 @@ Object.defineProperty(exports, "__esModule", {
935
885
 
936
886
  var React = __webpack_require__(1);
937
887
 
938
- var lodash_1 = __webpack_require__(2);
888
+ var lodash_1 = __webpack_require__(3);
939
889
 
940
- var getSettingsFromThemedProps_1 = __webpack_require__(31);
890
+ var getSettingsFromThemedProps_1 = __webpack_require__(32);
941
891
 
942
- var Options_1 = __webpack_require__(32);
892
+ var Options_1 = __webpack_require__(33);
943
893
 
944
- var SanitizeProps_1 = __webpack_require__(33);
894
+ var SanitizeProps_1 = __webpack_require__(34);
945
895
 
946
- var TimezoneContext_1 = __webpack_require__(21);
896
+ var TimezoneContext_1 = __webpack_require__(22);
947
897
 
948
- var moment_1 = __webpack_require__(34);
898
+ var moment_1 = __webpack_require__(35);
949
899
 
950
900
  var styled_components_1 = __webpack_require__(4);
951
901
 
952
- var SplunkVisualization_1 = __webpack_require__(35);
902
+ var hocUtils_1 = __webpack_require__(24);
953
903
 
954
- var VizBehavior_1 = __webpack_require__(5);
904
+ var JSONSchemaUtils_1 = __webpack_require__(25);
955
905
 
956
- var getSorting_1 = __webpack_require__(27);
906
+ var SplunkVisualization_1 = __webpack_require__(36);
957
907
 
958
- var getPagination_1 = __webpack_require__(28);
908
+ var VizBehavior_1 = __webpack_require__(5);
959
909
 
960
- var useDeepMemo_1 = __webpack_require__(38);
910
+ var getSorting_1 = __webpack_require__(28);
961
911
 
962
- var JSONSchemaUtils_1 = __webpack_require__(25);
912
+ var getPagination_1 = __webpack_require__(29);
963
913
 
964
- var MissingPropsMessage_1 = __webpack_require__(39);
914
+ var useDeepMemo_1 = __webpack_require__(39);
965
915
 
966
- var withEditModeCover_1 = __webpack_require__(40);
916
+ var MissingPropsMessage_1 = __webpack_require__(40);
967
917
 
968
- var withPlaceholder_1 = __webpack_require__(42);
918
+ var withEditModeCover_1 = __webpack_require__(41);
969
919
 
970
- var hocUtils_1 = __webpack_require__(8);
920
+ var withPlaceholder_1 = __webpack_require__(42);
971
921
  /**
972
922
  * hoc that wraps a pure react visualization in a Dashboard visualization
973
923
  * @param {DashboardVizOpts} opts
@@ -1168,37 +1118,37 @@ var withDashboardViz = function withDashboardViz(opts) {
1168
1118
  exports.default = withDashboardViz;
1169
1119
 
1170
1120
  /***/ }),
1171
- /* 31 */
1121
+ /* 32 */
1172
1122
  /***/ (function(module, exports) {
1173
1123
 
1174
1124
  module.exports = require("@splunk/themes/getSettingsFromThemedProps");
1175
1125
 
1176
1126
  /***/ }),
1177
- /* 32 */
1127
+ /* 33 */
1178
1128
  /***/ (function(module, exports) {
1179
1129
 
1180
1130
  module.exports = require("@splunk/visualization-encoding/Options");
1181
1131
 
1182
1132
  /***/ }),
1183
- /* 33 */
1133
+ /* 34 */
1184
1134
  /***/ (function(module, exports) {
1185
1135
 
1186
1136
  module.exports = require("@splunk/visualizations-shared/SanitizeProps");
1187
1137
 
1188
1138
  /***/ }),
1189
- /* 34 */
1139
+ /* 35 */
1190
1140
  /***/ (function(module, exports) {
1191
1141
 
1192
1142
  module.exports = require("@splunk/moment");
1193
1143
 
1194
1144
  /***/ }),
1195
- /* 35 */
1145
+ /* 36 */
1196
1146
  /***/ (function(module, exports, __webpack_require__) {
1197
1147
 
1198
1148
  "use strict";
1199
1149
 
1200
1150
 
1201
- var _classCallCheck = __webpack_require__(12);
1151
+ var _classCallCheck = __webpack_require__(10);
1202
1152
 
1203
1153
  Object.defineProperty(exports, "__esModule", {
1204
1154
  value: true
@@ -1208,9 +1158,9 @@ exports.INITIAL_HEIGHT = exports.INITIAL_WIDTH = void 0;
1208
1158
 
1209
1159
  var T = __webpack_require__(0);
1210
1160
 
1211
- var lodash_1 = __webpack_require__(2);
1161
+ var lodash_1 = __webpack_require__(3);
1212
1162
 
1213
- var VizActionHandler_1 = __webpack_require__(36); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
1163
+ var VizActionHandler_1 = __webpack_require__(37); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
1214
1164
 
1215
1165
 
1216
1166
  exports.INITIAL_WIDTH = 250;
@@ -1343,15 +1293,15 @@ SplunkVisualization.defaultProps = {
1343
1293
  exports.default = SplunkVisualization;
1344
1294
 
1345
1295
  /***/ }),
1346
- /* 36 */
1296
+ /* 37 */
1347
1297
  /***/ (function(module, exports, __webpack_require__) {
1348
1298
 
1349
1299
  "use strict";
1350
1300
 
1351
1301
 
1352
- var _classCallCheck = __webpack_require__(12);
1302
+ var _classCallCheck = __webpack_require__(10);
1353
1303
 
1354
- var _createClass = __webpack_require__(17);
1304
+ var _createClass = __webpack_require__(18);
1355
1305
 
1356
1306
  Object.defineProperty(exports, "__esModule", {
1357
1307
  value: true
@@ -1380,7 +1330,7 @@ var DefaultVizActionHandler = /*#__PURE__*/function () {
1380
1330
  exports.DefaultVizActionHandler = DefaultVizActionHandler;
1381
1331
 
1382
1332
  /***/ }),
1383
- /* 37 */
1333
+ /* 38 */
1384
1334
  /***/ (function(module, exports, __webpack_require__) {
1385
1335
 
1386
1336
  "use strict";
@@ -1393,7 +1343,7 @@ exports.validSortDirs = void 0;
1393
1343
  exports.validSortDirs = ['asc', 'desc', 'none'];
1394
1344
 
1395
1345
  /***/ }),
1396
- /* 38 */
1346
+ /* 39 */
1397
1347
  /***/ (function(module, exports, __webpack_require__) {
1398
1348
 
1399
1349
  "use strict";
@@ -1406,7 +1356,7 @@ exports.useDeepMemo = void 0;
1406
1356
 
1407
1357
  var react_1 = __webpack_require__(1);
1408
1358
 
1409
- var lodash_1 = __webpack_require__(2);
1359
+ var lodash_1 = __webpack_require__(3);
1410
1360
  /**
1411
1361
  * This hook evaluates and stores the result of a passed function and only
1412
1362
  * re-evaluates the function when passed dependencies change.
@@ -1438,7 +1388,7 @@ var useDeepMemo = function useDeepMemo(fn, dependencies) {
1438
1388
  exports.useDeepMemo = useDeepMemo;
1439
1389
 
1440
1390
  /***/ }),
1441
- /* 39 */
1391
+ /* 40 */
1442
1392
  /***/ (function(module, exports, __webpack_require__) {
1443
1393
 
1444
1394
  "use strict";
@@ -1453,11 +1403,11 @@ var React = __webpack_require__(1);
1453
1403
 
1454
1404
  var T = __webpack_require__(0);
1455
1405
 
1456
- var i18n_1 = __webpack_require__(3);
1406
+ var i18n_1 = __webpack_require__(2);
1457
1407
 
1458
- var Message_1 = __webpack_require__(11);
1408
+ var Message_1 = __webpack_require__(9);
1459
1409
 
1460
- var FixedSizeContainer_1 = __webpack_require__(14);
1410
+ var FixedSizeContainer_1 = __webpack_require__(12);
1461
1411
  /**
1462
1412
  * @method isMissing
1463
1413
  * @param {any} v
@@ -1518,7 +1468,7 @@ exports.MissingPropsMessage.defaultProps = {
1518
1468
  exports.default = FixedSizeContainer_1.default(exports.MissingPropsMessage);
1519
1469
 
1520
1470
  /***/ }),
1521
- /* 40 */
1471
+ /* 41 */
1522
1472
  /***/ (function(module, exports, __webpack_require__) {
1523
1473
 
1524
1474
  "use strict";
@@ -1532,14 +1482,14 @@ var React = __webpack_require__(1);
1532
1482
 
1533
1483
  var styled_components_1 = __webpack_require__(4);
1534
1484
 
1535
- var hocUtils_1 = __webpack_require__(8);
1485
+ var hocUtils_1 = __webpack_require__(13);
1536
1486
 
1537
1487
  var Cover = styled_components_1.default.div.withConfig({
1538
1488
  displayName: "withEditModeCover__Cover",
1539
1489
  componentId: "sc-1gsbnxb-0"
1540
1490
  })(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
1541
1491
  var Blocker = styled_components_1.default.div.attrs({
1542
- 'data-splunk-visualization-version': "25.0.0 - 5e0f30e5a"
1492
+ 'data-splunk-visualization-version': "25.1.0 - 812a9a4d8"
1543
1493
  }).withConfig({
1544
1494
  displayName: "withEditModeCover__Blocker",
1545
1495
  componentId: "sc-1gsbnxb-1"
@@ -1569,12 +1519,6 @@ var withEditModeCover = function withEditModeCover(Visualization, disableEditMod
1569
1519
 
1570
1520
  exports.default = withEditModeCover;
1571
1521
 
1572
- /***/ }),
1573
- /* 41 */
1574
- /***/ (function(module, exports) {
1575
-
1576
- module.exports = require("@splunk/visualizations-shared/mapUtils");
1577
-
1578
1522
  /***/ }),
1579
1523
  /* 42 */
1580
1524
  /***/ (function(module, exports, __webpack_require__) {
@@ -1588,15 +1532,15 @@ Object.defineProperty(exports, "__esModule", {
1588
1532
 
1589
1533
  var React = __webpack_require__(1);
1590
1534
 
1591
- var colorUtils_1 = __webpack_require__(13);
1535
+ var colorUtils_1 = __webpack_require__(11);
1592
1536
 
1593
- var variables_1 = __webpack_require__(10);
1537
+ var variables_1 = __webpack_require__(8);
1594
1538
 
1595
- var IconPlaceholder_1 = __webpack_require__(26);
1539
+ var IconPlaceholder_1 = __webpack_require__(27);
1596
1540
 
1597
1541
  var VizBehavior_1 = __webpack_require__(5);
1598
1542
 
1599
- var hocUtils_1 = __webpack_require__(8);
1543
+ var hocUtils_1 = __webpack_require__(13);
1600
1544
 
1601
1545
  var withPlaceholder = function withPlaceholder(Visualization) {
1602
1546
  var useIconPlaceholder = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : IconPlaceholder_1.shouldShowIconPlaceholder;
@@ -1676,7 +1620,7 @@ Object.defineProperty(exports, "__esModule", {
1676
1620
  value: true
1677
1621
  });
1678
1622
 
1679
- var i18n_1 = __webpack_require__(3);
1623
+ var i18n_1 = __webpack_require__(2);
1680
1624
 
1681
1625
  var background = function background(_ref) {
1682
1626
  var label = _ref.label,
@@ -1737,18 +1681,18 @@ module.exports = require("@splunk/visualization-color-palettes/editors/PresetPal
1737
1681
  "use strict";
1738
1682
 
1739
1683
 
1740
- var _toConsumableArray = __webpack_require__(9);
1684
+ var _toConsumableArray = __webpack_require__(7);
1741
1685
 
1742
1686
  Object.defineProperty(exports, "__esModule", {
1743
1687
  value: true
1744
1688
  });
1745
1689
  exports.convertToGaugeProperties = exports.mapValueLabelDisplay = exports.mapToOldKey = exports.getGradientDimensions = exports.getGradientStops = exports.getGradientStopColors = exports.getGradientStopOffsets = exports.getGaugeRange = exports.validateRanges = exports.getSortedRanges = exports.getMarkerGaugeValueMarkerPositions = exports.getMarkerBarDimensions = exports.getFillerGaugeValueMarkerPositions = exports.getFillBarDimensions = exports.getGaugeBarHeight = exports.getGaugeBarWidth = exports.getGaugeBarStartPositions = exports.getGaugeBarLength = exports.assignGaugeColor = exports.getGaugeDimensions = exports.getGaugeStartPosition = exports.getGaugeLength = exports.getGaugeHeight = exports.getGaugeWidth = exports.FILL_THICKNESS = exports.GAUGE_THICKNESS = void 0;
1746
1690
 
1747
- var lodash_1 = __webpack_require__(2);
1691
+ var lodash_1 = __webpack_require__(3);
1748
1692
 
1749
1693
  var colorConstants_1 = __webpack_require__(43);
1750
1694
 
1751
- var i18n_1 = __webpack_require__(3);
1695
+ var i18n_1 = __webpack_require__(2);
1752
1696
 
1753
1697
  exports.GAUGE_THICKNESS = 50;
1754
1698
  exports.FILL_THICKNESS = 38;
@@ -2518,7 +2462,9 @@ exports.convertToGaugeProperties = convertToGaugeProperties;
2518
2462
  /* 97 */,
2519
2463
  /* 98 */,
2520
2464
  /* 99 */,
2521
- /* 100 */
2465
+ /* 100 */,
2466
+ /* 101 */,
2467
+ /* 102 */
2522
2468
  /***/ (function(module, exports, __webpack_require__) {
2523
2469
 
2524
2470
  "use strict";
@@ -2528,7 +2474,7 @@ Object.defineProperty(exports, "__esModule", {
2528
2474
  value: true
2529
2475
  });
2530
2476
 
2531
- var i18n_1 = __webpack_require__(3);
2477
+ var i18n_1 = __webpack_require__(2);
2532
2478
 
2533
2479
  var gauge = {
2534
2480
  label: i18n_1._('Gauge Settings'),
@@ -2582,7 +2528,7 @@ var gauge = {
2582
2528
  exports.default = gauge;
2583
2529
 
2584
2530
  /***/ }),
2585
- /* 101 */
2531
+ /* 103 */
2586
2532
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
2587
2533
 
2588
2534
  "use strict";
@@ -2597,7 +2543,7 @@ __webpack_require__.r(__webpack_exports__);
2597
2543
  /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
2598
2544
  /* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(4);
2599
2545
  /* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_3__);
2600
- /* harmony import */ var _splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(24);
2546
+ /* harmony import */ var _splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(26);
2601
2547
  /* harmony import */ var _splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_4__);
2602
2548
 
2603
2549
 
@@ -2836,7 +2782,7 @@ MajorTicks.defaultProps = {
2836
2782
  /* harmony default export */ __webpack_exports__["default"] = (MajorTicks);
2837
2783
 
2838
2784
  /***/ }),
2839
- /* 102 */
2785
+ /* 104 */
2840
2786
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
2841
2787
 
2842
2788
  "use strict";
@@ -2851,7 +2797,7 @@ __webpack_require__.r(__webpack_exports__);
2851
2797
  /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
2852
2798
  /* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(4);
2853
2799
  /* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_3__);
2854
- /* harmony import */ var _splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(24);
2800
+ /* harmony import */ var _splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(26);
2855
2801
  /* harmony import */ var _splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_4__);
2856
2802
 
2857
2803
 
@@ -3037,8 +2983,6 @@ ValueMarker.defaultProps = {
3037
2983
  /* harmony default export */ __webpack_exports__["default"] = (ValueMarker);
3038
2984
 
3039
2985
  /***/ }),
3040
- /* 103 */,
3041
- /* 104 */,
3042
2986
  /* 105 */,
3043
2987
  /* 106 */,
3044
2988
  /* 107 */,
@@ -3105,7 +3049,9 @@ ValueMarker.defaultProps = {
3105
3049
  /* 168 */,
3106
3050
  /* 169 */,
3107
3051
  /* 170 */,
3108
- /* 171 */
3052
+ /* 171 */,
3053
+ /* 172 */,
3054
+ /* 173 */
3109
3055
  /***/ (function(module, exports, __webpack_require__) {
3110
3056
 
3111
3057
  "use strict";
@@ -3129,13 +3075,13 @@ Object.defineProperty(exports, "__esModule", {
3129
3075
  });
3130
3076
  exports.themes = exports.computeVizProps = exports.PureFillerGauge = exports.config = void 0;
3131
3077
 
3132
- var lodash_1 = __webpack_require__(2);
3078
+ var lodash_1 = __webpack_require__(3);
3133
3079
 
3134
- var config_1 = __webpack_require__(172);
3080
+ var config_1 = __webpack_require__(174);
3135
3081
 
3136
- var withDashboardViz_1 = __webpack_require__(30);
3082
+ var withDashboardViz_1 = __webpack_require__(31);
3137
3083
 
3138
- var FillerGauge_1 = __webpack_require__(176);
3084
+ var FillerGauge_1 = __webpack_require__(178);
3139
3085
 
3140
3086
  var gaugeUtils_1 = __webpack_require__(80);
3141
3087
 
@@ -3167,7 +3113,7 @@ exports.themes = config_1.default.themes;
3167
3113
  exports.default = viz;
3168
3114
 
3169
3115
  /***/ }),
3170
- /* 172 */
3116
+ /* 174 */
3171
3117
  /***/ (function(module, exports, __webpack_require__) {
3172
3118
 
3173
3119
  "use strict";
@@ -3177,35 +3123,35 @@ Object.defineProperty(exports, "__esModule", {
3177
3123
  value: true
3178
3124
  });
3179
3125
 
3180
- var i18n_1 = __webpack_require__(3);
3126
+ var i18n_1 = __webpack_require__(2);
3181
3127
 
3182
- var schemaUtils_1 = __webpack_require__(16);
3128
+ var schemaUtils_1 = __webpack_require__(15);
3183
3129
 
3184
- var pick_1 = __webpack_require__(20);
3130
+ var pick_1 = __webpack_require__(21);
3185
3131
 
3186
- var variables_1 = __webpack_require__(10);
3132
+ var variables_1 = __webpack_require__(8);
3187
3133
 
3188
3134
  var visualization_color_palettes_1 = __webpack_require__(44);
3189
3135
 
3190
3136
  var PresetPalettes_1 = __webpack_require__(53);
3191
3137
 
3192
- var GaugeFiller_1 = __webpack_require__(173);
3138
+ var GaugeFiller_1 = __webpack_require__(175);
3193
3139
 
3194
3140
  var placeholders_1 = __webpack_require__(45);
3195
3141
 
3196
3142
  var VizBehavior_1 = __webpack_require__(5);
3197
3143
 
3198
- var VizCategory_1 = __webpack_require__(29);
3144
+ var VizCategory_1 = __webpack_require__(30);
3199
3145
 
3200
- var configUtils_1 = __webpack_require__(6);
3146
+ var configUtils_1 = __webpack_require__(16);
3201
3147
 
3202
- var Gauge_1 = __webpack_require__(100);
3148
+ var Gauge_1 = __webpack_require__(102);
3203
3149
 
3204
3150
  var BackgroundColor_1 = __webpack_require__(49);
3205
3151
 
3206
- var DynamicGaugeColorEditor_1 = __webpack_require__(174);
3152
+ var DynamicGaugeColorEditor_1 = __webpack_require__(176);
3207
3153
 
3208
- var StaticGaugeColorEditor_1 = __webpack_require__(175);
3154
+ var StaticGaugeColorEditor_1 = __webpack_require__(177);
3209
3155
 
3210
3156
  var dataContract = {
3211
3157
  requiredDataSources: [{
@@ -3377,7 +3323,7 @@ var presets = [{
3377
3323
  var editorConfig = [{
3378
3324
  label: i18n_1._('Select Data Field'),
3379
3325
  layout: [[{
3380
- label: '',
3326
+ label: i18n_1._('Data field'),
3381
3327
  editor: 'editor.columnSelector',
3382
3328
  option: 'value',
3383
3329
  context: 'defaultContext',
@@ -3454,13 +3400,13 @@ var config = {
3454
3400
  exports.default = configUtils_1.enhanceConfig(config);
3455
3401
 
3456
3402
  /***/ }),
3457
- /* 173 */
3403
+ /* 175 */
3458
3404
  /***/ (function(module, exports) {
3459
3405
 
3460
3406
  module.exports = require("@splunk/react-icons/GaugeFiller");
3461
3407
 
3462
3408
  /***/ }),
3463
- /* 174 */
3409
+ /* 176 */
3464
3410
  /***/ (function(module, exports, __webpack_require__) {
3465
3411
 
3466
3412
  "use strict";
@@ -3471,9 +3417,9 @@ Object.defineProperty(exports, "__esModule", {
3471
3417
  });
3472
3418
  exports.getDynamicGaugeColorEditor = void 0;
3473
3419
 
3474
- var i18n_1 = __webpack_require__(3);
3420
+ var i18n_1 = __webpack_require__(2);
3475
3421
 
3476
- var configUtils_1 = __webpack_require__(6);
3422
+ var configUtils_1 = __webpack_require__(17);
3477
3423
 
3478
3424
  var getDynamicGaugeColorEditor = function getDynamicGaugeColorEditor(_ref) {
3479
3425
  var defaultContext = _ref.defaultContext,
@@ -3509,7 +3455,7 @@ var getDynamicGaugeColorEditor = function getDynamicGaugeColorEditor(_ref) {
3509
3455
  exports.getDynamicGaugeColorEditor = getDynamicGaugeColorEditor;
3510
3456
 
3511
3457
  /***/ }),
3512
- /* 175 */
3458
+ /* 177 */
3513
3459
  /***/ (function(module, exports, __webpack_require__) {
3514
3460
 
3515
3461
  "use strict";
@@ -3519,9 +3465,9 @@ Object.defineProperty(exports, "__esModule", {
3519
3465
  value: true
3520
3466
  });
3521
3467
 
3522
- var i18n_1 = __webpack_require__(3);
3468
+ var i18n_1 = __webpack_require__(2);
3523
3469
 
3524
- var configUtils_1 = __webpack_require__(6);
3470
+ var configUtils_1 = __webpack_require__(17);
3525
3471
 
3526
3472
  var StaticGaugeColorEditor = {
3527
3473
  label: i18n_1._('Static Gauge'),
@@ -3535,7 +3481,7 @@ var StaticGaugeColorEditor = {
3535
3481
  exports.default = StaticGaugeColorEditor;
3536
3482
 
3537
3483
  /***/ }),
3538
- /* 176 */
3484
+ /* 178 */
3539
3485
  /***/ (function(module, exports, __webpack_require__) {
3540
3486
 
3541
3487
  "use strict";
@@ -3565,21 +3511,21 @@ var T = __webpack_require__(0);
3565
3511
 
3566
3512
  var styled_components_1 = __webpack_require__(4);
3567
3513
 
3568
- var lodash_1 = __webpack_require__(2);
3514
+ var lodash_1 = __webpack_require__(3);
3569
3515
 
3570
- var i18n_1 = __webpack_require__(3);
3516
+ var i18n_1 = __webpack_require__(2);
3571
3517
 
3572
- var style_1 = __webpack_require__(15);
3518
+ var style_1 = __webpack_require__(14);
3573
3519
 
3574
- var SizeAwareWrapper_1 = __webpack_require__(18);
3520
+ var SizeAwareWrapper_1 = __webpack_require__(19);
3575
3521
 
3576
- var Message_1 = __webpack_require__(11);
3522
+ var Message_1 = __webpack_require__(9);
3577
3523
 
3578
3524
  var gaugeUtils_1 = __webpack_require__(80);
3579
3525
 
3580
- var GaugeMajorTicks_1 = __webpack_require__(101);
3526
+ var GaugeMajorTicks_1 = __webpack_require__(103);
3581
3527
 
3582
- var GaugeValueMarker_1 = __webpack_require__(102);
3528
+ var GaugeValueMarker_1 = __webpack_require__(104);
3583
3529
 
3584
3530
  var Container = styled_components_1.default.div.withConfig({
3585
3531
  displayName: "FillerGauge__Container",