@splunk/visualizations 25.5.0 → 25.6.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 (76) hide show
  1. package/.loki/reference/chrome_docker_PureVisualizations_PureEvents_TimeControlsPopover_Dark.png +0 -0
  2. package/.loki/reference/chrome_docker_PureVisualizations_PureEvents_TimeControlsPopover_DarkPrisma.png +0 -0
  3. package/.loki/reference/chrome_docker_PureVisualizations_PureEvents_TimeControlsPopover_Light.png +0 -0
  4. package/.loki/reference/chrome_docker_Visualizations_Events_Events_Background_Color_Light_Blue.png +0 -0
  5. package/.loki/reference/chrome_docker_Visualizations_Events_Events_Basic_Events.png +0 -0
  6. package/.loki/reference/chrome_docker_Visualizations_Events_Events_Event_Actions.png +0 -0
  7. package/.loki/reference/chrome_docker_Visualizations_Events_Events_Field_Actions.png +0 -0
  8. package/.loki/reference/chrome_docker_Visualizations_Events_Events_Field_Summary.png +0 -0
  9. package/.loki/reference/chrome_docker_Visualizations_Events_Events_Field_Summary_Simulated_Instance.png +0 -0
  10. package/.loki/reference/chrome_docker_Visualizations_Events_Events_Footer_Fields.png +0 -0
  11. package/.loki/reference/chrome_docker_Visualizations_Events_Events_Value_Highlighting.png +0 -0
  12. package/.loki/reference/chrome_docker_Visualizations_Events_Events_Width_Height.png +0 -0
  13. package/.loki/reference/chrome_docker_Visualizations_Events_Events_Width_Percentage_50.png +0 -0
  14. package/Area.js +226 -143
  15. package/Area.js.map +1 -1
  16. package/Bar.js +226 -143
  17. package/Bar.js.map +1 -1
  18. package/Bubble.js +218 -135
  19. package/Bubble.js.map +1 -1
  20. package/ChoroplethSvg.js +217 -139
  21. package/ChoroplethSvg.js.map +1 -1
  22. package/Column.js +226 -143
  23. package/Column.js.map +1 -1
  24. package/Ellipse.js +188 -105
  25. package/Ellipse.js.map +1 -1
  26. package/Events.config.js +3 -0
  27. package/Events.config.js.map +1 -1
  28. package/Events.js +967 -267
  29. package/Events.js.map +1 -1
  30. package/FillerGauge.js +214 -126
  31. package/FillerGauge.js.map +1 -1
  32. package/Image.js +210 -125
  33. package/Image.js.map +1 -1
  34. package/Line.js +231 -143
  35. package/Line.js.map +1 -1
  36. package/LinkGraph.js +601 -524
  37. package/LinkGraph.js.map +1 -1
  38. package/Map.js +484 -406
  39. package/Map.js.map +1 -1
  40. package/Markdown.js +295 -210
  41. package/Markdown.js.map +1 -1
  42. package/MarkerGauge.js +388 -310
  43. package/MarkerGauge.js.map +1 -1
  44. package/ParallelCoordinates.js +469 -391
  45. package/ParallelCoordinates.js.map +1 -1
  46. package/Pie.js +428 -343
  47. package/Pie.js.map +1 -1
  48. package/Punchcard.js +480 -402
  49. package/Punchcard.js.map +1 -1
  50. package/Rectangle.js +437 -352
  51. package/Rectangle.js.map +1 -1
  52. package/Sankey.js +497 -419
  53. package/Sankey.js.map +1 -1
  54. package/Scatter.js +361 -276
  55. package/Scatter.js.map +1 -1
  56. package/SingleValue.js +386 -301
  57. package/SingleValue.js.map +1 -1
  58. package/SingleValueBasic.js +23 -23
  59. package/SingleValueBasic.js.map +1 -1
  60. package/SingleValueIcon.js +385 -300
  61. package/SingleValueIcon.js.map +1 -1
  62. package/SingleValueRadial.js +319 -234
  63. package/SingleValueRadial.js.map +1 -1
  64. package/Table.js +309 -231
  65. package/Table.js.map +1 -1
  66. package/common/EventsDoc.js +3 -3
  67. package/common/EventsDoc.js.map +1 -1
  68. package/common/GaugeMajorTicks.js +2 -2
  69. package/common/GaugeValueMarker.js +2 -2
  70. package/common/OptionsDoc.js +14 -14
  71. package/common/OptionsDoc.js.map +1 -1
  72. package/common/ThemesDoc.js +10 -10
  73. package/common/ThemesDoc.js.map +1 -1
  74. package/common/withDashboardViz.js +122 -42
  75. package/common/withDashboardViz.js.map +1 -1
  76. package/package.json +13 -11
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 = 168);
90
+ /******/ return __webpack_require__(__webpack_require__.s = 174);
91
91
  /******/ })
92
92
  /************************************************************************/
93
93
  /******/ ([
@@ -209,7 +209,7 @@ var React = __webpack_require__(1);
209
209
 
210
210
  var styled_components_1 = __webpack_require__(4);
211
211
 
212
- var SizeAwareWrapper_1 = __webpack_require__(20);
212
+ var SizeAwareWrapper_1 = __webpack_require__(21);
213
213
 
214
214
  var style_1 = __webpack_require__(15);
215
215
 
@@ -270,7 +270,7 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
270
270
 
271
271
  return React.createElement(FixSizeItem, {
272
272
  "data-test": "fix-size-item",
273
- "data-splunk-visualization-version": "25.5.0 - 12c0447a7",
273
+ "data-splunk-visualization-version": "25.6.0 - f5eb3abf9",
274
274
  width: width,
275
275
  height: height,
276
276
  backgroundColor: backgroundColor
@@ -336,6 +336,12 @@ module.exports = require("@splunk/visualizations-shared/schemaUtils");
336
336
 
337
337
  /***/ }),
338
338
  /* 17 */
339
+ /***/ (function(module, exports) {
340
+
341
+ module.exports = require("@babel/runtime/helpers/slicedToArray");
342
+
343
+ /***/ }),
344
+ /* 18 */
339
345
  /***/ (function(module, exports, __webpack_require__) {
340
346
 
341
347
  "use strict";
@@ -571,51 +577,58 @@ var insertLayout = function insertLayout(layout, index) {
571
577
  exports.insertLayout = insertLayout;
572
578
 
573
579
  /***/ }),
574
- /* 18 */
580
+ /* 19 */
575
581
  /***/ (function(module, exports) {
576
582
 
577
583
  module.exports = require("@splunk/visualizations-shared/configUtils");
578
584
 
579
585
  /***/ }),
580
- /* 19 */
586
+ /* 20 */
581
587
  /***/ (function(module, exports) {
582
588
 
583
589
  module.exports = require("@babel/runtime/helpers/createClass");
584
590
 
585
591
  /***/ }),
586
- /* 20 */
592
+ /* 21 */
587
593
  /***/ (function(module, exports) {
588
594
 
589
595
  module.exports = require("@splunk/visualizations-shared/SizeAwareWrapper");
590
596
 
591
597
  /***/ }),
592
- /* 21 */
598
+ /* 22 */
593
599
  /***/ (function(module, exports) {
594
600
 
595
601
  module.exports = require("@splunk/themes/pick");
596
602
 
597
603
  /***/ }),
598
- /* 22 */,
599
- /* 23 */
604
+ /* 23 */,
605
+ /* 24 */
600
606
  /***/ (function(module, exports) {
601
607
 
602
608
  module.exports = require("@splunk/visualization-context/TimezoneContext");
603
609
 
604
610
  /***/ }),
605
- /* 24 */,
606
- /* 25 */
611
+ /* 25 */,
612
+ /* 26 */
613
+ /***/ (function(module, exports) {
614
+
615
+ module.exports = require("@splunk/visualization-context/FeatureFlagContext");
616
+
617
+ /***/ }),
618
+ /* 27 */
607
619
  /***/ (function(module, exports) {
608
620
 
609
621
  module.exports = require("@splunk/visualizations-shared/hocUtils");
610
622
 
611
623
  /***/ }),
612
- /* 26 */
624
+ /* 28 */
613
625
  /***/ (function(module, exports) {
614
626
 
615
627
  module.exports = require("@splunk/visualizations-shared/JSONSchemaUtils");
616
628
 
617
629
  /***/ }),
618
- /* 27 */
630
+ /* 29 */,
631
+ /* 30 */
619
632
  /***/ (function(module, exports, __webpack_require__) {
620
633
 
621
634
  "use strict";
@@ -706,7 +719,13 @@ IconPlaceholder.defaultProps = {
706
719
  exports.default = FixedSizeContainer_1.default(IconPlaceholder);
707
720
 
708
721
  /***/ }),
709
- /* 28 */
722
+ /* 31 */
723
+ /***/ (function(module, exports) {
724
+
725
+ module.exports = require("@splunk/ui-utils/id");
726
+
727
+ /***/ }),
728
+ /* 32 */
710
729
  /***/ (function(module, exports, __webpack_require__) {
711
730
 
712
731
  "use strict";
@@ -723,7 +742,7 @@ var T = __webpack_require__(0);
723
742
 
724
743
  var lodash_1 = __webpack_require__(3);
725
744
 
726
- var DataSource_1 = __webpack_require__(39);
745
+ var DataSource_1 = __webpack_require__(43);
727
746
 
728
747
  exports.SortParamsPropTypes = T.shape({
729
748
  currentSortKey: T.string,
@@ -776,7 +795,7 @@ var getSortingParams = function getSortingParams(_ref) {
776
795
  exports.getSortingParams = getSortingParams;
777
796
 
778
797
  /***/ }),
779
- /* 29 */
798
+ /* 33 */
780
799
  /***/ (function(module, exports, __webpack_require__) {
781
800
 
782
801
  "use strict";
@@ -840,8 +859,7 @@ var getPaginationParams = function getPaginationParams(_ref) {
840
859
  exports.getPaginationParams = getPaginationParams;
841
860
 
842
861
  /***/ }),
843
- /* 30 */,
844
- /* 31 */
862
+ /* 34 */
845
863
  /***/ (function(module, exports, __webpack_require__) {
846
864
 
847
865
  "use strict";
@@ -869,12 +887,14 @@ var VizCategory;
869
887
  })(VizCategory = exports.VizCategory || (exports.VizCategory = {}));
870
888
 
871
889
  /***/ }),
872
- /* 32 */
890
+ /* 35 */
873
891
  /***/ (function(module, exports, __webpack_require__) {
874
892
 
875
893
  "use strict";
876
894
 
877
895
 
896
+ var _slicedToArray = __webpack_require__(17);
897
+
878
898
  Object.defineProperty(exports, "__esModule", {
879
899
  value: true
880
900
  });
@@ -883,44 +903,51 @@ var React = __webpack_require__(1);
883
903
 
884
904
  var lodash_1 = __webpack_require__(3);
885
905
 
886
- var getSettingsFromThemedProps_1 = __webpack_require__(33);
906
+ var getSettingsFromThemedProps_1 = __webpack_require__(36);
907
+
908
+ var Options_1 = __webpack_require__(37);
887
909
 
888
- var Options_1 = __webpack_require__(34);
910
+ var SanitizeProps_1 = __webpack_require__(38);
889
911
 
890
- var SanitizeProps_1 = __webpack_require__(35);
912
+ var TimezoneContext_1 = __webpack_require__(24);
891
913
 
892
- var TimezoneContext_1 = __webpack_require__(23);
914
+ var moment_1 = __webpack_require__(39);
893
915
 
894
- var moment_1 = __webpack_require__(36);
916
+ var FeatureFlagContext_1 = __webpack_require__(26);
895
917
 
896
918
  var styled_components_1 = __webpack_require__(4);
897
919
 
898
- var hocUtils_1 = __webpack_require__(25);
920
+ var hocUtils_1 = __webpack_require__(27);
921
+
922
+ var JSONSchemaUtils_1 = __webpack_require__(28);
923
+
924
+ var async_dynamic_options_evaluator_1 = __webpack_require__(40);
899
925
 
900
- var JSONSchemaUtils_1 = __webpack_require__(26);
926
+ var id_1 = __webpack_require__(31);
901
927
 
902
- var SplunkVisualization_1 = __webpack_require__(37);
928
+ var SplunkVisualization_1 = __webpack_require__(41);
903
929
 
904
930
  var VizBehavior_1 = __webpack_require__(6);
905
931
 
906
- var getSorting_1 = __webpack_require__(28);
932
+ var getSorting_1 = __webpack_require__(32);
907
933
 
908
- var getPagination_1 = __webpack_require__(29);
934
+ var getPagination_1 = __webpack_require__(33);
909
935
 
910
- var useDeepMemo_1 = __webpack_require__(40);
936
+ var useDeepMemo_1 = __webpack_require__(44);
911
937
 
912
- var MissingPropsMessage_1 = __webpack_require__(41);
938
+ var MissingPropsMessage_1 = __webpack_require__(45);
913
939
 
914
- var withEditModeCover_1 = __webpack_require__(42);
940
+ var withEditModeCover_1 = __webpack_require__(46);
915
941
 
916
- var withPlaceholder_1 = __webpack_require__(43);
942
+ var withPlaceholder_1 = __webpack_require__(47);
943
+
944
+ var UUID = id_1.createGUID();
917
945
  /**
918
946
  * hoc that wraps a pure react visualization in a Dashboard visualization
919
947
  * @param {DashboardVizOpts} opts
920
948
  * @returns {HOC}
921
949
  */
922
950
 
923
-
924
951
  var withDashboardViz = function withDashboardViz(opts) {
925
952
  var ReactViz = opts.ReactViz,
926
953
  vizConfig = opts.vizConfig,
@@ -980,28 +1007,76 @@ var withDashboardViz = function withDashboardViz(opts) {
980
1007
 
981
1008
  var evaluatedOptions = {}; // evaluatedOptions need to be initialized as an empty object
982
1009
 
1010
+ var _React$useState = React.useState({}),
1011
+ _React$useState2 = _slicedToArray(_React$useState, 2),
1012
+ evaluatedOptionsAsync = _React$useState2[0],
1013
+ setEvaluatedOptionsAsync = _React$useState2[1]; // evaluatedOptions need to be initialized as an empty object
1014
+
1015
+
1016
+ var featureFlagContext = React.useContext(FeatureFlagContext_1.default);
1017
+
1018
+ var _React$useState3 = React.useState("".concat(vizConfig.name, " - ").concat(UUID)),
1019
+ _React$useState4 = _slicedToArray(_React$useState3, 1),
1020
+ visualizationID = _React$useState4[0];
1021
+
1022
+ var _React$useState5 = React.useState(Boolean(featureFlagContext && featureFlagContext['visualizations.useWebWorkersForDSL'] && typeof Worker !== 'undefined')),
1023
+ _React$useState6 = _slicedToArray(_React$useState5, 2),
1024
+ useAsyncEvaluatedOptions = _React$useState6[0],
1025
+ setUseAsyncEvaluatedOptions = _React$useState6[1];
1026
+
983
1027
  evaluatedOptions = useDeepMemo_1.useDeepMemo(function () {
984
1028
  try {
985
- return Options_1.Options.evaluate({
986
- context: lodash_1.defaultsDeep({}, context, vizConfig.defaultContext),
987
- options: hocUtils_1.deepMergeWithArrayPrimitiveOverrides({}, options, defaultOptions)
988
- }, dataSources, themeFunc);
1029
+ if (useAsyncEvaluatedOptions) {
1030
+ var optionsToEvaluate = {
1031
+ context: lodash_1.defaultsDeep({}, context, vizConfig.defaultContext),
1032
+ options: hocUtils_1.deepMergeWithArrayPrimitiveOverrides({}, options, defaultOptions)
1033
+ };
1034
+ var asyncDynamicOptionsEvaluatorParams = {
1035
+ visualizationID: visualizationID,
1036
+ props: props,
1037
+ options: optionsToEvaluate,
1038
+ dataSources: dataSources,
1039
+ theme: vizConfig.themes
1040
+ };
1041
+ async_dynamic_options_evaluator_1.default.evaluate(asyncDynamicOptionsEvaluatorParams).then(function (results) {
1042
+ setEvaluatedOptionsAsync(results.results);
1043
+ }).catch(function (e) {
1044
+ // eslint-disable-next-line no-console
1045
+ console.error("unexpected error evaluating options - async: ".concat(e.message));
1046
+ setUseAsyncEvaluatedOptions(false);
1047
+ });
1048
+ } else {
1049
+ return Options_1.Options.evaluate({
1050
+ context: lodash_1.defaultsDeep({}, context, vizConfig.defaultContext),
1051
+ options: hocUtils_1.deepMergeWithArrayPrimitiveOverrides({}, options, defaultOptions)
1052
+ }, dataSources, themeFunc);
1053
+ }
989
1054
  } catch (e) {
990
1055
  // eslint-disable-next-line no-console
991
- console.error("unexpected error evaluating options: + ".concat(e.message));
1056
+ console.error("unexpected error evaluating options: ".concat(e.message));
992
1057
  return {};
993
1058
  }
994
- }, [currentThemeFamily, currentThemeColorScheme, currentThemeDensity, options, context, dataSources, serializedTimezone]); // useEffect hook needs to be initialized before any early returns
1059
+
1060
+ return {};
1061
+ }, [currentThemeFamily, currentThemeColorScheme, currentThemeDensity, options, context, dataSources, serializedTimezone, useAsyncEvaluatedOptions]);
1062
+ var evaluatedOptionsToUse = !useAsyncEvaluatedOptions ? evaluatedOptions : evaluatedOptionsAsync; // useEffect hook needs to be initialized before any early returns
995
1063
  // this is in accordance with the order of hook calls being the same on each render https://reactjs.org/docs/hooks-rules.html#explanation
996
1064
 
997
1065
  React.useEffect(function () {
998
- onComputedProps(evaluatedOptions);
999
- }); // present warning message if any required props are missing
1066
+ onComputedProps(evaluatedOptionsToUse);
1067
+ });
1068
+ React.useEffect(function () {
1069
+ return function () {
1070
+ if (useAsyncEvaluatedOptions) {
1071
+ async_dynamic_options_evaluator_1.default.reset(visualizationID);
1072
+ }
1073
+ }; // eslint-disable-next-line react-hooks/exhaustive-deps
1074
+ }, []); // present warning message if any required props are missing
1000
1075
 
1001
1076
  var _vizConfig$requiredPr = vizConfig.requiredProps,
1002
1077
  requiredProps = _vizConfig$requiredPr === void 0 ? [] : _vizConfig$requiredPr,
1003
1078
  supports = vizConfig.supports;
1004
- var missing = MissingPropsMessage_1.missingKeys(requiredProps, evaluatedOptions);
1079
+ var missing = MissingPropsMessage_1.missingKeys(requiredProps, evaluatedOptionsToUse);
1005
1080
 
1006
1081
  if (missing.length > 0 && supports.includes(VizBehavior_1.VizBehavior.PLACEHOLDER)) {
1007
1082
  return React.createElement(MissingPropsMessage_1.default, {
@@ -1028,7 +1103,7 @@ var withDashboardViz = function withDashboardViz(opts) {
1028
1103
 
1029
1104
  if (Array.isArray(payloadKeys) && payloadKeys.length) {
1030
1105
  payloadKeys.forEach(function (p) {
1031
- payload[p] = evaluatedOptions[p];
1106
+ payload[p] = evaluatedOptionsToUse[p];
1032
1107
  });
1033
1108
  }
1034
1109
 
@@ -1047,7 +1122,7 @@ var withDashboardViz = function withDashboardViz(opts) {
1047
1122
  } // compute pure viz props which are not from options
1048
1123
 
1049
1124
 
1050
- var computedVizProps = computeVizProps(Object.assign(Object.assign(Object.assign(Object.assign({}, props), evaluatedOptions), eventCallbackProps), {
1125
+ var computedVizProps = computeVizProps(Object.assign(Object.assign(Object.assign(Object.assign({}, props), evaluatedOptionsToUse), eventCallbackProps), {
1051
1126
  themeFunc: themeFunc
1052
1127
  }));
1053
1128
  /**
@@ -1067,7 +1142,7 @@ var withDashboardViz = function withDashboardViz(opts) {
1067
1142
 
1068
1143
  var dataSourceMetadata = {};
1069
1144
  var OptionKey = 'paginateDataSourceKey';
1070
- var paginateDataSourceKey = lodash_1.has(evaluatedOptions, OptionKey) && evaluatedOptions[OptionKey] || 'primary';
1145
+ var paginateDataSourceKey = lodash_1.has(evaluatedOptionsToUse, OptionKey) && evaluatedOptionsToUse[OptionKey] || 'primary';
1071
1146
 
1072
1147
  if (vizConfig.supports.indexOf(VizBehavior_1.VizBehavior.PAGE_AND_SORT) > -1 && lodash_1.has(dataSources, paginateDataSourceKey)) {
1073
1148
  var requestParams = lodash_1.get(dataSources, [paginateDataSourceKey, 'requestParams'], {});
@@ -1097,7 +1172,7 @@ var withDashboardViz = function withDashboardViz(opts) {
1097
1172
  mode: mode,
1098
1173
  width: width,
1099
1174
  height: height
1100
- }, evaluatedOptions, computedVizProps, eventCallbackProps, dataSourceMetadata));
1175
+ }, evaluatedOptionsToUse, computedVizProps, eventCallbackProps, dataSourceMetadata));
1101
1176
  };
1102
1177
 
1103
1178
  DashboardViz.propTypes = Object.assign(Object.assign({}, SplunkVisualization_1.default.propTypes), ReactViz.propTypes);
@@ -1114,31 +1189,37 @@ var withDashboardViz = function withDashboardViz(opts) {
1114
1189
  exports.default = withDashboardViz;
1115
1190
 
1116
1191
  /***/ }),
1117
- /* 33 */
1192
+ /* 36 */
1118
1193
  /***/ (function(module, exports) {
1119
1194
 
1120
1195
  module.exports = require("@splunk/themes/getSettingsFromThemedProps");
1121
1196
 
1122
1197
  /***/ }),
1123
- /* 34 */
1198
+ /* 37 */
1124
1199
  /***/ (function(module, exports) {
1125
1200
 
1126
1201
  module.exports = require("@splunk/visualization-encoding/Options");
1127
1202
 
1128
1203
  /***/ }),
1129
- /* 35 */
1204
+ /* 38 */
1130
1205
  /***/ (function(module, exports) {
1131
1206
 
1132
1207
  module.exports = require("@splunk/visualizations-shared/SanitizeProps");
1133
1208
 
1134
1209
  /***/ }),
1135
- /* 36 */
1210
+ /* 39 */
1136
1211
  /***/ (function(module, exports) {
1137
1212
 
1138
1213
  module.exports = require("@splunk/moment");
1139
1214
 
1140
1215
  /***/ }),
1141
- /* 37 */
1216
+ /* 40 */
1217
+ /***/ (function(module, exports) {
1218
+
1219
+ module.exports = require("@splunk/async-dynamic-options-evaluator");
1220
+
1221
+ /***/ }),
1222
+ /* 41 */
1142
1223
  /***/ (function(module, exports, __webpack_require__) {
1143
1224
 
1144
1225
  "use strict";
@@ -1156,7 +1237,7 @@ var T = __webpack_require__(0);
1156
1237
 
1157
1238
  var lodash_1 = __webpack_require__(3);
1158
1239
 
1159
- var VizActionHandler_1 = __webpack_require__(38); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
1240
+ var VizActionHandler_1 = __webpack_require__(42); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
1160
1241
 
1161
1242
 
1162
1243
  exports.INITIAL_WIDTH = 250;
@@ -1289,7 +1370,7 @@ SplunkVisualization.defaultProps = {
1289
1370
  exports.default = SplunkVisualization;
1290
1371
 
1291
1372
  /***/ }),
1292
- /* 38 */
1373
+ /* 42 */
1293
1374
  /***/ (function(module, exports, __webpack_require__) {
1294
1375
 
1295
1376
  "use strict";
@@ -1297,7 +1378,7 @@ exports.default = SplunkVisualization;
1297
1378
 
1298
1379
  var _classCallCheck = __webpack_require__(11);
1299
1380
 
1300
- var _createClass = __webpack_require__(19);
1381
+ var _createClass = __webpack_require__(20);
1301
1382
 
1302
1383
  Object.defineProperty(exports, "__esModule", {
1303
1384
  value: true
@@ -1326,7 +1407,7 @@ var DefaultVizActionHandler = /*#__PURE__*/function () {
1326
1407
  exports.DefaultVizActionHandler = DefaultVizActionHandler;
1327
1408
 
1328
1409
  /***/ }),
1329
- /* 39 */
1410
+ /* 43 */
1330
1411
  /***/ (function(module, exports, __webpack_require__) {
1331
1412
 
1332
1413
  "use strict";
@@ -1339,7 +1420,7 @@ exports.validSortDirs = void 0;
1339
1420
  exports.validSortDirs = ['asc', 'desc', 'none'];
1340
1421
 
1341
1422
  /***/ }),
1342
- /* 40 */
1423
+ /* 44 */
1343
1424
  /***/ (function(module, exports, __webpack_require__) {
1344
1425
 
1345
1426
  "use strict";
@@ -1384,7 +1465,7 @@ var useDeepMemo = function useDeepMemo(fn, dependencies) {
1384
1465
  exports.useDeepMemo = useDeepMemo;
1385
1466
 
1386
1467
  /***/ }),
1387
- /* 41 */
1468
+ /* 45 */
1388
1469
  /***/ (function(module, exports, __webpack_require__) {
1389
1470
 
1390
1471
  "use strict";
@@ -1464,7 +1545,7 @@ exports.MissingPropsMessage.defaultProps = {
1464
1545
  exports.default = FixedSizeContainer_1.default(exports.MissingPropsMessage);
1465
1546
 
1466
1547
  /***/ }),
1467
- /* 42 */
1548
+ /* 46 */
1468
1549
  /***/ (function(module, exports, __webpack_require__) {
1469
1550
 
1470
1551
  "use strict";
@@ -1485,7 +1566,7 @@ var Cover = styled_components_1.default.div.withConfig({
1485
1566
  componentId: "sc-1gsbnxb-0"
1486
1567
  })(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
1487
1568
  var Blocker = styled_components_1.default.div.attrs({
1488
- 'data-splunk-visualization-version': "25.5.0 - 12c0447a7"
1569
+ 'data-splunk-visualization-version': "25.6.0 - f5eb3abf9"
1489
1570
  }).withConfig({
1490
1571
  displayName: "withEditModeCover__Blocker",
1491
1572
  componentId: "sc-1gsbnxb-1"
@@ -1516,7 +1597,7 @@ var withEditModeCover = function withEditModeCover(Visualization, disableEditMod
1516
1597
  exports.default = withEditModeCover;
1517
1598
 
1518
1599
  /***/ }),
1519
- /* 43 */
1600
+ /* 47 */
1520
1601
  /***/ (function(module, exports, __webpack_require__) {
1521
1602
 
1522
1603
  "use strict";
@@ -1532,7 +1613,7 @@ var colorUtils_1 = __webpack_require__(12);
1532
1613
 
1533
1614
  var variables_1 = __webpack_require__(9);
1534
1615
 
1535
- var IconPlaceholder_1 = __webpack_require__(27);
1616
+ var IconPlaceholder_1 = __webpack_require__(30);
1536
1617
 
1537
1618
  var VizBehavior_1 = __webpack_require__(6);
1538
1619
 
@@ -1580,41 +1661,40 @@ var withPlaceholder = function withPlaceholder(Visualization) {
1580
1661
  exports.default = withPlaceholder;
1581
1662
 
1582
1663
  /***/ }),
1583
- /* 44 */
1664
+ /* 48 */
1584
1665
  /***/ (function(module, exports) {
1585
1666
 
1586
1667
  module.exports = require("@splunk/visualization-icons/placeholders");
1587
1668
 
1588
1669
  /***/ }),
1589
- /* 45 */,
1590
- /* 46 */,
1591
- /* 47 */
1670
+ /* 49 */,
1671
+ /* 50 */,
1672
+ /* 51 */
1592
1673
  /***/ (function(module, exports) {
1593
1674
 
1594
1675
  module.exports = require("@splunk/visualization-icons");
1595
1676
 
1596
1677
  /***/ }),
1597
- /* 48 */,
1598
- /* 49 */,
1599
- /* 50 */,
1600
- /* 51 */,
1601
1678
  /* 52 */,
1602
1679
  /* 53 */,
1603
- /* 54 */
1680
+ /* 54 */,
1681
+ /* 55 */,
1682
+ /* 56 */,
1683
+ /* 57 */
1604
1684
  /***/ (function(module, exports) {
1605
1685
 
1606
1686
  module.exports = require("@splunk/visualization-color-palettes/editors/PresetPalettes");
1607
1687
 
1608
1688
  /***/ }),
1609
- /* 55 */,
1610
- /* 56 */,
1611
- /* 57 */,
1612
1689
  /* 58 */,
1613
1690
  /* 59 */,
1614
1691
  /* 60 */,
1615
1692
  /* 61 */,
1616
1693
  /* 62 */,
1617
- /* 63 */
1694
+ /* 63 */,
1695
+ /* 64 */,
1696
+ /* 65 */,
1697
+ /* 66 */
1618
1698
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1619
1699
 
1620
1700
  "use strict";
@@ -1637,9 +1717,6 @@ VizStyleWrapper.displayName = 'VizStyleWrapper';
1637
1717
  /* harmony default export */ __webpack_exports__["default"] = (VizStyleWrapper);
1638
1718
 
1639
1719
  /***/ }),
1640
- /* 64 */,
1641
- /* 65 */,
1642
- /* 66 */,
1643
1720
  /* 67 */,
1644
1721
  /* 68 */,
1645
1722
  /* 69 */,
@@ -1651,14 +1728,17 @@ VizStyleWrapper.displayName = 'VizStyleWrapper';
1651
1728
  /* 75 */,
1652
1729
  /* 76 */,
1653
1730
  /* 77 */,
1654
- /* 78 */
1731
+ /* 78 */,
1732
+ /* 79 */,
1733
+ /* 80 */,
1734
+ /* 81 */
1655
1735
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1656
1736
 
1657
1737
  "use strict";
1658
1738
  __webpack_require__.r(__webpack_exports__);
1659
1739
  /* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
1660
1740
  /* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__);
1661
- /* harmony import */ var _splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(18);
1741
+ /* harmony import */ var _splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(19);
1662
1742
  /* harmony import */ var _splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__);
1663
1743
 
1664
1744
 
@@ -1674,9 +1754,6 @@ var StaticBackgroundColorEditor = {
1674
1754
  /* harmony default export */ __webpack_exports__["default"] = (StaticBackgroundColorEditor);
1675
1755
 
1676
1756
  /***/ }),
1677
- /* 79 */,
1678
- /* 80 */,
1679
- /* 81 */,
1680
1757
  /* 82 */,
1681
1758
  /* 83 */,
1682
1759
  /* 84 */,
@@ -1689,38 +1766,33 @@ var StaticBackgroundColorEditor = {
1689
1766
  /* 91 */,
1690
1767
  /* 92 */,
1691
1768
  /* 93 */,
1692
- /* 94 */
1693
- /***/ (function(module, exports) {
1694
-
1695
- module.exports = require("@splunk/visualization-context/FeatureFlagContext");
1696
-
1697
- /***/ }),
1769
+ /* 94 */,
1698
1770
  /* 95 */,
1699
1771
  /* 96 */,
1700
1772
  /* 97 */,
1701
1773
  /* 98 */,
1702
1774
  /* 99 */,
1703
1775
  /* 100 */,
1704
- /* 101 */
1776
+ /* 101 */,
1777
+ /* 102 */,
1778
+ /* 103 */
1705
1779
  /***/ (function(module, exports) {
1706
1780
 
1707
1781
  module.exports = require("@babel/runtime/helpers/inherits");
1708
1782
 
1709
1783
  /***/ }),
1710
- /* 102 */
1784
+ /* 104 */
1711
1785
  /***/ (function(module, exports) {
1712
1786
 
1713
1787
  module.exports = require("@babel/runtime/helpers/possibleConstructorReturn");
1714
1788
 
1715
1789
  /***/ }),
1716
- /* 103 */
1790
+ /* 105 */
1717
1791
  /***/ (function(module, exports) {
1718
1792
 
1719
1793
  module.exports = require("@babel/runtime/helpers/getPrototypeOf");
1720
1794
 
1721
1795
  /***/ }),
1722
- /* 104 */,
1723
- /* 105 */,
1724
1796
  /* 106 */,
1725
1797
  /* 107 */,
1726
1798
  /* 108 */,
@@ -1744,7 +1816,13 @@ module.exports = require("@babel/runtime/helpers/getPrototypeOf");
1744
1816
  /* 126 */,
1745
1817
  /* 127 */,
1746
1818
  /* 128 */,
1747
- /* 129 */
1819
+ /* 129 */,
1820
+ /* 130 */,
1821
+ /* 131 */,
1822
+ /* 132 */,
1823
+ /* 133 */,
1824
+ /* 134 */,
1825
+ /* 135 */
1748
1826
  /***/ (function(module, exports, __webpack_require__) {
1749
1827
 
1750
1828
  "use strict";
@@ -1752,13 +1830,13 @@ module.exports = require("@babel/runtime/helpers/getPrototypeOf");
1752
1830
 
1753
1831
  var _classCallCheck = __webpack_require__(11);
1754
1832
 
1755
- var _createClass = __webpack_require__(19);
1833
+ var _createClass = __webpack_require__(20);
1756
1834
 
1757
- var _inherits = __webpack_require__(101);
1835
+ var _inherits = __webpack_require__(103);
1758
1836
 
1759
- var _possibleConstructorReturn = __webpack_require__(102);
1837
+ var _possibleConstructorReturn = __webpack_require__(104);
1760
1838
 
1761
- var _getPrototypeOf = __webpack_require__(103);
1839
+ var _getPrototypeOf = __webpack_require__(105);
1762
1840
 
1763
1841
  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); }; }
1764
1842
 
@@ -1772,7 +1850,7 @@ var React = __webpack_require__(1);
1772
1850
 
1773
1851
  var lodash_1 = __webpack_require__(3);
1774
1852
 
1775
- var SvgMutator_1 = __webpack_require__(173);
1853
+ var SvgMutator_1 = __webpack_require__(179);
1776
1854
  /**
1777
1855
  * This react component simply take an SVG document, and mutates it by applying data to the document according to
1778
1856
  * 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.
@@ -1900,12 +1978,6 @@ SvgChoroplethDynamic.defaultProps = {
1900
1978
  };
1901
1979
 
1902
1980
  /***/ }),
1903
- /* 130 */,
1904
- /* 131 */,
1905
- /* 132 */,
1906
- /* 133 */,
1907
- /* 134 */,
1908
- /* 135 */,
1909
1981
  /* 136 */,
1910
1982
  /* 137 */,
1911
1983
  /* 138 */,
@@ -1938,7 +2010,13 @@ SvgChoroplethDynamic.defaultProps = {
1938
2010
  /* 165 */,
1939
2011
  /* 166 */,
1940
2012
  /* 167 */,
1941
- /* 168 */
2013
+ /* 168 */,
2014
+ /* 169 */,
2015
+ /* 170 */,
2016
+ /* 171 */,
2017
+ /* 172 */,
2018
+ /* 173 */,
2019
+ /* 174 */
1942
2020
  /***/ (function(module, exports, __webpack_require__) {
1943
2021
 
1944
2022
  "use strict";
@@ -1968,23 +2046,23 @@ var T = __webpack_require__(0);
1968
2046
 
1969
2047
  var lodash_1 = __webpack_require__(3);
1970
2048
 
1971
- var FeatureFlagContext_1 = __webpack_require__(94);
2049
+ var FeatureFlagContext_1 = __webpack_require__(26);
1972
2050
 
1973
- var ImageContext_1 = __webpack_require__(169);
2051
+ var ImageContext_1 = __webpack_require__(175);
1974
2052
 
1975
- var FileDownloader_1 = __webpack_require__(170);
2053
+ var FileDownloader_1 = __webpack_require__(176);
1976
2054
 
1977
- var Downloader_1 = __webpack_require__(171);
2055
+ var Downloader_1 = __webpack_require__(177);
1978
2056
 
1979
- var withDashboardViz_1 = __webpack_require__(32);
2057
+ var withDashboardViz_1 = __webpack_require__(35);
1980
2058
 
1981
- var PureChoroplethSvg_1 = __webpack_require__(172);
2059
+ var PureChoroplethSvg_1 = __webpack_require__(178);
1982
2060
 
1983
- var SvgChoroplethDynamic_1 = __webpack_require__(129);
2061
+ var SvgChoroplethDynamic_1 = __webpack_require__(135);
1984
2062
 
1985
- var config_1 = __webpack_require__(177);
2063
+ var config_1 = __webpack_require__(183);
1986
2064
 
1987
- var IconPlaceholder_1 = __webpack_require__(27);
2065
+ var IconPlaceholder_1 = __webpack_require__(30);
1988
2066
 
1989
2067
  exports.config = config_1.default;
1990
2068
  exports.PureChoroplethSvg = PureChoroplethSvg_1.default; // todo: need remove when deleting @splunk/react-visualizations package
@@ -2068,25 +2146,25 @@ var platformViz = withDashboardViz_1.default({
2068
2146
  exports.default = platformViz;
2069
2147
 
2070
2148
  /***/ }),
2071
- /* 169 */
2149
+ /* 175 */
2072
2150
  /***/ (function(module, exports) {
2073
2151
 
2074
2152
  module.exports = require("@splunk/visualization-context/ImageContext");
2075
2153
 
2076
2154
  /***/ }),
2077
- /* 170 */
2155
+ /* 176 */
2078
2156
  /***/ (function(module, exports) {
2079
2157
 
2080
2158
  module.exports = require("@splunk/visualizations-shared/FileDownloader");
2081
2159
 
2082
2160
  /***/ }),
2083
- /* 171 */
2161
+ /* 177 */
2084
2162
  /***/ (function(module, exports) {
2085
2163
 
2086
2164
  module.exports = require("@splunk/visualizations-shared/Downloader");
2087
2165
 
2088
2166
  /***/ }),
2089
- /* 172 */
2167
+ /* 178 */
2090
2168
  /***/ (function(module, exports, __webpack_require__) {
2091
2169
 
2092
2170
  "use strict";
@@ -2118,11 +2196,11 @@ var lodash_1 = __webpack_require__(3);
2118
2196
 
2119
2197
  var style_1 = __webpack_require__(15);
2120
2198
 
2121
- var SizeAwareWrapper_1 = __webpack_require__(20);
2199
+ var SizeAwareWrapper_1 = __webpack_require__(21);
2122
2200
 
2123
- var SvgChoroplethDynamic_1 = __webpack_require__(129);
2201
+ var SvgChoroplethDynamic_1 = __webpack_require__(135);
2124
2202
 
2125
- var VizStyleWrapper_1 = __webpack_require__(63);
2203
+ var VizStyleWrapper_1 = __webpack_require__(66);
2126
2204
 
2127
2205
  var Container = styled_components_1.default.div.withConfig({
2128
2206
  displayName: "PureChoroplethSvg__Container",
@@ -2192,7 +2270,7 @@ PureChoroplethSvg.defaultProps = {
2192
2270
  exports.default = styled_components_1.withTheme(PureChoroplethSvg);
2193
2271
 
2194
2272
  /***/ }),
2195
- /* 173 */
2273
+ /* 179 */
2196
2274
  /***/ (function(module, exports, __webpack_require__) {
2197
2275
 
2198
2276
  "use strict";
@@ -2200,7 +2278,7 @@ exports.default = styled_components_1.withTheme(PureChoroplethSvg);
2200
2278
 
2201
2279
  var _classCallCheck = __webpack_require__(11);
2202
2280
 
2203
- var _createClass = __webpack_require__(19);
2281
+ var _createClass = __webpack_require__(20);
2204
2282
 
2205
2283
  Object.defineProperty(exports, "__esModule", {
2206
2284
  value: true
@@ -2210,11 +2288,11 @@ exports.SvgMutator = exports.ERROR_NON_ATTRIBUTE_MUTATION = void 0;
2210
2288
 
2211
2289
  var React = __webpack_require__(1);
2212
2290
 
2213
- var XPath = __webpack_require__(174);
2291
+ var XPath = __webpack_require__(180);
2214
2292
 
2215
- var xmldom_1 = __webpack_require__(175);
2293
+ var xmldom_1 = __webpack_require__(181);
2216
2294
 
2217
- var jexl = __webpack_require__(176);
2295
+ var jexl = __webpack_require__(182);
2218
2296
  /**
2219
2297
  * An error message indicating that a mutation has attempted to target anything other than SVG attribute(s)
2220
2298
  * @type {string}
@@ -2618,25 +2696,25 @@ exports.SvgMutator = SvgMutator;
2618
2696
  SvgMutator.serializer = new xmldom_1.XMLSerializer();
2619
2697
 
2620
2698
  /***/ }),
2621
- /* 174 */
2699
+ /* 180 */
2622
2700
  /***/ (function(module, exports) {
2623
2701
 
2624
2702
  module.exports = require("xpath");
2625
2703
 
2626
2704
  /***/ }),
2627
- /* 175 */
2705
+ /* 181 */
2628
2706
  /***/ (function(module, exports) {
2629
2707
 
2630
2708
  module.exports = require("@xmldom/xmldom");
2631
2709
 
2632
2710
  /***/ }),
2633
- /* 176 */
2711
+ /* 182 */
2634
2712
  /***/ (function(module, exports) {
2635
2713
 
2636
2714
  module.exports = require("jexl");
2637
2715
 
2638
2716
  /***/ }),
2639
- /* 177 */
2717
+ /* 183 */
2640
2718
  /***/ (function(module, exports, __webpack_require__) {
2641
2719
 
2642
2720
  "use strict";
@@ -2648,25 +2726,25 @@ Object.defineProperty(exports, "__esModule", {
2648
2726
 
2649
2727
  var i18n_1 = __webpack_require__(2);
2650
2728
 
2651
- var pick_1 = __webpack_require__(21);
2729
+ var pick_1 = __webpack_require__(22);
2652
2730
 
2653
2731
  var variables_1 = __webpack_require__(9);
2654
2732
 
2655
2733
  var schemaUtils_1 = __webpack_require__(16);
2656
2734
 
2657
- var PresetPalettes_1 = __webpack_require__(54);
2735
+ var PresetPalettes_1 = __webpack_require__(57);
2658
2736
 
2659
- var visualization_icons_1 = __webpack_require__(47);
2737
+ var visualization_icons_1 = __webpack_require__(51);
2660
2738
 
2661
- var placeholders_1 = __webpack_require__(44);
2739
+ var placeholders_1 = __webpack_require__(48);
2662
2740
 
2663
2741
  var VizBehavior_1 = __webpack_require__(6);
2664
2742
 
2665
- var configUtils_1 = __webpack_require__(17);
2743
+ var configUtils_1 = __webpack_require__(18);
2666
2744
 
2667
- var VizCategory_1 = __webpack_require__(31);
2745
+ var VizCategory_1 = __webpack_require__(34);
2668
2746
 
2669
- var StaticBackgroundColorEditor_1 = __webpack_require__(78);
2747
+ var StaticBackgroundColorEditor_1 = __webpack_require__(81);
2670
2748
 
2671
2749
  var dataContract = {
2672
2750
  requiredDataSources: [],