@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
@@ -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 = 218);
90
+ /******/ return __webpack_require__(__webpack_require__.s = 221);
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 */
198
+ /***/ (function(module, exports, __webpack_require__) {
199
+
200
+ "use strict";
201
+
202
+
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;
261
+
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 */
162
294
  /***/ (function(module, exports, __webpack_require__) {
163
295
 
164
296
  "use strict";
165
297
 
166
298
 
167
- var _toConsumableArray = __webpack_require__(9);
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
+ */
168
309
 
169
- var _defineProperty = __webpack_require__(7);
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,249 +570,20 @@ 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 */
597
- /***/ (function(module, exports) {
598
-
599
- module.exports = require("@splunk/visualizations-shared/schemaUtils");
600
-
601
- /***/ }),
602
- /* 17 */
573
+ /* 17 */,
574
+ /* 18 */
603
575
  /***/ (function(module, exports) {
604
576
 
605
577
  module.exports = require("@babel/runtime/helpers/createClass");
606
578
 
607
579
  /***/ }),
608
- /* 18 */
580
+ /* 19 */
609
581
  /***/ (function(module, exports) {
610
582
 
611
583
  module.exports = require("@splunk/visualizations-shared/SizeAwareWrapper");
612
584
 
613
585
  /***/ }),
614
- /* 19 */
586
+ /* 20 */
615
587
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
616
588
 
617
589
  "use strict";
@@ -646,15 +618,15 @@ __webpack_require__.r(__webpack_exports__);
646
618
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "lighten", function() { return lighten; });
647
619
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "darken", function() { return darken; });
648
620
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "handleValueClickCallback", function() { return handleValueClickCallback; });
649
- /* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7);
621
+ /* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6);
650
622
  /* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__);
651
- /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(2);
623
+ /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3);
652
624
  /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_1__);
653
- /* harmony import */ var _splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(24);
625
+ /* harmony import */ var _splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(26);
654
626
  /* harmony import */ var _splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_2__);
655
627
  /* harmony import */ var _splunk_visualizations_shared_domUtils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(48);
656
628
  /* harmony import */ var _splunk_visualizations_shared_domUtils__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_domUtils__WEBPACK_IMPORTED_MODULE_3__);
657
- /* harmony import */ var _splunk_visualizations_shared_propUtils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(22);
629
+ /* harmony import */ var _splunk_visualizations_shared_propUtils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(23);
658
630
  /* harmony import */ var _splunk_visualizations_shared_propUtils__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_propUtils__WEBPACK_IMPORTED_MODULE_4__);
659
631
  /* harmony import */ var _splunk_visualizations_shared_colorConstants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(43);
660
632
  /* harmony import */ var _splunk_visualizations_shared_colorConstants__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_colorConstants__WEBPACK_IMPORTED_MODULE_5__);
@@ -1618,71 +1590,44 @@ var handleValueClickCallback = function handleValueClickCallback(ev, majorValue,
1618
1590
  }));
1619
1591
  };
1620
1592
 
1621
- /***/ }),
1622
- /* 20 */
1623
- /***/ (function(module, exports) {
1624
-
1625
- module.exports = require("@splunk/themes/pick");
1626
-
1627
1593
  /***/ }),
1628
1594
  /* 21 */
1629
1595
  /***/ (function(module, exports) {
1630
1596
 
1631
- module.exports = require("@splunk/visualization-context/TimezoneContext");
1597
+ module.exports = require("@splunk/themes/pick");
1632
1598
 
1633
1599
  /***/ }),
1634
1600
  /* 22 */
1635
1601
  /***/ (function(module, exports) {
1636
1602
 
1637
- module.exports = require("@splunk/visualizations-shared/propUtils");
1603
+ module.exports = require("@splunk/visualization-context/TimezoneContext");
1638
1604
 
1639
1605
  /***/ }),
1640
1606
  /* 23 */
1641
1607
  /***/ (function(module, exports) {
1642
1608
 
1643
- module.exports = require("@babel/runtime/helpers/typeof");
1609
+ module.exports = require("@splunk/visualizations-shared/propUtils");
1644
1610
 
1645
1611
  /***/ }),
1646
1612
  /* 24 */
1647
1613
  /***/ (function(module, exports) {
1648
1614
 
1649
- module.exports = require("@splunk/visualizations-shared/numberUtils");
1615
+ module.exports = require("@splunk/visualizations-shared/hocUtils");
1650
1616
 
1651
1617
  /***/ }),
1652
1618
  /* 25 */
1653
- /***/ (function(module, exports, __webpack_require__) {
1654
-
1655
- "use strict";
1656
-
1657
-
1658
- Object.defineProperty(exports, "__esModule", {
1659
- value: true
1660
- });
1661
- exports.pickFieldFromJSONSchema = void 0;
1662
-
1663
- var lodash_1 = __webpack_require__(2);
1619
+ /***/ (function(module, exports) {
1664
1620
 
1665
- var pickFieldFromJSONSchema = function pickFieldFromJSONSchema(optionsSchema) {
1666
- var fieldName = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'default';
1667
- return Object.keys(optionsSchema).reduce(function (accum, k) {
1668
- if (lodash_1.has(optionsSchema[k], fieldName)) {
1669
- accum[k] = optionsSchema[k][fieldName];
1670
- } else if (lodash_1.get(optionsSchema, [k, 'type']) === 'object' && lodash_1.has(optionsSchema[k], 'properties')) {
1671
- var nestedSchema = exports.pickFieldFromJSONSchema(optionsSchema[k].properties, fieldName);
1621
+ module.exports = require("@splunk/visualizations-shared/JSONSchemaUtils");
1672
1622
 
1673
- if (!lodash_1.isEmpty(nestedSchema)) {
1674
- accum[k] = nestedSchema;
1675
- }
1676
- }
1677
-
1678
- return accum;
1679
- }, {});
1680
- };
1623
+ /***/ }),
1624
+ /* 26 */
1625
+ /***/ (function(module, exports) {
1681
1626
 
1682
- exports.pickFieldFromJSONSchema = pickFieldFromJSONSchema;
1627
+ module.exports = require("@splunk/visualizations-shared/numberUtils");
1683
1628
 
1684
1629
  /***/ }),
1685
- /* 26 */
1630
+ /* 27 */
1686
1631
  /***/ (function(module, exports, __webpack_require__) {
1687
1632
 
1688
1633
  "use strict";
@@ -1697,13 +1642,13 @@ var React = __webpack_require__(1);
1697
1642
 
1698
1643
  var T = __webpack_require__(0);
1699
1644
 
1700
- var lodash_1 = __webpack_require__(2);
1645
+ var lodash_1 = __webpack_require__(3);
1701
1646
 
1702
- var i18n_1 = __webpack_require__(3);
1647
+ var i18n_1 = __webpack_require__(2);
1703
1648
 
1704
- var Message_1 = __webpack_require__(11);
1649
+ var Message_1 = __webpack_require__(9);
1705
1650
 
1706
- var FixedSizeContainer_1 = __webpack_require__(14);
1651
+ var FixedSizeContainer_1 = __webpack_require__(12);
1707
1652
  /**
1708
1653
  * @method shouldShowIconPlaceholder
1709
1654
  * @param {object} dataSources
@@ -1773,13 +1718,13 @@ IconPlaceholder.defaultProps = {
1773
1718
  exports.default = FixedSizeContainer_1.default(IconPlaceholder);
1774
1719
 
1775
1720
  /***/ }),
1776
- /* 27 */
1721
+ /* 28 */
1777
1722
  /***/ (function(module, exports, __webpack_require__) {
1778
1723
 
1779
1724
  "use strict";
1780
1725
 
1781
1726
 
1782
- var _defineProperty = __webpack_require__(7);
1727
+ var _defineProperty = __webpack_require__(6);
1783
1728
 
1784
1729
  Object.defineProperty(exports, "__esModule", {
1785
1730
  value: true
@@ -1788,9 +1733,9 @@ exports.getSortingParams = exports.SortParamsPropTypes = void 0;
1788
1733
 
1789
1734
  var T = __webpack_require__(0);
1790
1735
 
1791
- var lodash_1 = __webpack_require__(2);
1736
+ var lodash_1 = __webpack_require__(3);
1792
1737
 
1793
- var DataSource_1 = __webpack_require__(37);
1738
+ var DataSource_1 = __webpack_require__(38);
1794
1739
 
1795
1740
  exports.SortParamsPropTypes = T.shape({
1796
1741
  currentSortKey: T.string,
@@ -1843,7 +1788,7 @@ var getSortingParams = function getSortingParams(_ref) {
1843
1788
  exports.getSortingParams = getSortingParams;
1844
1789
 
1845
1790
  /***/ }),
1846
- /* 28 */
1791
+ /* 29 */
1847
1792
  /***/ (function(module, exports, __webpack_require__) {
1848
1793
 
1849
1794
  "use strict";
@@ -1856,7 +1801,7 @@ exports.getPaginationParams = exports.PaginatorParamsPropTypes = void 0;
1856
1801
 
1857
1802
  var T = __webpack_require__(0);
1858
1803
 
1859
- var lodash_1 = __webpack_require__(2);
1804
+ var lodash_1 = __webpack_require__(3);
1860
1805
 
1861
1806
  exports.PaginatorParamsPropTypes = T.shape({
1862
1807
  isPaging: T.bool,
@@ -1907,7 +1852,7 @@ var getPaginationParams = function getPaginationParams(_ref) {
1907
1852
  exports.getPaginationParams = getPaginationParams;
1908
1853
 
1909
1854
  /***/ }),
1910
- /* 29 */
1855
+ /* 30 */
1911
1856
  /***/ (function(module, exports, __webpack_require__) {
1912
1857
 
1913
1858
  "use strict";
@@ -1935,7 +1880,7 @@ var VizCategory;
1935
1880
  })(VizCategory = exports.VizCategory || (exports.VizCategory = {}));
1936
1881
 
1937
1882
  /***/ }),
1938
- /* 30 */
1883
+ /* 31 */
1939
1884
  /***/ (function(module, exports, __webpack_require__) {
1940
1885
 
1941
1886
  "use strict";
@@ -1947,39 +1892,39 @@ Object.defineProperty(exports, "__esModule", {
1947
1892
 
1948
1893
  var React = __webpack_require__(1);
1949
1894
 
1950
- var lodash_1 = __webpack_require__(2);
1895
+ var lodash_1 = __webpack_require__(3);
1951
1896
 
1952
- var getSettingsFromThemedProps_1 = __webpack_require__(31);
1897
+ var getSettingsFromThemedProps_1 = __webpack_require__(32);
1953
1898
 
1954
- var Options_1 = __webpack_require__(32);
1899
+ var Options_1 = __webpack_require__(33);
1955
1900
 
1956
- var SanitizeProps_1 = __webpack_require__(33);
1901
+ var SanitizeProps_1 = __webpack_require__(34);
1957
1902
 
1958
- var TimezoneContext_1 = __webpack_require__(21);
1903
+ var TimezoneContext_1 = __webpack_require__(22);
1959
1904
 
1960
- var moment_1 = __webpack_require__(34);
1905
+ var moment_1 = __webpack_require__(35);
1961
1906
 
1962
1907
  var styled_components_1 = __webpack_require__(4);
1963
1908
 
1964
- var SplunkVisualization_1 = __webpack_require__(35);
1909
+ var hocUtils_1 = __webpack_require__(24);
1965
1910
 
1966
- var VizBehavior_1 = __webpack_require__(5);
1911
+ var JSONSchemaUtils_1 = __webpack_require__(25);
1967
1912
 
1968
- var getSorting_1 = __webpack_require__(27);
1913
+ var SplunkVisualization_1 = __webpack_require__(36);
1969
1914
 
1970
- var getPagination_1 = __webpack_require__(28);
1915
+ var VizBehavior_1 = __webpack_require__(5);
1971
1916
 
1972
- var useDeepMemo_1 = __webpack_require__(38);
1917
+ var getSorting_1 = __webpack_require__(28);
1973
1918
 
1974
- var JSONSchemaUtils_1 = __webpack_require__(25);
1919
+ var getPagination_1 = __webpack_require__(29);
1975
1920
 
1976
- var MissingPropsMessage_1 = __webpack_require__(39);
1921
+ var useDeepMemo_1 = __webpack_require__(39);
1977
1922
 
1978
- var withEditModeCover_1 = __webpack_require__(40);
1923
+ var MissingPropsMessage_1 = __webpack_require__(40);
1979
1924
 
1980
- var withPlaceholder_1 = __webpack_require__(42);
1925
+ var withEditModeCover_1 = __webpack_require__(41);
1981
1926
 
1982
- var hocUtils_1 = __webpack_require__(8);
1927
+ var withPlaceholder_1 = __webpack_require__(42);
1983
1928
  /**
1984
1929
  * hoc that wraps a pure react visualization in a Dashboard visualization
1985
1930
  * @param {DashboardVizOpts} opts
@@ -2180,37 +2125,37 @@ var withDashboardViz = function withDashboardViz(opts) {
2180
2125
  exports.default = withDashboardViz;
2181
2126
 
2182
2127
  /***/ }),
2183
- /* 31 */
2128
+ /* 32 */
2184
2129
  /***/ (function(module, exports) {
2185
2130
 
2186
2131
  module.exports = require("@splunk/themes/getSettingsFromThemedProps");
2187
2132
 
2188
2133
  /***/ }),
2189
- /* 32 */
2134
+ /* 33 */
2190
2135
  /***/ (function(module, exports) {
2191
2136
 
2192
2137
  module.exports = require("@splunk/visualization-encoding/Options");
2193
2138
 
2194
2139
  /***/ }),
2195
- /* 33 */
2140
+ /* 34 */
2196
2141
  /***/ (function(module, exports) {
2197
2142
 
2198
2143
  module.exports = require("@splunk/visualizations-shared/SanitizeProps");
2199
2144
 
2200
2145
  /***/ }),
2201
- /* 34 */
2146
+ /* 35 */
2202
2147
  /***/ (function(module, exports) {
2203
2148
 
2204
2149
  module.exports = require("@splunk/moment");
2205
2150
 
2206
2151
  /***/ }),
2207
- /* 35 */
2152
+ /* 36 */
2208
2153
  /***/ (function(module, exports, __webpack_require__) {
2209
2154
 
2210
2155
  "use strict";
2211
2156
 
2212
2157
 
2213
- var _classCallCheck = __webpack_require__(12);
2158
+ var _classCallCheck = __webpack_require__(10);
2214
2159
 
2215
2160
  Object.defineProperty(exports, "__esModule", {
2216
2161
  value: true
@@ -2220,9 +2165,9 @@ exports.INITIAL_HEIGHT = exports.INITIAL_WIDTH = void 0;
2220
2165
 
2221
2166
  var T = __webpack_require__(0);
2222
2167
 
2223
- var lodash_1 = __webpack_require__(2);
2168
+ var lodash_1 = __webpack_require__(3);
2224
2169
 
2225
- var VizActionHandler_1 = __webpack_require__(36); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
2170
+ var VizActionHandler_1 = __webpack_require__(37); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
2226
2171
 
2227
2172
 
2228
2173
  exports.INITIAL_WIDTH = 250;
@@ -2355,15 +2300,15 @@ SplunkVisualization.defaultProps = {
2355
2300
  exports.default = SplunkVisualization;
2356
2301
 
2357
2302
  /***/ }),
2358
- /* 36 */
2303
+ /* 37 */
2359
2304
  /***/ (function(module, exports, __webpack_require__) {
2360
2305
 
2361
2306
  "use strict";
2362
2307
 
2363
2308
 
2364
- var _classCallCheck = __webpack_require__(12);
2309
+ var _classCallCheck = __webpack_require__(10);
2365
2310
 
2366
- var _createClass = __webpack_require__(17);
2311
+ var _createClass = __webpack_require__(18);
2367
2312
 
2368
2313
  Object.defineProperty(exports, "__esModule", {
2369
2314
  value: true
@@ -2392,7 +2337,7 @@ var DefaultVizActionHandler = /*#__PURE__*/function () {
2392
2337
  exports.DefaultVizActionHandler = DefaultVizActionHandler;
2393
2338
 
2394
2339
  /***/ }),
2395
- /* 37 */
2340
+ /* 38 */
2396
2341
  /***/ (function(module, exports, __webpack_require__) {
2397
2342
 
2398
2343
  "use strict";
@@ -2405,7 +2350,7 @@ exports.validSortDirs = void 0;
2405
2350
  exports.validSortDirs = ['asc', 'desc', 'none'];
2406
2351
 
2407
2352
  /***/ }),
2408
- /* 38 */
2353
+ /* 39 */
2409
2354
  /***/ (function(module, exports, __webpack_require__) {
2410
2355
 
2411
2356
  "use strict";
@@ -2418,7 +2363,7 @@ exports.useDeepMemo = void 0;
2418
2363
 
2419
2364
  var react_1 = __webpack_require__(1);
2420
2365
 
2421
- var lodash_1 = __webpack_require__(2);
2366
+ var lodash_1 = __webpack_require__(3);
2422
2367
  /**
2423
2368
  * This hook evaluates and stores the result of a passed function and only
2424
2369
  * re-evaluates the function when passed dependencies change.
@@ -2450,7 +2395,7 @@ var useDeepMemo = function useDeepMemo(fn, dependencies) {
2450
2395
  exports.useDeepMemo = useDeepMemo;
2451
2396
 
2452
2397
  /***/ }),
2453
- /* 39 */
2398
+ /* 40 */
2454
2399
  /***/ (function(module, exports, __webpack_require__) {
2455
2400
 
2456
2401
  "use strict";
@@ -2465,11 +2410,11 @@ var React = __webpack_require__(1);
2465
2410
 
2466
2411
  var T = __webpack_require__(0);
2467
2412
 
2468
- var i18n_1 = __webpack_require__(3);
2413
+ var i18n_1 = __webpack_require__(2);
2469
2414
 
2470
- var Message_1 = __webpack_require__(11);
2415
+ var Message_1 = __webpack_require__(9);
2471
2416
 
2472
- var FixedSizeContainer_1 = __webpack_require__(14);
2417
+ var FixedSizeContainer_1 = __webpack_require__(12);
2473
2418
  /**
2474
2419
  * @method isMissing
2475
2420
  * @param {any} v
@@ -2530,7 +2475,7 @@ exports.MissingPropsMessage.defaultProps = {
2530
2475
  exports.default = FixedSizeContainer_1.default(exports.MissingPropsMessage);
2531
2476
 
2532
2477
  /***/ }),
2533
- /* 40 */
2478
+ /* 41 */
2534
2479
  /***/ (function(module, exports, __webpack_require__) {
2535
2480
 
2536
2481
  "use strict";
@@ -2544,14 +2489,14 @@ var React = __webpack_require__(1);
2544
2489
 
2545
2490
  var styled_components_1 = __webpack_require__(4);
2546
2491
 
2547
- var hocUtils_1 = __webpack_require__(8);
2492
+ var hocUtils_1 = __webpack_require__(13);
2548
2493
 
2549
2494
  var Cover = styled_components_1.default.div.withConfig({
2550
2495
  displayName: "withEditModeCover__Cover",
2551
2496
  componentId: "sc-1gsbnxb-0"
2552
2497
  })(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
2553
2498
  var Blocker = styled_components_1.default.div.attrs({
2554
- 'data-splunk-visualization-version': "25.0.0 - 5e0f30e5a"
2499
+ 'data-splunk-visualization-version': "25.1.0 - 812a9a4d8"
2555
2500
  }).withConfig({
2556
2501
  displayName: "withEditModeCover__Blocker",
2557
2502
  componentId: "sc-1gsbnxb-1"
@@ -2581,12 +2526,6 @@ var withEditModeCover = function withEditModeCover(Visualization, disableEditMod
2581
2526
 
2582
2527
  exports.default = withEditModeCover;
2583
2528
 
2584
- /***/ }),
2585
- /* 41 */
2586
- /***/ (function(module, exports) {
2587
-
2588
- module.exports = require("@splunk/visualizations-shared/mapUtils");
2589
-
2590
2529
  /***/ }),
2591
2530
  /* 42 */
2592
2531
  /***/ (function(module, exports, __webpack_require__) {
@@ -2600,15 +2539,15 @@ Object.defineProperty(exports, "__esModule", {
2600
2539
 
2601
2540
  var React = __webpack_require__(1);
2602
2541
 
2603
- var colorUtils_1 = __webpack_require__(13);
2542
+ var colorUtils_1 = __webpack_require__(11);
2604
2543
 
2605
- var variables_1 = __webpack_require__(10);
2544
+ var variables_1 = __webpack_require__(8);
2606
2545
 
2607
- var IconPlaceholder_1 = __webpack_require__(26);
2546
+ var IconPlaceholder_1 = __webpack_require__(27);
2608
2547
 
2609
2548
  var VizBehavior_1 = __webpack_require__(5);
2610
2549
 
2611
- var hocUtils_1 = __webpack_require__(8);
2550
+ var hocUtils_1 = __webpack_require__(13);
2612
2551
 
2613
2552
  var withPlaceholder = function withPlaceholder(Visualization) {
2614
2553
  var useIconPlaceholder = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : IconPlaceholder_1.shouldShowIconPlaceholder;
@@ -2693,7 +2632,7 @@ Object.defineProperty(exports, "__esModule", {
2693
2632
  value: true
2694
2633
  });
2695
2634
 
2696
- var i18n_1 = __webpack_require__(3);
2635
+ var i18n_1 = __webpack_require__(2);
2697
2636
 
2698
2637
  var background = function background(_ref) {
2699
2638
  var label = _ref.label,
@@ -2811,14 +2750,14 @@ module.exports = require("d3-scale");
2811
2750
  /* 130 */,
2812
2751
  /* 131 */,
2813
2752
  /* 132 */,
2814
- /* 133 */
2753
+ /* 133 */,
2754
+ /* 134 */,
2755
+ /* 135 */
2815
2756
  /***/ (function(module, exports) {
2816
2757
 
2817
2758
  module.exports = require("@mdhnpm/rgb-hex-converter");
2818
2759
 
2819
2760
  /***/ }),
2820
- /* 134 */,
2821
- /* 135 */,
2822
2761
  /* 136 */,
2823
2762
  /* 137 */,
2824
2763
  /* 138 */,
@@ -2901,7 +2840,10 @@ module.exports = require("@mdhnpm/rgb-hex-converter");
2901
2840
  /* 215 */,
2902
2841
  /* 216 */,
2903
2842
  /* 217 */,
2904
- /* 218 */
2843
+ /* 218 */,
2844
+ /* 219 */,
2845
+ /* 220 */,
2846
+ /* 221 */
2905
2847
  /***/ (function(module, exports, __webpack_require__) {
2906
2848
 
2907
2849
  "use strict";
@@ -2925,13 +2867,13 @@ Object.defineProperty(exports, "__esModule", {
2925
2867
  });
2926
2868
  exports.themes = exports.computeVizProps = exports.PureParallelCoordinates = exports.config = void 0;
2927
2869
 
2928
- var PureParallelCoordinates_1 = __webpack_require__(219);
2870
+ var PureParallelCoordinates_1 = __webpack_require__(222);
2929
2871
 
2930
- var withDashboardViz_1 = __webpack_require__(30);
2872
+ var withDashboardViz_1 = __webpack_require__(31);
2931
2873
 
2932
- var config_1 = __webpack_require__(226);
2874
+ var config_1 = __webpack_require__(229);
2933
2875
 
2934
- var singleValueUtils_1 = __webpack_require__(19);
2876
+ var singleValueUtils_1 = __webpack_require__(20);
2935
2877
 
2936
2878
  exports.config = config_1.default;
2937
2879
  exports.PureParallelCoordinates = PureParallelCoordinates_1.default;
@@ -2974,13 +2916,13 @@ exports.themes = config_1.default.themes;
2974
2916
  exports.default = viz;
2975
2917
 
2976
2918
  /***/ }),
2977
- /* 219 */
2919
+ /* 222 */
2978
2920
  /***/ (function(module, exports, __webpack_require__) {
2979
2921
 
2980
2922
  "use strict";
2981
2923
 
2982
2924
 
2983
- var _toConsumableArray = __webpack_require__(9);
2925
+ var _toConsumableArray = __webpack_require__(7);
2984
2926
 
2985
2927
  var __rest = this && this.__rest || function (s, e) {
2986
2928
  var t = {};
@@ -3007,11 +2949,11 @@ var d3_scale_1 = __webpack_require__(78);
3007
2949
 
3008
2950
  var T = __webpack_require__(0);
3009
2951
 
3010
- var i18n_1 = __webpack_require__(3);
2952
+ var i18n_1 = __webpack_require__(2);
3011
2953
 
3012
- var Message_1 = __webpack_require__(11);
2954
+ var Message_1 = __webpack_require__(9);
3013
2955
 
3014
- var ParallelCoordinatesChart_1 = __webpack_require__(220);
2956
+ var ParallelCoordinatesChart_1 = __webpack_require__(223);
3015
2957
 
3016
2958
  var PureParallelCoordinates = function PureParallelCoordinates(_a) {
3017
2959
  var props = __rest(_a, []);
@@ -3203,13 +3145,13 @@ PureParallelCoordinates.defaultProps = {
3203
3145
  exports.default = PureParallelCoordinates;
3204
3146
 
3205
3147
  /***/ }),
3206
- /* 220 */
3148
+ /* 223 */
3207
3149
  /***/ (function(module, exports, __webpack_require__) {
3208
3150
 
3209
3151
  "use strict";
3210
3152
 
3211
3153
 
3212
- var _toConsumableArray = __webpack_require__(9);
3154
+ var _toConsumableArray = __webpack_require__(7);
3213
3155
 
3214
3156
  var _slicedToArray = __webpack_require__(52);
3215
3157
 
@@ -3234,17 +3176,17 @@ var React = __webpack_require__(1);
3234
3176
 
3235
3177
  var styled_components_1 = __webpack_require__(4);
3236
3178
 
3237
- var d3_selection_1 = __webpack_require__(221);
3179
+ var d3_selection_1 = __webpack_require__(224);
3238
3180
 
3239
- var d3_brush_1 = __webpack_require__(222);
3181
+ var d3_brush_1 = __webpack_require__(225);
3240
3182
 
3241
- var d3_axis_1 = __webpack_require__(223);
3183
+ var d3_axis_1 = __webpack_require__(226);
3242
3184
 
3243
- var d3_drag_1 = __webpack_require__(224);
3185
+ var d3_drag_1 = __webpack_require__(227);
3244
3186
 
3245
- var rgb_hex_converter_1 = __webpack_require__(133);
3187
+ var rgb_hex_converter_1 = __webpack_require__(135);
3246
3188
 
3247
- var ParallelCoordinatesCanvas_1 = __webpack_require__(225);
3189
+ var ParallelCoordinatesCanvas_1 = __webpack_require__(228);
3248
3190
 
3249
3191
  var ChartDiv = styled_components_1.default.div.withConfig({
3250
3192
  displayName: "ParallelCoordinatesChart__ChartDiv",
@@ -3571,31 +3513,31 @@ var ParallelCoordinatesChart = function ParallelCoordinatesChart(_a) {
3571
3513
  exports.default = ParallelCoordinatesChart;
3572
3514
 
3573
3515
  /***/ }),
3574
- /* 221 */
3516
+ /* 224 */
3575
3517
  /***/ (function(module, exports) {
3576
3518
 
3577
3519
  module.exports = require("d3-selection");
3578
3520
 
3579
3521
  /***/ }),
3580
- /* 222 */
3522
+ /* 225 */
3581
3523
  /***/ (function(module, exports) {
3582
3524
 
3583
3525
  module.exports = require("d3-brush");
3584
3526
 
3585
3527
  /***/ }),
3586
- /* 223 */
3528
+ /* 226 */
3587
3529
  /***/ (function(module, exports) {
3588
3530
 
3589
3531
  module.exports = require("d3-axis");
3590
3532
 
3591
3533
  /***/ }),
3592
- /* 224 */
3534
+ /* 227 */
3593
3535
  /***/ (function(module, exports) {
3594
3536
 
3595
3537
  module.exports = require("d3-drag");
3596
3538
 
3597
3539
  /***/ }),
3598
- /* 225 */
3540
+ /* 228 */
3599
3541
  /***/ (function(module, exports, __webpack_require__) {
3600
3542
 
3601
3543
  "use strict";
@@ -3620,7 +3562,7 @@ Object.defineProperty(exports, "__esModule", {
3620
3562
 
3621
3563
  var React = __webpack_require__(1);
3622
3564
 
3623
- var rgb_hex_converter_1 = __webpack_require__(133);
3565
+ var rgb_hex_converter_1 = __webpack_require__(135);
3624
3566
 
3625
3567
  var ParallelCoordinatesCanvas = function ParallelCoordinatesCanvas(_a) {
3626
3568
  var props = __rest(_a, []);
@@ -3755,7 +3697,7 @@ var ParallelCoordinatesCanvas = function ParallelCoordinatesCanvas(_a) {
3755
3697
  exports.default = ParallelCoordinatesCanvas;
3756
3698
 
3757
3699
  /***/ }),
3758
- /* 226 */
3700
+ /* 229 */
3759
3701
  /***/ (function(module, exports, __webpack_require__) {
3760
3702
 
3761
3703
  "use strict";
@@ -3765,13 +3707,13 @@ Object.defineProperty(exports, "__esModule", {
3765
3707
  value: true
3766
3708
  });
3767
3709
 
3768
- var i18n_1 = __webpack_require__(3);
3710
+ var i18n_1 = __webpack_require__(2);
3769
3711
 
3770
- var schemaUtils_1 = __webpack_require__(16);
3712
+ var schemaUtils_1 = __webpack_require__(15);
3771
3713
 
3772
- var pick_1 = __webpack_require__(20);
3714
+ var pick_1 = __webpack_require__(21);
3773
3715
 
3774
- var variables_1 = __webpack_require__(10);
3716
+ var variables_1 = __webpack_require__(8);
3775
3717
 
3776
3718
  var visualization_color_palettes_1 = __webpack_require__(44);
3777
3719
 
@@ -3781,9 +3723,9 @@ var placeholders_1 = __webpack_require__(45);
3781
3723
 
3782
3724
  var VizBehavior_1 = __webpack_require__(5);
3783
3725
 
3784
- var configUtils_1 = __webpack_require__(6);
3726
+ var configUtils_1 = __webpack_require__(16);
3785
3727
 
3786
- var VizCategory_1 = __webpack_require__(29);
3728
+ var VizCategory_1 = __webpack_require__(30);
3787
3729
 
3788
3730
  var BackgroundColor_1 = __webpack_require__(49);
3789
3731