@splunk/visualizations 23.2.0 → 23.5.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 (132) hide show
  1. package/Area.config.js +36 -30
  2. package/Area.config.js.map +1 -1
  3. package/Area.js +243 -203
  4. package/Area.js.map +1 -1
  5. package/Bar.config.js +29 -23
  6. package/Bar.config.js.map +1 -1
  7. package/Bar.js +233 -193
  8. package/Bar.js.map +1 -1
  9. package/Bubble.config.js +36 -23
  10. package/Bubble.config.js.map +1 -1
  11. package/Bubble.js +247 -196
  12. package/Bubble.js.map +1 -1
  13. package/ChoroplethSvg.config.js +15 -12
  14. package/ChoroplethSvg.config.js.map +1 -1
  15. package/ChoroplethSvg.js +201 -148
  16. package/ChoroplethSvg.js.map +1 -1
  17. package/Column.config.js +29 -23
  18. package/Column.config.js.map +1 -1
  19. package/Column.js +235 -194
  20. package/Column.js.map +1 -1
  21. package/Ellipse.config.js +23 -20
  22. package/Ellipse.config.js.map +1 -1
  23. package/Ellipse.js +176 -123
  24. package/Ellipse.js.map +1 -1
  25. package/FillerGauge.config.js +803 -0
  26. package/FillerGauge.config.js.map +1 -0
  27. package/FillerGauge.js +3634 -0
  28. package/FillerGauge.js.map +1 -0
  29. package/Image.config.js +13 -6
  30. package/Image.config.js.map +1 -1
  31. package/Image.js +260 -200
  32. package/Image.js.map +1 -1
  33. package/LICENSE.md +14 -0
  34. package/Line.config.js +40 -31
  35. package/Line.config.js.map +1 -1
  36. package/Line.js +248 -202
  37. package/Line.js.map +1 -1
  38. package/LinkGraph.config.js +107 -123
  39. package/LinkGraph.config.js.map +1 -1
  40. package/LinkGraph.js +241 -193
  41. package/LinkGraph.js.map +1 -1
  42. package/Markdown.config.js +95 -3
  43. package/Markdown.config.js.map +1 -1
  44. package/Markdown.js +272 -118
  45. package/Markdown.js.map +1 -1
  46. package/MarkerGauge.config.js +750 -0
  47. package/MarkerGauge.config.js.map +1 -0
  48. package/MarkerGauge.js +3758 -0
  49. package/MarkerGauge.js.map +1 -0
  50. package/ParallelCoordinates.config.js +52 -46
  51. package/ParallelCoordinates.config.js.map +1 -1
  52. package/ParallelCoordinates.js +257 -164
  53. package/ParallelCoordinates.js.map +1 -1
  54. package/Pie.config.js +61 -46
  55. package/Pie.config.js.map +1 -1
  56. package/Pie.js +254 -186
  57. package/Pie.js.map +1 -1
  58. package/Punchcard.config.js +279 -39
  59. package/Punchcard.config.js.map +1 -1
  60. package/Punchcard.js +825 -193
  61. package/Punchcard.js.map +1 -1
  62. package/README.external.md +45 -0
  63. package/README.md +18 -3
  64. package/Rectangle.config.js +89 -107
  65. package/Rectangle.config.js.map +1 -1
  66. package/Rectangle.js +204 -145
  67. package/Rectangle.js.map +1 -1
  68. package/Sankey.config.js +29 -22
  69. package/Sankey.config.js.map +1 -1
  70. package/Sankey.js +250 -186
  71. package/Sankey.js.map +1 -1
  72. package/Scatter.config.js +39 -28
  73. package/Scatter.config.js.map +1 -1
  74. package/Scatter.js +2375 -2434
  75. package/Scatter.js.map +1 -1
  76. package/SingleValue.config.js +37 -29
  77. package/SingleValue.config.js.map +1 -1
  78. package/SingleValue.js +3108 -3174
  79. package/SingleValue.js.map +1 -1
  80. package/SingleValueBasic.js +37 -23
  81. package/SingleValueBasic.js.map +1 -1
  82. package/SingleValueIcon.config.js +36 -28
  83. package/SingleValueIcon.config.js.map +1 -1
  84. package/SingleValueIcon.js +279 -210
  85. package/SingleValueIcon.js.map +1 -1
  86. package/SingleValueRadial.config.js +15 -13
  87. package/SingleValueRadial.config.js.map +1 -1
  88. package/SingleValueRadial.js +299 -253
  89. package/SingleValueRadial.js.map +1 -1
  90. package/Table.config.js +26 -10
  91. package/Table.config.js.map +1 -1
  92. package/Table.js +382 -265
  93. package/Table.js.map +1 -1
  94. package/common/Charting.js +33 -30
  95. package/common/Charting.js.map +1 -1
  96. package/common/ChartingApi.js +4 -4
  97. package/common/ChartingApi.js.map +1 -1
  98. package/common/EventsDoc.js +36 -34
  99. package/common/EventsDoc.js.map +1 -1
  100. package/common/GaugeMajorTicks.js +386 -0
  101. package/common/GaugeMajorTicks.js.map +1 -0
  102. package/common/GaugeValueMarker.js +333 -0
  103. package/common/GaugeValueMarker.js.map +1 -0
  104. package/common/OptionsDoc.js +47 -33
  105. package/common/OptionsDoc.js.map +1 -1
  106. package/common/OverviewDoc.js +376 -0
  107. package/common/OverviewDoc.js.map +1 -0
  108. package/common/SplunkVisualization.js +6 -6
  109. package/common/SplunkVisualization.js.map +1 -1
  110. package/common/SplunkVisualizationApi.js +10 -10
  111. package/common/SplunkVisualizationApi.js.map +1 -1
  112. package/common/ThemesDoc.js +55 -72
  113. package/common/ThemesDoc.js.map +1 -1
  114. package/common/chartingUtils.js +15 -13
  115. package/common/chartingUtils.js.map +1 -1
  116. package/common/docUtils.js +4 -4
  117. package/common/docUtils.js.map +1 -1
  118. package/common/gaugeUtils.js +893 -0
  119. package/common/gaugeUtils.js.map +1 -0
  120. package/common/shapeUtils.js +8 -8
  121. package/common/shapeUtils.js.map +1 -1
  122. package/common/utils/JSONSchemaUtils.js.map +1 -1
  123. package/common/utils/configUtils.js.map +1 -1
  124. package/common/utils/hocUtils.js +57 -3
  125. package/common/utils/hocUtils.js.map +1 -1
  126. package/common/utils/singleValueUtils.js +24 -10
  127. package/common/utils/singleValueUtils.js.map +1 -1
  128. package/common/withDashboardViz.js +158 -95
  129. package/common/withDashboardViz.js.map +1 -1
  130. package/package.json +18 -14
  131. package/common/utils/eventUtils.js +0 -115
  132. package/common/utils/eventUtils.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 = 204);
90
+ /******/ return __webpack_require__(__webpack_require__.s = 219);
91
91
  /******/ })
92
92
  /************************************************************************/
93
93
  /******/ ([
@@ -170,6 +170,77 @@ module.exports = require("@babel/runtime/helpers/defineProperty");
170
170
  "use strict";
171
171
 
172
172
 
173
+ var _typeof = __webpack_require__(22);
174
+
175
+ Object.defineProperty(exports, "__esModule", {
176
+ value: true
177
+ });
178
+ exports.deepMergeWithArrayOverrides = exports.extendStaticWrapperProps = void 0;
179
+
180
+ var lodash_1 = __webpack_require__(2);
181
+ /**
182
+ * @method extendStaticWrapperProps
183
+ * @param {Object} props
184
+ * @param {DashboardVizType} props.Wrapper
185
+ * @param {DashboardVizType} props.Visualization
186
+ */
187
+
188
+
189
+ var extendStaticWrapperProps = function extendStaticWrapperProps(_ref) {
190
+ var Wrapper = _ref.Wrapper,
191
+ Visualization = _ref.Visualization;
192
+ var extendProperties = ['propTypes', 'defaultProps', 'config'];
193
+ extendProperties.forEach(function (prop) {
194
+ if (Visualization[prop]) {
195
+ Wrapper[prop] = Visualization[prop];
196
+ }
197
+ });
198
+ };
199
+
200
+ exports.extendStaticWrapperProps = extendStaticWrapperProps;
201
+ /**
202
+ * helper to deeply merge objects while preserving arrays in earlier source objects
203
+ * deeply nested primitive keys are merged similarly to lodash's defaultsDeep, while keys with arrays will be preserved if already present in the resultant merged object
204
+ * this prevents default arrays from appending values to user-defined arrays (this occurs if the default array is longer than the user-defined one)
205
+ *
206
+ * @method deepMergeWithArrayOverrides
207
+ * @param {Object} initial - target object to merge values into
208
+ * @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
209
+ *
210
+ * @returns {Object}
211
+ */
212
+
213
+ var deepMergeWithArrayOverrides = function deepMergeWithArrayOverrides(initial) {
214
+ var clone = lodash_1.cloneDeep(initial);
215
+
216
+ for (var _len = arguments.length, sources = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
217
+ sources[_key - 1] = arguments[_key];
218
+ }
219
+
220
+ sources.forEach(function (sourceToApply) {
221
+ Object.keys(sourceToApply).forEach(function (sourceKey) {
222
+ if (!clone.hasOwnProperty(sourceKey)) {
223
+ clone[sourceKey] = lodash_1.cloneDeep(sourceToApply[sourceKey]);
224
+ } // object merging excluding arrays
225
+
226
+
227
+ if (clone[sourceKey] && _typeof(clone[sourceKey]) === 'object' && !Array.isArray(clone[sourceKey]) && _typeof(sourceToApply[sourceKey]) === 'object') {
228
+ clone[sourceKey] = exports.deepMergeWithArrayOverrides(clone[sourceKey], sourceToApply[sourceKey]);
229
+ }
230
+ });
231
+ });
232
+ return clone;
233
+ };
234
+
235
+ exports.deepMergeWithArrayOverrides = deepMergeWithArrayOverrides;
236
+
237
+ /***/ }),
238
+ /* 8 */
239
+ /***/ (function(module, exports, __webpack_require__) {
240
+
241
+ "use strict";
242
+
243
+
173
244
  var _defineProperty = __webpack_require__(6);
174
245
 
175
246
  var __rest = this && this.__rest || function (s, e) {
@@ -355,25 +426,25 @@ function generatePrecisionValues(numPrecisionValues) {
355
426
  exports.generatePrecisionValues = generatePrecisionValues;
356
427
 
357
428
  /***/ }),
358
- /* 8 */
429
+ /* 9 */
359
430
  /***/ (function(module, exports) {
360
431
 
361
432
  module.exports = require("@splunk/visualizations-shared/Message");
362
433
 
363
434
  /***/ }),
364
- /* 9 */
435
+ /* 10 */
365
436
  /***/ (function(module, exports) {
366
437
 
367
438
  module.exports = require("@babel/runtime/helpers/classCallCheck");
368
439
 
369
440
  /***/ }),
370
- /* 10 */
441
+ /* 11 */
371
442
  /***/ (function(module, exports) {
372
443
 
373
444
  module.exports = require("@splunk/visualizations-shared/colorUtils");
374
445
 
375
446
  /***/ }),
376
- /* 11 */
447
+ /* 12 */
377
448
  /***/ (function(module, exports, __webpack_require__) {
378
449
 
379
450
  "use strict";
@@ -387,11 +458,11 @@ var React = __webpack_require__(1);
387
458
 
388
459
  var styled_components_1 = __webpack_require__(4);
389
460
 
390
- var SizeAwareWrapper_1 = __webpack_require__(18);
461
+ var SizeAwareWrapper_1 = __webpack_require__(17);
391
462
 
392
463
  var style_1 = __webpack_require__(13);
393
464
 
394
- var colorUtils_1 = __webpack_require__(10);
465
+ var colorUtils_1 = __webpack_require__(11);
395
466
 
396
467
  var Item = styled_components_1.default.div.attrs(function (_ref) {
397
468
  var width = _ref.width;
@@ -467,37 +538,6 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
467
538
 
468
539
  exports.default = withFixedSizeContainer;
469
540
 
470
- /***/ }),
471
- /* 12 */
472
- /***/ (function(module, exports, __webpack_require__) {
473
-
474
- "use strict";
475
-
476
-
477
- Object.defineProperty(exports, "__esModule", {
478
- value: true
479
- });
480
- exports.extendStaticWrapperProps = void 0;
481
- /**
482
- * @method extendStaticWrapperProps
483
- * @param {Object} props
484
- * @param {DashboardVizType} props.Wrapper
485
- * @param {DashboardVizType} props.Visualization
486
- */
487
-
488
- var extendStaticWrapperProps = function extendStaticWrapperProps(_ref) {
489
- var Wrapper = _ref.Wrapper,
490
- Visualization = _ref.Visualization;
491
- var extendProperties = ['propTypes', 'defaultProps', 'config'];
492
- extendProperties.forEach(function (prop) {
493
- if (Visualization[prop]) {
494
- Wrapper[prop] = Visualization[prop];
495
- }
496
- });
497
- };
498
-
499
- exports.extendStaticWrapperProps = extendStaticWrapperProps;
500
-
501
541
  /***/ }),
502
542
  /* 13 */
503
543
  /***/ (function(module, exports) {
@@ -512,22 +552,34 @@ module.exports = require("@splunk/visualizations-shared/schemaUtils");
512
552
 
513
553
  /***/ }),
514
554
  /* 15 */,
515
- /* 16 */,
516
- /* 17 */
555
+ /* 16 */
517
556
  /***/ (function(module, exports) {
518
557
 
519
558
  module.exports = require("@babel/runtime/helpers/createClass");
520
559
 
521
560
  /***/ }),
522
- /* 18 */
561
+ /* 17 */
523
562
  /***/ (function(module, exports) {
524
563
 
525
564
  module.exports = require("@splunk/visualizations-shared/SizeAwareWrapper");
526
565
 
527
566
  /***/ }),
567
+ /* 18 */,
528
568
  /* 19 */,
529
- /* 20 */,
530
- /* 21 */
569
+ /* 20 */
570
+ /***/ (function(module, exports) {
571
+
572
+ module.exports = require("@splunk/visualizations-shared/numberUtils");
573
+
574
+ /***/ }),
575
+ /* 21 */,
576
+ /* 22 */
577
+ /***/ (function(module, exports) {
578
+
579
+ module.exports = require("@babel/runtime/helpers/typeof");
580
+
581
+ /***/ }),
582
+ /* 23 */
531
583
  /***/ (function(module, exports, __webpack_require__) {
532
584
 
533
585
  "use strict";
@@ -544,7 +596,7 @@ var T = __webpack_require__(0);
544
596
 
545
597
  var lodash_1 = __webpack_require__(2);
546
598
 
547
- var DataSource_1 = __webpack_require__(31);
599
+ var DataSource_1 = __webpack_require__(33);
548
600
 
549
601
  exports.SortParamsPropTypes = T.shape({
550
602
  currentSortKey: T.string,
@@ -597,7 +649,7 @@ var getSortingParams = function getSortingParams(_ref) {
597
649
  exports.getSortingParams = getSortingParams;
598
650
 
599
651
  /***/ }),
600
- /* 22 */
652
+ /* 24 */
601
653
  /***/ (function(module, exports, __webpack_require__) {
602
654
 
603
655
  "use strict";
@@ -661,7 +713,7 @@ var getPaginationParams = function getPaginationParams(_ref) {
661
713
  exports.getPaginationParams = getPaginationParams;
662
714
 
663
715
  /***/ }),
664
- /* 23 */
716
+ /* 25 */
665
717
  /***/ (function(module, exports, __webpack_require__) {
666
718
 
667
719
  "use strict";
@@ -680,9 +732,9 @@ var lodash_1 = __webpack_require__(2);
680
732
 
681
733
  var i18n_1 = __webpack_require__(3);
682
734
 
683
- var Message_1 = __webpack_require__(8);
735
+ var Message_1 = __webpack_require__(9);
684
736
 
685
- var FixedSizeContainer_1 = __webpack_require__(11);
737
+ var FixedSizeContainer_1 = __webpack_require__(12);
686
738
  /**
687
739
  * @method shouldShowIconPlaceholder
688
740
  * @param {object} dataSources
@@ -748,7 +800,7 @@ IconPlaceholder.defaultProps = {
748
800
  exports.default = FixedSizeContainer_1.default(IconPlaceholder);
749
801
 
750
802
  /***/ }),
751
- /* 24 */
803
+ /* 26 */
752
804
  /***/ (function(module, exports, __webpack_require__) {
753
805
 
754
806
  "use strict";
@@ -771,10 +823,12 @@ var VizCategory;
771
823
  VizCategory["SHAPES"] = "Shapes";
772
824
  VizCategory["MISC"] = "misc";
773
825
  VizCategory["FLOW"] = "Flow";
826
+ VizCategory["CORRELATION"] = "Correlation";
827
+ VizCategory["SPATIAL"] = "Spatial";
774
828
  })(VizCategory = exports.VizCategory || (exports.VizCategory = {}));
775
829
 
776
830
  /***/ }),
777
- /* 25 */
831
+ /* 27 */
778
832
  /***/ (function(module, exports, __webpack_require__) {
779
833
 
780
834
  "use strict";
@@ -788,31 +842,33 @@ var React = __webpack_require__(1);
788
842
 
789
843
  var lodash_1 = __webpack_require__(2);
790
844
 
791
- var getSettingsFromThemedProps_1 = __webpack_require__(26);
792
-
793
- var Options_1 = __webpack_require__(27);
845
+ var getSettingsFromThemedProps_1 = __webpack_require__(28);
794
846
 
795
- var SanitizeProps_1 = __webpack_require__(28);
847
+ var Options_1 = __webpack_require__(29);
796
848
 
797
- var SplunkVisualization_1 = __webpack_require__(29);
849
+ var SanitizeProps_1 = __webpack_require__(30);
798
850
 
799
851
  var styled_components_1 = __webpack_require__(4);
800
852
 
853
+ var SplunkVisualization_1 = __webpack_require__(31);
854
+
801
855
  var VizBehavior_1 = __webpack_require__(5);
802
856
 
803
- var getSorting_1 = __webpack_require__(21);
857
+ var getSorting_1 = __webpack_require__(23);
858
+
859
+ var getPagination_1 = __webpack_require__(24);
804
860
 
805
- var getPagination_1 = __webpack_require__(22);
861
+ var useDeepMemo_1 = __webpack_require__(34);
806
862
 
807
- var useDeepMemo_1 = __webpack_require__(32);
863
+ var JSONSchemaUtils_1 = __webpack_require__(35);
808
864
 
809
- var JSONSchemaUtils_1 = __webpack_require__(33);
865
+ var MissingPropsMessage_1 = __webpack_require__(36);
810
866
 
811
- var MissingPropsMessage_1 = __webpack_require__(34);
867
+ var withEditModeCover_1 = __webpack_require__(37);
812
868
 
813
- var withEditModeCover_1 = __webpack_require__(35);
869
+ var withPlaceholder_1 = __webpack_require__(38);
814
870
 
815
- var withPlaceholder_1 = __webpack_require__(36);
871
+ var hocUtils_1 = __webpack_require__(7);
816
872
  /**
817
873
  * hoc that wraps a pure react visualization in a Dashboard visualization
818
874
  * @param {DashboardVizOpts} opts
@@ -865,7 +921,7 @@ var withDashboardViz = function withDashboardViz(opts) {
865
921
  try {
866
922
  return Options_1.Options.evaluate({
867
923
  context: lodash_1.defaultsDeep({}, context, vizConfig.defaultContext),
868
- options: lodash_1.defaultsDeep({}, options, defaultOptions)
924
+ options: hocUtils_1.deepMergeWithArrayOverrides({}, options, defaultOptions)
869
925
  }, dataSources, themeFunc);
870
926
  } catch (e) {
871
927
  console.error("unexpected error evaluating options: + ".concat(e.message));
@@ -876,7 +932,7 @@ var withDashboardViz = function withDashboardViz(opts) {
876
932
 
877
933
  React.useEffect(function () {
878
934
  onComputedProps(evaluatedOptions);
879
- }); //present warning message if any required props are missing
935
+ }); // present warning message if any required props are missing
880
936
 
881
937
  var _vizConfig$requiredPr = vizConfig.requiredProps,
882
938
  requiredProps = _vizConfig$requiredPr === void 0 ? [] : _vizConfig$requiredPr,
@@ -899,7 +955,7 @@ var withDashboardViz = function withDashboardViz(opts) {
899
955
  if (hasEventHandlers && mode === 'view' && vizConfig.supports.indexOf(VizBehavior_1.VizBehavior.EVENTS) > -1) {
900
956
  var supportedEvents = vizConfig.events;
901
957
  Object.keys(supportedEvents).forEach(function (eventName) {
902
- var eventCallbackPropName = lodash_1.camelCase('on.' + eventName);
958
+ var eventCallbackPropName = lodash_1.camelCase("on.".concat(eventName));
903
959
  eventCallbackProps[eventCallbackPropName] = null; // todo: refactor single value and single value icon to send payload from viz
904
960
  // then remove these lines
905
961
 
@@ -994,31 +1050,31 @@ var withDashboardViz = function withDashboardViz(opts) {
994
1050
  exports.default = withDashboardViz;
995
1051
 
996
1052
  /***/ }),
997
- /* 26 */
1053
+ /* 28 */
998
1054
  /***/ (function(module, exports) {
999
1055
 
1000
1056
  module.exports = require("@splunk/themes/getSettingsFromThemedProps");
1001
1057
 
1002
1058
  /***/ }),
1003
- /* 27 */
1059
+ /* 29 */
1004
1060
  /***/ (function(module, exports) {
1005
1061
 
1006
1062
  module.exports = require("@splunk/visualization-encoding/Options");
1007
1063
 
1008
1064
  /***/ }),
1009
- /* 28 */
1065
+ /* 30 */
1010
1066
  /***/ (function(module, exports) {
1011
1067
 
1012
1068
  module.exports = require("@splunk/visualizations-shared/SanitizeProps");
1013
1069
 
1014
1070
  /***/ }),
1015
- /* 29 */
1071
+ /* 31 */
1016
1072
  /***/ (function(module, exports, __webpack_require__) {
1017
1073
 
1018
1074
  "use strict";
1019
1075
 
1020
1076
 
1021
- var _classCallCheck = __webpack_require__(9);
1077
+ var _classCallCheck = __webpack_require__(10);
1022
1078
 
1023
1079
  Object.defineProperty(exports, "__esModule", {
1024
1080
  value: true
@@ -1030,7 +1086,7 @@ var T = __webpack_require__(0);
1030
1086
 
1031
1087
  var lodash_1 = __webpack_require__(2);
1032
1088
 
1033
- var VizActionHandler_1 = __webpack_require__(30); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
1089
+ var VizActionHandler_1 = __webpack_require__(32); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
1034
1090
 
1035
1091
 
1036
1092
  exports.INITIAL_WIDTH = 250;
@@ -1163,15 +1219,15 @@ SplunkVisualization.defaultProps = {
1163
1219
  exports.default = SplunkVisualization;
1164
1220
 
1165
1221
  /***/ }),
1166
- /* 30 */
1222
+ /* 32 */
1167
1223
  /***/ (function(module, exports, __webpack_require__) {
1168
1224
 
1169
1225
  "use strict";
1170
1226
 
1171
1227
 
1172
- var _classCallCheck = __webpack_require__(9);
1228
+ var _classCallCheck = __webpack_require__(10);
1173
1229
 
1174
- var _createClass = __webpack_require__(17);
1230
+ var _createClass = __webpack_require__(16);
1175
1231
 
1176
1232
  Object.defineProperty(exports, "__esModule", {
1177
1233
  value: true
@@ -1200,7 +1256,7 @@ var DefaultVizActionHandler = /*#__PURE__*/function () {
1200
1256
  exports.DefaultVizActionHandler = DefaultVizActionHandler;
1201
1257
 
1202
1258
  /***/ }),
1203
- /* 31 */
1259
+ /* 33 */
1204
1260
  /***/ (function(module, exports, __webpack_require__) {
1205
1261
 
1206
1262
  "use strict";
@@ -1213,7 +1269,7 @@ exports.validSortDirs = void 0;
1213
1269
  exports.validSortDirs = ['asc', 'desc', 'none'];
1214
1270
 
1215
1271
  /***/ }),
1216
- /* 32 */
1272
+ /* 34 */
1217
1273
  /***/ (function(module, exports, __webpack_require__) {
1218
1274
 
1219
1275
  "use strict";
@@ -1258,7 +1314,7 @@ var useDeepMemo = function useDeepMemo(fn, dependencies) {
1258
1314
  exports.useDeepMemo = useDeepMemo;
1259
1315
 
1260
1316
  /***/ }),
1261
- /* 33 */
1317
+ /* 35 */
1262
1318
  /***/ (function(module, exports, __webpack_require__) {
1263
1319
 
1264
1320
  "use strict";
@@ -1291,7 +1347,7 @@ var pickFieldFromJSONSchema = function pickFieldFromJSONSchema(optionsSchema) {
1291
1347
  exports.pickFieldFromJSONSchema = pickFieldFromJSONSchema;
1292
1348
 
1293
1349
  /***/ }),
1294
- /* 34 */
1350
+ /* 36 */
1295
1351
  /***/ (function(module, exports, __webpack_require__) {
1296
1352
 
1297
1353
  "use strict";
@@ -1308,9 +1364,9 @@ var T = __webpack_require__(0);
1308
1364
 
1309
1365
  var i18n_1 = __webpack_require__(3);
1310
1366
 
1311
- var Message_1 = __webpack_require__(8);
1367
+ var Message_1 = __webpack_require__(9);
1312
1368
 
1313
- var FixedSizeContainer_1 = __webpack_require__(11);
1369
+ var FixedSizeContainer_1 = __webpack_require__(12);
1314
1370
  /**
1315
1371
  * @method isMissing
1316
1372
  * @param {any} v
@@ -1370,7 +1426,7 @@ exports.MissingPropsMessage.defaultProps = {
1370
1426
  exports.default = FixedSizeContainer_1.default(exports.MissingPropsMessage);
1371
1427
 
1372
1428
  /***/ }),
1373
- /* 35 */
1429
+ /* 37 */
1374
1430
  /***/ (function(module, exports, __webpack_require__) {
1375
1431
 
1376
1432
  "use strict";
@@ -1384,7 +1440,7 @@ var React = __webpack_require__(1);
1384
1440
 
1385
1441
  var styled_components_1 = __webpack_require__(4);
1386
1442
 
1387
- var hocUtils_1 = __webpack_require__(12);
1443
+ var hocUtils_1 = __webpack_require__(7);
1388
1444
 
1389
1445
  var Cover = styled_components_1.default.div.withConfig({
1390
1446
  displayName: "withEditModeCover__Cover",
@@ -1419,7 +1475,7 @@ var withEditModeCover = function withEditModeCover(Visualization) {
1419
1475
  exports.default = withEditModeCover;
1420
1476
 
1421
1477
  /***/ }),
1422
- /* 36 */
1478
+ /* 38 */
1423
1479
  /***/ (function(module, exports, __webpack_require__) {
1424
1480
 
1425
1481
  "use strict";
@@ -1431,13 +1487,13 @@ Object.defineProperty(exports, "__esModule", {
1431
1487
 
1432
1488
  var React = __webpack_require__(1);
1433
1489
 
1434
- var colorUtils_1 = __webpack_require__(10);
1490
+ var colorUtils_1 = __webpack_require__(11);
1435
1491
 
1436
- var IconPlaceholder_1 = __webpack_require__(23);
1492
+ var IconPlaceholder_1 = __webpack_require__(25);
1437
1493
 
1438
1494
  var VizBehavior_1 = __webpack_require__(5);
1439
1495
 
1440
- var hocUtils_1 = __webpack_require__(12);
1496
+ var hocUtils_1 = __webpack_require__(7);
1441
1497
 
1442
1498
  var withPlaceholder = function withPlaceholder(Visualization) {
1443
1499
  var useIconPlaceholder = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : IconPlaceholder_1.shouldShowIconPlaceholder;
@@ -1478,35 +1534,27 @@ var withPlaceholder = function withPlaceholder(Visualization) {
1478
1534
  exports.default = withPlaceholder;
1479
1535
 
1480
1536
  /***/ }),
1481
- /* 37 */
1482
- /***/ (function(module, exports) {
1483
-
1484
- module.exports = require("@splunk/visualizations-shared/numberUtils");
1485
-
1486
- /***/ }),
1487
- /* 38 */,
1488
1537
  /* 39 */
1489
1538
  /***/ (function(module, exports) {
1490
1539
 
1491
- module.exports = require("@splunk/visualization-icons");
1540
+ module.exports = require("@babel/runtime/helpers/toConsumableArray");
1492
1541
 
1493
1542
  /***/ }),
1494
- /* 40 */
1543
+ /* 40 */,
1544
+ /* 41 */
1495
1545
  /***/ (function(module, exports) {
1496
1546
 
1497
- module.exports = require("@babel/runtime/helpers/toConsumableArray");
1547
+ module.exports = require("@splunk/visualization-color-palettes");
1498
1548
 
1499
1549
  /***/ }),
1500
- /* 41 */
1550
+ /* 42 */
1501
1551
  /***/ (function(module, exports) {
1502
1552
 
1503
- module.exports = require("@splunk/visualization-color-palettes");
1553
+ module.exports = require("@splunk/visualization-icons");
1504
1554
 
1505
1555
  /***/ }),
1506
- /* 42 */,
1507
1556
  /* 43 */,
1508
- /* 44 */,
1509
- /* 45 */
1557
+ /* 44 */
1510
1558
  /***/ (function(module, exports, __webpack_require__) {
1511
1559
 
1512
1560
  "use strict";
@@ -1519,12 +1567,15 @@ Object.defineProperty(exports, "__esModule", {
1519
1567
  var i18n_1 = __webpack_require__(3);
1520
1568
 
1521
1569
  var background = function background(_ref) {
1522
- var themes = _ref.themes;
1570
+ var label = _ref.label,
1571
+ themes = _ref.themes,
1572
+ labelPosition = _ref.labelPosition;
1523
1573
  return [{
1524
- label: i18n_1._('Background'),
1574
+ label: i18n_1._(label || 'Background'),
1525
1575
  option: 'backgroundColor',
1526
1576
  editor: 'editor.color',
1527
1577
  editorProps: {
1578
+ labelPosition: labelPosition || 'top',
1528
1579
  themes: themes
1529
1580
  }
1530
1581
  }];
@@ -1533,14 +1584,15 @@ var background = function background(_ref) {
1533
1584
  exports.default = background;
1534
1585
 
1535
1586
  /***/ }),
1587
+ /* 45 */,
1536
1588
  /* 46 */,
1537
- /* 47 */
1589
+ /* 47 */,
1590
+ /* 48 */
1538
1591
  /***/ (function(module, exports) {
1539
1592
 
1540
1593
  module.exports = require("d3-array");
1541
1594
 
1542
1595
  /***/ }),
1543
- /* 48 */,
1544
1596
  /* 49 */,
1545
1597
  /* 50 */,
1546
1598
  /* 51 */,
@@ -1549,6 +1601,12 @@ module.exports = require("d3-array");
1549
1601
  /* 54 */,
1550
1602
  /* 55 */,
1551
1603
  /* 56 */
1604
+ /***/ (function(module, exports) {
1605
+
1606
+ module.exports = require("@splunk/visualization-color-palettes/editors/PresetPalettes");
1607
+
1608
+ /***/ }),
1609
+ /* 57 */
1552
1610
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1553
1611
 
1554
1612
  "use strict";
@@ -1571,14 +1629,8 @@ VizStyleWrapper.displayName = 'VizStyleWrapper';
1571
1629
  /* harmony default export */ __webpack_exports__["default"] = (VizStyleWrapper);
1572
1630
 
1573
1631
  /***/ }),
1574
- /* 57 */,
1575
1632
  /* 58 */,
1576
- /* 59 */
1577
- /***/ (function(module, exports) {
1578
-
1579
- module.exports = require("@splunk/visualization-color-palettes/editors/PresetPalettes");
1580
-
1581
- /***/ }),
1633
+ /* 59 */,
1582
1634
  /* 60 */
1583
1635
  /***/ (function(module, exports) {
1584
1636
 
@@ -1595,26 +1647,27 @@ module.exports = require("@babel/runtime/helpers/slicedToArray");
1595
1647
  /* 68 */,
1596
1648
  /* 69 */,
1597
1649
  /* 70 */,
1598
- /* 71 */
1650
+ /* 71 */,
1651
+ /* 72 */
1599
1652
  /***/ (function(module, exports) {
1600
1653
 
1601
- module.exports = require("d3-scale");
1654
+ module.exports = require("@splunk/themes");
1602
1655
 
1603
1656
  /***/ }),
1604
- /* 72 */,
1605
1657
  /* 73 */
1606
1658
  /***/ (function(module, exports) {
1607
1659
 
1608
- module.exports = require("@babel/runtime/helpers/typeof");
1660
+ module.exports = require("d3-scale");
1609
1661
 
1610
1662
  /***/ }),
1611
- /* 74 */
1663
+ /* 74 */,
1664
+ /* 75 */
1612
1665
  /***/ (function(module, exports, __webpack_require__) {
1613
1666
 
1614
1667
  "use strict";
1615
1668
 
1616
1669
 
1617
- var _toConsumableArray = __webpack_require__(40);
1670
+ var _toConsumableArray = __webpack_require__(39);
1618
1671
 
1619
1672
  var _slicedToArray = __webpack_require__(60);
1620
1673
 
@@ -1633,27 +1686,27 @@ var lodash_1 = __webpack_require__(2);
1633
1686
 
1634
1687
  var styled_components_1 = __webpack_require__(4);
1635
1688
 
1636
- var Message_1 = __webpack_require__(8);
1689
+ var Message_1 = __webpack_require__(9);
1637
1690
 
1638
1691
  var i18n_1 = __webpack_require__(3);
1639
1692
 
1640
- var SizeAwareWrapper_1 = __webpack_require__(18);
1693
+ var SizeAwareWrapper_1 = __webpack_require__(17);
1641
1694
 
1642
1695
  var style_1 = __webpack_require__(13);
1643
1696
 
1644
1697
  var visualization_color_palettes_1 = __webpack_require__(41);
1645
1698
 
1646
- var sankey_1 = __webpack_require__(205);
1699
+ var sankey_1 = __webpack_require__(220);
1647
1700
 
1648
- var VizStyleWrapper_1 = __webpack_require__(56);
1701
+ var VizStyleWrapper_1 = __webpack_require__(57);
1649
1702
 
1650
- var SankeyUtils_1 = __webpack_require__(92);
1703
+ var SankeyUtils_1 = __webpack_require__(95);
1651
1704
 
1652
- var SankeyNode_1 = __webpack_require__(206);
1705
+ var SankeyNode_1 = __webpack_require__(221);
1653
1706
 
1654
- var SankeyLink_1 = __webpack_require__(207);
1707
+ var SankeyLink_1 = __webpack_require__(222);
1655
1708
 
1656
- var SankeyTooltip_1 = __webpack_require__(208);
1709
+ var SankeyTooltip_1 = __webpack_require__(223);
1657
1710
 
1658
1711
  exports.DEFAULT_COLORS = {
1659
1712
  backgroundColor: '#ffffff',
@@ -1986,7 +2039,6 @@ PureSankey.defaultProps = {
1986
2039
  exports.default = PureSankey;
1987
2040
 
1988
2041
  /***/ }),
1989
- /* 75 */,
1990
2042
  /* 76 */,
1991
2043
  /* 77 */,
1992
2044
  /* 78 */,
@@ -2000,33 +2052,31 @@ exports.default = PureSankey;
2000
2052
  /* 86 */,
2001
2053
  /* 87 */,
2002
2054
  /* 88 */,
2003
- /* 89 */
2004
- /***/ (function(module, exports) {
2005
-
2006
- module.exports = require("@splunk/visualizations-shared/dataSourceUtils");
2007
-
2008
- /***/ }),
2055
+ /* 89 */,
2009
2056
  /* 90 */,
2010
- /* 91 */
2057
+ /* 91 */,
2058
+ /* 92 */,
2059
+ /* 93 */
2011
2060
  /***/ (function(module, exports) {
2012
2061
 
2013
- module.exports = require("@splunk/themes");
2062
+ module.exports = require("@splunk/visualizations-shared/dataSourceUtils");
2014
2063
 
2015
2064
  /***/ }),
2016
- /* 92 */
2065
+ /* 94 */,
2066
+ /* 95 */
2017
2067
  /***/ (function(module, exports, __webpack_require__) {
2018
2068
 
2019
2069
  "use strict";
2020
2070
 
2021
2071
 
2022
- var _typeof = __webpack_require__(73);
2072
+ var _typeof = __webpack_require__(22);
2023
2073
 
2024
2074
  Object.defineProperty(exports, "__esModule", {
2025
2075
  value: true
2026
2076
  });
2027
2077
  exports.truncateSVGTextWithEllipsis = exports.checkDigitsOnly = exports.computeAllConnectedLinksToNodes = exports.getAllConnectedLinks = exports.extractLinkMidPoint = exports.getNodesIndex = exports.getAllNodeNames = exports.getLinkId = exports.getNodeId = exports.convertInputToSankeyDataFormat = exports.getColorCategoryMapping = void 0;
2028
2078
 
2029
- var d3_scale_1 = __webpack_require__(71);
2079
+ var d3_scale_1 = __webpack_require__(73);
2030
2080
 
2031
2081
  var getColorCategoryMapping = function getColorCategoryMapping(_ref) {
2032
2082
  var category = _ref.category,
@@ -2304,9 +2354,6 @@ var truncateSVGTextWithEllipsis = function truncateSVGTextWithEllipsis(textEleme
2304
2354
  exports.truncateSVGTextWithEllipsis = truncateSVGTextWithEllipsis;
2305
2355
 
2306
2356
  /***/ }),
2307
- /* 93 */,
2308
- /* 94 */,
2309
- /* 95 */,
2310
2357
  /* 96 */,
2311
2358
  /* 97 */,
2312
2359
  /* 98 */,
@@ -2314,21 +2361,21 @@ exports.truncateSVGTextWithEllipsis = truncateSVGTextWithEllipsis;
2314
2361
  /* 100 */,
2315
2362
  /* 101 */,
2316
2363
  /* 102 */,
2317
- /* 103 */
2364
+ /* 103 */,
2365
+ /* 104 */,
2366
+ /* 105 */,
2367
+ /* 106 */
2318
2368
  /***/ (function(module, exports) {
2319
2369
 
2320
2370
  module.exports = require("d3-interpolate");
2321
2371
 
2322
2372
  /***/ }),
2323
- /* 104 */
2373
+ /* 107 */
2324
2374
  /***/ (function(module, exports) {
2325
2375
 
2326
2376
  module.exports = require("d3-collection");
2327
2377
 
2328
2378
  /***/ }),
2329
- /* 105 */,
2330
- /* 106 */,
2331
- /* 107 */,
2332
2379
  /* 108 */,
2333
2380
  /* 109 */,
2334
2381
  /* 110 */,
@@ -2343,13 +2390,17 @@ module.exports = require("d3-collection");
2343
2390
  /* 119 */,
2344
2391
  /* 120 */,
2345
2392
  /* 121 */,
2346
- /* 122 */
2393
+ /* 122 */,
2394
+ /* 123 */,
2395
+ /* 124 */,
2396
+ /* 125 */,
2397
+ /* 126 */
2347
2398
  /***/ (function(module, exports, __webpack_require__) {
2348
2399
 
2349
2400
  "use strict";
2350
2401
 
2351
2402
 
2352
- var _typeof = __webpack_require__(73);
2403
+ var _typeof = __webpack_require__(22);
2353
2404
 
2354
2405
  Object.defineProperty(exports, "__esModule", {
2355
2406
  value: true
@@ -2358,17 +2409,17 @@ exports.PureSankey = exports.config = exports.themes = exports.computeVizProps =
2358
2409
 
2359
2410
  var lodash_1 = __webpack_require__(2);
2360
2411
 
2361
- var dataSourceUtils_1 = __webpack_require__(89);
2412
+ var dataSourceUtils_1 = __webpack_require__(93);
2362
2413
 
2363
- var colorUtils_1 = __webpack_require__(10);
2414
+ var colorUtils_1 = __webpack_require__(11);
2364
2415
 
2365
- var withDashboardViz_1 = __webpack_require__(25);
2416
+ var withDashboardViz_1 = __webpack_require__(27);
2366
2417
 
2367
- var PureSankey_1 = __webpack_require__(74);
2418
+ var PureSankey_1 = __webpack_require__(75);
2368
2419
 
2369
2420
  exports.PureSankey = PureSankey_1.default;
2370
2421
 
2371
- var config_1 = __webpack_require__(210);
2422
+ var config_1 = __webpack_require__(225);
2372
2423
 
2373
2424
  exports.config = config_1.default;
2374
2425
  /**
@@ -2450,10 +2501,6 @@ exports.themes = themes;
2450
2501
  exports.default = Sankey;
2451
2502
 
2452
2503
  /***/ }),
2453
- /* 123 */,
2454
- /* 124 */,
2455
- /* 125 */,
2456
- /* 126 */,
2457
2504
  /* 127 */,
2458
2505
  /* 128 */,
2459
2506
  /* 129 */,
@@ -2531,7 +2578,22 @@ exports.default = Sankey;
2531
2578
  /* 201 */,
2532
2579
  /* 202 */,
2533
2580
  /* 203 */,
2534
- /* 204 */
2581
+ /* 204 */,
2582
+ /* 205 */,
2583
+ /* 206 */,
2584
+ /* 207 */,
2585
+ /* 208 */,
2586
+ /* 209 */,
2587
+ /* 210 */,
2588
+ /* 211 */,
2589
+ /* 212 */,
2590
+ /* 213 */,
2591
+ /* 214 */,
2592
+ /* 215 */,
2593
+ /* 216 */,
2594
+ /* 217 */,
2595
+ /* 218 */,
2596
+ /* 219 */
2535
2597
  /***/ (function(module, exports, __webpack_require__) {
2536
2598
 
2537
2599
  "use strict";
@@ -2561,9 +2623,9 @@ Object.defineProperty(exports, "__esModule", {
2561
2623
  });
2562
2624
  exports.default = void 0;
2563
2625
 
2564
- __exportStar(__webpack_require__(122), exports);
2626
+ __exportStar(__webpack_require__(126), exports);
2565
2627
 
2566
- var Sankey_1 = __webpack_require__(122);
2628
+ var Sankey_1 = __webpack_require__(126);
2567
2629
 
2568
2630
  Object.defineProperty(exports, "default", {
2569
2631
  enumerable: true,
@@ -2573,17 +2635,17 @@ Object.defineProperty(exports, "default", {
2573
2635
  });
2574
2636
 
2575
2637
  /***/ }),
2576
- /* 205 */
2638
+ /* 220 */
2577
2639
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
2578
2640
 
2579
2641
  "use strict";
2580
2642
  __webpack_require__.r(__webpack_exports__);
2581
2643
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d3_sankey", function() { return d3_sankey; });
2582
- /* harmony import */ var d3_interpolate__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(103);
2644
+ /* harmony import */ var d3_interpolate__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(106);
2583
2645
  /* harmony import */ var d3_interpolate__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(d3_interpolate__WEBPACK_IMPORTED_MODULE_0__);
2584
- /* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(47);
2646
+ /* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(48);
2585
2647
  /* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(d3_array__WEBPACK_IMPORTED_MODULE_1__);
2586
- /* harmony import */ var d3_collection__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(104);
2648
+ /* harmony import */ var d3_collection__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(107);
2587
2649
  /* harmony import */ var d3_collection__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(d3_collection__WEBPACK_IMPORTED_MODULE_2__);
2588
2650
  // reference link :- https://github.com/csaladenes/sankey
2589
2651
 
@@ -3139,7 +3201,7 @@ var d3_sankey = function d3_sankey() {
3139
3201
  };
3140
3202
 
3141
3203
  /***/ }),
3142
- /* 206 */
3204
+ /* 221 */
3143
3205
  /***/ (function(module, exports, __webpack_require__) {
3144
3206
 
3145
3207
  "use strict";
@@ -3155,13 +3217,13 @@ var T = __webpack_require__(0);
3155
3217
 
3156
3218
  var styled_components_1 = __webpack_require__(4);
3157
3219
 
3158
- var PureSankey_1 = __webpack_require__(74);
3220
+ var PureSankey_1 = __webpack_require__(75);
3159
3221
 
3160
3222
  var react_1 = __webpack_require__(1);
3161
3223
 
3162
3224
  var react_2 = __webpack_require__(1);
3163
3225
 
3164
- var SankeyUtils_1 = __webpack_require__(92);
3226
+ var SankeyUtils_1 = __webpack_require__(95);
3165
3227
 
3166
3228
  var MAX_NODE_TEXT_WIDTH = 150;
3167
3229
 
@@ -3261,7 +3323,7 @@ SankeyNode.defaultProps = {
3261
3323
  exports.default = SankeyNode;
3262
3324
 
3263
3325
  /***/ }),
3264
- /* 207 */
3326
+ /* 222 */
3265
3327
  /***/ (function(module, exports, __webpack_require__) {
3266
3328
 
3267
3329
  "use strict";
@@ -3275,9 +3337,9 @@ var React = __webpack_require__(1);
3275
3337
 
3276
3338
  var T = __webpack_require__(0);
3277
3339
 
3278
- var PureSankey_1 = __webpack_require__(74);
3340
+ var PureSankey_1 = __webpack_require__(75);
3279
3341
 
3280
- var SankeyUtils_1 = __webpack_require__(92);
3342
+ var SankeyUtils_1 = __webpack_require__(95);
3281
3343
 
3282
3344
  var getLinkFill = function getLinkFill(link, colorCategoryMapping, colorMode) {
3283
3345
  if (colorMode === 'categorical') {
@@ -3370,7 +3432,7 @@ SankeyLink.defaultProps = {
3370
3432
  exports.default = SankeyLink;
3371
3433
 
3372
3434
  /***/ }),
3373
- /* 208 */
3435
+ /* 223 */
3374
3436
  /***/ (function(module, exports, __webpack_require__) {
3375
3437
 
3376
3438
  "use strict";
@@ -3384,13 +3446,13 @@ var React = __webpack_require__(1);
3384
3446
 
3385
3447
  var T = __webpack_require__(0);
3386
3448
 
3387
- var Popover_1 = __webpack_require__(209);
3449
+ var Popover_1 = __webpack_require__(224);
3388
3450
 
3389
3451
  var styled_components_1 = __webpack_require__(4);
3390
3452
 
3391
- var PureSankey_1 = __webpack_require__(74);
3453
+ var PureSankey_1 = __webpack_require__(75);
3392
3454
 
3393
- var numberUtils_1 = __webpack_require__(37);
3455
+ var numberUtils_1 = __webpack_require__(20);
3394
3456
 
3395
3457
  var DEFAULT_PLACEMENT = 'below';
3396
3458
  var StyledTooltipContainer = styled_components_1.default.div.withConfig({
@@ -3634,13 +3696,13 @@ SankeyTooltip.defaultProps = {
3634
3696
  exports.default = SankeyTooltip;
3635
3697
 
3636
3698
  /***/ }),
3637
- /* 209 */
3699
+ /* 224 */
3638
3700
  /***/ (function(module, exports) {
3639
3701
 
3640
3702
  module.exports = require("@splunk/react-ui/Popover");
3641
3703
 
3642
3704
  /***/ }),
3643
- /* 210 */
3705
+ /* 225 */
3644
3706
  /***/ (function(module, exports, __webpack_require__) {
3645
3707
 
3646
3708
  "use strict";
@@ -3650,27 +3712,27 @@ Object.defineProperty(exports, "__esModule", {
3650
3712
  value: true
3651
3713
  });
3652
3714
 
3653
- var visualization_icons_1 = __webpack_require__(39);
3715
+ var visualization_icons_1 = __webpack_require__(42);
3654
3716
 
3655
3717
  var visualization_color_palettes_1 = __webpack_require__(41);
3656
3718
 
3657
3719
  var schemaUtils_1 = __webpack_require__(14);
3658
3720
 
3659
- var PresetPalettes_1 = __webpack_require__(59);
3721
+ var PresetPalettes_1 = __webpack_require__(56);
3660
3722
 
3661
- var themes_1 = __webpack_require__(91);
3723
+ var themes_1 = __webpack_require__(72);
3662
3724
 
3663
3725
  var i18n_1 = __webpack_require__(3);
3664
3726
 
3665
3727
  var VizBehavior_1 = __webpack_require__(5);
3666
3728
 
3667
- var VizCategory_1 = __webpack_require__(24);
3729
+ var VizCategory_1 = __webpack_require__(26);
3668
3730
 
3669
- var configUtils_1 = __webpack_require__(7);
3731
+ var configUtils_1 = __webpack_require__(8);
3670
3732
 
3671
- var DynamicLinkColorsEditor_1 = __webpack_require__(211);
3733
+ var DynamicLinkColorsEditor_1 = __webpack_require__(226);
3672
3734
 
3673
- var BackgroundColor_1 = __webpack_require__(45);
3735
+ var BackgroundColor_1 = __webpack_require__(44);
3674
3736
 
3675
3737
  var defaultContext = {
3676
3738
  linkColorRangeConfig: [{
@@ -3811,7 +3873,8 @@ var editorConfig = [{
3811
3873
  option: 'linkValues',
3812
3874
  context: 'linkValuesContext',
3813
3875
  editorProps: {
3814
- dataSourceKey: 'primary'
3876
+ dataSourceKey: 'primary',
3877
+ filterByTypes: ['number']
3815
3878
  }
3816
3879
  }]]
3817
3880
  }, {
@@ -3856,6 +3919,7 @@ var config = {
3856
3919
  */
3857
3920
  name: 'Sankey',
3858
3921
  category: VizCategory_1.VizCategory.FLOW,
3922
+ status: 'preview',
3859
3923
 
3860
3924
  /**
3861
3925
  * viz icon
@@ -3874,7 +3938,7 @@ var config = {
3874
3938
  exports.default = configUtils_1.enhanceConfig(config);
3875
3939
 
3876
3940
  /***/ }),
3877
- /* 211 */
3941
+ /* 226 */
3878
3942
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3879
3943
 
3880
3944
  "use strict";
@@ -3882,7 +3946,7 @@ __webpack_require__.r(__webpack_exports__);
3882
3946
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getDynamicLinkColorsEditor", function() { return getDynamicLinkColorsEditor; });
3883
3947
  /* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3);
3884
3948
  /* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__);
3885
- /* harmony import */ var _utils_configUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7);
3949
+ /* harmony import */ var _utils_configUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(8);
3886
3950
  /* harmony import */ var _utils_configUtils__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_utils_configUtils__WEBPACK_IMPORTED_MODULE_1__);
3887
3951
 
3888
3952