@splunk/visualizations 26.2.1 → 26.3.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 (149) hide show
  1. package/Area.config.js +91 -594
  2. package/Area.config.js.map +1 -1
  3. package/Area.js +184 -689
  4. package/Area.js.map +1 -1
  5. package/Bar.config.js +92 -561
  6. package/Bar.config.js.map +1 -1
  7. package/Bar.js +184 -655
  8. package/Bar.js.map +1 -1
  9. package/Bubble.config.js +83 -482
  10. package/Bubble.config.js.map +1 -1
  11. package/Bubble.js +177 -578
  12. package/Bubble.js.map +1 -1
  13. package/ChoroplethSvg.config.js +76 -201
  14. package/ChoroplethSvg.config.js.map +1 -1
  15. package/ChoroplethSvg.js +170 -300
  16. package/ChoroplethSvg.js.map +1 -1
  17. package/Column.config.js +92 -599
  18. package/Column.config.js.map +1 -1
  19. package/Column.js +184 -693
  20. package/Column.js.map +1 -1
  21. package/Ellipse.config.js +82 -200
  22. package/Ellipse.config.js.map +1 -1
  23. package/Ellipse.js +137 -262
  24. package/Ellipse.js.map +1 -1
  25. package/Events.config.js +61 -282
  26. package/Events.config.js.map +1 -1
  27. package/Events.js +222 -428
  28. package/Events.js.map +1 -1
  29. package/FillerGauge.config.js +90 -219
  30. package/FillerGauge.config.js.map +1 -1
  31. package/FillerGauge.js +163 -299
  32. package/FillerGauge.js.map +1 -1
  33. package/Image.config.js +61 -157
  34. package/Image.config.js.map +1 -1
  35. package/Image.js +130 -242
  36. package/Image.js.map +1 -1
  37. package/Line.config.js +91 -606
  38. package/Line.config.js.map +1 -1
  39. package/Line.js +184 -701
  40. package/Line.js.map +1 -1
  41. package/LinkGraph.config.js +74 -256
  42. package/LinkGraph.config.js.map +1 -1
  43. package/LinkGraph.js +545 -729
  44. package/LinkGraph.js.map +1 -1
  45. package/Map.config.js +128 -1123
  46. package/Map.config.js.map +1 -1
  47. package/Map.js +309 -680
  48. package/Map.js.map +1 -1
  49. package/Markdown.config.js +61 -188
  50. package/Markdown.config.js.map +1 -1
  51. package/Markdown.js +190 -323
  52. package/Markdown.js.map +1 -1
  53. package/MarkerGauge.config.js +137 -297
  54. package/MarkerGauge.config.js.map +1 -1
  55. package/MarkerGauge.js +1038 -1203
  56. package/MarkerGauge.js.map +1 -1
  57. package/ParallelCoordinates.config.js +71 -191
  58. package/ParallelCoordinates.config.js.map +1 -1
  59. package/ParallelCoordinates.js +218 -343
  60. package/ParallelCoordinates.js.map +1 -1
  61. package/Pie.config.js +72 -240
  62. package/Pie.config.js.map +1 -1
  63. package/Pie.js +214 -381
  64. package/Pie.js.map +1 -1
  65. package/Punchcard.config.js +71 -305
  66. package/Punchcard.config.js.map +1 -1
  67. package/Punchcard.js +246 -477
  68. package/Punchcard.js.map +1 -1
  69. package/Rectangle.config.js +211 -347
  70. package/Rectangle.config.js.map +1 -1
  71. package/Rectangle.js +274 -416
  72. package/Rectangle.js.map +1 -1
  73. package/Sankey.config.js +71 -213
  74. package/Sankey.config.js.map +1 -1
  75. package/Sankey.js +246 -382
  76. package/Sankey.js.map +1 -1
  77. package/Scatter.config.js +85 -463
  78. package/Scatter.config.js.map +1 -1
  79. package/Scatter.js +825 -1202
  80. package/Scatter.js.map +1 -1
  81. package/SingleValue.config.js +114 -409
  82. package/SingleValue.config.js.map +1 -1
  83. package/SingleValue.js +287 -582
  84. package/SingleValue.js.map +1 -1
  85. package/SingleValueBasic.js +30 -30
  86. package/SingleValueBasic.js.map +1 -1
  87. package/SingleValueIcon.config.js +113 -378
  88. package/SingleValueIcon.config.js.map +1 -1
  89. package/SingleValueIcon.js +268 -533
  90. package/SingleValueIcon.js.map +1 -1
  91. package/SingleValueRadial.config.js +110 -382
  92. package/SingleValueRadial.config.js.map +1 -1
  93. package/SingleValueRadial.js +272 -543
  94. package/SingleValueRadial.js.map +1 -1
  95. package/SparkLine.js +24 -24
  96. package/SparkLine.js.map +1 -1
  97. package/Table.config.js +74 -496
  98. package/Table.config.js.map +1 -1
  99. package/Table.js +302 -720
  100. package/Table.js.map +1 -1
  101. package/common/Charting.js +22 -34
  102. package/common/Charting.js.map +1 -1
  103. package/common/DocExampleWithVizSandbox.js +21 -21
  104. package/common/DocExampleWithVizSandbox.js.map +1 -1
  105. package/common/EventsDoc.js +18 -18
  106. package/common/EventsDoc.js.map +1 -1
  107. package/common/GaugeMajorTicks.js +4 -4
  108. package/common/GaugeMajorTicks.js.map +1 -1
  109. package/common/GaugeValueMarker.js +2 -2
  110. package/common/GaugeValueMarker.js.map +1 -1
  111. package/common/OptionsDoc.js +4 -4
  112. package/common/OptionsDoc.js.map +1 -1
  113. package/common/OverviewDoc.js +39 -40
  114. package/common/OverviewDoc.js.map +1 -1
  115. package/common/SplunkVisualization.js +2 -2
  116. package/common/SplunkVisualization.js.map +1 -1
  117. package/common/SplunkVisualizationApi.js +2 -2
  118. package/common/SplunkVisualizationApi.js.map +1 -1
  119. package/common/ThemesDoc.js +19 -19
  120. package/common/ThemesDoc.js.map +1 -1
  121. package/common/chartingUtils.js +2 -2
  122. package/common/chartingUtils.js.map +1 -1
  123. package/common/gaugeUtils.js +10 -10
  124. package/common/gaugeUtils.js.map +1 -1
  125. package/common/shapeUtils.js +10 -10
  126. package/common/shapeUtils.js.map +1 -1
  127. package/common/utils/configUtils.js +25 -155
  128. package/common/utils/configUtils.js.map +1 -1
  129. package/common/utils/dataUtils.js +75 -87
  130. package/common/utils/dataUtils.js.map +1 -1
  131. package/common/utils/featureFlagUtils.js +4 -4
  132. package/common/utils/featureFlagUtils.js.map +1 -1
  133. package/common/utils/hocUtils.js +2 -2
  134. package/common/utils/hocUtils.js.map +1 -1
  135. package/common/utils/mapUtils.js +51 -54
  136. package/common/utils/mapUtils.js.map +1 -1
  137. package/common/utils/singleValueUtils.js +7 -7
  138. package/common/utils/singleValueUtils.js.map +1 -1
  139. package/common/utils/testHelper.js +7 -36
  140. package/common/utils/testHelper.js.map +1 -1
  141. package/common/utils/trellisUtils.js +7 -6
  142. package/common/utils/trellisUtils.js.map +1 -1
  143. package/common/utils/urlUtils.js +2 -2
  144. package/common/utils/urlUtils.js.map +1 -1
  145. package/common/withDashboardViz.js +65 -77
  146. package/common/withDashboardViz.js.map +1 -1
  147. package/package.json +46 -49
  148. package/common/utils/layoutUtils.js +0 -115
  149. package/common/utils/layoutUtils.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 = 208);
90
+ /******/ return __webpack_require__(__webpack_require__.s = 204);
91
91
  /******/ })
92
92
  /************************************************************************/
93
93
  /******/ ([
@@ -123,6 +123,18 @@ module.exports = require("styled-components");
123
123
  /***/ }),
124
124
  /* 5 */,
125
125
  /* 6 */
126
+ /***/ (function(module, exports) {
127
+
128
+ module.exports = require("@babel/runtime/helpers/slicedToArray");
129
+
130
+ /***/ }),
131
+ /* 7 */
132
+ /***/ (function(module, exports) {
133
+
134
+ module.exports = require("@babel/runtime/helpers/toConsumableArray");
135
+
136
+ /***/ }),
137
+ /* 8 */
126
138
  /***/ (function(module, exports, __webpack_require__) {
127
139
 
128
140
  "use strict";
@@ -160,29 +172,17 @@ var VizBehavior;
160
172
  VizBehavior["TRELLIS"] = "trellis";
161
173
  })(VizBehavior = exports.VizBehavior || (exports.VizBehavior = {}));
162
174
 
163
- /***/ }),
164
- /* 7 */
165
- /***/ (function(module, exports) {
166
-
167
- module.exports = require("@babel/runtime/helpers/slicedToArray");
168
-
169
- /***/ }),
170
- /* 8 */
171
- /***/ (function(module, exports) {
172
-
173
- module.exports = require("@babel/runtime/helpers/toConsumableArray");
174
-
175
175
  /***/ }),
176
176
  /* 9 */
177
177
  /***/ (function(module, exports) {
178
178
 
179
- module.exports = require("@babel/runtime/helpers/defineProperty");
179
+ module.exports = require("@babel/runtime/helpers/classCallCheck");
180
180
 
181
181
  /***/ }),
182
182
  /* 10 */
183
183
  /***/ (function(module, exports) {
184
184
 
185
- module.exports = require("@babel/runtime/helpers/classCallCheck");
185
+ module.exports = require("@splunk/visualization-schemas");
186
186
 
187
187
  /***/ }),
188
188
  /* 11 */
@@ -200,10 +200,16 @@ module.exports = require("@splunk/visualizations-shared/Message");
200
200
  /* 13 */
201
201
  /***/ (function(module, exports) {
202
202
 
203
- module.exports = require("@splunk/themes/variables");
203
+ module.exports = require("@babel/runtime/helpers/defineProperty");
204
204
 
205
205
  /***/ }),
206
206
  /* 14 */
207
+ /***/ (function(module, exports) {
208
+
209
+ module.exports = require("@splunk/themes/variables");
210
+
211
+ /***/ }),
212
+ /* 15 */
207
213
  /***/ (function(module, exports, __webpack_require__) {
208
214
 
209
215
  "use strict";
@@ -500,6 +506,7 @@ var calculateDownsamplingThreshold = function calculateDownsamplingThreshold(_re
500
506
  });
501
507
  }
502
508
  } catch (e) {
509
+ // eslint-disable-next-line no-console
503
510
  console.error('Error occurred while setting downsample threshold on range select event', e);
504
511
  }
505
512
 
@@ -666,6 +673,7 @@ var downsampleDataSources = function downsampleDataSources(_ref4) {
666
673
  return downsampledIndices.add(downsampleIndex);
667
674
  });
668
675
  } catch (e) {
676
+ // eslint-disable-next-line no-console
669
677
  console.error("Error occurred while downsampling column ".concat(columnIndex), e);
670
678
  }
671
679
  }); // update data columns with downsampled columns
@@ -677,25 +685,25 @@ var downsampleDataSources = function downsampleDataSources(_ref4) {
677
685
  exports.downsampleDataSources = downsampleDataSources;
678
686
 
679
687
  /***/ }),
680
- /* 15 */
688
+ /* 16 */
681
689
  /***/ (function(module, exports) {
682
690
 
683
691
  module.exports = require("@splunk/visualizations-shared/colorUtils");
684
692
 
685
693
  /***/ }),
686
- /* 16 */
694
+ /* 17 */
687
695
  /***/ (function(module, exports) {
688
696
 
689
697
  module.exports = require("@splunk/visualization-encoding/Options");
690
698
 
691
699
  /***/ }),
692
- /* 17 */
700
+ /* 18 */
693
701
  /***/ (function(module, exports, __webpack_require__) {
694
702
 
695
703
  "use strict";
696
704
 
697
705
 
698
- var _slicedToArray = __webpack_require__(7);
706
+ var _slicedToArray = __webpack_require__(6);
699
707
 
700
708
  Object.defineProperty(exports, "__esModule", {
701
709
  value: true
@@ -705,9 +713,9 @@ var React = __webpack_require__(0);
705
713
 
706
714
  var styled_components_1 = __webpack_require__(4);
707
715
 
708
- var style_1 = __webpack_require__(18);
716
+ var style_1 = __webpack_require__(19);
709
717
 
710
- var colorUtils_1 = __webpack_require__(15);
718
+ var colorUtils_1 = __webpack_require__(16);
711
719
 
712
720
  var SizeAwareWrapper_1 = __webpack_require__(26);
713
721
 
@@ -780,7 +788,7 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
780
788
 
781
789
  return React.createElement(FixSizeItem, {
782
790
  "data-test": "fix-size-item",
783
- "data-splunk-visualization-version": "26.2.1 - 714383dbb",
791
+ "data-splunk-visualization-version": "26.3.0 - a1ef240a6",
784
792
  width: width,
785
793
  height: height,
786
794
  backgroundColor: backgroundColor
@@ -801,13 +809,14 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
801
809
  exports.default = withFixedSizeContainer;
802
810
 
803
811
  /***/ }),
804
- /* 18 */
812
+ /* 19 */
805
813
  /***/ (function(module, exports) {
806
814
 
807
815
  module.exports = require("@splunk/visualizations-shared/style");
808
816
 
809
817
  /***/ }),
810
- /* 19 */
818
+ /* 20 */,
819
+ /* 21 */
811
820
  /***/ (function(module, exports, __webpack_require__) {
812
821
 
813
822
  "use strict";
@@ -816,20 +825,18 @@ module.exports = require("@splunk/visualizations-shared/style");
816
825
  Object.defineProperty(exports, "__esModule", {
817
826
  value: true
818
827
  });
819
- exports.validOutputModes = exports.validSegmentationModes = exports.validSortDirs = void 0;
828
+ exports.validOutputModes = exports.validSortDirs = void 0;
820
829
  exports.validSortDirs = ['asc', 'desc', 'none'];
821
- exports.validSegmentationModes = ['none', 'inner'];
822
830
  exports.validOutputModes = ['json_cols', 'json'];
823
831
 
824
832
  /***/ }),
825
- /* 20 */,
826
- /* 21 */
833
+ /* 22 */
827
834
  /***/ (function(module, exports, __webpack_require__) {
828
835
 
829
836
  "use strict";
830
837
 
831
838
 
832
- var _classCallCheck = __webpack_require__(10);
839
+ var _classCallCheck = __webpack_require__(9);
833
840
 
834
841
  var _createClass = __webpack_require__(25);
835
842
 
@@ -860,7 +867,7 @@ var DefaultVizActionHandler = /*#__PURE__*/function () {
860
867
  exports.DefaultVizActionHandler = DefaultVizActionHandler;
861
868
 
862
869
  /***/ }),
863
- /* 22 */
870
+ /* 23 */
864
871
  /***/ (function(module, exports, __webpack_require__) {
865
872
 
866
873
  "use strict";
@@ -888,7 +895,7 @@ var VizCategory;
888
895
  })(VizCategory = exports.VizCategory || (exports.VizCategory = {}));
889
896
 
890
897
  /***/ }),
891
- /* 23 */
898
+ /* 24 */
892
899
  /***/ (function(module, exports, __webpack_require__) {
893
900
 
894
901
  "use strict";
@@ -919,12 +926,6 @@ var extendStaticWrapperProps = function extendStaticWrapperProps(_ref) {
919
926
 
920
927
  exports.extendStaticWrapperProps = extendStaticWrapperProps;
921
928
 
922
- /***/ }),
923
- /* 24 */
924
- /***/ (function(module, exports) {
925
-
926
- module.exports = require("@splunk/visualizations-shared/schemaUtils");
927
-
928
929
  /***/ }),
929
930
  /* 25 */
930
931
  /***/ (function(module, exports) {
@@ -944,99 +945,24 @@ module.exports = require("@splunk/visualizations-shared/SizeAwareWrapper");
944
945
  "use strict";
945
946
 
946
947
 
947
- var _toConsumableArray = __webpack_require__(8);
948
-
949
- var _defineProperty = __webpack_require__(9);
950
-
951
- var __rest = this && this.__rest || function (s, e) {
952
- var t = {};
953
-
954
- for (var p in s) {
955
- if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
956
- }
957
-
958
- if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
959
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
960
- }
961
- return t;
962
- };
948
+ var _toConsumableArray = __webpack_require__(7);
963
949
 
964
950
  Object.defineProperty(exports, "__esModule", {
965
951
  value: true
966
952
  });
967
- exports.insertLayout = exports.isDynamicOption = exports.uncollapseEditorConfig = exports.generatePrecisionValues = exports.getInitialPreset = exports.enhanceOptionsSchemaWithDynamicOptions = exports.enhanceConfig = void 0;
968
-
969
- var lodash_1 = __webpack_require__(3);
970
-
971
- var schemaUtils_1 = __webpack_require__(24);
972
-
973
- var VizBehavior_1 = __webpack_require__(6);
974
-
975
- var dynamicOptionsDSLType = {
976
- type: 'string',
977
- pattern: schemaUtils_1.DYNAMIC_OPTIONS_DSL_PATTERN
978
- };
979
- /**
980
- * Helper function to extend an options schema with dynamic options DSL
981
- * @param optionsSchema a visualization's options schema
982
- * @returns an updated options schema that additionally allows strings starting with > for each option
983
- */
953
+ exports.insertLayout = exports.isDynamicOption = exports.uncollapseEditorConfig = exports.generatePrecisionValues = exports.getInitialPreset = exports.enhanceConfig = exports.enhanceOptionsSchemaWithDynamicOptions = void 0;
984
954
 
985
- function enhanceOptionsSchemaWithDynamicOptions(optionsSchema) {
986
- var enhancedOptionsSchema = {};
987
- Object.keys(optionsSchema).forEach(function (key) {
988
- var _a = optionsSchema[key],
989
- title = _a.title,
990
- description = _a.description,
991
- readOnly = _a.readOnly,
992
- writeOnly = _a.writeOnly,
993
- examples = _a.examples,
994
- defaultValue = _a.default,
995
- type = _a.type,
996
- properties = _a.properties,
997
- patternProperties = _a.patternProperties,
998
- remainingSchemaEntry = __rest(_a, ["title", "description", "readOnly", "writeOnly", "examples", "default", "type", "properties", "patternProperties"]);
999
-
1000
- var annotations = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, title !== undefined && {
1001
- title: title
1002
- }), description !== undefined && {
1003
- description: description
1004
- }), readOnly !== undefined && {
1005
- readOnly: readOnly
1006
- }), writeOnly !== undefined && {
1007
- writeOnly: writeOnly
1008
- }), examples !== undefined && {
1009
- examples: examples
1010
- }), defaultValue !== undefined && {
1011
- default: defaultValue
1012
- });
955
+ var lodash_1 = __webpack_require__(3); // included for backwards compatibility
1013
956
 
1014
- if (type === 'object') {
1015
- enhancedOptionsSchema[key] = Object.assign(Object.assign(Object.assign(Object.assign({}, remainingSchemaEntry), annotations), {
1016
- type: type
1017
- }), properties && {
1018
- properties: enhanceOptionsSchemaWithDynamicOptions(properties)
1019
- });
1020
957
 
1021
- if (patternProperties) {
1022
- var enhancedPatternProperties = {};
1023
- Object.keys(patternProperties).forEach(function (opt) {
1024
- enhancedPatternProperties = Object.assign(Object.assign({}, enhancedPatternProperties), enhanceOptionsSchemaWithDynamicOptions(_defineProperty({}, opt, patternProperties[opt])));
1025
- });
1026
- enhancedOptionsSchema[key].patternProperties = enhancedPatternProperties;
1027
- }
1028
- } else {
1029
- enhancedOptionsSchema[key] = Object.assign(Object.assign({}, annotations), {
1030
- anyOf: [Object.assign(Object.assign({}, type !== undefined && {
1031
- type: type
1032
- }), remainingSchemaEntry), dynamicOptionsDSLType]
1033
- });
1034
- }
1035
- });
1036
- return enhancedOptionsSchema;
1037
- }
958
+ var visualization_schemas_1 = __webpack_require__(10);
1038
959
 
1039
- exports.enhanceOptionsSchemaWithDynamicOptions = enhanceOptionsSchemaWithDynamicOptions;
960
+ Object.defineProperty(exports, "enhanceOptionsSchemaWithDynamicOptions", {
961
+ enumerable: true,
962
+ get: function get() {
963
+ return visualization_schemas_1.enhanceOptionsSchemaWithDynamicOptions;
964
+ }
965
+ });
1040
966
  /**
1041
967
  * Helper function to enhance a Visualization Config as needed based on behaviors specified in supports block
1042
968
  * this function also collapse all editor panels
@@ -1047,11 +973,6 @@ exports.enhanceOptionsSchemaWithDynamicOptions = enhanceOptionsSchemaWithDynamic
1047
973
 
1048
974
  function enhanceConfig(vizConfig) {
1049
975
  var enhancedConfig = Object.assign({}, vizConfig);
1050
-
1051
- if (vizConfig.supports.indexOf(VizBehavior_1.VizBehavior.DYNAMIC_OPTIONS) !== -1) {
1052
- enhancedConfig.optionsSchema = enhanceOptionsSchemaWithDynamicOptions(vizConfig.optionsSchema);
1053
- }
1054
-
1055
976
  enhancedConfig.editorConfig = vizConfig.editorConfig.map(function (config) {
1056
977
  return Object.assign(Object.assign({}, config), {
1057
978
  open: config.open || false
@@ -1261,7 +1182,7 @@ var i18n_1 = __webpack_require__(2);
1261
1182
 
1262
1183
  var Message_1 = __webpack_require__(12);
1263
1184
 
1264
- var FixedSizeContainer_1 = __webpack_require__(17);
1185
+ var FixedSizeContainer_1 = __webpack_require__(18);
1265
1186
  /**
1266
1187
  * @method shouldShowIconPlaceholder
1267
1188
  * @param {object} dataSources
@@ -1338,7 +1259,7 @@ exports.default = (0, FixedSizeContainer_1.default)(IconPlaceholder);
1338
1259
  "use strict";
1339
1260
 
1340
1261
 
1341
- var _defineProperty = __webpack_require__(9);
1262
+ var _defineProperty = __webpack_require__(13);
1342
1263
 
1343
1264
  Object.defineProperty(exports, "__esModule", {
1344
1265
  value: true
@@ -1349,7 +1270,7 @@ var T = __webpack_require__(1);
1349
1270
 
1350
1271
  var lodash_1 = __webpack_require__(3);
1351
1272
 
1352
- var DataSource_1 = __webpack_require__(19);
1273
+ var DataSource_1 = __webpack_require__(21);
1353
1274
 
1354
1275
  exports.SortParamsPropTypes = T.shape({
1355
1276
  currentSortKey: T.string,
@@ -1505,7 +1426,7 @@ __exportStar(__webpack_require__(41), exports);
1505
1426
 
1506
1427
  __exportStar(__webpack_require__(42), exports);
1507
1428
 
1508
- __exportStar(__webpack_require__(19), exports);
1429
+ __exportStar(__webpack_require__(21), exports);
1509
1430
 
1510
1431
  __exportStar(__webpack_require__(43), exports);
1511
1432
 
@@ -1519,13 +1440,13 @@ __exportStar(__webpack_require__(47), exports);
1519
1440
 
1520
1441
  __exportStar(__webpack_require__(48), exports);
1521
1442
 
1522
- __exportStar(__webpack_require__(49), exports);
1443
+ __exportStar(__webpack_require__(22), exports);
1523
1444
 
1524
- __exportStar(__webpack_require__(21), exports);
1445
+ __exportStar(__webpack_require__(8), exports);
1525
1446
 
1526
- __exportStar(__webpack_require__(6), exports);
1447
+ __exportStar(__webpack_require__(23), exports);
1527
1448
 
1528
- __exportStar(__webpack_require__(22), exports);
1449
+ __exportStar(__webpack_require__(49), exports);
1529
1450
 
1530
1451
  __exportStar(__webpack_require__(50), exports);
1531
1452
 
@@ -1537,8 +1458,6 @@ __exportStar(__webpack_require__(53), exports);
1537
1458
 
1538
1459
  __exportStar(__webpack_require__(54), exports);
1539
1460
 
1540
- __exportStar(__webpack_require__(55), exports);
1541
-
1542
1461
  /***/ }),
1543
1462
  /* 41 */
1544
1463
  /***/ (function(module, exports, __webpack_require__) {
@@ -1703,18 +1622,7 @@ Object.defineProperty(exports, "__esModule", {
1703
1622
  "use strict";
1704
1623
 
1705
1624
 
1706
- Object.defineProperty(exports, "__esModule", {
1707
- value: true
1708
- });
1709
-
1710
- /***/ }),
1711
- /* 56 */
1712
- /***/ (function(module, exports, __webpack_require__) {
1713
-
1714
- "use strict";
1715
-
1716
-
1717
- var _slicedToArray = __webpack_require__(7);
1625
+ var _slicedToArray = __webpack_require__(6);
1718
1626
 
1719
1627
  Object.defineProperty(exports, "__esModule", {
1720
1628
  value: true
@@ -1724,15 +1632,15 @@ var React = __webpack_require__(0);
1724
1632
 
1725
1633
  var lodash_1 = __webpack_require__(3);
1726
1634
 
1727
- var getSettingsFromThemedProps_1 = __webpack_require__(57);
1635
+ var getSettingsFromThemedProps_1 = __webpack_require__(56);
1728
1636
 
1729
- var Options_1 = __webpack_require__(16);
1637
+ var Options_1 = __webpack_require__(17);
1730
1638
 
1731
- var SanitizeProps_1 = __webpack_require__(58);
1639
+ var SanitizeProps_1 = __webpack_require__(57);
1732
1640
 
1733
1641
  var TimezoneContext_1 = __webpack_require__(32);
1734
1642
 
1735
- var moment_1 = __webpack_require__(59);
1643
+ var moment_1 = __webpack_require__(58);
1736
1644
 
1737
1645
  var FeatureFlagContext_1 = __webpack_require__(28);
1738
1646
 
@@ -1742,31 +1650,31 @@ var hocUtils_1 = __webpack_require__(34);
1742
1650
 
1743
1651
  var JSONSchemaUtils_1 = __webpack_require__(35);
1744
1652
 
1745
- var async_dynamic_options_evaluator_1 = __webpack_require__(60);
1653
+ var async_dynamic_options_evaluator_1 = __webpack_require__(59);
1746
1654
 
1747
1655
  var id_1 = __webpack_require__(31);
1748
1656
 
1749
- var SplunkVisualization_1 = __webpack_require__(61);
1657
+ var SplunkVisualization_1 = __webpack_require__(60);
1750
1658
 
1751
- var VizBehavior_1 = __webpack_require__(6);
1659
+ var VizBehavior_1 = __webpack_require__(8);
1752
1660
 
1753
1661
  var getSorting_1 = __webpack_require__(38);
1754
1662
 
1755
1663
  var getPagination_1 = __webpack_require__(39);
1756
1664
 
1757
- var useDeepMemo_1 = __webpack_require__(62);
1665
+ var useDeepMemo_1 = __webpack_require__(61);
1758
1666
 
1759
- var MissingPropsMessage_1 = __webpack_require__(63);
1667
+ var MissingPropsMessage_1 = __webpack_require__(62);
1760
1668
 
1761
- var withEditModeCover_1 = __webpack_require__(64);
1669
+ var withEditModeCover_1 = __webpack_require__(63);
1762
1670
 
1763
- var withPlaceholder_1 = __webpack_require__(65);
1671
+ var withPlaceholder_1 = __webpack_require__(64);
1764
1672
 
1765
- var useDownsampleDataSources_1 = __webpack_require__(66);
1673
+ var useDownsampleDataSources_1 = __webpack_require__(65);
1766
1674
 
1767
- var dataUtils_1 = __webpack_require__(14);
1675
+ var dataUtils_1 = __webpack_require__(15);
1768
1676
 
1769
- var featureFlagUtils_1 = __webpack_require__(68);
1677
+ var featureFlagUtils_1 = __webpack_require__(67);
1770
1678
  /**
1771
1679
  * hoc that wraps a pure react visualization in a Dashboard visualization
1772
1680
  * @param {DashboardVizOpts} opts
@@ -2098,37 +2006,37 @@ var withDashboardViz = function withDashboardViz(opts) {
2098
2006
  exports.default = withDashboardViz;
2099
2007
 
2100
2008
  /***/ }),
2101
- /* 57 */
2009
+ /* 56 */
2102
2010
  /***/ (function(module, exports) {
2103
2011
 
2104
2012
  module.exports = require("@splunk/themes/getSettingsFromThemedProps");
2105
2013
 
2106
2014
  /***/ }),
2107
- /* 58 */
2015
+ /* 57 */
2108
2016
  /***/ (function(module, exports) {
2109
2017
 
2110
2018
  module.exports = require("@splunk/visualizations-shared/SanitizeProps");
2111
2019
 
2112
2020
  /***/ }),
2113
- /* 59 */
2021
+ /* 58 */
2114
2022
  /***/ (function(module, exports) {
2115
2023
 
2116
2024
  module.exports = require("@splunk/moment");
2117
2025
 
2118
2026
  /***/ }),
2119
- /* 60 */
2027
+ /* 59 */
2120
2028
  /***/ (function(module, exports) {
2121
2029
 
2122
2030
  module.exports = require("@splunk/async-dynamic-options-evaluator");
2123
2031
 
2124
2032
  /***/ }),
2125
- /* 61 */
2033
+ /* 60 */
2126
2034
  /***/ (function(module, exports, __webpack_require__) {
2127
2035
 
2128
2036
  "use strict";
2129
2037
 
2130
2038
 
2131
- var _classCallCheck = __webpack_require__(10);
2039
+ var _classCallCheck = __webpack_require__(9);
2132
2040
 
2133
2041
  Object.defineProperty(exports, "__esModule", {
2134
2042
  value: true
@@ -2140,7 +2048,7 @@ var T = __webpack_require__(1);
2140
2048
 
2141
2049
  var lodash_1 = __webpack_require__(3);
2142
2050
 
2143
- var VizActionHandler_1 = __webpack_require__(21); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
2051
+ var VizActionHandler_1 = __webpack_require__(22); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
2144
2052
 
2145
2053
 
2146
2054
  exports.INITIAL_WIDTH = 250;
@@ -2273,7 +2181,7 @@ SplunkVisualization.defaultProps = {
2273
2181
  exports.default = SplunkVisualization;
2274
2182
 
2275
2183
  /***/ }),
2276
- /* 62 */
2184
+ /* 61 */
2277
2185
  /***/ (function(module, exports, __webpack_require__) {
2278
2186
 
2279
2187
  "use strict";
@@ -2318,7 +2226,7 @@ var useDeepMemo = function useDeepMemo(fn, dependencies) {
2318
2226
  exports.useDeepMemo = useDeepMemo;
2319
2227
 
2320
2228
  /***/ }),
2321
- /* 63 */
2229
+ /* 62 */
2322
2230
  /***/ (function(module, exports, __webpack_require__) {
2323
2231
 
2324
2232
  "use strict";
@@ -2337,7 +2245,7 @@ var i18n_1 = __webpack_require__(2);
2337
2245
 
2338
2246
  var Message_1 = __webpack_require__(12);
2339
2247
 
2340
- var FixedSizeContainer_1 = __webpack_require__(17);
2248
+ var FixedSizeContainer_1 = __webpack_require__(18);
2341
2249
  /**
2342
2250
  * @method isMissing
2343
2251
  * @param {any} v
@@ -2398,7 +2306,7 @@ exports.MissingPropsMessage.defaultProps = {
2398
2306
  exports.default = (0, FixedSizeContainer_1.default)(exports.MissingPropsMessage);
2399
2307
 
2400
2308
  /***/ }),
2401
- /* 64 */
2309
+ /* 63 */
2402
2310
  /***/ (function(module, exports, __webpack_require__) {
2403
2311
 
2404
2312
  "use strict";
@@ -2412,14 +2320,14 @@ var React = __webpack_require__(0);
2412
2320
 
2413
2321
  var styled_components_1 = __webpack_require__(4);
2414
2322
 
2415
- var hocUtils_1 = __webpack_require__(23);
2323
+ var hocUtils_1 = __webpack_require__(24);
2416
2324
 
2417
2325
  var Cover = styled_components_1.default.div.withConfig({
2418
2326
  displayName: "withEditModeCover__Cover",
2419
2327
  componentId: "sc-1gsbnxb-0"
2420
2328
  })(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
2421
2329
  var Blocker = styled_components_1.default.div.attrs({
2422
- 'data-splunk-visualization-version': "26.2.1 - 714383dbb"
2330
+ 'data-splunk-visualization-version': "26.3.0 - a1ef240a6"
2423
2331
  }).withConfig({
2424
2332
  displayName: "withEditModeCover__Blocker",
2425
2333
  componentId: "sc-1gsbnxb-1"
@@ -2450,7 +2358,7 @@ var withEditModeCover = function withEditModeCover(Visualization, disableEditMod
2450
2358
  exports.default = withEditModeCover;
2451
2359
 
2452
2360
  /***/ }),
2453
- /* 65 */
2361
+ /* 64 */
2454
2362
  /***/ (function(module, exports, __webpack_require__) {
2455
2363
 
2456
2364
  "use strict";
@@ -2462,15 +2370,15 @@ Object.defineProperty(exports, "__esModule", {
2462
2370
 
2463
2371
  var React = __webpack_require__(0);
2464
2372
 
2465
- var colorUtils_1 = __webpack_require__(15);
2373
+ var colorUtils_1 = __webpack_require__(16);
2466
2374
 
2467
- var variables_1 = __webpack_require__(13);
2375
+ var variables_1 = __webpack_require__(14);
2468
2376
 
2469
2377
  var IconPlaceholder_1 = __webpack_require__(37);
2470
2378
 
2471
- var VizBehavior_1 = __webpack_require__(6);
2379
+ var VizBehavior_1 = __webpack_require__(8);
2472
2380
 
2473
- var hocUtils_1 = __webpack_require__(23);
2381
+ var hocUtils_1 = __webpack_require__(24);
2474
2382
 
2475
2383
  var withPlaceholder = function withPlaceholder(Visualization) {
2476
2384
  var useIconPlaceholder = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : IconPlaceholder_1.shouldShowIconPlaceholder;
@@ -2514,13 +2422,13 @@ var withPlaceholder = function withPlaceholder(Visualization) {
2514
2422
  exports.default = withPlaceholder;
2515
2423
 
2516
2424
  /***/ }),
2517
- /* 66 */
2425
+ /* 65 */
2518
2426
  /***/ (function(module, exports, __webpack_require__) {
2519
2427
 
2520
2428
  "use strict";
2521
2429
 
2522
2430
 
2523
- var _slicedToArray = __webpack_require__(7);
2431
+ var _slicedToArray = __webpack_require__(6);
2524
2432
 
2525
2433
  Object.defineProperty(exports, "__esModule", {
2526
2434
  value: true
@@ -2530,11 +2438,11 @@ var react_1 = __webpack_require__(0);
2530
2438
 
2531
2439
  var lodash_1 = __webpack_require__(3);
2532
2440
 
2533
- var dataUtils_1 = __webpack_require__(14);
2441
+ var dataUtils_1 = __webpack_require__(15);
2534
2442
 
2535
2443
  var usePrevious_1 = __webpack_require__(33);
2536
2444
 
2537
- var useGetXAndYFields_1 = __webpack_require__(67);
2445
+ var useGetXAndYFields_1 = __webpack_require__(66);
2538
2446
 
2539
2447
  var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
2540
2448
  var dataSources = _ref.dataSources,
@@ -2603,13 +2511,13 @@ var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
2603
2511
  exports.default = useDownsampleDataSources;
2604
2512
 
2605
2513
  /***/ }),
2606
- /* 67 */
2514
+ /* 66 */
2607
2515
  /***/ (function(module, exports, __webpack_require__) {
2608
2516
 
2609
2517
  "use strict";
2610
2518
 
2611
2519
 
2612
- var _toConsumableArray = __webpack_require__(8);
2520
+ var _toConsumableArray = __webpack_require__(7);
2613
2521
 
2614
2522
  Object.defineProperty(exports, "__esModule", {
2615
2523
  value: true
@@ -2617,7 +2525,7 @@ Object.defineProperty(exports, "__esModule", {
2617
2525
 
2618
2526
  var react_1 = __webpack_require__(0);
2619
2527
 
2620
- var Options_1 = __webpack_require__(16);
2528
+ var Options_1 = __webpack_require__(17);
2621
2529
  /**
2622
2530
  * Hook that evaluates the DSL for subset of a viz's options needed to determine
2623
2531
  * its x and y fields as well as the types of all its fields.
@@ -2717,7 +2625,7 @@ var useGetXAndYFields = function useGetXAndYFields(_ref) {
2717
2625
  exports.default = useGetXAndYFields;
2718
2626
 
2719
2627
  /***/ }),
2720
- /* 68 */
2628
+ /* 67 */
2721
2629
  /***/ (function(module, exports, __webpack_require__) {
2722
2630
 
2723
2631
  "use strict";
@@ -2728,7 +2636,7 @@ Object.defineProperty(exports, "__esModule", {
2728
2636
  });
2729
2637
  exports.getFeatureFlag = void 0;
2730
2638
 
2731
- var FeatureFlags_1 = __webpack_require__(69);
2639
+ var FeatureFlags_1 = __webpack_require__(68);
2732
2640
 
2733
2641
  var getFeatureFlag = function getFeatureFlag(context, flagName) {
2734
2642
  // look for feature flag in context first
@@ -2752,69 +2660,68 @@ var getFeatureFlag = function getFeatureFlag(context, flagName) {
2752
2660
  exports.getFeatureFlag = getFeatureFlag;
2753
2661
 
2754
2662
  /***/ }),
2755
- /* 69 */
2663
+ /* 68 */
2756
2664
  /***/ (function(module, exports) {
2757
2665
 
2758
2666
  module.exports = require("@splunk/visualization-context/FeatureFlags");
2759
2667
 
2760
2668
  /***/ }),
2669
+ /* 69 */,
2761
2670
  /* 70 */,
2762
- /* 71 */,
2763
- /* 72 */
2671
+ /* 71 */
2764
2672
  /***/ (function(module, exports) {
2765
2673
 
2766
2674
  module.exports = require("@splunk/visualization-icons/placeholders");
2767
2675
 
2768
2676
  /***/ }),
2769
- /* 73 */,
2770
- /* 74 */
2677
+ /* 72 */
2771
2678
  /***/ (function(module, exports) {
2772
2679
 
2773
2680
  module.exports = require("@splunk/visualization-icons");
2774
2681
 
2775
2682
  /***/ }),
2683
+ /* 73 */,
2684
+ /* 74 */,
2776
2685
  /* 75 */,
2777
2686
  /* 76 */,
2778
2687
  /* 77 */,
2779
2688
  /* 78 */,
2780
2689
  /* 79 */,
2781
2690
  /* 80 */,
2782
- /* 81 */,
2783
- /* 82 */,
2784
- /* 83 */
2691
+ /* 81 */
2785
2692
  /***/ (function(module, exports) {
2786
2693
 
2787
2694
  module.exports = require("@splunk/visualization-color-palettes/editors/PresetPalettes");
2788
2695
 
2789
2696
  /***/ }),
2790
- /* 84 */,
2791
- /* 85 */
2697
+ /* 82 */,
2698
+ /* 83 */
2792
2699
  /***/ (function(module, exports) {
2793
2700
 
2794
2701
  module.exports = require("@babel/runtime/helpers/getPrototypeOf");
2795
2702
 
2796
2703
  /***/ }),
2704
+ /* 84 */,
2705
+ /* 85 */,
2797
2706
  /* 86 */,
2798
2707
  /* 87 */,
2799
2708
  /* 88 */,
2800
2709
  /* 89 */,
2801
2710
  /* 90 */,
2802
2711
  /* 91 */,
2803
- /* 92 */,
2804
- /* 93 */,
2805
- /* 94 */
2712
+ /* 92 */
2806
2713
  /***/ (function(module, exports) {
2807
2714
 
2808
2715
  module.exports = require("@babel/runtime/helpers/inherits");
2809
2716
 
2810
2717
  /***/ }),
2811
- /* 95 */
2718
+ /* 93 */
2812
2719
  /***/ (function(module, exports) {
2813
2720
 
2814
2721
  module.exports = require("@babel/runtime/helpers/possibleConstructorReturn");
2815
2722
 
2816
2723
  /***/ }),
2817
- /* 96 */
2724
+ /* 94 */
2818
2725
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
2819
2726
 
2820
2727
  "use strict";
@@ -2838,6 +2745,8 @@ VizStyleWrapper.displayName = 'VizStyleWrapper';
2838
2745
  /* harmony default export */ __webpack_exports__["default"] = (VizStyleWrapper);
2839
2746
 
2840
2747
  /***/ }),
2748
+ /* 95 */,
2749
+ /* 96 */,
2841
2750
  /* 97 */,
2842
2751
  /* 98 */,
2843
2752
  /* 99 */,
@@ -2853,9 +2762,7 @@ VizStyleWrapper.displayName = 'VizStyleWrapper';
2853
2762
  /* 109 */,
2854
2763
  /* 110 */,
2855
2764
  /* 111 */,
2856
- /* 112 */,
2857
- /* 113 */,
2858
- /* 114 */
2765
+ /* 112 */
2859
2766
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
2860
2767
 
2861
2768
  "use strict";
@@ -2878,6 +2785,8 @@ var StaticBackgroundColorEditor = {
2878
2785
  /* harmony default export */ __webpack_exports__["default"] = (StaticBackgroundColorEditor);
2879
2786
 
2880
2787
  /***/ }),
2788
+ /* 113 */,
2789
+ /* 114 */,
2881
2790
  /* 115 */,
2882
2791
  /* 116 */,
2883
2792
  /* 117 */,
@@ -2929,24 +2838,21 @@ var StaticBackgroundColorEditor = {
2929
2838
  /* 163 */,
2930
2839
  /* 164 */,
2931
2840
  /* 165 */,
2932
- /* 166 */,
2933
- /* 167 */,
2934
- /* 168 */,
2935
- /* 169 */
2841
+ /* 166 */
2936
2842
  /***/ (function(module, exports, __webpack_require__) {
2937
2843
 
2938
2844
  "use strict";
2939
2845
 
2940
2846
 
2941
- var _classCallCheck = __webpack_require__(10);
2847
+ var _classCallCheck = __webpack_require__(9);
2942
2848
 
2943
2849
  var _createClass = __webpack_require__(25);
2944
2850
 
2945
- var _inherits = __webpack_require__(94);
2851
+ var _inherits = __webpack_require__(92);
2946
2852
 
2947
- var _possibleConstructorReturn = __webpack_require__(95);
2853
+ var _possibleConstructorReturn = __webpack_require__(93);
2948
2854
 
2949
- var _getPrototypeOf = __webpack_require__(85);
2855
+ var _getPrototypeOf = __webpack_require__(83);
2950
2856
 
2951
2857
  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); }; }
2952
2858
 
@@ -2960,7 +2866,7 @@ var React = __webpack_require__(0);
2960
2866
 
2961
2867
  var lodash_1 = __webpack_require__(3);
2962
2868
 
2963
- var SvgMutator_1 = __webpack_require__(213);
2869
+ var SvgMutator_1 = __webpack_require__(209);
2964
2870
  /**
2965
2871
  * This react component simply take an SVG document, and mutates it by applying data to the document according to
2966
2872
  * 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.
@@ -3047,6 +2953,7 @@ var SvgChoroplethDynamic = /*#__PURE__*/function (_React$Component) {
3047
2953
  renderCT: Date.now()
3048
2954
  });
3049
2955
  } catch (e) {
2956
+ // eslint-disable-next-line no-console
3050
2957
  console.error(e);
3051
2958
  }
3052
2959
  }
@@ -3065,6 +2972,7 @@ var SvgChoroplethDynamic = /*#__PURE__*/function (_React$Component) {
3065
2972
 
3066
2973
  if (svgNode) {
3067
2974
  return React.createElement("div", {
2975
+ "data-test": "svgChoroplethDynamic",
3068
2976
  style: {
3069
2977
  width: width,
3070
2978
  height: height
@@ -3087,6 +2995,9 @@ SvgChoroplethDynamic.defaultProps = {
3087
2995
  };
3088
2996
 
3089
2997
  /***/ }),
2998
+ /* 167 */,
2999
+ /* 168 */,
3000
+ /* 169 */,
3090
3001
  /* 170 */,
3091
3002
  /* 171 */,
3092
3003
  /* 172 */,
@@ -3121,11 +3032,7 @@ SvgChoroplethDynamic.defaultProps = {
3121
3032
  /* 201 */,
3122
3033
  /* 202 */,
3123
3034
  /* 203 */,
3124
- /* 204 */,
3125
- /* 205 */,
3126
- /* 206 */,
3127
- /* 207 */,
3128
- /* 208 */
3035
+ /* 204 */
3129
3036
  /***/ (function(module, exports, __webpack_require__) {
3130
3037
 
3131
3038
  "use strict";
@@ -3157,25 +3064,25 @@ var lodash_1 = __webpack_require__(3);
3157
3064
 
3158
3065
  var FeatureFlagContext_1 = __webpack_require__(28);
3159
3066
 
3160
- var ImageContext_1 = __webpack_require__(209);
3067
+ var ImageContext_1 = __webpack_require__(205);
3161
3068
 
3162
- var FileDownloader_1 = __webpack_require__(210);
3069
+ var FileDownloader_1 = __webpack_require__(206);
3163
3070
 
3164
- var Downloader_1 = __webpack_require__(211);
3071
+ var Downloader_1 = __webpack_require__(207);
3165
3072
 
3166
- var withDashboardViz_1 = __webpack_require__(56);
3073
+ var withDashboardViz_1 = __webpack_require__(55);
3167
3074
 
3168
- var PureChoroplethSvg_1 = __webpack_require__(212);
3075
+ var PureChoroplethSvg_1 = __webpack_require__(208);
3169
3076
 
3170
- var SvgChoroplethDynamic_1 = __webpack_require__(169);
3077
+ var SvgChoroplethDynamic_1 = __webpack_require__(166);
3171
3078
 
3172
- var config_1 = __webpack_require__(217);
3079
+ var config_1 = __webpack_require__(213);
3173
3080
 
3174
3081
  var IconPlaceholder_1 = __webpack_require__(37);
3175
3082
 
3176
- var urlUtils_1 = __webpack_require__(218);
3083
+ var urlUtils_1 = __webpack_require__(214);
3177
3084
 
3178
- var ErrorMessage_1 = __webpack_require__(219);
3085
+ var ErrorMessage_1 = __webpack_require__(215);
3179
3086
 
3180
3087
  exports.config = config_1.default;
3181
3088
  exports.PureChoroplethSvg = PureChoroplethSvg_1.default; // todo: need remove when deleting @splunk/react-visualizations package
@@ -3281,31 +3188,31 @@ var platformViz = (0, withDashboardViz_1.default)({
3281
3188
  exports.default = platformViz;
3282
3189
 
3283
3190
  /***/ }),
3284
- /* 209 */
3191
+ /* 205 */
3285
3192
  /***/ (function(module, exports) {
3286
3193
 
3287
3194
  module.exports = require("@splunk/visualization-context/ImageContext");
3288
3195
 
3289
3196
  /***/ }),
3290
- /* 210 */
3197
+ /* 206 */
3291
3198
  /***/ (function(module, exports) {
3292
3199
 
3293
3200
  module.exports = require("@splunk/visualizations-shared/FileDownloader");
3294
3201
 
3295
3202
  /***/ }),
3296
- /* 211 */
3203
+ /* 207 */
3297
3204
  /***/ (function(module, exports) {
3298
3205
 
3299
3206
  module.exports = require("@splunk/visualizations-shared/Downloader");
3300
3207
 
3301
3208
  /***/ }),
3302
- /* 212 */
3209
+ /* 208 */
3303
3210
  /***/ (function(module, exports, __webpack_require__) {
3304
3211
 
3305
3212
  "use strict";
3306
3213
 
3307
3214
 
3308
- var _slicedToArray = __webpack_require__(7);
3215
+ var _slicedToArray = __webpack_require__(6);
3309
3216
 
3310
3217
  var __rest = this && this.__rest || function (s, e) {
3311
3218
  var t = {};
@@ -3331,23 +3238,23 @@ var styled_components_1 = __webpack_require__(4);
3331
3238
 
3332
3239
  var lodash_1 = __webpack_require__(3);
3333
3240
 
3334
- var style_1 = __webpack_require__(18);
3241
+ var style_1 = __webpack_require__(19);
3335
3242
 
3336
3243
  var SizeAwareWrapper_1 = __webpack_require__(26);
3337
3244
 
3338
- var SvgChoroplethDynamic_1 = __webpack_require__(169);
3245
+ var SvgChoroplethDynamic_1 = __webpack_require__(166);
3339
3246
 
3340
- var VizStyleWrapper_1 = __webpack_require__(96);
3247
+ var VizStyleWrapper_1 = __webpack_require__(94);
3341
3248
 
3342
3249
  var Container = styled_components_1.default.div.withConfig({
3343
3250
  displayName: "PureChoroplethSvg__Container",
3344
- componentId: "m24jrf-0"
3251
+ componentId: "sc-m24jrf-0"
3345
3252
  })(["position:relative;flex-direction:column;flex:1;display:flex;", ";"], function (props) {
3346
3253
  return (0, style_1.toDimension)((0, lodash_1.pick)(props, ['width', 'height']));
3347
3254
  });
3348
3255
  var ChoroplethSvgWrapper = styled_components_1.default.div.withConfig({
3349
3256
  displayName: "PureChoroplethSvg__ChoroplethSvgWrapper",
3350
- componentId: "m24jrf-1"
3257
+ componentId: "sc-m24jrf-1"
3351
3258
  })(["min-height:0px;flex:1;position:relative;"]);
3352
3259
 
3353
3260
  var computeSvgDynamicProps = function computeSvgDynamicProps(_a) {
@@ -3425,13 +3332,13 @@ PureChoroplethSvg.defaultProps = {
3425
3332
  exports.default = (0, styled_components_1.withTheme)(PureChoroplethSvg);
3426
3333
 
3427
3334
  /***/ }),
3428
- /* 213 */
3335
+ /* 209 */
3429
3336
  /***/ (function(module, exports, __webpack_require__) {
3430
3337
 
3431
3338
  "use strict";
3432
3339
 
3433
3340
 
3434
- var _classCallCheck = __webpack_require__(10);
3341
+ var _classCallCheck = __webpack_require__(9);
3435
3342
 
3436
3343
  var _createClass = __webpack_require__(25);
3437
3344
 
@@ -3443,11 +3350,11 @@ exports.SvgMutator = exports.ERROR_NON_ATTRIBUTE_MUTATION = void 0;
3443
3350
 
3444
3351
  var React = __webpack_require__(0);
3445
3352
 
3446
- var XPath = __webpack_require__(214);
3353
+ var XPath = __webpack_require__(210);
3447
3354
 
3448
- var xmldom_1 = __webpack_require__(215);
3355
+ var xmldom_1 = __webpack_require__(211);
3449
3356
 
3450
- var jexl = __webpack_require__(216);
3357
+ var jexl = __webpack_require__(212);
3451
3358
  /**
3452
3359
  * An error message indicating that a mutation has attempted to target anything other than SVG attribute(s)
3453
3360
  * @type {string}
@@ -3854,25 +3761,25 @@ exports.SvgMutator = SvgMutator;
3854
3761
  SvgMutator.serializer = new xmldom_1.XMLSerializer();
3855
3762
 
3856
3763
  /***/ }),
3857
- /* 214 */
3764
+ /* 210 */
3858
3765
  /***/ (function(module, exports) {
3859
3766
 
3860
3767
  module.exports = require("xpath");
3861
3768
 
3862
3769
  /***/ }),
3863
- /* 215 */
3770
+ /* 211 */
3864
3771
  /***/ (function(module, exports) {
3865
3772
 
3866
3773
  module.exports = require("@xmldom/xmldom");
3867
3774
 
3868
3775
  /***/ }),
3869
- /* 216 */
3776
+ /* 212 */
3870
3777
  /***/ (function(module, exports) {
3871
3778
 
3872
3779
  module.exports = require("jexl");
3873
3780
 
3874
3781
  /***/ }),
3875
- /* 217 */
3782
+ /* 213 */
3876
3783
  /***/ (function(module, exports, __webpack_require__) {
3877
3784
 
3878
3785
  "use strict";
@@ -3886,23 +3793,23 @@ var i18n_1 = __webpack_require__(2);
3886
3793
 
3887
3794
  var pick_1 = __webpack_require__(30);
3888
3795
 
3889
- var variables_1 = __webpack_require__(13);
3796
+ var variables_1 = __webpack_require__(14);
3890
3797
 
3891
- var schemaUtils_1 = __webpack_require__(24);
3798
+ var visualization_schemas_1 = __webpack_require__(10);
3892
3799
 
3893
- var PresetPalettes_1 = __webpack_require__(83);
3800
+ var PresetPalettes_1 = __webpack_require__(81);
3894
3801
 
3895
- var visualization_icons_1 = __webpack_require__(74);
3802
+ var visualization_icons_1 = __webpack_require__(72);
3896
3803
 
3897
- var placeholders_1 = __webpack_require__(72);
3804
+ var placeholders_1 = __webpack_require__(71);
3898
3805
 
3899
- var VizBehavior_1 = __webpack_require__(6);
3806
+ var VizBehavior_1 = __webpack_require__(8);
3900
3807
 
3901
3808
  var configUtils_1 = __webpack_require__(27);
3902
3809
 
3903
- var VizCategory_1 = __webpack_require__(22);
3810
+ var VizCategory_1 = __webpack_require__(23);
3904
3811
 
3905
- var StaticBackgroundColorEditor_1 = __webpack_require__(114);
3812
+ var StaticBackgroundColorEditor_1 = __webpack_require__(112);
3906
3813
 
3907
3814
  var dataContract = {
3908
3815
  requiredDataSources: [],
@@ -3949,43 +3856,6 @@ var defaultContext = {
3949
3856
  value: '#5C33FF'
3950
3857
  }]
3951
3858
  };
3952
- var optionsSchema = {
3953
- areaColors: {
3954
- default: '> areaValues|rangeValue(areaColorsRangeConfig)',
3955
- description: 'Specify the dataSource field that should be used to set the svg fill attribute of identified areas.',
3956
- type: 'array',
3957
- items: {
3958
- type: 'string',
3959
- pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA
3960
- }
3961
- },
3962
- areaIds: {
3963
- default: '> primary|seriesByType("string")',
3964
- description: 'Specify the dataSource field that should be used to identify each area in the Choropleth svg, where the area has been tagged with an id field.',
3965
- type: 'array',
3966
- items: {
3967
- type: 'string'
3968
- }
3969
- },
3970
- areaValues: {
3971
- default: '> primary|seriesByType("number")',
3972
- description: 'Specify the dataSource field that indicates the values for the areas.',
3973
- type: 'array',
3974
- items: {
3975
- type: 'number'
3976
- }
3977
- },
3978
- backgroundColor: {
3979
- default: '> themes.defaultBackgroundColor',
3980
- description: 'the background color behind the SVG, title, and description.',
3981
- type: 'string',
3982
- pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA
3983
- },
3984
- svg: {
3985
- description: 'Literal svg, or svg data URI.',
3986
- type: 'string'
3987
- }
3988
- };
3989
3859
  var themes = {
3990
3860
  defaultBackgroundColor: function defaultBackgroundColor(props) {
3991
3861
  return (0, pick_1.default)({
@@ -4087,7 +3957,7 @@ var config = {
4087
3957
  dataContract: dataContract,
4088
3958
  size: size,
4089
3959
  defaultContext: defaultContext,
4090
- optionsSchema: optionsSchema,
3960
+ optionsSchema: visualization_schemas_1.choroplethSvgOptionsSchema,
4091
3961
  requiredProps: ['svg'],
4092
3962
  editorConfig: editorConfig,
4093
3963
  events: {
@@ -4102,7 +3972,7 @@ var config = {
4102
3972
  exports.default = (0, configUtils_1.enhanceConfig)(config);
4103
3973
 
4104
3974
  /***/ }),
4105
- /* 218 */
3975
+ /* 214 */
4106
3976
  /***/ (function(module, exports, __webpack_require__) {
4107
3977
 
4108
3978
  "use strict";
@@ -4125,7 +3995,7 @@ var isValidUrl = function isValidUrl(value) {
4125
3995
  exports.isValidUrl = isValidUrl;
4126
3996
 
4127
3997
  /***/ }),
4128
- /* 219 */
3998
+ /* 215 */
4129
3999
  /***/ (function(module, exports, __webpack_require__) {
4130
4000
 
4131
4001
  "use strict";
@@ -4152,7 +4022,7 @@ var React = __webpack_require__(0);
4152
4022
 
4153
4023
  var styled_components_1 = __webpack_require__(4);
4154
4024
 
4155
- var visualization_icons_1 = __webpack_require__(74);
4025
+ var visualization_icons_1 = __webpack_require__(72);
4156
4026
 
4157
4027
  var Container = styled_components_1.default.div.withConfig({
4158
4028
  displayName: "ErrorMessage__Container",