@splunk/visualizations 25.0.1 → 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 (161) hide show
  1. package/.loki/reference/chrome_docker_PureVisualizations_PureMap_custom_base_layer_tile_server.png +0 -0
  2. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Area_Editor.png +0 -0
  3. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Bar_Editor.png +0 -0
  4. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Bubble_Editor.png +0 -0
  5. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_ChoroplethSvg_Editor.png +0 -0
  6. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Column_Editor.png +0 -0
  7. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Ellipse_Editor.png +0 -0
  8. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_FillerGauge_Editor.png +0 -0
  9. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Image_Editor.png +0 -0
  10. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Line_Editor.png +0 -0
  11. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_LinkGraph_Editor.png +0 -0
  12. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Map_Editor.png +0 -0
  13. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Markdown_Editor.png +0 -0
  14. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_MarkerGauge_Editor.png +0 -0
  15. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Parallel_Coordinates_Editor.png +0 -0
  16. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Pie_Editor.png +0 -0
  17. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Punchcard_Editor.png +0 -0
  18. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Rectangle_Editor.png +0 -0
  19. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Sankey_Editor.png +0 -0
  20. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Scatter_Editor.png +0 -0
  21. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Single_Value_Editor.png +0 -0
  22. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Single_Value_Icon_Editor.png +0 -0
  23. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Single_Value_Radial_Editor.png +0 -0
  24. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Table_Editor.png +0 -0
  25. package/Area.config.js +141 -152
  26. package/Area.config.js.map +1 -1
  27. package/Area.js +334 -431
  28. package/Area.js.map +1 -1
  29. package/Bar.config.js +143 -148
  30. package/Bar.config.js.map +1 -1
  31. package/Bar.js +336 -427
  32. package/Bar.js.map +1 -1
  33. package/Bubble.config.js +130 -117
  34. package/Bubble.config.js.map +1 -1
  35. package/Bubble.js +325 -398
  36. package/Bubble.js.map +1 -1
  37. package/ChoroplethSvg.config.js +86 -80
  38. package/ChoroplethSvg.config.js.map +1 -1
  39. package/ChoroplethSvg.js +305 -385
  40. package/ChoroplethSvg.js.map +1 -1
  41. package/Column.config.js +139 -146
  42. package/Column.config.js.map +1 -1
  43. package/Column.js +332 -425
  44. package/Column.js.map +1 -1
  45. package/Ellipse.config.js +86 -80
  46. package/Ellipse.config.js.map +1 -1
  47. package/Ellipse.js +288 -368
  48. package/Ellipse.js.map +1 -1
  49. package/FillerGauge.config.js +91 -85
  50. package/FillerGauge.config.js.map +1 -1
  51. package/FillerGauge.js +296 -376
  52. package/FillerGauge.js.map +1 -1
  53. package/Image.config.js +74 -74
  54. package/Image.config.js.map +1 -1
  55. package/Image.js +710 -798
  56. package/Image.js.map +1 -1
  57. package/Line.config.js +139 -137
  58. package/Line.config.js.map +1 -1
  59. package/Line.js +332 -416
  60. package/Line.js.map +1 -1
  61. package/LinkGraph.config.js +112 -112
  62. package/LinkGraph.config.js.map +1 -1
  63. package/LinkGraph.js +320 -405
  64. package/LinkGraph.js.map +1 -1
  65. package/Map.config.js +101 -95
  66. package/Map.config.js.map +1 -1
  67. package/Map.js +472 -518
  68. package/Map.js.map +1 -1
  69. package/Markdown.config.js +113 -113
  70. package/Markdown.config.js.map +1 -1
  71. package/Markdown.js +500 -574
  72. package/Markdown.js.map +1 -1
  73. package/MarkerGauge.config.js +192 -193
  74. package/MarkerGauge.config.js.map +1 -1
  75. package/MarkerGauge.js +1200 -1289
  76. package/MarkerGauge.js.map +1 -1
  77. package/ParallelCoordinates.config.js +138 -138
  78. package/ParallelCoordinates.config.js.map +1 -1
  79. package/ParallelCoordinates.js +292 -376
  80. package/ParallelCoordinates.js.map +1 -1
  81. package/Pie.config.js +133 -133
  82. package/Pie.config.js.map +1 -1
  83. package/Pie.js +496 -584
  84. package/Pie.js.map +1 -1
  85. package/Punchcard.config.js +139 -139
  86. package/Punchcard.config.js.map +1 -1
  87. package/Punchcard.js +315 -399
  88. package/Punchcard.js.map +1 -1
  89. package/Rectangle.config.js +267 -260
  90. package/Rectangle.config.js.map +1 -1
  91. package/Rectangle.js +499 -580
  92. package/Rectangle.js.map +1 -1
  93. package/Sankey.config.js +150 -143
  94. package/Sankey.config.js.map +1 -1
  95. package/Sankey.js +316 -390
  96. package/Sankey.js.map +1 -1
  97. package/Scatter.config.js +130 -117
  98. package/Scatter.config.js.map +1 -1
  99. package/Scatter.js +547 -623
  100. package/Scatter.js.map +1 -1
  101. package/SingleValue.config.js +119 -113
  102. package/SingleValue.config.js.map +1 -1
  103. package/SingleValue.js +523 -604
  104. package/SingleValue.js.map +1 -1
  105. package/SingleValueBasic.js +19 -19
  106. package/SingleValueBasic.js.map +1 -1
  107. package/SingleValueIcon.config.js +128 -120
  108. package/SingleValueIcon.config.js.map +1 -1
  109. package/SingleValueIcon.js +343 -420
  110. package/SingleValueIcon.js.map +1 -1
  111. package/SingleValueRadial.config.js +215 -178
  112. package/SingleValueRadial.config.js.map +1 -1
  113. package/SingleValueRadial.js +668 -749
  114. package/SingleValueRadial.js.map +1 -1
  115. package/Table.config.js +150 -151
  116. package/Table.config.js.map +1 -1
  117. package/Table.js +772 -854
  118. package/Table.js.map +1 -1
  119. package/common/Charting.js +11 -11
  120. package/common/Charting.js.map +1 -1
  121. package/common/ChartingApi.js +2 -2
  122. package/common/ChartingApi.js.map +1 -1
  123. package/common/EventsDoc.js +12 -12
  124. package/common/EventsDoc.js.map +1 -1
  125. package/common/GaugeMajorTicks.js +8 -8
  126. package/common/GaugeMajorTicks.js.map +1 -1
  127. package/common/GaugeValueMarker.js +8 -8
  128. package/common/GaugeValueMarker.js.map +1 -1
  129. package/common/OptionsDoc.js +51 -352
  130. package/common/OptionsDoc.js.map +1 -1
  131. package/common/OverviewDoc.js +22 -22
  132. package/common/OverviewDoc.js.map +1 -1
  133. package/common/SplunkVisualization.js +4 -4
  134. package/common/SplunkVisualization.js.map +1 -1
  135. package/common/SplunkVisualizationApi.js +2 -2
  136. package/common/SplunkVisualizationApi.js.map +1 -1
  137. package/common/ThemesDoc.js +19 -19
  138. package/common/ThemesDoc.js.map +1 -1
  139. package/common/chartingUtils.js +4 -4
  140. package/common/chartingUtils.js.map +1 -1
  141. package/common/docUtils.js +4 -4
  142. package/common/docUtils.js.map +1 -1
  143. package/common/gaugeUtils.js +13 -13
  144. package/common/gaugeUtils.js.map +1 -1
  145. package/common/shapeUtils.js +8 -8
  146. package/common/shapeUtils.js.map +1 -1
  147. package/common/utils/configUtils.js +17 -18
  148. package/common/utils/configUtils.js.map +1 -1
  149. package/common/utils/hocUtils.js +6 -86
  150. package/common/utils/hocUtils.js.map +1 -1
  151. package/common/utils/{JSONSchemaUtils.js → mapUtils.js} +89 -29
  152. package/common/utils/mapUtils.js.map +1 -0
  153. package/common/utils/singleValueUtils.js +14 -12
  154. package/common/utils/singleValueUtils.js.map +1 -1
  155. package/common/utils/testHelper.js +8 -8
  156. package/common/utils/testHelper.js.map +1 -1
  157. package/common/withDashboardViz.js +120 -207
  158. package/common/withDashboardViz.js.map +1 -1
  159. package/package.json +12 -12
  160. package/.loki/reference/chrome_docker_PureVisualizations_SvgChoroplethDynamic_SVG_Of_Size_Greater_Than_2_MB_Render.png +0 -0
  161. package/common/utils/JSONSchemaUtils.js.map +0 -1
package/ChoroplethSvg.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 = 156);
90
+ /******/ return __webpack_require__(__webpack_require__.s = 157);
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);
168
210
 
169
- var _defineProperty = __webpack_require__(7);
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 */
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.uncollapseEditorConfig = 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
 
@@ -394,303 +570,52 @@ var insertLayout = function insertLayout(layout, index) {
394
570
  exports.insertLayout = insertLayout;
395
571
 
396
572
  /***/ }),
397
- /* 7 */
398
- /***/ (function(module, exports) {
399
-
400
- module.exports = require("@babel/runtime/helpers/defineProperty");
401
-
402
- /***/ }),
403
- /* 8 */
404
- /***/ (function(module, exports, __webpack_require__) {
405
-
406
- "use strict";
407
-
408
-
409
- var _typeof = __webpack_require__(25);
410
-
411
- Object.defineProperty(exports, "__esModule", {
412
- value: true
413
- });
414
- exports.deepMergeWithArrayPrimitiveOverrides = exports.extendStaticWrapperProps = void 0;
415
-
416
- var lodash_1 = __webpack_require__(2);
417
-
418
- var mapUtils_1 = __webpack_require__(41);
419
- /**
420
- * @method extendStaticWrapperProps
421
- * @param {Object} props
422
- * @param {DashboardVizType} props.Wrapper
423
- * @param {DashboardVizType} props.Visualization
424
- */
425
-
426
-
427
- var extendStaticWrapperProps = function extendStaticWrapperProps(_ref) {
428
- var Wrapper = _ref.Wrapper,
429
- Visualization = _ref.Visualization;
430
- var extendProperties = ['propTypes', 'defaultProps', 'config'];
431
- extendProperties.forEach(function (prop) {
432
- if (Visualization[prop]) {
433
- // eslint-disable-next-line no-param-reassign
434
- Wrapper[prop] = Visualization[prop];
435
- }
436
- });
437
- };
438
-
439
- exports.extendStaticWrapperProps = extendStaticWrapperProps;
440
- /**
441
- * helper to deeply merge objects while preserving arrays in earlier source objects
442
- * 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
443
- * 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).
444
- * 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
445
- * 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.
446
- *
447
- * @method deepMergeWithArrayPrimitiveOverrides
448
- * @param {Object} initial - target object to merge values into
449
- * @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
450
- *
451
- * @returns {Object}
452
- */
453
-
454
- var deepMergeWithArrayPrimitiveOverrides = function deepMergeWithArrayPrimitiveOverrides(initial) {
455
- var clone = lodash_1.cloneDeep(initial);
456
-
457
- for (var _len = arguments.length, sources = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
458
- sources[_key - 1] = arguments[_key];
459
- }
460
-
461
- sources.forEach(function (sourceToApply) {
462
- Object.keys(sourceToApply).forEach(function (sourceKey) {
463
- if (!Object.prototype.hasOwnProperty.call(clone, sourceKey)) {
464
- clone[sourceKey] = lodash_1.cloneDeep(sourceToApply[sourceKey]);
465
- }
466
-
467
- if (clone[sourceKey] && _typeof(clone[sourceKey]) === 'object' && !Array.isArray(clone[sourceKey]) && _typeof(sourceToApply[sourceKey]) === 'object') {
468
- clone[sourceKey] = exports.deepMergeWithArrayPrimitiveOverrides(clone[sourceKey], sourceToApply[sourceKey]);
469
- } else if (Array.isArray(clone[sourceKey]) && _typeof(clone[sourceKey][0]) === 'object' && !Array.isArray(clone[sourceKey][0])) {
470
- // If option is an array of objects
471
- for (var i = 0; i < clone[sourceKey].length; i += 1) {
472
- if (_typeof(clone[sourceKey][i]) === 'object') {
473
- var closestMatchIdx = mapUtils_1.findClosestMatchFromDefaultList(sourceToApply[sourceKey], clone[sourceKey][i]);
474
-
475
- if (closestMatchIdx > -1) {
476
- clone[sourceKey][i] = exports.deepMergeWithArrayPrimitiveOverrides(clone[sourceKey][i], sourceToApply[sourceKey][closestMatchIdx]);
477
- }
478
- }
479
- }
480
- }
481
- });
482
- });
483
- return clone;
484
- };
485
-
486
- exports.deepMergeWithArrayPrimitiveOverrides = deepMergeWithArrayPrimitiveOverrides;
487
-
488
- /***/ }),
489
- /* 9 */
490
- /***/ (function(module, exports) {
491
-
492
- module.exports = require("@babel/runtime/helpers/toConsumableArray");
493
-
494
- /***/ }),
495
- /* 10 */
496
- /***/ (function(module, exports) {
497
-
498
- module.exports = require("@splunk/themes/variables");
499
-
500
- /***/ }),
501
- /* 11 */
502
- /***/ (function(module, exports) {
503
-
504
- module.exports = require("@splunk/visualizations-shared/Message");
505
-
506
- /***/ }),
507
- /* 12 */
508
- /***/ (function(module, exports) {
509
-
510
- module.exports = require("@babel/runtime/helpers/classCallCheck");
511
-
512
- /***/ }),
513
- /* 13 */
514
- /***/ (function(module, exports) {
515
-
516
- module.exports = require("@splunk/visualizations-shared/colorUtils");
517
-
518
- /***/ }),
519
- /* 14 */
520
- /***/ (function(module, exports, __webpack_require__) {
521
-
522
- "use strict";
523
-
524
-
525
- Object.defineProperty(exports, "__esModule", {
526
- value: true
527
- });
528
-
529
- var React = __webpack_require__(1);
530
-
531
- var styled_components_1 = __webpack_require__(4);
532
-
533
- var SizeAwareWrapper_1 = __webpack_require__(18);
534
-
535
- var style_1 = __webpack_require__(15);
536
-
537
- var colorUtils_1 = __webpack_require__(13);
538
-
539
- var Item = styled_components_1.default.div.attrs(function (_ref) {
540
- var width = _ref.width;
541
- return {
542
- style: {
543
- width: style_1.toPx(width)
544
- }
545
- };
546
- }).withConfig({
547
- displayName: "FixedSizeContainer__Item",
548
- componentId: "sc-1yhgpod-0"
549
- })(["position:relative;background-color:", "};"], function (props) {
550
- return colorUtils_1.isColor(props.backgroundColor) && props.backgroundColor || props.theme.defaultBackgroundColor;
551
- }); // Use `.attrs()` for highly dynamic styles. Ref: https://github.com/styled-components/styled-components/issues/134#issuecomment-312415291
552
-
553
- var FixSizeItem = styled_components_1.default.div.attrs(function (_ref2) {
554
- var width = _ref2.width,
555
- height = _ref2.height;
556
- return {
557
- style: Object.assign(Object.assign({}, width && {
558
- width: style_1.toPx(width)
559
- }), height && {
560
- height: style_1.toPx(height)
561
- })
562
- };
563
- }).withConfig({
564
- displayName: "FixedSizeContainer__FixSizeItem",
565
- componentId: "sc-1yhgpod-1"
566
- })(["position:relative;flex-direction:column;flex:1;display:flex;background-color:", "};"], function (props) {
567
- return colorUtils_1.isColor(props.backgroundColor) && props.backgroundColor || props.theme.defaultBackgroundColor;
568
- });
569
- var ItemContent = styled_components_1.default.div.withConfig({
570
- displayName: "FixedSizeContainer__ItemContent",
571
- componentId: "sc-1yhgpod-2"
572
- })(["position:relative;min-height:100px;width:100%;"]);
573
- var FixSizeItemContent = styled_components_1.default.div.withConfig({
574
- displayName: "FixedSizeContainer__FixSizeItemContent",
575
- componentId: "sc-1yhgpod-3"
576
- })(["min-height:0px;flex:1;position:relative;box-sizing:border-box;"]);
577
-
578
- var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
579
- var FixedSizeContainer = function FixedSizeContainer(props) {
580
- var width = props.width,
581
- height = props.height,
582
- backgroundColor = props.backgroundColor;
583
-
584
- if (!height) {
585
- return React.createElement(Item, {
586
- "data-test": "item",
587
- width: width,
588
- backgroundColor: backgroundColor
589
- }, React.createElement(ItemContent, null, React.createElement(Viz, Object.assign({}, props))));
590
- }
591
-
592
- return React.createElement(FixSizeItem, {
593
- "data-test": "fix-size-item",
594
- "data-splunk-visualization-version": "25.0.1 - de10ad954",
595
- width: width,
596
- height: height,
597
- backgroundColor: backgroundColor
598
- }, React.createElement(FixSizeItemContent, null, React.createElement(SizeAwareWrapper_1.default, null, function (_ref3) {
599
- var newWidth = _ref3.width,
600
- newHeight = _ref3.height;
601
- return React.createElement(Viz, Object.assign({}, props, {
602
- width: newWidth,
603
- height: newHeight
604
- }));
605
- })));
606
- };
607
-
608
- FixedSizeContainer.displayName = 'withFixedSizeContainer';
609
- return FixedSizeContainer;
610
- };
611
-
612
- exports.default = withFixedSizeContainer;
613
-
614
- /***/ }),
615
- /* 15 */
616
- /***/ (function(module, exports) {
617
-
618
- module.exports = require("@splunk/visualizations-shared/style");
619
-
620
- /***/ }),
621
- /* 16 */
573
+ /* 17 */
622
574
  /***/ (function(module, exports) {
623
575
 
624
- module.exports = require("@splunk/visualizations-shared/schemaUtils");
576
+ module.exports = require("@splunk/visualizations-shared/configUtils");
625
577
 
626
578
  /***/ }),
627
- /* 17 */
579
+ /* 18 */
628
580
  /***/ (function(module, exports) {
629
581
 
630
582
  module.exports = require("@babel/runtime/helpers/createClass");
631
583
 
632
584
  /***/ }),
633
- /* 18 */
585
+ /* 19 */
634
586
  /***/ (function(module, exports) {
635
587
 
636
588
  module.exports = require("@splunk/visualizations-shared/SizeAwareWrapper");
637
589
 
638
590
  /***/ }),
639
- /* 19 */,
640
- /* 20 */
591
+ /* 20 */,
592
+ /* 21 */
641
593
  /***/ (function(module, exports) {
642
594
 
643
595
  module.exports = require("@splunk/themes/pick");
644
596
 
645
597
  /***/ }),
646
- /* 21 */
598
+ /* 22 */
647
599
  /***/ (function(module, exports) {
648
600
 
649
601
  module.exports = require("@splunk/visualization-context/TimezoneContext");
650
602
 
651
603
  /***/ }),
652
- /* 22 */,
653
604
  /* 23 */,
654
605
  /* 24 */
655
- /***/ (function(module, exports, __webpack_require__) {
656
-
657
- "use strict";
658
-
659
-
660
- Object.defineProperty(exports, "__esModule", {
661
- value: true
662
- });
663
- exports.pickFieldFromJSONSchema = void 0;
664
-
665
- var lodash_1 = __webpack_require__(2);
666
-
667
- var pickFieldFromJSONSchema = function pickFieldFromJSONSchema(optionsSchema) {
668
- var fieldName = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'default';
669
- return Object.keys(optionsSchema).reduce(function (accum, k) {
670
- if (lodash_1.has(optionsSchema[k], fieldName)) {
671
- accum[k] = optionsSchema[k][fieldName];
672
- } else if (lodash_1.get(optionsSchema, [k, 'type']) === 'object' && lodash_1.has(optionsSchema[k], 'properties')) {
673
- var nestedSchema = exports.pickFieldFromJSONSchema(optionsSchema[k].properties, fieldName);
674
-
675
- if (!lodash_1.isEmpty(nestedSchema)) {
676
- accum[k] = nestedSchema;
677
- }
678
- }
679
-
680
- return accum;
681
- }, {});
682
- };
606
+ /***/ (function(module, exports) {
683
607
 
684
- exports.pickFieldFromJSONSchema = pickFieldFromJSONSchema;
608
+ module.exports = require("@splunk/visualizations-shared/hocUtils");
685
609
 
686
610
  /***/ }),
687
611
  /* 25 */
688
612
  /***/ (function(module, exports) {
689
613
 
690
- module.exports = require("@babel/runtime/helpers/typeof");
614
+ module.exports = require("@splunk/visualizations-shared/JSONSchemaUtils");
691
615
 
692
616
  /***/ }),
693
- /* 26 */
617
+ /* 26 */,
618
+ /* 27 */
694
619
  /***/ (function(module, exports, __webpack_require__) {
695
620
 
696
621
  "use strict";
@@ -705,13 +630,13 @@ var React = __webpack_require__(1);
705
630
 
706
631
  var T = __webpack_require__(0);
707
632
 
708
- var lodash_1 = __webpack_require__(2);
633
+ var lodash_1 = __webpack_require__(3);
709
634
 
710
- var i18n_1 = __webpack_require__(3);
635
+ var i18n_1 = __webpack_require__(2);
711
636
 
712
- var Message_1 = __webpack_require__(11);
637
+ var Message_1 = __webpack_require__(9);
713
638
 
714
- var FixedSizeContainer_1 = __webpack_require__(14);
639
+ var FixedSizeContainer_1 = __webpack_require__(12);
715
640
  /**
716
641
  * @method shouldShowIconPlaceholder
717
642
  * @param {object} dataSources
@@ -781,13 +706,13 @@ IconPlaceholder.defaultProps = {
781
706
  exports.default = FixedSizeContainer_1.default(IconPlaceholder);
782
707
 
783
708
  /***/ }),
784
- /* 27 */
709
+ /* 28 */
785
710
  /***/ (function(module, exports, __webpack_require__) {
786
711
 
787
712
  "use strict";
788
713
 
789
714
 
790
- var _defineProperty = __webpack_require__(7);
715
+ var _defineProperty = __webpack_require__(6);
791
716
 
792
717
  Object.defineProperty(exports, "__esModule", {
793
718
  value: true
@@ -796,9 +721,9 @@ exports.getSortingParams = exports.SortParamsPropTypes = void 0;
796
721
 
797
722
  var T = __webpack_require__(0);
798
723
 
799
- var lodash_1 = __webpack_require__(2);
724
+ var lodash_1 = __webpack_require__(3);
800
725
 
801
- var DataSource_1 = __webpack_require__(37);
726
+ var DataSource_1 = __webpack_require__(38);
802
727
 
803
728
  exports.SortParamsPropTypes = T.shape({
804
729
  currentSortKey: T.string,
@@ -851,7 +776,7 @@ var getSortingParams = function getSortingParams(_ref) {
851
776
  exports.getSortingParams = getSortingParams;
852
777
 
853
778
  /***/ }),
854
- /* 28 */
779
+ /* 29 */
855
780
  /***/ (function(module, exports, __webpack_require__) {
856
781
 
857
782
  "use strict";
@@ -864,7 +789,7 @@ exports.getPaginationParams = exports.PaginatorParamsPropTypes = void 0;
864
789
 
865
790
  var T = __webpack_require__(0);
866
791
 
867
- var lodash_1 = __webpack_require__(2);
792
+ var lodash_1 = __webpack_require__(3);
868
793
 
869
794
  exports.PaginatorParamsPropTypes = T.shape({
870
795
  isPaging: T.bool,
@@ -915,7 +840,7 @@ var getPaginationParams = function getPaginationParams(_ref) {
915
840
  exports.getPaginationParams = getPaginationParams;
916
841
 
917
842
  /***/ }),
918
- /* 29 */
843
+ /* 30 */
919
844
  /***/ (function(module, exports, __webpack_require__) {
920
845
 
921
846
  "use strict";
@@ -943,7 +868,7 @@ var VizCategory;
943
868
  })(VizCategory = exports.VizCategory || (exports.VizCategory = {}));
944
869
 
945
870
  /***/ }),
946
- /* 30 */
871
+ /* 31 */
947
872
  /***/ (function(module, exports, __webpack_require__) {
948
873
 
949
874
  "use strict";
@@ -955,39 +880,39 @@ Object.defineProperty(exports, "__esModule", {
955
880
 
956
881
  var React = __webpack_require__(1);
957
882
 
958
- var lodash_1 = __webpack_require__(2);
883
+ var lodash_1 = __webpack_require__(3);
959
884
 
960
- var getSettingsFromThemedProps_1 = __webpack_require__(31);
885
+ var getSettingsFromThemedProps_1 = __webpack_require__(32);
961
886
 
962
- var Options_1 = __webpack_require__(32);
887
+ var Options_1 = __webpack_require__(33);
963
888
 
964
- var SanitizeProps_1 = __webpack_require__(33);
889
+ var SanitizeProps_1 = __webpack_require__(34);
965
890
 
966
- var TimezoneContext_1 = __webpack_require__(21);
891
+ var TimezoneContext_1 = __webpack_require__(22);
967
892
 
968
- var moment_1 = __webpack_require__(34);
893
+ var moment_1 = __webpack_require__(35);
969
894
 
970
895
  var styled_components_1 = __webpack_require__(4);
971
896
 
972
- var SplunkVisualization_1 = __webpack_require__(35);
897
+ var hocUtils_1 = __webpack_require__(24);
973
898
 
974
- var VizBehavior_1 = __webpack_require__(5);
899
+ var JSONSchemaUtils_1 = __webpack_require__(25);
975
900
 
976
- var getSorting_1 = __webpack_require__(27);
901
+ var SplunkVisualization_1 = __webpack_require__(36);
977
902
 
978
- var getPagination_1 = __webpack_require__(28);
903
+ var VizBehavior_1 = __webpack_require__(5);
979
904
 
980
- var useDeepMemo_1 = __webpack_require__(38);
905
+ var getSorting_1 = __webpack_require__(28);
981
906
 
982
- var JSONSchemaUtils_1 = __webpack_require__(24);
907
+ var getPagination_1 = __webpack_require__(29);
983
908
 
984
- var MissingPropsMessage_1 = __webpack_require__(39);
909
+ var useDeepMemo_1 = __webpack_require__(39);
985
910
 
986
- var withEditModeCover_1 = __webpack_require__(40);
911
+ var MissingPropsMessage_1 = __webpack_require__(40);
987
912
 
988
- var withPlaceholder_1 = __webpack_require__(42);
913
+ var withEditModeCover_1 = __webpack_require__(41);
989
914
 
990
- var hocUtils_1 = __webpack_require__(8);
915
+ var withPlaceholder_1 = __webpack_require__(42);
991
916
  /**
992
917
  * hoc that wraps a pure react visualization in a Dashboard visualization
993
918
  * @param {DashboardVizOpts} opts
@@ -1188,37 +1113,37 @@ var withDashboardViz = function withDashboardViz(opts) {
1188
1113
  exports.default = withDashboardViz;
1189
1114
 
1190
1115
  /***/ }),
1191
- /* 31 */
1116
+ /* 32 */
1192
1117
  /***/ (function(module, exports) {
1193
1118
 
1194
1119
  module.exports = require("@splunk/themes/getSettingsFromThemedProps");
1195
1120
 
1196
1121
  /***/ }),
1197
- /* 32 */
1122
+ /* 33 */
1198
1123
  /***/ (function(module, exports) {
1199
1124
 
1200
1125
  module.exports = require("@splunk/visualization-encoding/Options");
1201
1126
 
1202
1127
  /***/ }),
1203
- /* 33 */
1128
+ /* 34 */
1204
1129
  /***/ (function(module, exports) {
1205
1130
 
1206
1131
  module.exports = require("@splunk/visualizations-shared/SanitizeProps");
1207
1132
 
1208
1133
  /***/ }),
1209
- /* 34 */
1134
+ /* 35 */
1210
1135
  /***/ (function(module, exports) {
1211
1136
 
1212
1137
  module.exports = require("@splunk/moment");
1213
1138
 
1214
1139
  /***/ }),
1215
- /* 35 */
1140
+ /* 36 */
1216
1141
  /***/ (function(module, exports, __webpack_require__) {
1217
1142
 
1218
1143
  "use strict";
1219
1144
 
1220
1145
 
1221
- var _classCallCheck = __webpack_require__(12);
1146
+ var _classCallCheck = __webpack_require__(10);
1222
1147
 
1223
1148
  Object.defineProperty(exports, "__esModule", {
1224
1149
  value: true
@@ -1228,9 +1153,9 @@ exports.INITIAL_HEIGHT = exports.INITIAL_WIDTH = void 0;
1228
1153
 
1229
1154
  var T = __webpack_require__(0);
1230
1155
 
1231
- var lodash_1 = __webpack_require__(2);
1156
+ var lodash_1 = __webpack_require__(3);
1232
1157
 
1233
- var VizActionHandler_1 = __webpack_require__(36); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
1158
+ var VizActionHandler_1 = __webpack_require__(37); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
1234
1159
 
1235
1160
 
1236
1161
  exports.INITIAL_WIDTH = 250;
@@ -1363,15 +1288,15 @@ SplunkVisualization.defaultProps = {
1363
1288
  exports.default = SplunkVisualization;
1364
1289
 
1365
1290
  /***/ }),
1366
- /* 36 */
1291
+ /* 37 */
1367
1292
  /***/ (function(module, exports, __webpack_require__) {
1368
1293
 
1369
1294
  "use strict";
1370
1295
 
1371
1296
 
1372
- var _classCallCheck = __webpack_require__(12);
1297
+ var _classCallCheck = __webpack_require__(10);
1373
1298
 
1374
- var _createClass = __webpack_require__(17);
1299
+ var _createClass = __webpack_require__(18);
1375
1300
 
1376
1301
  Object.defineProperty(exports, "__esModule", {
1377
1302
  value: true
@@ -1400,7 +1325,7 @@ var DefaultVizActionHandler = /*#__PURE__*/function () {
1400
1325
  exports.DefaultVizActionHandler = DefaultVizActionHandler;
1401
1326
 
1402
1327
  /***/ }),
1403
- /* 37 */
1328
+ /* 38 */
1404
1329
  /***/ (function(module, exports, __webpack_require__) {
1405
1330
 
1406
1331
  "use strict";
@@ -1413,7 +1338,7 @@ exports.validSortDirs = void 0;
1413
1338
  exports.validSortDirs = ['asc', 'desc', 'none'];
1414
1339
 
1415
1340
  /***/ }),
1416
- /* 38 */
1341
+ /* 39 */
1417
1342
  /***/ (function(module, exports, __webpack_require__) {
1418
1343
 
1419
1344
  "use strict";
@@ -1426,7 +1351,7 @@ exports.useDeepMemo = void 0;
1426
1351
 
1427
1352
  var react_1 = __webpack_require__(1);
1428
1353
 
1429
- var lodash_1 = __webpack_require__(2);
1354
+ var lodash_1 = __webpack_require__(3);
1430
1355
  /**
1431
1356
  * This hook evaluates and stores the result of a passed function and only
1432
1357
  * re-evaluates the function when passed dependencies change.
@@ -1458,7 +1383,7 @@ var useDeepMemo = function useDeepMemo(fn, dependencies) {
1458
1383
  exports.useDeepMemo = useDeepMemo;
1459
1384
 
1460
1385
  /***/ }),
1461
- /* 39 */
1386
+ /* 40 */
1462
1387
  /***/ (function(module, exports, __webpack_require__) {
1463
1388
 
1464
1389
  "use strict";
@@ -1473,11 +1398,11 @@ var React = __webpack_require__(1);
1473
1398
 
1474
1399
  var T = __webpack_require__(0);
1475
1400
 
1476
- var i18n_1 = __webpack_require__(3);
1401
+ var i18n_1 = __webpack_require__(2);
1477
1402
 
1478
- var Message_1 = __webpack_require__(11);
1403
+ var Message_1 = __webpack_require__(9);
1479
1404
 
1480
- var FixedSizeContainer_1 = __webpack_require__(14);
1405
+ var FixedSizeContainer_1 = __webpack_require__(12);
1481
1406
  /**
1482
1407
  * @method isMissing
1483
1408
  * @param {any} v
@@ -1538,7 +1463,7 @@ exports.MissingPropsMessage.defaultProps = {
1538
1463
  exports.default = FixedSizeContainer_1.default(exports.MissingPropsMessage);
1539
1464
 
1540
1465
  /***/ }),
1541
- /* 40 */
1466
+ /* 41 */
1542
1467
  /***/ (function(module, exports, __webpack_require__) {
1543
1468
 
1544
1469
  "use strict";
@@ -1552,14 +1477,14 @@ var React = __webpack_require__(1);
1552
1477
 
1553
1478
  var styled_components_1 = __webpack_require__(4);
1554
1479
 
1555
- var hocUtils_1 = __webpack_require__(8);
1480
+ var hocUtils_1 = __webpack_require__(13);
1556
1481
 
1557
1482
  var Cover = styled_components_1.default.div.withConfig({
1558
1483
  displayName: "withEditModeCover__Cover",
1559
1484
  componentId: "sc-1gsbnxb-0"
1560
1485
  })(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
1561
1486
  var Blocker = styled_components_1.default.div.attrs({
1562
- 'data-splunk-visualization-version': "25.0.1 - de10ad954"
1487
+ 'data-splunk-visualization-version': "25.1.0 - 812a9a4d8"
1563
1488
  }).withConfig({
1564
1489
  displayName: "withEditModeCover__Blocker",
1565
1490
  componentId: "sc-1gsbnxb-1"
@@ -1589,12 +1514,6 @@ var withEditModeCover = function withEditModeCover(Visualization, disableEditMod
1589
1514
 
1590
1515
  exports.default = withEditModeCover;
1591
1516
 
1592
- /***/ }),
1593
- /* 41 */
1594
- /***/ (function(module, exports) {
1595
-
1596
- module.exports = require("@splunk/visualizations-shared/mapUtils");
1597
-
1598
1517
  /***/ }),
1599
1518
  /* 42 */
1600
1519
  /***/ (function(module, exports, __webpack_require__) {
@@ -1608,15 +1527,15 @@ Object.defineProperty(exports, "__esModule", {
1608
1527
 
1609
1528
  var React = __webpack_require__(1);
1610
1529
 
1611
- var colorUtils_1 = __webpack_require__(13);
1530
+ var colorUtils_1 = __webpack_require__(11);
1612
1531
 
1613
- var variables_1 = __webpack_require__(10);
1532
+ var variables_1 = __webpack_require__(8);
1614
1533
 
1615
- var IconPlaceholder_1 = __webpack_require__(26);
1534
+ var IconPlaceholder_1 = __webpack_require__(27);
1616
1535
 
1617
1536
  var VizBehavior_1 = __webpack_require__(5);
1618
1537
 
1619
- var hocUtils_1 = __webpack_require__(8);
1538
+ var hocUtils_1 = __webpack_require__(13);
1620
1539
 
1621
1540
  var withPlaceholder = function withPlaceholder(Visualization) {
1622
1541
  var useIconPlaceholder = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : IconPlaceholder_1.shouldShowIconPlaceholder;
@@ -1736,10 +1655,10 @@ VizStyleWrapper.displayName = 'VizStyleWrapper';
1736
1655
 
1737
1656
  "use strict";
1738
1657
  __webpack_require__.r(__webpack_exports__);
1739
- /* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3);
1658
+ /* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
1740
1659
  /* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__);
1741
- /* harmony import */ var _utils_configUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6);
1742
- /* harmony import */ var _utils_configUtils__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_utils_configUtils__WEBPACK_IMPORTED_MODULE_1__);
1660
+ /* harmony import */ var _splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(17);
1661
+ /* harmony import */ var _splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__);
1743
1662
 
1744
1663
 
1745
1664
  var StaticBackgroundColorEditor = {
@@ -1748,7 +1667,7 @@ var StaticBackgroundColorEditor = {
1748
1667
  editor: 'editor.color',
1749
1668
  showEditor: function showEditor(_ref) {
1750
1669
  var options = _ref.options;
1751
- return !Object(_utils_configUtils__WEBPACK_IMPORTED_MODULE_1__["isDynamicOption"])(options.backgroundColor);
1670
+ return !Object(_splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__["isDynamicOption"])(options.backgroundColor);
1752
1671
  }
1753
1672
  };
1754
1673
  /* harmony default export */ __webpack_exports__["default"] = (StaticBackgroundColorEditor);
@@ -1769,25 +1688,25 @@ var StaticBackgroundColorEditor = {
1769
1688
  /* 90 */,
1770
1689
  /* 91 */,
1771
1690
  /* 92 */,
1772
- /* 93 */
1691
+ /* 93 */,
1692
+ /* 94 */
1773
1693
  /***/ (function(module, exports) {
1774
1694
 
1775
1695
  module.exports = require("@babel/runtime/helpers/inherits");
1776
1696
 
1777
1697
  /***/ }),
1778
- /* 94 */
1698
+ /* 95 */
1779
1699
  /***/ (function(module, exports) {
1780
1700
 
1781
1701
  module.exports = require("@babel/runtime/helpers/possibleConstructorReturn");
1782
1702
 
1783
1703
  /***/ }),
1784
- /* 95 */
1704
+ /* 96 */
1785
1705
  /***/ (function(module, exports) {
1786
1706
 
1787
1707
  module.exports = require("@babel/runtime/helpers/getPrototypeOf");
1788
1708
 
1789
1709
  /***/ }),
1790
- /* 96 */,
1791
1710
  /* 97 */,
1792
1711
  /* 98 */,
1793
1712
  /* 99 */,
@@ -1812,21 +1731,22 @@ module.exports = require("@babel/runtime/helpers/getPrototypeOf");
1812
1731
  /* 118 */,
1813
1732
  /* 119 */,
1814
1733
  /* 120 */,
1815
- /* 121 */
1734
+ /* 121 */,
1735
+ /* 122 */
1816
1736
  /***/ (function(module, exports, __webpack_require__) {
1817
1737
 
1818
1738
  "use strict";
1819
1739
 
1820
1740
 
1821
- var _classCallCheck = __webpack_require__(12);
1741
+ var _classCallCheck = __webpack_require__(10);
1822
1742
 
1823
- var _createClass = __webpack_require__(17);
1743
+ var _createClass = __webpack_require__(18);
1824
1744
 
1825
- var _inherits = __webpack_require__(93);
1745
+ var _inherits = __webpack_require__(94);
1826
1746
 
1827
- var _possibleConstructorReturn = __webpack_require__(94);
1747
+ var _possibleConstructorReturn = __webpack_require__(95);
1828
1748
 
1829
- var _getPrototypeOf = __webpack_require__(95);
1749
+ var _getPrototypeOf = __webpack_require__(96);
1830
1750
 
1831
1751
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
1832
1752
 
@@ -1838,9 +1758,9 @@ Object.defineProperty(exports, "__esModule", {
1838
1758
 
1839
1759
  var React = __webpack_require__(1);
1840
1760
 
1841
- var lodash_1 = __webpack_require__(2);
1761
+ var lodash_1 = __webpack_require__(3);
1842
1762
 
1843
- var SvgMutator_1 = __webpack_require__(162);
1763
+ var SvgMutator_1 = __webpack_require__(163);
1844
1764
  /**
1845
1765
  * This react component simply take an SVG document, and mutates it by applying data to the document according to
1846
1766
  * dataBindings. The data (data prop) is processed by performing the mutation once for each 'row' of the data even though the data is formatted as columns.
@@ -1968,7 +1888,6 @@ SvgChoroplethDynamic.defaultProps = {
1968
1888
  };
1969
1889
 
1970
1890
  /***/ }),
1971
- /* 122 */,
1972
1891
  /* 123 */,
1973
1892
  /* 124 */,
1974
1893
  /* 125 */,
@@ -2002,7 +1921,8 @@ SvgChoroplethDynamic.defaultProps = {
2002
1921
  /* 153 */,
2003
1922
  /* 154 */,
2004
1923
  /* 155 */,
2005
- /* 156 */
1924
+ /* 156 */,
1925
+ /* 157 */
2006
1926
  /***/ (function(module, exports, __webpack_require__) {
2007
1927
 
2008
1928
  "use strict";
@@ -2030,25 +1950,25 @@ var React = __webpack_require__(1);
2030
1950
 
2031
1951
  var T = __webpack_require__(0);
2032
1952
 
2033
- var lodash_1 = __webpack_require__(2);
1953
+ var lodash_1 = __webpack_require__(3);
2034
1954
 
2035
- var FeatureFlagContext_1 = __webpack_require__(157);
1955
+ var FeatureFlagContext_1 = __webpack_require__(158);
2036
1956
 
2037
- var ImageContext_1 = __webpack_require__(158);
1957
+ var ImageContext_1 = __webpack_require__(159);
2038
1958
 
2039
- var FileDownloader_1 = __webpack_require__(159);
1959
+ var FileDownloader_1 = __webpack_require__(160);
2040
1960
 
2041
- var Downloader_1 = __webpack_require__(160);
1961
+ var Downloader_1 = __webpack_require__(161);
2042
1962
 
2043
- var withDashboardViz_1 = __webpack_require__(30);
1963
+ var withDashboardViz_1 = __webpack_require__(31);
2044
1964
 
2045
- var PureChoroplethSvg_1 = __webpack_require__(161);
1965
+ var PureChoroplethSvg_1 = __webpack_require__(162);
2046
1966
 
2047
- var SvgChoroplethDynamic_1 = __webpack_require__(121);
1967
+ var SvgChoroplethDynamic_1 = __webpack_require__(122);
2048
1968
 
2049
- var config_1 = __webpack_require__(166);
1969
+ var config_1 = __webpack_require__(167);
2050
1970
 
2051
- var IconPlaceholder_1 = __webpack_require__(26);
1971
+ var IconPlaceholder_1 = __webpack_require__(27);
2052
1972
 
2053
1973
  exports.config = config_1.default;
2054
1974
  exports.PureChoroplethSvg = PureChoroplethSvg_1.default; // todo: need remove when deleting @splunk/react-visualizations package
@@ -2132,31 +2052,31 @@ var platformViz = withDashboardViz_1.default({
2132
2052
  exports.default = platformViz;
2133
2053
 
2134
2054
  /***/ }),
2135
- /* 157 */
2055
+ /* 158 */
2136
2056
  /***/ (function(module, exports) {
2137
2057
 
2138
2058
  module.exports = require("@splunk/visualization-context/FeatureFlagContext");
2139
2059
 
2140
2060
  /***/ }),
2141
- /* 158 */
2061
+ /* 159 */
2142
2062
  /***/ (function(module, exports) {
2143
2063
 
2144
2064
  module.exports = require("@splunk/visualization-context/ImageContext");
2145
2065
 
2146
2066
  /***/ }),
2147
- /* 159 */
2067
+ /* 160 */
2148
2068
  /***/ (function(module, exports) {
2149
2069
 
2150
2070
  module.exports = require("@splunk/visualizations-shared/FileDownloader");
2151
2071
 
2152
2072
  /***/ }),
2153
- /* 160 */
2073
+ /* 161 */
2154
2074
  /***/ (function(module, exports) {
2155
2075
 
2156
2076
  module.exports = require("@splunk/visualizations-shared/Downloader");
2157
2077
 
2158
2078
  /***/ }),
2159
- /* 161 */
2079
+ /* 162 */
2160
2080
  /***/ (function(module, exports, __webpack_require__) {
2161
2081
 
2162
2082
  "use strict";
@@ -2184,13 +2104,13 @@ var React = __webpack_require__(1);
2184
2104
 
2185
2105
  var styled_components_1 = __webpack_require__(4);
2186
2106
 
2187
- var lodash_1 = __webpack_require__(2);
2107
+ var lodash_1 = __webpack_require__(3);
2188
2108
 
2189
- var style_1 = __webpack_require__(15);
2109
+ var style_1 = __webpack_require__(14);
2190
2110
 
2191
- var SizeAwareWrapper_1 = __webpack_require__(18);
2111
+ var SizeAwareWrapper_1 = __webpack_require__(19);
2192
2112
 
2193
- var SvgChoroplethDynamic_1 = __webpack_require__(121);
2113
+ var SvgChoroplethDynamic_1 = __webpack_require__(122);
2194
2114
 
2195
2115
  var VizStyleWrapper_1 = __webpack_require__(62);
2196
2116
 
@@ -2262,15 +2182,15 @@ PureChoroplethSvg.defaultProps = {
2262
2182
  exports.default = styled_components_1.withTheme(PureChoroplethSvg);
2263
2183
 
2264
2184
  /***/ }),
2265
- /* 162 */
2185
+ /* 163 */
2266
2186
  /***/ (function(module, exports, __webpack_require__) {
2267
2187
 
2268
2188
  "use strict";
2269
2189
 
2270
2190
 
2271
- var _classCallCheck = __webpack_require__(12);
2191
+ var _classCallCheck = __webpack_require__(10);
2272
2192
 
2273
- var _createClass = __webpack_require__(17);
2193
+ var _createClass = __webpack_require__(18);
2274
2194
 
2275
2195
  Object.defineProperty(exports, "__esModule", {
2276
2196
  value: true
@@ -2280,11 +2200,11 @@ exports.SvgMutator = exports.ERROR_NON_ATTRIBUTE_MUTATION = void 0;
2280
2200
 
2281
2201
  var React = __webpack_require__(1);
2282
2202
 
2283
- var XPath = __webpack_require__(163);
2203
+ var XPath = __webpack_require__(164);
2284
2204
 
2285
- var xmldom_1 = __webpack_require__(164);
2205
+ var xmldom_1 = __webpack_require__(165);
2286
2206
 
2287
- var jexl = __webpack_require__(165);
2207
+ var jexl = __webpack_require__(166);
2288
2208
  /**
2289
2209
  * An error message indicating that a mutation has attempted to target anything other than SVG attribute(s)
2290
2210
  * @type {string}
@@ -2688,25 +2608,25 @@ exports.SvgMutator = SvgMutator;
2688
2608
  SvgMutator.serializer = new xmldom_1.XMLSerializer();
2689
2609
 
2690
2610
  /***/ }),
2691
- /* 163 */
2611
+ /* 164 */
2692
2612
  /***/ (function(module, exports) {
2693
2613
 
2694
2614
  module.exports = require("xpath");
2695
2615
 
2696
2616
  /***/ }),
2697
- /* 164 */
2617
+ /* 165 */
2698
2618
  /***/ (function(module, exports) {
2699
2619
 
2700
2620
  module.exports = require("@xmldom/xmldom");
2701
2621
 
2702
2622
  /***/ }),
2703
- /* 165 */
2623
+ /* 166 */
2704
2624
  /***/ (function(module, exports) {
2705
2625
 
2706
2626
  module.exports = require("jexl");
2707
2627
 
2708
2628
  /***/ }),
2709
- /* 166 */
2629
+ /* 167 */
2710
2630
  /***/ (function(module, exports, __webpack_require__) {
2711
2631
 
2712
2632
  "use strict";
@@ -2716,13 +2636,13 @@ Object.defineProperty(exports, "__esModule", {
2716
2636
  value: true
2717
2637
  });
2718
2638
 
2719
- var i18n_1 = __webpack_require__(3);
2639
+ var i18n_1 = __webpack_require__(2);
2720
2640
 
2721
- var pick_1 = __webpack_require__(20);
2641
+ var pick_1 = __webpack_require__(21);
2722
2642
 
2723
- var variables_1 = __webpack_require__(10);
2643
+ var variables_1 = __webpack_require__(8);
2724
2644
 
2725
- var schemaUtils_1 = __webpack_require__(16);
2645
+ var schemaUtils_1 = __webpack_require__(15);
2726
2646
 
2727
2647
  var PresetPalettes_1 = __webpack_require__(53);
2728
2648
 
@@ -2732,9 +2652,9 @@ var placeholders_1 = __webpack_require__(45);
2732
2652
 
2733
2653
  var VizBehavior_1 = __webpack_require__(5);
2734
2654
 
2735
- var configUtils_1 = __webpack_require__(6);
2655
+ var configUtils_1 = __webpack_require__(16);
2736
2656
 
2737
- var VizCategory_1 = __webpack_require__(29);
2657
+ var VizCategory_1 = __webpack_require__(30);
2738
2658
 
2739
2659
  var StaticBackgroundColorEditor_1 = __webpack_require__(77);
2740
2660
 
@@ -2790,7 +2710,7 @@ var optionsSchema = {
2790
2710
  type: 'array',
2791
2711
  items: {
2792
2712
  type: 'string',
2793
- pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN
2713
+ pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA
2794
2714
  }
2795
2715
  },
2796
2716
  areaIds: {
@@ -2813,7 +2733,7 @@ var optionsSchema = {
2813
2733
  default: '> themes.defaultBackgroundColor',
2814
2734
  description: 'the background color behind the SVG, title, and description.',
2815
2735
  type: 'string',
2816
- pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN
2736
+ pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA
2817
2737
  },
2818
2738
  svg: {
2819
2739
  description: 'Literal svg, or svg data URI.',