@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/Markdown.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 = 402);
90
+ /******/ return __webpack_require__(__webpack_require__.s = 412);
91
91
  /******/ })
92
92
  /************************************************************************/
93
93
  /******/ ({
@@ -120,13 +120,20 @@ module.exports = require("@babel/runtime/helpers/classCallCheck");
120
120
 
121
121
  /***/ }),
122
122
 
123
- /***/ 111:
123
+ /***/ 114:
124
124
  /***/ (function(module, exports) {
125
125
 
126
126
  module.exports = require("@splunk/react-ui/Markdown");
127
127
 
128
128
  /***/ }),
129
129
 
130
+ /***/ 117:
131
+ /***/ (function(module, exports) {
132
+
133
+ module.exports = require("@splunk/react-ui/Heading");
134
+
135
+ /***/ }),
136
+
130
137
  /***/ 12:
131
138
  /***/ (function(module, exports) {
132
139
 
@@ -148,7 +155,7 @@ var React = __webpack_require__(1);
148
155
 
149
156
  var styled_components_1 = __webpack_require__(4);
150
157
 
151
- var SizeAwareWrapper_1 = __webpack_require__(20);
158
+ var SizeAwareWrapper_1 = __webpack_require__(21);
152
159
 
153
160
  var style_1 = __webpack_require__(15);
154
161
 
@@ -209,7 +216,7 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
209
216
 
210
217
  return React.createElement(FixSizeItem, {
211
218
  "data-test": "fix-size-item",
212
- "data-splunk-visualization-version": "25.5.0 - 12c0447a7",
219
+ "data-splunk-visualization-version": "25.6.0 - f5eb3abf9",
213
220
  width: width,
214
221
  height: height,
215
222
  backgroundColor: backgroundColor
@@ -264,13 +271,20 @@ exports.extendStaticWrapperProps = extendStaticWrapperProps;
264
271
 
265
272
  /***/ }),
266
273
 
267
- /***/ 144:
274
+ /***/ 15:
275
+ /***/ (function(module, exports) {
276
+
277
+ module.exports = require("@splunk/visualizations-shared/style");
278
+
279
+ /***/ }),
280
+
281
+ /***/ 150:
268
282
  /***/ (function(module, exports, __webpack_require__) {
269
283
 
270
284
  "use strict";
271
285
 
272
286
 
273
- var _taggedTemplateLiteral = __webpack_require__(86);
287
+ var _taggedTemplateLiteral = __webpack_require__(89);
274
288
 
275
289
  var _templateObject;
276
290
 
@@ -281,31 +295,31 @@ exports.getFontMap = exports.config = exports.themes = exports.computeVizProps =
281
295
 
282
296
  var lodash_1 = __webpack_require__(3);
283
297
 
284
- var types_1 = __webpack_require__(81);
298
+ var types_1 = __webpack_require__(85);
285
299
 
286
300
  var React = __webpack_require__(1);
287
301
 
288
302
  var style_1 = __webpack_require__(15);
289
303
 
290
- var Markdown_1 = __webpack_require__(111);
304
+ var Markdown_1 = __webpack_require__(114);
291
305
 
292
306
  var styled_components_1 = __webpack_require__(4);
293
307
 
294
308
  var T = __webpack_require__(0);
295
309
 
296
- var themes_1 = __webpack_require__(69);
310
+ var themes_1 = __webpack_require__(72);
297
311
 
298
- var Heading_1 = __webpack_require__(403);
312
+ var Heading_1 = __webpack_require__(117);
299
313
 
300
- var Paragraph_1 = __webpack_require__(95);
314
+ var Paragraph_1 = __webpack_require__(97);
301
315
 
302
- var List_1 = __webpack_require__(404);
316
+ var List_1 = __webpack_require__(413);
303
317
 
304
- var Code_1 = __webpack_require__(405);
318
+ var Code_1 = __webpack_require__(414);
305
319
 
306
- var withDashboardViz_1 = __webpack_require__(32);
320
+ var withDashboardViz_1 = __webpack_require__(35);
307
321
 
308
- var config_1 = __webpack_require__(406);
322
+ var config_1 = __webpack_require__(415);
309
323
 
310
324
  exports.config = config_1.default; // map of valid font sizes with elements' respective pixel sizes
311
325
 
@@ -582,21 +596,21 @@ exports.default = Markdown;
582
596
 
583
597
  /***/ }),
584
598
 
585
- /***/ 15:
599
+ /***/ 16:
586
600
  /***/ (function(module, exports) {
587
601
 
588
- module.exports = require("@splunk/visualizations-shared/style");
602
+ module.exports = require("@splunk/visualizations-shared/schemaUtils");
589
603
 
590
604
  /***/ }),
591
605
 
592
- /***/ 16:
606
+ /***/ 17:
593
607
  /***/ (function(module, exports) {
594
608
 
595
- module.exports = require("@splunk/visualizations-shared/schemaUtils");
609
+ module.exports = require("@babel/runtime/helpers/slicedToArray");
596
610
 
597
611
  /***/ }),
598
612
 
599
- /***/ 17:
613
+ /***/ 18:
600
614
  /***/ (function(module, exports, __webpack_require__) {
601
615
 
602
616
  "use strict";
@@ -833,49 +847,63 @@ exports.insertLayout = insertLayout;
833
847
 
834
848
  /***/ }),
835
849
 
836
- /***/ 19:
850
+ /***/ 2:
837
851
  /***/ (function(module, exports) {
838
852
 
839
- module.exports = require("@babel/runtime/helpers/createClass");
853
+ module.exports = require("@splunk/ui-utils/i18n");
840
854
 
841
855
  /***/ }),
842
856
 
843
- /***/ 2:
857
+ /***/ 20:
844
858
  /***/ (function(module, exports) {
845
859
 
846
- module.exports = require("@splunk/ui-utils/i18n");
860
+ module.exports = require("@babel/runtime/helpers/createClass");
847
861
 
848
862
  /***/ }),
849
863
 
850
- /***/ 20:
864
+ /***/ 21:
851
865
  /***/ (function(module, exports) {
852
866
 
853
867
  module.exports = require("@splunk/visualizations-shared/SizeAwareWrapper");
854
868
 
855
869
  /***/ }),
856
870
 
857
- /***/ 23:
871
+ /***/ 24:
858
872
  /***/ (function(module, exports) {
859
873
 
860
874
  module.exports = require("@splunk/visualization-context/TimezoneContext");
861
875
 
862
876
  /***/ }),
863
877
 
864
- /***/ 25:
878
+ /***/ 26:
879
+ /***/ (function(module, exports) {
880
+
881
+ module.exports = require("@splunk/visualization-context/FeatureFlagContext");
882
+
883
+ /***/ }),
884
+
885
+ /***/ 27:
865
886
  /***/ (function(module, exports) {
866
887
 
867
888
  module.exports = require("@splunk/visualizations-shared/hocUtils");
868
889
 
869
890
  /***/ }),
870
891
 
871
- /***/ 26:
892
+ /***/ 28:
872
893
  /***/ (function(module, exports) {
873
894
 
874
895
  module.exports = require("@splunk/visualizations-shared/JSONSchemaUtils");
875
896
 
876
897
  /***/ }),
877
898
 
878
- /***/ 27:
899
+ /***/ 3:
900
+ /***/ (function(module, exports) {
901
+
902
+ module.exports = require("lodash");
903
+
904
+ /***/ }),
905
+
906
+ /***/ 30:
879
907
  /***/ (function(module, exports, __webpack_require__) {
880
908
 
881
909
  "use strict";
@@ -967,7 +995,14 @@ exports.default = FixedSizeContainer_1.default(IconPlaceholder);
967
995
 
968
996
  /***/ }),
969
997
 
970
- /***/ 28:
998
+ /***/ 31:
999
+ /***/ (function(module, exports) {
1000
+
1001
+ module.exports = require("@splunk/ui-utils/id");
1002
+
1003
+ /***/ }),
1004
+
1005
+ /***/ 32:
971
1006
  /***/ (function(module, exports, __webpack_require__) {
972
1007
 
973
1008
  "use strict";
@@ -984,7 +1019,7 @@ var T = __webpack_require__(0);
984
1019
 
985
1020
  var lodash_1 = __webpack_require__(3);
986
1021
 
987
- var DataSource_1 = __webpack_require__(39);
1022
+ var DataSource_1 = __webpack_require__(43);
988
1023
 
989
1024
  exports.SortParamsPropTypes = T.shape({
990
1025
  currentSortKey: T.string,
@@ -1038,7 +1073,7 @@ exports.getSortingParams = getSortingParams;
1038
1073
 
1039
1074
  /***/ }),
1040
1075
 
1041
- /***/ 29:
1076
+ /***/ 33:
1042
1077
  /***/ (function(module, exports, __webpack_require__) {
1043
1078
 
1044
1079
  "use strict";
@@ -1103,14 +1138,7 @@ exports.getPaginationParams = getPaginationParams;
1103
1138
 
1104
1139
  /***/ }),
1105
1140
 
1106
- /***/ 3:
1107
- /***/ (function(module, exports) {
1108
-
1109
- module.exports = require("lodash");
1110
-
1111
- /***/ }),
1112
-
1113
- /***/ 31:
1141
+ /***/ 34:
1114
1142
  /***/ (function(module, exports, __webpack_require__) {
1115
1143
 
1116
1144
  "use strict";
@@ -1139,12 +1167,14 @@ var VizCategory;
1139
1167
 
1140
1168
  /***/ }),
1141
1169
 
1142
- /***/ 32:
1170
+ /***/ 35:
1143
1171
  /***/ (function(module, exports, __webpack_require__) {
1144
1172
 
1145
1173
  "use strict";
1146
1174
 
1147
1175
 
1176
+ var _slicedToArray = __webpack_require__(17);
1177
+
1148
1178
  Object.defineProperty(exports, "__esModule", {
1149
1179
  value: true
1150
1180
  });
@@ -1153,44 +1183,51 @@ var React = __webpack_require__(1);
1153
1183
 
1154
1184
  var lodash_1 = __webpack_require__(3);
1155
1185
 
1156
- var getSettingsFromThemedProps_1 = __webpack_require__(33);
1186
+ var getSettingsFromThemedProps_1 = __webpack_require__(36);
1187
+
1188
+ var Options_1 = __webpack_require__(37);
1157
1189
 
1158
- var Options_1 = __webpack_require__(34);
1190
+ var SanitizeProps_1 = __webpack_require__(38);
1159
1191
 
1160
- var SanitizeProps_1 = __webpack_require__(35);
1192
+ var TimezoneContext_1 = __webpack_require__(24);
1161
1193
 
1162
- var TimezoneContext_1 = __webpack_require__(23);
1194
+ var moment_1 = __webpack_require__(39);
1163
1195
 
1164
- var moment_1 = __webpack_require__(36);
1196
+ var FeatureFlagContext_1 = __webpack_require__(26);
1165
1197
 
1166
1198
  var styled_components_1 = __webpack_require__(4);
1167
1199
 
1168
- var hocUtils_1 = __webpack_require__(25);
1200
+ var hocUtils_1 = __webpack_require__(27);
1201
+
1202
+ var JSONSchemaUtils_1 = __webpack_require__(28);
1169
1203
 
1170
- var JSONSchemaUtils_1 = __webpack_require__(26);
1204
+ var async_dynamic_options_evaluator_1 = __webpack_require__(40);
1171
1205
 
1172
- var SplunkVisualization_1 = __webpack_require__(37);
1206
+ var id_1 = __webpack_require__(31);
1207
+
1208
+ var SplunkVisualization_1 = __webpack_require__(41);
1173
1209
 
1174
1210
  var VizBehavior_1 = __webpack_require__(6);
1175
1211
 
1176
- var getSorting_1 = __webpack_require__(28);
1212
+ var getSorting_1 = __webpack_require__(32);
1213
+
1214
+ var getPagination_1 = __webpack_require__(33);
1177
1215
 
1178
- var getPagination_1 = __webpack_require__(29);
1216
+ var useDeepMemo_1 = __webpack_require__(44);
1179
1217
 
1180
- var useDeepMemo_1 = __webpack_require__(40);
1218
+ var MissingPropsMessage_1 = __webpack_require__(45);
1181
1219
 
1182
- var MissingPropsMessage_1 = __webpack_require__(41);
1220
+ var withEditModeCover_1 = __webpack_require__(46);
1183
1221
 
1184
- var withEditModeCover_1 = __webpack_require__(42);
1222
+ var withPlaceholder_1 = __webpack_require__(47);
1185
1223
 
1186
- var withPlaceholder_1 = __webpack_require__(43);
1224
+ var UUID = id_1.createGUID();
1187
1225
  /**
1188
1226
  * hoc that wraps a pure react visualization in a Dashboard visualization
1189
1227
  * @param {DashboardVizOpts} opts
1190
1228
  * @returns {HOC}
1191
1229
  */
1192
1230
 
1193
-
1194
1231
  var withDashboardViz = function withDashboardViz(opts) {
1195
1232
  var ReactViz = opts.ReactViz,
1196
1233
  vizConfig = opts.vizConfig,
@@ -1250,28 +1287,76 @@ var withDashboardViz = function withDashboardViz(opts) {
1250
1287
 
1251
1288
  var evaluatedOptions = {}; // evaluatedOptions need to be initialized as an empty object
1252
1289
 
1290
+ var _React$useState = React.useState({}),
1291
+ _React$useState2 = _slicedToArray(_React$useState, 2),
1292
+ evaluatedOptionsAsync = _React$useState2[0],
1293
+ setEvaluatedOptionsAsync = _React$useState2[1]; // evaluatedOptions need to be initialized as an empty object
1294
+
1295
+
1296
+ var featureFlagContext = React.useContext(FeatureFlagContext_1.default);
1297
+
1298
+ var _React$useState3 = React.useState("".concat(vizConfig.name, " - ").concat(UUID)),
1299
+ _React$useState4 = _slicedToArray(_React$useState3, 1),
1300
+ visualizationID = _React$useState4[0];
1301
+
1302
+ var _React$useState5 = React.useState(Boolean(featureFlagContext && featureFlagContext['visualizations.useWebWorkersForDSL'] && typeof Worker !== 'undefined')),
1303
+ _React$useState6 = _slicedToArray(_React$useState5, 2),
1304
+ useAsyncEvaluatedOptions = _React$useState6[0],
1305
+ setUseAsyncEvaluatedOptions = _React$useState6[1];
1306
+
1253
1307
  evaluatedOptions = useDeepMemo_1.useDeepMemo(function () {
1254
1308
  try {
1255
- return Options_1.Options.evaluate({
1256
- context: lodash_1.defaultsDeep({}, context, vizConfig.defaultContext),
1257
- options: hocUtils_1.deepMergeWithArrayPrimitiveOverrides({}, options, defaultOptions)
1258
- }, dataSources, themeFunc);
1309
+ if (useAsyncEvaluatedOptions) {
1310
+ var optionsToEvaluate = {
1311
+ context: lodash_1.defaultsDeep({}, context, vizConfig.defaultContext),
1312
+ options: hocUtils_1.deepMergeWithArrayPrimitiveOverrides({}, options, defaultOptions)
1313
+ };
1314
+ var asyncDynamicOptionsEvaluatorParams = {
1315
+ visualizationID: visualizationID,
1316
+ props: props,
1317
+ options: optionsToEvaluate,
1318
+ dataSources: dataSources,
1319
+ theme: vizConfig.themes
1320
+ };
1321
+ async_dynamic_options_evaluator_1.default.evaluate(asyncDynamicOptionsEvaluatorParams).then(function (results) {
1322
+ setEvaluatedOptionsAsync(results.results);
1323
+ }).catch(function (e) {
1324
+ // eslint-disable-next-line no-console
1325
+ console.error("unexpected error evaluating options - async: ".concat(e.message));
1326
+ setUseAsyncEvaluatedOptions(false);
1327
+ });
1328
+ } else {
1329
+ return Options_1.Options.evaluate({
1330
+ context: lodash_1.defaultsDeep({}, context, vizConfig.defaultContext),
1331
+ options: hocUtils_1.deepMergeWithArrayPrimitiveOverrides({}, options, defaultOptions)
1332
+ }, dataSources, themeFunc);
1333
+ }
1259
1334
  } catch (e) {
1260
1335
  // eslint-disable-next-line no-console
1261
- console.error("unexpected error evaluating options: + ".concat(e.message));
1336
+ console.error("unexpected error evaluating options: ".concat(e.message));
1262
1337
  return {};
1263
1338
  }
1264
- }, [currentThemeFamily, currentThemeColorScheme, currentThemeDensity, options, context, dataSources, serializedTimezone]); // useEffect hook needs to be initialized before any early returns
1339
+
1340
+ return {};
1341
+ }, [currentThemeFamily, currentThemeColorScheme, currentThemeDensity, options, context, dataSources, serializedTimezone, useAsyncEvaluatedOptions]);
1342
+ var evaluatedOptionsToUse = !useAsyncEvaluatedOptions ? evaluatedOptions : evaluatedOptionsAsync; // useEffect hook needs to be initialized before any early returns
1265
1343
  // this is in accordance with the order of hook calls being the same on each render https://reactjs.org/docs/hooks-rules.html#explanation
1266
1344
 
1267
1345
  React.useEffect(function () {
1268
- onComputedProps(evaluatedOptions);
1269
- }); // present warning message if any required props are missing
1346
+ onComputedProps(evaluatedOptionsToUse);
1347
+ });
1348
+ React.useEffect(function () {
1349
+ return function () {
1350
+ if (useAsyncEvaluatedOptions) {
1351
+ async_dynamic_options_evaluator_1.default.reset(visualizationID);
1352
+ }
1353
+ }; // eslint-disable-next-line react-hooks/exhaustive-deps
1354
+ }, []); // present warning message if any required props are missing
1270
1355
 
1271
1356
  var _vizConfig$requiredPr = vizConfig.requiredProps,
1272
1357
  requiredProps = _vizConfig$requiredPr === void 0 ? [] : _vizConfig$requiredPr,
1273
1358
  supports = vizConfig.supports;
1274
- var missing = MissingPropsMessage_1.missingKeys(requiredProps, evaluatedOptions);
1359
+ var missing = MissingPropsMessage_1.missingKeys(requiredProps, evaluatedOptionsToUse);
1275
1360
 
1276
1361
  if (missing.length > 0 && supports.includes(VizBehavior_1.VizBehavior.PLACEHOLDER)) {
1277
1362
  return React.createElement(MissingPropsMessage_1.default, {
@@ -1298,7 +1383,7 @@ var withDashboardViz = function withDashboardViz(opts) {
1298
1383
 
1299
1384
  if (Array.isArray(payloadKeys) && payloadKeys.length) {
1300
1385
  payloadKeys.forEach(function (p) {
1301
- payload[p] = evaluatedOptions[p];
1386
+ payload[p] = evaluatedOptionsToUse[p];
1302
1387
  });
1303
1388
  }
1304
1389
 
@@ -1317,7 +1402,7 @@ var withDashboardViz = function withDashboardViz(opts) {
1317
1402
  } // compute pure viz props which are not from options
1318
1403
 
1319
1404
 
1320
- var computedVizProps = computeVizProps(Object.assign(Object.assign(Object.assign(Object.assign({}, props), evaluatedOptions), eventCallbackProps), {
1405
+ var computedVizProps = computeVizProps(Object.assign(Object.assign(Object.assign(Object.assign({}, props), evaluatedOptionsToUse), eventCallbackProps), {
1321
1406
  themeFunc: themeFunc
1322
1407
  }));
1323
1408
  /**
@@ -1337,7 +1422,7 @@ var withDashboardViz = function withDashboardViz(opts) {
1337
1422
 
1338
1423
  var dataSourceMetadata = {};
1339
1424
  var OptionKey = 'paginateDataSourceKey';
1340
- var paginateDataSourceKey = lodash_1.has(evaluatedOptions, OptionKey) && evaluatedOptions[OptionKey] || 'primary';
1425
+ var paginateDataSourceKey = lodash_1.has(evaluatedOptionsToUse, OptionKey) && evaluatedOptionsToUse[OptionKey] || 'primary';
1341
1426
 
1342
1427
  if (vizConfig.supports.indexOf(VizBehavior_1.VizBehavior.PAGE_AND_SORT) > -1 && lodash_1.has(dataSources, paginateDataSourceKey)) {
1343
1428
  var requestParams = lodash_1.get(dataSources, [paginateDataSourceKey, 'requestParams'], {});
@@ -1367,7 +1452,7 @@ var withDashboardViz = function withDashboardViz(opts) {
1367
1452
  mode: mode,
1368
1453
  width: width,
1369
1454
  height: height
1370
- }, evaluatedOptions, computedVizProps, eventCallbackProps, dataSourceMetadata));
1455
+ }, evaluatedOptionsToUse, computedVizProps, eventCallbackProps, dataSourceMetadata));
1371
1456
  };
1372
1457
 
1373
1458
  DashboardViz.propTypes = Object.assign(Object.assign({}, SplunkVisualization_1.default.propTypes), ReactViz.propTypes);
@@ -1385,35 +1470,49 @@ exports.default = withDashboardViz;
1385
1470
 
1386
1471
  /***/ }),
1387
1472
 
1388
- /***/ 33:
1473
+ /***/ 36:
1389
1474
  /***/ (function(module, exports) {
1390
1475
 
1391
1476
  module.exports = require("@splunk/themes/getSettingsFromThemedProps");
1392
1477
 
1393
1478
  /***/ }),
1394
1479
 
1395
- /***/ 34:
1480
+ /***/ 37:
1396
1481
  /***/ (function(module, exports) {
1397
1482
 
1398
1483
  module.exports = require("@splunk/visualization-encoding/Options");
1399
1484
 
1400
1485
  /***/ }),
1401
1486
 
1402
- /***/ 35:
1487
+ /***/ 38:
1403
1488
  /***/ (function(module, exports) {
1404
1489
 
1405
1490
  module.exports = require("@splunk/visualizations-shared/SanitizeProps");
1406
1491
 
1407
1492
  /***/ }),
1408
1493
 
1409
- /***/ 36:
1494
+ /***/ 39:
1410
1495
  /***/ (function(module, exports) {
1411
1496
 
1412
1497
  module.exports = require("@splunk/moment");
1413
1498
 
1414
1499
  /***/ }),
1415
1500
 
1416
- /***/ 37:
1501
+ /***/ 4:
1502
+ /***/ (function(module, exports) {
1503
+
1504
+ module.exports = require("styled-components");
1505
+
1506
+ /***/ }),
1507
+
1508
+ /***/ 40:
1509
+ /***/ (function(module, exports) {
1510
+
1511
+ module.exports = require("@splunk/async-dynamic-options-evaluator");
1512
+
1513
+ /***/ }),
1514
+
1515
+ /***/ 41:
1417
1516
  /***/ (function(module, exports, __webpack_require__) {
1418
1517
 
1419
1518
  "use strict";
@@ -1431,7 +1530,7 @@ var T = __webpack_require__(0);
1431
1530
 
1432
1531
  var lodash_1 = __webpack_require__(3);
1433
1532
 
1434
- var VizActionHandler_1 = __webpack_require__(38); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
1533
+ var VizActionHandler_1 = __webpack_require__(42); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
1435
1534
 
1436
1535
 
1437
1536
  exports.INITIAL_WIDTH = 250;
@@ -1565,112 +1664,7 @@ exports.default = SplunkVisualization;
1565
1664
 
1566
1665
  /***/ }),
1567
1666
 
1568
- /***/ 38:
1569
- /***/ (function(module, exports, __webpack_require__) {
1570
-
1571
- "use strict";
1572
-
1573
-
1574
- var _classCallCheck = __webpack_require__(11);
1575
-
1576
- var _createClass = __webpack_require__(19);
1577
-
1578
- Object.defineProperty(exports, "__esModule", {
1579
- value: true
1580
- });
1581
- exports.DefaultVizActionHandler = void 0;
1582
-
1583
- var DefaultVizActionHandler = /*#__PURE__*/function () {
1584
- function DefaultVizActionHandler() {
1585
- _classCallCheck(this, DefaultVizActionHandler);
1586
- }
1587
-
1588
- _createClass(DefaultVizActionHandler, [{
1589
- key: "focus",
1590
- value: function focus() {// noop
1591
- }
1592
- }, {
1593
- key: "snapshot",
1594
- value: function snapshot() {
1595
- return null; // noop
1596
- }
1597
- }]);
1598
-
1599
- return DefaultVizActionHandler;
1600
- }();
1601
-
1602
- exports.DefaultVizActionHandler = DefaultVizActionHandler;
1603
-
1604
- /***/ }),
1605
-
1606
- /***/ 39:
1607
- /***/ (function(module, exports, __webpack_require__) {
1608
-
1609
- "use strict";
1610
-
1611
-
1612
- Object.defineProperty(exports, "__esModule", {
1613
- value: true
1614
- });
1615
- exports.validSortDirs = void 0;
1616
- exports.validSortDirs = ['asc', 'desc', 'none'];
1617
-
1618
- /***/ }),
1619
-
1620
- /***/ 4:
1621
- /***/ (function(module, exports) {
1622
-
1623
- module.exports = require("styled-components");
1624
-
1625
- /***/ }),
1626
-
1627
- /***/ 40:
1628
- /***/ (function(module, exports, __webpack_require__) {
1629
-
1630
- "use strict";
1631
-
1632
-
1633
- Object.defineProperty(exports, "__esModule", {
1634
- value: true
1635
- });
1636
- exports.useDeepMemo = void 0;
1637
-
1638
- var react_1 = __webpack_require__(1);
1639
-
1640
- var lodash_1 = __webpack_require__(3);
1641
- /**
1642
- * This hook evaluates and stores the result of a passed function and only
1643
- * re-evaluates the function when passed dependencies change.
1644
- *
1645
- * It is different from the internal React useMemo in the following aspects:
1646
- * - it only stores the last evaluated result
1647
- * - it uses a deep equality check to determine if dependencies have changed
1648
- *
1649
- * Inspired by apollo-client's useDeepMemo
1650
- *
1651
- * @param fn the function to be executed and
1652
- * @param dependencies an array of dependencies
1653
- */
1654
-
1655
-
1656
- var useDeepMemo = function useDeepMemo(fn, dependencies) {
1657
- var ref = react_1.useRef();
1658
-
1659
- if (!ref.current || !lodash_1.isEqual(dependencies, ref.current.dependencies)) {
1660
- ref.current = {
1661
- dependencies: dependencies,
1662
- value: fn()
1663
- };
1664
- }
1665
-
1666
- return ref.current.value;
1667
- };
1668
-
1669
- exports.useDeepMemo = useDeepMemo;
1670
-
1671
- /***/ }),
1672
-
1673
- /***/ 402:
1667
+ /***/ 412:
1674
1668
  /***/ (function(module, exports, __webpack_require__) {
1675
1669
 
1676
1670
  "use strict";
@@ -1700,9 +1694,9 @@ Object.defineProperty(exports, "__esModule", {
1700
1694
  });
1701
1695
  exports.default = void 0;
1702
1696
 
1703
- __exportStar(__webpack_require__(144), exports);
1697
+ __exportStar(__webpack_require__(150), exports);
1704
1698
 
1705
- var Markdown_1 = __webpack_require__(144);
1699
+ var Markdown_1 = __webpack_require__(150);
1706
1700
 
1707
1701
  Object.defineProperty(exports, "default", {
1708
1702
  enumerable: true,
@@ -1713,28 +1707,21 @@ Object.defineProperty(exports, "default", {
1713
1707
 
1714
1708
  /***/ }),
1715
1709
 
1716
- /***/ 403:
1717
- /***/ (function(module, exports) {
1718
-
1719
- module.exports = require("@splunk/react-ui/Heading");
1720
-
1721
- /***/ }),
1722
-
1723
- /***/ 404:
1710
+ /***/ 413:
1724
1711
  /***/ (function(module, exports) {
1725
1712
 
1726
1713
  module.exports = require("@splunk/react-ui/List");
1727
1714
 
1728
1715
  /***/ }),
1729
1716
 
1730
- /***/ 405:
1717
+ /***/ 414:
1731
1718
  /***/ (function(module, exports) {
1732
1719
 
1733
1720
  module.exports = require("@splunk/react-ui/Code");
1734
1721
 
1735
1722
  /***/ }),
1736
1723
 
1737
- /***/ 406:
1724
+ /***/ 415:
1738
1725
  /***/ (function(module, exports, __webpack_require__) {
1739
1726
 
1740
1727
  "use strict";
@@ -1746,7 +1733,7 @@ Object.defineProperty(exports, "__esModule", {
1746
1733
  value: true
1747
1734
  });
1748
1735
 
1749
- var themes_1 = __webpack_require__(69);
1736
+ var themes_1 = __webpack_require__(72);
1750
1737
 
1751
1738
  var i18n_1 = __webpack_require__(2);
1752
1739
 
@@ -1754,11 +1741,11 @@ var schemaUtils_1 = __webpack_require__(16);
1754
1741
 
1755
1742
  var VizBehavior_1 = __webpack_require__(6);
1756
1743
 
1757
- var VizCategory_1 = __webpack_require__(31);
1744
+ var VizCategory_1 = __webpack_require__(34);
1758
1745
 
1759
- var configUtils_1 = __webpack_require__(17);
1746
+ var configUtils_1 = __webpack_require__(18);
1760
1747
 
1761
- var BackgroundColor_1 = __webpack_require__(49);
1748
+ var BackgroundColor_1 = __webpack_require__(53);
1762
1749
 
1763
1750
  var FONT_OPTIONS = new Set(['extraSmall', 'small', 'default', 'large', 'extraLarge']);
1764
1751
  var dataContract = {
@@ -1957,7 +1944,105 @@ exports.default = configUtils_1.enhanceConfig(config);
1957
1944
 
1958
1945
  /***/ }),
1959
1946
 
1960
- /***/ 41:
1947
+ /***/ 42:
1948
+ /***/ (function(module, exports, __webpack_require__) {
1949
+
1950
+ "use strict";
1951
+
1952
+
1953
+ var _classCallCheck = __webpack_require__(11);
1954
+
1955
+ var _createClass = __webpack_require__(20);
1956
+
1957
+ Object.defineProperty(exports, "__esModule", {
1958
+ value: true
1959
+ });
1960
+ exports.DefaultVizActionHandler = void 0;
1961
+
1962
+ var DefaultVizActionHandler = /*#__PURE__*/function () {
1963
+ function DefaultVizActionHandler() {
1964
+ _classCallCheck(this, DefaultVizActionHandler);
1965
+ }
1966
+
1967
+ _createClass(DefaultVizActionHandler, [{
1968
+ key: "focus",
1969
+ value: function focus() {// noop
1970
+ }
1971
+ }, {
1972
+ key: "snapshot",
1973
+ value: function snapshot() {
1974
+ return null; // noop
1975
+ }
1976
+ }]);
1977
+
1978
+ return DefaultVizActionHandler;
1979
+ }();
1980
+
1981
+ exports.DefaultVizActionHandler = DefaultVizActionHandler;
1982
+
1983
+ /***/ }),
1984
+
1985
+ /***/ 43:
1986
+ /***/ (function(module, exports, __webpack_require__) {
1987
+
1988
+ "use strict";
1989
+
1990
+
1991
+ Object.defineProperty(exports, "__esModule", {
1992
+ value: true
1993
+ });
1994
+ exports.validSortDirs = void 0;
1995
+ exports.validSortDirs = ['asc', 'desc', 'none'];
1996
+
1997
+ /***/ }),
1998
+
1999
+ /***/ 44:
2000
+ /***/ (function(module, exports, __webpack_require__) {
2001
+
2002
+ "use strict";
2003
+
2004
+
2005
+ Object.defineProperty(exports, "__esModule", {
2006
+ value: true
2007
+ });
2008
+ exports.useDeepMemo = void 0;
2009
+
2010
+ var react_1 = __webpack_require__(1);
2011
+
2012
+ var lodash_1 = __webpack_require__(3);
2013
+ /**
2014
+ * This hook evaluates and stores the result of a passed function and only
2015
+ * re-evaluates the function when passed dependencies change.
2016
+ *
2017
+ * It is different from the internal React useMemo in the following aspects:
2018
+ * - it only stores the last evaluated result
2019
+ * - it uses a deep equality check to determine if dependencies have changed
2020
+ *
2021
+ * Inspired by apollo-client's useDeepMemo
2022
+ *
2023
+ * @param fn the function to be executed and
2024
+ * @param dependencies an array of dependencies
2025
+ */
2026
+
2027
+
2028
+ var useDeepMemo = function useDeepMemo(fn, dependencies) {
2029
+ var ref = react_1.useRef();
2030
+
2031
+ if (!ref.current || !lodash_1.isEqual(dependencies, ref.current.dependencies)) {
2032
+ ref.current = {
2033
+ dependencies: dependencies,
2034
+ value: fn()
2035
+ };
2036
+ }
2037
+
2038
+ return ref.current.value;
2039
+ };
2040
+
2041
+ exports.useDeepMemo = useDeepMemo;
2042
+
2043
+ /***/ }),
2044
+
2045
+ /***/ 45:
1961
2046
  /***/ (function(module, exports, __webpack_require__) {
1962
2047
 
1963
2048
  "use strict";
@@ -2038,7 +2123,7 @@ exports.default = FixedSizeContainer_1.default(exports.MissingPropsMessage);
2038
2123
 
2039
2124
  /***/ }),
2040
2125
 
2041
- /***/ 42:
2126
+ /***/ 46:
2042
2127
  /***/ (function(module, exports, __webpack_require__) {
2043
2128
 
2044
2129
  "use strict";
@@ -2059,7 +2144,7 @@ var Cover = styled_components_1.default.div.withConfig({
2059
2144
  componentId: "sc-1gsbnxb-0"
2060
2145
  })(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
2061
2146
  var Blocker = styled_components_1.default.div.attrs({
2062
- 'data-splunk-visualization-version': "25.5.0 - 12c0447a7"
2147
+ 'data-splunk-visualization-version': "25.6.0 - f5eb3abf9"
2063
2148
  }).withConfig({
2064
2149
  displayName: "withEditModeCover__Blocker",
2065
2150
  componentId: "sc-1gsbnxb-1"
@@ -2091,7 +2176,7 @@ exports.default = withEditModeCover;
2091
2176
 
2092
2177
  /***/ }),
2093
2178
 
2094
- /***/ 43:
2179
+ /***/ 47:
2095
2180
  /***/ (function(module, exports, __webpack_require__) {
2096
2181
 
2097
2182
  "use strict";
@@ -2107,7 +2192,7 @@ var colorUtils_1 = __webpack_require__(12);
2107
2192
 
2108
2193
  var variables_1 = __webpack_require__(9);
2109
2194
 
2110
- var IconPlaceholder_1 = __webpack_require__(27);
2195
+ var IconPlaceholder_1 = __webpack_require__(30);
2111
2196
 
2112
2197
  var VizBehavior_1 = __webpack_require__(6);
2113
2198
 
@@ -2156,7 +2241,7 @@ exports.default = withPlaceholder;
2156
2241
 
2157
2242
  /***/ }),
2158
2243
 
2159
- /***/ 49:
2244
+ /***/ 53:
2160
2245
  /***/ (function(module, exports, __webpack_require__) {
2161
2246
 
2162
2247
  "use strict";
@@ -2225,17 +2310,17 @@ var VizBehavior;
2225
2310
 
2226
2311
  /***/ }),
2227
2312
 
2228
- /***/ 69:
2313
+ /***/ 7:
2229
2314
  /***/ (function(module, exports) {
2230
2315
 
2231
- module.exports = require("@splunk/themes");
2316
+ module.exports = require("@babel/runtime/helpers/defineProperty");
2232
2317
 
2233
2318
  /***/ }),
2234
2319
 
2235
- /***/ 7:
2320
+ /***/ 72:
2236
2321
  /***/ (function(module, exports) {
2237
2322
 
2238
- module.exports = require("@babel/runtime/helpers/defineProperty");
2323
+ module.exports = require("@splunk/themes");
2239
2324
 
2240
2325
  /***/ }),
2241
2326
 
@@ -2246,14 +2331,14 @@ module.exports = require("@babel/runtime/helpers/toConsumableArray");
2246
2331
 
2247
2332
  /***/ }),
2248
2333
 
2249
- /***/ 81:
2334
+ /***/ 85:
2250
2335
  /***/ (function(module, exports) {
2251
2336
 
2252
2337
  module.exports = require("@splunk/visualization-encoding/utils/types");
2253
2338
 
2254
2339
  /***/ }),
2255
2340
 
2256
- /***/ 86:
2341
+ /***/ 89:
2257
2342
  /***/ (function(module, exports) {
2258
2343
 
2259
2344
  module.exports = require("@babel/runtime/helpers/taggedTemplateLiteral");
@@ -2267,7 +2352,7 @@ module.exports = require("@splunk/themes/variables");
2267
2352
 
2268
2353
  /***/ }),
2269
2354
 
2270
- /***/ 95:
2355
+ /***/ 97:
2271
2356
  /***/ (function(module, exports) {
2272
2357
 
2273
2358
  module.exports = require("@splunk/react-ui/Paragraph");