@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/Sankey.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 = 245);
90
+ /******/ return __webpack_require__(__webpack_require__.s = 247);
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
591
  /* 20 */,
641
- /* 21 */
592
+ /* 21 */,
593
+ /* 22 */
642
594
  /***/ (function(module, exports) {
643
595
 
644
596
  module.exports = require("@splunk/visualization-context/TimezoneContext");
645
597
 
646
598
  /***/ }),
647
- /* 22 */,
648
- /* 23 */
599
+ /* 23 */,
600
+ /* 24 */
649
601
  /***/ (function(module, exports) {
650
602
 
651
- module.exports = require("@splunk/visualizations-shared/numberUtils");
603
+ module.exports = require("@splunk/visualizations-shared/hocUtils");
652
604
 
653
605
  /***/ }),
654
- /* 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
+ /* 25 */
607
+ /***/ (function(module, exports) {
683
608
 
684
- exports.pickFieldFromJSONSchema = pickFieldFromJSONSchema;
609
+ module.exports = require("@splunk/visualizations-shared/JSONSchemaUtils");
685
610
 
686
611
  /***/ }),
687
- /* 25 */
612
+ /* 26 */
688
613
  /***/ (function(module, exports) {
689
614
 
690
- module.exports = require("@babel/runtime/helpers/typeof");
615
+ module.exports = require("@splunk/visualizations-shared/numberUtils");
691
616
 
692
617
  /***/ }),
693
- /* 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;
@@ -1691,7 +1610,7 @@ Object.defineProperty(exports, "__esModule", {
1691
1610
  value: true
1692
1611
  });
1693
1612
 
1694
- var i18n_1 = __webpack_require__(3);
1613
+ var i18n_1 = __webpack_require__(2);
1695
1614
 
1696
1615
  var background = function background(_ref) {
1697
1616
  var label = _ref.label,
@@ -1796,19 +1715,20 @@ module.exports = require("d3-scale");
1796
1715
  /* 85 */,
1797
1716
  /* 86 */,
1798
1717
  /* 87 */,
1799
- /* 88 */
1718
+ /* 88 */,
1719
+ /* 89 */
1800
1720
  /***/ (function(module, exports) {
1801
1721
 
1802
1722
  module.exports = require("@splunk/visualization-encoding/utils/types");
1803
1723
 
1804
1724
  /***/ }),
1805
- /* 89 */
1725
+ /* 90 */
1806
1726
  /***/ (function(module, exports, __webpack_require__) {
1807
1727
 
1808
1728
  "use strict";
1809
1729
 
1810
1730
 
1811
- var _toConsumableArray = __webpack_require__(9);
1731
+ var _toConsumableArray = __webpack_require__(7);
1812
1732
 
1813
1733
  var _slicedToArray = __webpack_require__(52);
1814
1734
 
@@ -1823,32 +1743,32 @@ var react_1 = __webpack_require__(1);
1823
1743
 
1824
1744
  var T = __webpack_require__(0);
1825
1745
 
1826
- var lodash_1 = __webpack_require__(2);
1746
+ var lodash_1 = __webpack_require__(3);
1827
1747
 
1828
1748
  var styled_components_1 = __webpack_require__(4);
1829
1749
 
1830
- var Message_1 = __webpack_require__(11);
1750
+ var Message_1 = __webpack_require__(9);
1831
1751
 
1832
- var i18n_1 = __webpack_require__(3);
1752
+ var i18n_1 = __webpack_require__(2);
1833
1753
 
1834
- var SizeAwareWrapper_1 = __webpack_require__(18);
1754
+ var SizeAwareWrapper_1 = __webpack_require__(19);
1835
1755
 
1836
- var style_1 = __webpack_require__(15);
1756
+ var style_1 = __webpack_require__(14);
1837
1757
 
1838
1758
  var visualization_color_palettes_1 = __webpack_require__(44); // eslint-disable-next-line camelcase
1839
1759
 
1840
1760
 
1841
- var sankey_1 = __webpack_require__(246);
1761
+ var sankey_1 = __webpack_require__(248);
1842
1762
 
1843
1763
  var VizStyleWrapper_1 = __webpack_require__(62);
1844
1764
 
1845
- var SankeyUtils_1 = __webpack_require__(109);
1765
+ var SankeyUtils_1 = __webpack_require__(110);
1846
1766
 
1847
- var SankeyNode_1 = __webpack_require__(247);
1767
+ var SankeyNode_1 = __webpack_require__(249);
1848
1768
 
1849
- var SankeyLink_1 = __webpack_require__(248);
1769
+ var SankeyLink_1 = __webpack_require__(250);
1850
1770
 
1851
- var SankeyTooltip_1 = __webpack_require__(249);
1771
+ var SankeyTooltip_1 = __webpack_require__(251);
1852
1772
 
1853
1773
  exports.DEFAULT_COLORS = {
1854
1774
  backgroundColor: '#ffffff',
@@ -2184,7 +2104,6 @@ PureSankey.defaultProps = {
2184
2104
  exports.default = PureSankey;
2185
2105
 
2186
2106
  /***/ }),
2187
- /* 90 */,
2188
2107
  /* 91 */,
2189
2108
  /* 92 */,
2190
2109
  /* 93 */,
@@ -2198,13 +2117,13 @@ exports.default = PureSankey;
2198
2117
  /* 101 */,
2199
2118
  /* 102 */,
2200
2119
  /* 103 */,
2201
- /* 104 */
2120
+ /* 104 */,
2121
+ /* 105 */
2202
2122
  /***/ (function(module, exports) {
2203
2123
 
2204
2124
  module.exports = require("@splunk/visualizations-shared/dataSourceUtils");
2205
2125
 
2206
2126
  /***/ }),
2207
- /* 105 */,
2208
2127
  /* 106 */,
2209
2128
  /* 107 */,
2210
2129
  /* 108 */
@@ -2214,6 +2133,12 @@ module.exports = require("@splunk/react-ui/Popover");
2214
2133
 
2215
2134
  /***/ }),
2216
2135
  /* 109 */
2136
+ /***/ (function(module, exports) {
2137
+
2138
+ module.exports = require("@babel/runtime/helpers/typeof");
2139
+
2140
+ /***/ }),
2141
+ /* 110 */
2217
2142
  /***/ (function(module, exports, __webpack_require__) {
2218
2143
 
2219
2144
  "use strict";
@@ -2227,7 +2152,7 @@ exports.truncateSVGTextWithEllipsis = exports.checkDigitsOnly = exports.computeA
2227
2152
 
2228
2153
  var d3_scale_1 = __webpack_require__(78);
2229
2154
 
2230
- var types_1 = __webpack_require__(88);
2155
+ var types_1 = __webpack_require__(89);
2231
2156
 
2232
2157
  var insertNodeIfNotExist = function insertNodeIfNotExist(sankeyData, nodeName) {
2233
2158
  var nodes = sankeyData.nodes;
@@ -2499,24 +2424,23 @@ var truncateSVGTextWithEllipsis = function truncateSVGTextWithEllipsis(textEleme
2499
2424
  exports.truncateSVGTextWithEllipsis = truncateSVGTextWithEllipsis;
2500
2425
 
2501
2426
  /***/ }),
2502
- /* 110 */,
2503
2427
  /* 111 */,
2504
2428
  /* 112 */,
2505
2429
  /* 113 */,
2506
2430
  /* 114 */,
2507
- /* 115 */
2431
+ /* 115 */,
2432
+ /* 116 */
2508
2433
  /***/ (function(module, exports) {
2509
2434
 
2510
2435
  module.exports = require("d3-interpolate");
2511
2436
 
2512
2437
  /***/ }),
2513
- /* 116 */
2438
+ /* 117 */
2514
2439
  /***/ (function(module, exports) {
2515
2440
 
2516
2441
  module.exports = require("d3-collection");
2517
2442
 
2518
2443
  /***/ }),
2519
- /* 117 */,
2520
2444
  /* 118 */,
2521
2445
  /* 119 */,
2522
2446
  /* 120 */,
@@ -2536,32 +2460,33 @@ module.exports = require("d3-collection");
2536
2460
  /* 134 */,
2537
2461
  /* 135 */,
2538
2462
  /* 136 */,
2539
- /* 137 */
2463
+ /* 137 */,
2464
+ /* 138 */
2540
2465
  /***/ (function(module, exports, __webpack_require__) {
2541
2466
 
2542
2467
  "use strict";
2543
2468
 
2544
2469
 
2545
- var _typeof = __webpack_require__(25);
2470
+ var _typeof = __webpack_require__(109);
2546
2471
 
2547
2472
  Object.defineProperty(exports, "__esModule", {
2548
2473
  value: true
2549
2474
  });
2550
2475
  exports.PureSankey = exports.config = exports.themes = exports.computeVizProps = exports.showPlaceHolderIcon = void 0;
2551
2476
 
2552
- var lodash_1 = __webpack_require__(2);
2477
+ var lodash_1 = __webpack_require__(3);
2553
2478
 
2554
- var dataSourceUtils_1 = __webpack_require__(104);
2479
+ var dataSourceUtils_1 = __webpack_require__(105);
2555
2480
 
2556
- var colorUtils_1 = __webpack_require__(13);
2481
+ var colorUtils_1 = __webpack_require__(11);
2557
2482
 
2558
- var withDashboardViz_1 = __webpack_require__(30);
2483
+ var withDashboardViz_1 = __webpack_require__(31);
2559
2484
 
2560
- var PureSankey_1 = __webpack_require__(89);
2485
+ var PureSankey_1 = __webpack_require__(90);
2561
2486
 
2562
2487
  exports.PureSankey = PureSankey_1.default;
2563
2488
 
2564
- var config_1 = __webpack_require__(250);
2489
+ var config_1 = __webpack_require__(252);
2565
2490
 
2566
2491
  exports.config = config_1.default;
2567
2492
  /**
@@ -2649,7 +2574,6 @@ exports.themes = themes;
2649
2574
  exports.default = Sankey;
2650
2575
 
2651
2576
  /***/ }),
2652
- /* 138 */,
2653
2577
  /* 139 */,
2654
2578
  /* 140 */,
2655
2579
  /* 141 */,
@@ -2756,7 +2680,9 @@ exports.default = Sankey;
2756
2680
  /* 242 */,
2757
2681
  /* 243 */,
2758
2682
  /* 244 */,
2759
- /* 245 */
2683
+ /* 245 */,
2684
+ /* 246 */,
2685
+ /* 247 */
2760
2686
  /***/ (function(module, exports, __webpack_require__) {
2761
2687
 
2762
2688
  "use strict";
@@ -2786,9 +2712,9 @@ Object.defineProperty(exports, "__esModule", {
2786
2712
  });
2787
2713
  exports.default = void 0;
2788
2714
 
2789
- __exportStar(__webpack_require__(137), exports);
2715
+ __exportStar(__webpack_require__(138), exports);
2790
2716
 
2791
- var Sankey_1 = __webpack_require__(137);
2717
+ var Sankey_1 = __webpack_require__(138);
2792
2718
 
2793
2719
  Object.defineProperty(exports, "default", {
2794
2720
  enumerable: true,
@@ -2798,17 +2724,17 @@ Object.defineProperty(exports, "default", {
2798
2724
  });
2799
2725
 
2800
2726
  /***/ }),
2801
- /* 246 */
2727
+ /* 248 */
2802
2728
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
2803
2729
 
2804
2730
  "use strict";
2805
2731
  __webpack_require__.r(__webpack_exports__);
2806
2732
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d3_sankey", function() { return d3_sankey; });
2807
- /* harmony import */ var d3_interpolate__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(115);
2733
+ /* harmony import */ var d3_interpolate__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(116);
2808
2734
  /* harmony import */ var d3_interpolate__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(d3_interpolate__WEBPACK_IMPORTED_MODULE_0__);
2809
2735
  /* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(54);
2810
2736
  /* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(d3_array__WEBPACK_IMPORTED_MODULE_1__);
2811
- /* harmony import */ var d3_collection__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(116);
2737
+ /* harmony import */ var d3_collection__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(117);
2812
2738
  /* harmony import */ var d3_collection__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(d3_collection__WEBPACK_IMPORTED_MODULE_2__);
2813
2739
  // reference link :- https://github.com/csaladenes/sankey
2814
2740
 
@@ -3364,7 +3290,7 @@ var d3_sankey = function d3_sankey() {
3364
3290
  };
3365
3291
 
3366
3292
  /***/ }),
3367
- /* 247 */
3293
+ /* 249 */
3368
3294
  /***/ (function(module, exports, __webpack_require__) {
3369
3295
 
3370
3296
  "use strict";
@@ -3382,9 +3308,9 @@ var styled_components_1 = __webpack_require__(4);
3382
3308
 
3383
3309
  var react_1 = __webpack_require__(1);
3384
3310
 
3385
- var PureSankey_1 = __webpack_require__(89);
3311
+ var PureSankey_1 = __webpack_require__(90);
3386
3312
 
3387
- var SankeyUtils_1 = __webpack_require__(109);
3313
+ var SankeyUtils_1 = __webpack_require__(110);
3388
3314
 
3389
3315
  var MAX_NODE_TEXT_WIDTH = 150;
3390
3316
 
@@ -3484,7 +3410,7 @@ SankeyNode.defaultProps = {
3484
3410
  exports.default = SankeyNode;
3485
3411
 
3486
3412
  /***/ }),
3487
- /* 248 */
3413
+ /* 250 */
3488
3414
  /***/ (function(module, exports, __webpack_require__) {
3489
3415
 
3490
3416
  "use strict";
@@ -3498,9 +3424,9 @@ var React = __webpack_require__(1);
3498
3424
 
3499
3425
  var T = __webpack_require__(0);
3500
3426
 
3501
- var PureSankey_1 = __webpack_require__(89);
3427
+ var PureSankey_1 = __webpack_require__(90);
3502
3428
 
3503
- var SankeyUtils_1 = __webpack_require__(109);
3429
+ var SankeyUtils_1 = __webpack_require__(110);
3504
3430
 
3505
3431
  var getLinkFill = function getLinkFill(link, colorCategoryMapping, colorMode) {
3506
3432
  if (colorMode === 'categorical') {
@@ -3592,7 +3518,7 @@ SankeyLink.defaultProps = {
3592
3518
  exports.default = SankeyLink;
3593
3519
 
3594
3520
  /***/ }),
3595
- /* 249 */
3521
+ /* 251 */
3596
3522
  /***/ (function(module, exports, __webpack_require__) {
3597
3523
 
3598
3524
  "use strict";
@@ -3610,9 +3536,9 @@ var Popover_1 = __webpack_require__(108);
3610
3536
 
3611
3537
  var styled_components_1 = __webpack_require__(4);
3612
3538
 
3613
- var numberUtils_1 = __webpack_require__(23);
3539
+ var numberUtils_1 = __webpack_require__(26);
3614
3540
 
3615
- var PureSankey_1 = __webpack_require__(89);
3541
+ var PureSankey_1 = __webpack_require__(90);
3616
3542
 
3617
3543
  var DEFAULT_PLACEMENT = 'below';
3618
3544
  var StyledTooltipContainer = styled_components_1.default.div.withConfig({
@@ -3862,7 +3788,7 @@ SankeyTooltip.defaultProps = {
3862
3788
  exports.default = SankeyTooltip;
3863
3789
 
3864
3790
  /***/ }),
3865
- /* 250 */
3791
+ /* 252 */
3866
3792
  /***/ (function(module, exports, __webpack_require__) {
3867
3793
 
3868
3794
  "use strict";
@@ -3878,21 +3804,21 @@ var placeholders_1 = __webpack_require__(45);
3878
3804
 
3879
3805
  var visualization_color_palettes_1 = __webpack_require__(44);
3880
3806
 
3881
- var schemaUtils_1 = __webpack_require__(16);
3807
+ var schemaUtils_1 = __webpack_require__(15);
3882
3808
 
3883
3809
  var PresetPalettes_1 = __webpack_require__(53);
3884
3810
 
3885
3811
  var themes_1 = __webpack_require__(69);
3886
3812
 
3887
- var i18n_1 = __webpack_require__(3);
3813
+ var i18n_1 = __webpack_require__(2);
3888
3814
 
3889
3815
  var VizBehavior_1 = __webpack_require__(5);
3890
3816
 
3891
- var VizCategory_1 = __webpack_require__(29);
3817
+ var VizCategory_1 = __webpack_require__(30);
3892
3818
 
3893
- var configUtils_1 = __webpack_require__(6);
3819
+ var configUtils_1 = __webpack_require__(16);
3894
3820
 
3895
- var DynamicLinkColorsEditor_1 = __webpack_require__(251);
3821
+ var DynamicLinkColorsEditor_1 = __webpack_require__(253);
3896
3822
 
3897
3823
  var BackgroundColor_1 = __webpack_require__(49);
3898
3824
 
@@ -4105,16 +4031,16 @@ var config = {
4105
4031
  exports.default = configUtils_1.enhanceConfig(config);
4106
4032
 
4107
4033
  /***/ }),
4108
- /* 251 */
4034
+ /* 253 */
4109
4035
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
4110
4036
 
4111
4037
  "use strict";
4112
4038
  __webpack_require__.r(__webpack_exports__);
4113
4039
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getDynamicLinkColorsEditor", function() { return getDynamicLinkColorsEditor; });
4114
- /* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3);
4040
+ /* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
4115
4041
  /* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__);
4116
- /* harmony import */ var _utils_configUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6);
4117
- /* harmony import */ var _utils_configUtils__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_utils_configUtils__WEBPACK_IMPORTED_MODULE_1__);
4042
+ /* harmony import */ var _splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(17);
4043
+ /* harmony import */ var _splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__);
4118
4044
 
4119
4045
 
4120
4046
  var getDynamicLinkColorsEditor = function getDynamicLinkColorsEditor(_ref) {
@@ -4127,7 +4053,7 @@ var getDynamicLinkColorsEditor = function getDynamicLinkColorsEditor(_ref) {
4127
4053
  editor: 'editor.dynamicColor',
4128
4054
  showEditor: function showEditor(_ref2) {
4129
4055
  var options = _ref2.options;
4130
- return Object(_utils_configUtils__WEBPACK_IMPORTED_MODULE_1__["isDynamicOption"])(options.linkColors);
4056
+ return Object(_splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__["isDynamicOption"])(options.linkColors);
4131
4057
  },
4132
4058
  editorProps: {
4133
4059
  labelPosition: 'left',