@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/ChoroplethSvg.js CHANGED
@@ -87,7 +87,7 @@ module.exports =
87
87
  /******/
88
88
  /******/
89
89
  /******/ // Load entry module and return exports
90
- /******/ return __webpack_require__(__webpack_require__.s = 140);
90
+ /******/ return __webpack_require__(__webpack_require__.s = 144);
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,32 +552,39 @@ 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
569
  /***/ (function(module, exports) {
530
570
 
531
571
  module.exports = require("@splunk/themes/variables");
532
572
 
533
573
  /***/ }),
534
- /* 20 */
574
+ /* 20 */,
575
+ /* 21 */
535
576
  /***/ (function(module, exports) {
536
577
 
537
578
  module.exports = require("@splunk/themes/pick");
538
579
 
539
580
  /***/ }),
540
- /* 21 */
581
+ /* 22 */
582
+ /***/ (function(module, exports) {
583
+
584
+ module.exports = require("@babel/runtime/helpers/typeof");
585
+
586
+ /***/ }),
587
+ /* 23 */
541
588
  /***/ (function(module, exports, __webpack_require__) {
542
589
 
543
590
  "use strict";
@@ -554,7 +601,7 @@ var T = __webpack_require__(0);
554
601
 
555
602
  var lodash_1 = __webpack_require__(2);
556
603
 
557
- var DataSource_1 = __webpack_require__(31);
604
+ var DataSource_1 = __webpack_require__(33);
558
605
 
559
606
  exports.SortParamsPropTypes = T.shape({
560
607
  currentSortKey: T.string,
@@ -607,7 +654,7 @@ var getSortingParams = function getSortingParams(_ref) {
607
654
  exports.getSortingParams = getSortingParams;
608
655
 
609
656
  /***/ }),
610
- /* 22 */
657
+ /* 24 */
611
658
  /***/ (function(module, exports, __webpack_require__) {
612
659
 
613
660
  "use strict";
@@ -671,7 +718,7 @@ var getPaginationParams = function getPaginationParams(_ref) {
671
718
  exports.getPaginationParams = getPaginationParams;
672
719
 
673
720
  /***/ }),
674
- /* 23 */
721
+ /* 25 */
675
722
  /***/ (function(module, exports, __webpack_require__) {
676
723
 
677
724
  "use strict";
@@ -690,9 +737,9 @@ var lodash_1 = __webpack_require__(2);
690
737
 
691
738
  var i18n_1 = __webpack_require__(3);
692
739
 
693
- var Message_1 = __webpack_require__(8);
740
+ var Message_1 = __webpack_require__(9);
694
741
 
695
- var FixedSizeContainer_1 = __webpack_require__(11);
742
+ var FixedSizeContainer_1 = __webpack_require__(12);
696
743
  /**
697
744
  * @method shouldShowIconPlaceholder
698
745
  * @param {object} dataSources
@@ -758,7 +805,7 @@ IconPlaceholder.defaultProps = {
758
805
  exports.default = FixedSizeContainer_1.default(IconPlaceholder);
759
806
 
760
807
  /***/ }),
761
- /* 24 */
808
+ /* 26 */
762
809
  /***/ (function(module, exports, __webpack_require__) {
763
810
 
764
811
  "use strict";
@@ -781,10 +828,12 @@ var VizCategory;
781
828
  VizCategory["SHAPES"] = "Shapes";
782
829
  VizCategory["MISC"] = "misc";
783
830
  VizCategory["FLOW"] = "Flow";
831
+ VizCategory["CORRELATION"] = "Correlation";
832
+ VizCategory["SPATIAL"] = "Spatial";
784
833
  })(VizCategory = exports.VizCategory || (exports.VizCategory = {}));
785
834
 
786
835
  /***/ }),
787
- /* 25 */
836
+ /* 27 */
788
837
  /***/ (function(module, exports, __webpack_require__) {
789
838
 
790
839
  "use strict";
@@ -798,31 +847,33 @@ var React = __webpack_require__(1);
798
847
 
799
848
  var lodash_1 = __webpack_require__(2);
800
849
 
801
- var getSettingsFromThemedProps_1 = __webpack_require__(26);
802
-
803
- var Options_1 = __webpack_require__(27);
850
+ var getSettingsFromThemedProps_1 = __webpack_require__(28);
804
851
 
805
- var SanitizeProps_1 = __webpack_require__(28);
852
+ var Options_1 = __webpack_require__(29);
806
853
 
807
- var SplunkVisualization_1 = __webpack_require__(29);
854
+ var SanitizeProps_1 = __webpack_require__(30);
808
855
 
809
856
  var styled_components_1 = __webpack_require__(4);
810
857
 
858
+ var SplunkVisualization_1 = __webpack_require__(31);
859
+
811
860
  var VizBehavior_1 = __webpack_require__(5);
812
861
 
813
- var getSorting_1 = __webpack_require__(21);
862
+ var getSorting_1 = __webpack_require__(23);
863
+
864
+ var getPagination_1 = __webpack_require__(24);
814
865
 
815
- var getPagination_1 = __webpack_require__(22);
866
+ var useDeepMemo_1 = __webpack_require__(34);
816
867
 
817
- var useDeepMemo_1 = __webpack_require__(32);
868
+ var JSONSchemaUtils_1 = __webpack_require__(35);
818
869
 
819
- var JSONSchemaUtils_1 = __webpack_require__(33);
870
+ var MissingPropsMessage_1 = __webpack_require__(36);
820
871
 
821
- var MissingPropsMessage_1 = __webpack_require__(34);
872
+ var withEditModeCover_1 = __webpack_require__(37);
822
873
 
823
- var withEditModeCover_1 = __webpack_require__(35);
874
+ var withPlaceholder_1 = __webpack_require__(38);
824
875
 
825
- var withPlaceholder_1 = __webpack_require__(36);
876
+ var hocUtils_1 = __webpack_require__(7);
826
877
  /**
827
878
  * hoc that wraps a pure react visualization in a Dashboard visualization
828
879
  * @param {DashboardVizOpts} opts
@@ -875,7 +926,7 @@ var withDashboardViz = function withDashboardViz(opts) {
875
926
  try {
876
927
  return Options_1.Options.evaluate({
877
928
  context: lodash_1.defaultsDeep({}, context, vizConfig.defaultContext),
878
- options: lodash_1.defaultsDeep({}, options, defaultOptions)
929
+ options: hocUtils_1.deepMergeWithArrayOverrides({}, options, defaultOptions)
879
930
  }, dataSources, themeFunc);
880
931
  } catch (e) {
881
932
  console.error("unexpected error evaluating options: + ".concat(e.message));
@@ -886,7 +937,7 @@ var withDashboardViz = function withDashboardViz(opts) {
886
937
 
887
938
  React.useEffect(function () {
888
939
  onComputedProps(evaluatedOptions);
889
- }); //present warning message if any required props are missing
940
+ }); // present warning message if any required props are missing
890
941
 
891
942
  var _vizConfig$requiredPr = vizConfig.requiredProps,
892
943
  requiredProps = _vizConfig$requiredPr === void 0 ? [] : _vizConfig$requiredPr,
@@ -909,7 +960,7 @@ var withDashboardViz = function withDashboardViz(opts) {
909
960
  if (hasEventHandlers && mode === 'view' && vizConfig.supports.indexOf(VizBehavior_1.VizBehavior.EVENTS) > -1) {
910
961
  var supportedEvents = vizConfig.events;
911
962
  Object.keys(supportedEvents).forEach(function (eventName) {
912
- var eventCallbackPropName = lodash_1.camelCase('on.' + eventName);
963
+ var eventCallbackPropName = lodash_1.camelCase("on.".concat(eventName));
913
964
  eventCallbackProps[eventCallbackPropName] = null; // todo: refactor single value and single value icon to send payload from viz
914
965
  // then remove these lines
915
966
 
@@ -1004,31 +1055,31 @@ var withDashboardViz = function withDashboardViz(opts) {
1004
1055
  exports.default = withDashboardViz;
1005
1056
 
1006
1057
  /***/ }),
1007
- /* 26 */
1058
+ /* 28 */
1008
1059
  /***/ (function(module, exports) {
1009
1060
 
1010
1061
  module.exports = require("@splunk/themes/getSettingsFromThemedProps");
1011
1062
 
1012
1063
  /***/ }),
1013
- /* 27 */
1064
+ /* 29 */
1014
1065
  /***/ (function(module, exports) {
1015
1066
 
1016
1067
  module.exports = require("@splunk/visualization-encoding/Options");
1017
1068
 
1018
1069
  /***/ }),
1019
- /* 28 */
1070
+ /* 30 */
1020
1071
  /***/ (function(module, exports) {
1021
1072
 
1022
1073
  module.exports = require("@splunk/visualizations-shared/SanitizeProps");
1023
1074
 
1024
1075
  /***/ }),
1025
- /* 29 */
1076
+ /* 31 */
1026
1077
  /***/ (function(module, exports, __webpack_require__) {
1027
1078
 
1028
1079
  "use strict";
1029
1080
 
1030
1081
 
1031
- var _classCallCheck = __webpack_require__(9);
1082
+ var _classCallCheck = __webpack_require__(10);
1032
1083
 
1033
1084
  Object.defineProperty(exports, "__esModule", {
1034
1085
  value: true
@@ -1040,7 +1091,7 @@ var T = __webpack_require__(0);
1040
1091
 
1041
1092
  var lodash_1 = __webpack_require__(2);
1042
1093
 
1043
- var VizActionHandler_1 = __webpack_require__(30); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
1094
+ var VizActionHandler_1 = __webpack_require__(32); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
1044
1095
 
1045
1096
 
1046
1097
  exports.INITIAL_WIDTH = 250;
@@ -1173,15 +1224,15 @@ SplunkVisualization.defaultProps = {
1173
1224
  exports.default = SplunkVisualization;
1174
1225
 
1175
1226
  /***/ }),
1176
- /* 30 */
1227
+ /* 32 */
1177
1228
  /***/ (function(module, exports, __webpack_require__) {
1178
1229
 
1179
1230
  "use strict";
1180
1231
 
1181
1232
 
1182
- var _classCallCheck = __webpack_require__(9);
1233
+ var _classCallCheck = __webpack_require__(10);
1183
1234
 
1184
- var _createClass = __webpack_require__(17);
1235
+ var _createClass = __webpack_require__(16);
1185
1236
 
1186
1237
  Object.defineProperty(exports, "__esModule", {
1187
1238
  value: true
@@ -1210,7 +1261,7 @@ var DefaultVizActionHandler = /*#__PURE__*/function () {
1210
1261
  exports.DefaultVizActionHandler = DefaultVizActionHandler;
1211
1262
 
1212
1263
  /***/ }),
1213
- /* 31 */
1264
+ /* 33 */
1214
1265
  /***/ (function(module, exports, __webpack_require__) {
1215
1266
 
1216
1267
  "use strict";
@@ -1223,7 +1274,7 @@ exports.validSortDirs = void 0;
1223
1274
  exports.validSortDirs = ['asc', 'desc', 'none'];
1224
1275
 
1225
1276
  /***/ }),
1226
- /* 32 */
1277
+ /* 34 */
1227
1278
  /***/ (function(module, exports, __webpack_require__) {
1228
1279
 
1229
1280
  "use strict";
@@ -1268,7 +1319,7 @@ var useDeepMemo = function useDeepMemo(fn, dependencies) {
1268
1319
  exports.useDeepMemo = useDeepMemo;
1269
1320
 
1270
1321
  /***/ }),
1271
- /* 33 */
1322
+ /* 35 */
1272
1323
  /***/ (function(module, exports, __webpack_require__) {
1273
1324
 
1274
1325
  "use strict";
@@ -1301,7 +1352,7 @@ var pickFieldFromJSONSchema = function pickFieldFromJSONSchema(optionsSchema) {
1301
1352
  exports.pickFieldFromJSONSchema = pickFieldFromJSONSchema;
1302
1353
 
1303
1354
  /***/ }),
1304
- /* 34 */
1355
+ /* 36 */
1305
1356
  /***/ (function(module, exports, __webpack_require__) {
1306
1357
 
1307
1358
  "use strict";
@@ -1318,9 +1369,9 @@ var T = __webpack_require__(0);
1318
1369
 
1319
1370
  var i18n_1 = __webpack_require__(3);
1320
1371
 
1321
- var Message_1 = __webpack_require__(8);
1372
+ var Message_1 = __webpack_require__(9);
1322
1373
 
1323
- var FixedSizeContainer_1 = __webpack_require__(11);
1374
+ var FixedSizeContainer_1 = __webpack_require__(12);
1324
1375
  /**
1325
1376
  * @method isMissing
1326
1377
  * @param {any} v
@@ -1380,7 +1431,7 @@ exports.MissingPropsMessage.defaultProps = {
1380
1431
  exports.default = FixedSizeContainer_1.default(exports.MissingPropsMessage);
1381
1432
 
1382
1433
  /***/ }),
1383
- /* 35 */
1434
+ /* 37 */
1384
1435
  /***/ (function(module, exports, __webpack_require__) {
1385
1436
 
1386
1437
  "use strict";
@@ -1394,7 +1445,7 @@ var React = __webpack_require__(1);
1394
1445
 
1395
1446
  var styled_components_1 = __webpack_require__(4);
1396
1447
 
1397
- var hocUtils_1 = __webpack_require__(12);
1448
+ var hocUtils_1 = __webpack_require__(7);
1398
1449
 
1399
1450
  var Cover = styled_components_1.default.div.withConfig({
1400
1451
  displayName: "withEditModeCover__Cover",
@@ -1429,7 +1480,7 @@ var withEditModeCover = function withEditModeCover(Visualization) {
1429
1480
  exports.default = withEditModeCover;
1430
1481
 
1431
1482
  /***/ }),
1432
- /* 36 */
1483
+ /* 38 */
1433
1484
  /***/ (function(module, exports, __webpack_require__) {
1434
1485
 
1435
1486
  "use strict";
@@ -1441,13 +1492,13 @@ Object.defineProperty(exports, "__esModule", {
1441
1492
 
1442
1493
  var React = __webpack_require__(1);
1443
1494
 
1444
- var colorUtils_1 = __webpack_require__(10);
1495
+ var colorUtils_1 = __webpack_require__(11);
1445
1496
 
1446
- var IconPlaceholder_1 = __webpack_require__(23);
1497
+ var IconPlaceholder_1 = __webpack_require__(25);
1447
1498
 
1448
1499
  var VizBehavior_1 = __webpack_require__(5);
1449
1500
 
1450
- var hocUtils_1 = __webpack_require__(12);
1501
+ var hocUtils_1 = __webpack_require__(7);
1451
1502
 
1452
1503
  var withPlaceholder = function withPlaceholder(Visualization) {
1453
1504
  var useIconPlaceholder = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : IconPlaceholder_1.shouldShowIconPlaceholder;
@@ -1488,17 +1539,15 @@ var withPlaceholder = function withPlaceholder(Visualization) {
1488
1539
  exports.default = withPlaceholder;
1489
1540
 
1490
1541
  /***/ }),
1491
- /* 37 */,
1492
- /* 38 */,
1493
- /* 39 */
1542
+ /* 39 */,
1543
+ /* 40 */,
1544
+ /* 41 */,
1545
+ /* 42 */
1494
1546
  /***/ (function(module, exports) {
1495
1547
 
1496
1548
  module.exports = require("@splunk/visualization-icons");
1497
1549
 
1498
1550
  /***/ }),
1499
- /* 40 */,
1500
- /* 41 */,
1501
- /* 42 */,
1502
1551
  /* 43 */,
1503
1552
  /* 44 */,
1504
1553
  /* 45 */,
@@ -1513,6 +1562,12 @@ module.exports = require("@splunk/visualization-icons");
1513
1562
  /* 54 */,
1514
1563
  /* 55 */,
1515
1564
  /* 56 */
1565
+ /***/ (function(module, exports) {
1566
+
1567
+ module.exports = require("@splunk/visualization-color-palettes/editors/PresetPalettes");
1568
+
1569
+ /***/ }),
1570
+ /* 57 */
1516
1571
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1517
1572
 
1518
1573
  "use strict";
@@ -1535,14 +1590,8 @@ VizStyleWrapper.displayName = 'VizStyleWrapper';
1535
1590
  /* harmony default export */ __webpack_exports__["default"] = (VizStyleWrapper);
1536
1591
 
1537
1592
  /***/ }),
1538
- /* 57 */,
1539
1593
  /* 58 */,
1540
- /* 59 */
1541
- /***/ (function(module, exports) {
1542
-
1543
- module.exports = require("@splunk/visualization-color-palettes/editors/PresetPalettes");
1544
-
1545
- /***/ }),
1594
+ /* 59 */,
1546
1595
  /* 60 */,
1547
1596
  /* 61 */,
1548
1597
  /* 62 */,
@@ -1560,7 +1609,7 @@ module.exports = require("@splunk/visualization-color-palettes/editors/PresetPal
1560
1609
  __webpack_require__.r(__webpack_exports__);
1561
1610
  /* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3);
1562
1611
  /* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__);
1563
- /* harmony import */ var _utils_configUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7);
1612
+ /* harmony import */ var _utils_configUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(8);
1564
1613
  /* harmony import */ var _utils_configUtils__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_utils_configUtils__WEBPACK_IMPORTED_MODULE_1__);
1565
1614
 
1566
1615
 
@@ -1586,25 +1635,25 @@ var StaticBackgroundColorEditor = {
1586
1635
  /* 78 */,
1587
1636
  /* 79 */,
1588
1637
  /* 80 */,
1589
- /* 81 */
1638
+ /* 81 */,
1639
+ /* 82 */
1590
1640
  /***/ (function(module, exports) {
1591
1641
 
1592
1642
  module.exports = require("@babel/runtime/helpers/inherits");
1593
1643
 
1594
1644
  /***/ }),
1595
- /* 82 */
1645
+ /* 83 */
1596
1646
  /***/ (function(module, exports) {
1597
1647
 
1598
1648
  module.exports = require("@babel/runtime/helpers/possibleConstructorReturn");
1599
1649
 
1600
1650
  /***/ }),
1601
- /* 83 */
1651
+ /* 84 */
1602
1652
  /***/ (function(module, exports) {
1603
1653
 
1604
1654
  module.exports = require("@babel/runtime/helpers/getPrototypeOf");
1605
1655
 
1606
1656
  /***/ }),
1607
- /* 84 */,
1608
1657
  /* 85 */,
1609
1658
  /* 86 */,
1610
1659
  /* 87 */,
@@ -1629,21 +1678,24 @@ module.exports = require("@babel/runtime/helpers/getPrototypeOf");
1629
1678
  /* 106 */,
1630
1679
  /* 107 */,
1631
1680
  /* 108 */,
1632
- /* 109 */
1681
+ /* 109 */,
1682
+ /* 110 */,
1683
+ /* 111 */,
1684
+ /* 112 */
1633
1685
  /***/ (function(module, exports, __webpack_require__) {
1634
1686
 
1635
1687
  "use strict";
1636
1688
 
1637
1689
 
1638
- var _classCallCheck = __webpack_require__(9);
1690
+ var _classCallCheck = __webpack_require__(10);
1639
1691
 
1640
- var _createClass = __webpack_require__(17);
1692
+ var _createClass = __webpack_require__(16);
1641
1693
 
1642
- var _inherits = __webpack_require__(81);
1694
+ var _inherits = __webpack_require__(82);
1643
1695
 
1644
- var _possibleConstructorReturn = __webpack_require__(82);
1696
+ var _possibleConstructorReturn = __webpack_require__(83);
1645
1697
 
1646
- var _getPrototypeOf = __webpack_require__(83);
1698
+ var _getPrototypeOf = __webpack_require__(84);
1647
1699
 
1648
1700
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
1649
1701
 
@@ -1657,7 +1709,7 @@ var React = __webpack_require__(1);
1657
1709
 
1658
1710
  var lodash_1 = __webpack_require__(2);
1659
1711
 
1660
- var SvgMutator_1 = __webpack_require__(146);
1712
+ var SvgMutator_1 = __webpack_require__(150);
1661
1713
  /**
1662
1714
  * This react component simply take an SVG document, and mutates it by applying data to the document according to
1663
1715
  * dataBindings. The data (data prop) is processed by performing the mutation once for each 'row' of the data even though the data is formatted as columns.
@@ -1785,9 +1837,6 @@ SvgChoroplethDynamic.defaultProps = {
1785
1837
  };
1786
1838
 
1787
1839
  /***/ }),
1788
- /* 110 */,
1789
- /* 111 */,
1790
- /* 112 */,
1791
1840
  /* 113 */,
1792
1841
  /* 114 */,
1793
1842
  /* 115 */,
@@ -1815,7 +1864,11 @@ SvgChoroplethDynamic.defaultProps = {
1815
1864
  /* 137 */,
1816
1865
  /* 138 */,
1817
1866
  /* 139 */,
1818
- /* 140 */
1867
+ /* 140 */,
1868
+ /* 141 */,
1869
+ /* 142 */,
1870
+ /* 143 */,
1871
+ /* 144 */
1819
1872
  /***/ (function(module, exports, __webpack_require__) {
1820
1873
 
1821
1874
  "use strict";
@@ -1845,23 +1898,23 @@ var T = __webpack_require__(0);
1845
1898
 
1846
1899
  var lodash_1 = __webpack_require__(2);
1847
1900
 
1848
- var FeatureFlagContext_1 = __webpack_require__(141);
1901
+ var FeatureFlagContext_1 = __webpack_require__(145);
1849
1902
 
1850
- var ImageContext_1 = __webpack_require__(142);
1903
+ var ImageContext_1 = __webpack_require__(146);
1851
1904
 
1852
- var FileDownloader_1 = __webpack_require__(143);
1905
+ var FileDownloader_1 = __webpack_require__(147);
1853
1906
 
1854
- var Downloader_1 = __webpack_require__(144);
1907
+ var Downloader_1 = __webpack_require__(148);
1855
1908
 
1856
- var withDashboardViz_1 = __webpack_require__(25);
1909
+ var withDashboardViz_1 = __webpack_require__(27);
1857
1910
 
1858
- var PureChoroplethSvg_1 = __webpack_require__(145);
1911
+ var PureChoroplethSvg_1 = __webpack_require__(149);
1859
1912
 
1860
- var SvgChoroplethDynamic_1 = __webpack_require__(109);
1913
+ var SvgChoroplethDynamic_1 = __webpack_require__(112);
1861
1914
 
1862
- var config_1 = __webpack_require__(150);
1915
+ var config_1 = __webpack_require__(154);
1863
1916
 
1864
- var IconPlaceholder_1 = __webpack_require__(23);
1917
+ var IconPlaceholder_1 = __webpack_require__(25);
1865
1918
 
1866
1919
  exports.config = config_1.default;
1867
1920
  exports.PureChoroplethSvg = PureChoroplethSvg_1.default; // todo: need remove when deleting @splunk/react-visualizations package
@@ -1945,31 +1998,31 @@ var platformViz = withDashboardViz_1.default({
1945
1998
  exports.default = platformViz;
1946
1999
 
1947
2000
  /***/ }),
1948
- /* 141 */
2001
+ /* 145 */
1949
2002
  /***/ (function(module, exports) {
1950
2003
 
1951
2004
  module.exports = require("@splunk/visualization-context/FeatureFlagContext");
1952
2005
 
1953
2006
  /***/ }),
1954
- /* 142 */
2007
+ /* 146 */
1955
2008
  /***/ (function(module, exports) {
1956
2009
 
1957
2010
  module.exports = require("@splunk/visualization-context/ImageContext");
1958
2011
 
1959
2012
  /***/ }),
1960
- /* 143 */
2013
+ /* 147 */
1961
2014
  /***/ (function(module, exports) {
1962
2015
 
1963
2016
  module.exports = require("@splunk/visualizations-shared/FileDownloader");
1964
2017
 
1965
2018
  /***/ }),
1966
- /* 144 */
2019
+ /* 148 */
1967
2020
  /***/ (function(module, exports) {
1968
2021
 
1969
2022
  module.exports = require("@splunk/visualizations-shared/Downloader");
1970
2023
 
1971
2024
  /***/ }),
1972
- /* 145 */
2025
+ /* 149 */
1973
2026
  /***/ (function(module, exports, __webpack_require__) {
1974
2027
 
1975
2028
  "use strict";
@@ -2001,11 +2054,11 @@ var lodash_1 = __webpack_require__(2);
2001
2054
 
2002
2055
  var style_1 = __webpack_require__(13);
2003
2056
 
2004
- var SizeAwareWrapper_1 = __webpack_require__(18);
2057
+ var SizeAwareWrapper_1 = __webpack_require__(17);
2005
2058
 
2006
- var SvgChoroplethDynamic_1 = __webpack_require__(109);
2059
+ var SvgChoroplethDynamic_1 = __webpack_require__(112);
2007
2060
 
2008
- var VizStyleWrapper_1 = __webpack_require__(56);
2061
+ var VizStyleWrapper_1 = __webpack_require__(57);
2009
2062
 
2010
2063
  var Container = styled_components_1.default.div.withConfig({
2011
2064
  displayName: "PureChoroplethSvg__Container",
@@ -2075,15 +2128,15 @@ PureChoroplethSvg.defaultProps = {
2075
2128
  exports.default = styled_components_1.withTheme(PureChoroplethSvg);
2076
2129
 
2077
2130
  /***/ }),
2078
- /* 146 */
2131
+ /* 150 */
2079
2132
  /***/ (function(module, exports, __webpack_require__) {
2080
2133
 
2081
2134
  "use strict";
2082
2135
 
2083
2136
 
2084
- var _classCallCheck = __webpack_require__(9);
2137
+ var _classCallCheck = __webpack_require__(10);
2085
2138
 
2086
- var _createClass = __webpack_require__(17);
2139
+ var _createClass = __webpack_require__(16);
2087
2140
 
2088
2141
  Object.defineProperty(exports, "__esModule", {
2089
2142
  value: true
@@ -2092,11 +2145,11 @@ exports.SvgMutator = exports.ERROR_NON_ATTRIBUTE_MUTATION = void 0;
2092
2145
 
2093
2146
  var React = __webpack_require__(1);
2094
2147
 
2095
- var XPath = __webpack_require__(147);
2148
+ var XPath = __webpack_require__(151);
2096
2149
 
2097
- var xmldom_1 = __webpack_require__(148);
2150
+ var xmldom_1 = __webpack_require__(152);
2098
2151
 
2099
- var jexl = __webpack_require__(149);
2152
+ var jexl = __webpack_require__(153);
2100
2153
  /**
2101
2154
  * An error message indicating that a mutation has attempted to target anything other than SVG attribute(s)
2102
2155
  * @type {string}
@@ -2465,25 +2518,25 @@ exports.SvgMutator = SvgMutator;
2465
2518
  SvgMutator.serializer = new xmldom_1.XMLSerializer();
2466
2519
 
2467
2520
  /***/ }),
2468
- /* 147 */
2521
+ /* 151 */
2469
2522
  /***/ (function(module, exports) {
2470
2523
 
2471
2524
  module.exports = require("xpath");
2472
2525
 
2473
2526
  /***/ }),
2474
- /* 148 */
2527
+ /* 152 */
2475
2528
  /***/ (function(module, exports) {
2476
2529
 
2477
- module.exports = require("xmldom");
2530
+ module.exports = require("@xmldom/xmldom");
2478
2531
 
2479
2532
  /***/ }),
2480
- /* 149 */
2533
+ /* 153 */
2481
2534
  /***/ (function(module, exports) {
2482
2535
 
2483
2536
  module.exports = require("jexl");
2484
2537
 
2485
2538
  /***/ }),
2486
- /* 150 */
2539
+ /* 154 */
2487
2540
  /***/ (function(module, exports, __webpack_require__) {
2488
2541
 
2489
2542
  "use strict";
@@ -2495,21 +2548,21 @@ Object.defineProperty(exports, "__esModule", {
2495
2548
 
2496
2549
  var i18n_1 = __webpack_require__(3);
2497
2550
 
2498
- var pick_1 = __webpack_require__(20);
2551
+ var pick_1 = __webpack_require__(21);
2499
2552
 
2500
2553
  var variables_1 = __webpack_require__(19);
2501
2554
 
2502
2555
  var schemaUtils_1 = __webpack_require__(14);
2503
2556
 
2504
- var PresetPalettes_1 = __webpack_require__(59);
2557
+ var PresetPalettes_1 = __webpack_require__(56);
2505
2558
 
2506
- var visualization_icons_1 = __webpack_require__(39);
2559
+ var visualization_icons_1 = __webpack_require__(42);
2507
2560
 
2508
2561
  var VizBehavior_1 = __webpack_require__(5);
2509
2562
 
2510
- var configUtils_1 = __webpack_require__(7);
2563
+ var configUtils_1 = __webpack_require__(8);
2511
2564
 
2512
- var VizCategory_1 = __webpack_require__(24);
2565
+ var VizCategory_1 = __webpack_require__(26);
2513
2566
 
2514
2567
  var StaticBackgroundColorEditor_1 = __webpack_require__(70);
2515
2568