@splunk/visualizations 24.4.0 → 24.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (122) hide show
  1. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Area_Editor.png +0 -0
  2. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Bar_Editor.png +0 -0
  3. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Bubble_Editor.png +0 -0
  4. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_ChoroplethSvg_Editor.png +0 -0
  5. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Column_Editor.png +0 -0
  6. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Ellipse_Editor.png +0 -0
  7. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_FillerGauge_Editor.png +0 -0
  8. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Image_Editor.png +0 -0
  9. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Line_Editor.png +0 -0
  10. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_LinkGraph_Editor.png +0 -0
  11. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Map_Editor.png +0 -0
  12. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Markdown_Editor.png +0 -0
  13. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_MarkerGauge_Editor.png +0 -0
  14. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Parallel_Coordinates_Editor.png +0 -0
  15. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Pie_Editor.png +0 -0
  16. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Punchcard_Editor.png +0 -0
  17. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Rectangle_Editor.png +0 -0
  18. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Sankey_Editor.png +0 -0
  19. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Scatter_Editor.png +0 -0
  20. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Single_Value_Editor.png +0 -0
  21. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Single_Value_Icon_Editor.png +0 -0
  22. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Single_Value_Radial_Editor.png +0 -0
  23. package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Table_Editor.png +0 -0
  24. package/.loki/reference/chrome_docker_Visualizations_Choropleth_Svg_Choropleth_Svg_Placeholder_If_No_Svg_And_No_Data.png +0 -0
  25. package/.loki/reference/chrome_docker_Visualizations_Map_Map_Bubble_Layer_Geostats_By_GET_Dynamic_Coloring.png +0 -0
  26. package/.loki/reference/chrome_docker_Visualizations_Map_Map_Bubble_Layer_Geostats_By_Internal_Fields.png +0 -0
  27. package/.loki/reference/chrome_docker_Visualizations_Map_Map_Bubble_Layer_Geostats_By_Mostly_null.png +0 -0
  28. package/.loki/reference/chrome_docker_Visualizations_Map_Map_Bubble_Layer_Geostats_Dynamic_Coloring.png +0 -0
  29. package/.loki/reference/chrome_docker_Visualizations_Markdown_Markdown_Background_Color_af575a.png +0 -0
  30. package/.loki/reference/chrome_docker_Visualizations_Markdown_Markdown_Basic_Markdown.png +0 -0
  31. package/.loki/reference/chrome_docker_Visualizations_Markdown_Markdown_Begin_with_Text_Instead_of_Header.png +0 -0
  32. package/.loki/reference/chrome_docker_Visualizations_Markdown_Markdown_Font_Color_purple.png +0 -0
  33. package/.loki/reference/chrome_docker_Visualizations_Markdown_Markdown_Font_Size_extraLarge.png +0 -0
  34. package/.loki/reference/chrome_docker_Visualizations_Pie_Pie_Placeholder_if_empty_columns_and_fields.png +0 -0
  35. package/.loki/reference/chrome_docker_Visualizations_Pie_Pie_Placeholder_if_invalid_label_data_specified.png +0 -0
  36. package/.loki/reference/chrome_docker_Visualizations_Pie_Pie_Placeholder_if_invalid_value_data_specified.png +0 -0
  37. package/.loki/reference/chrome_docker_Visualizations_Pie_Pie_Placeholder_if_missing_column.png +0 -0
  38. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Use_Time_Type_Series_Data.png +0 -0
  39. package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Use_Time_Type_Series_Data.png +0 -0
  40. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Cell_Types.png +0 -0
  41. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Header_Visibility_fixed.png +0 -0
  42. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Sparkline.png +0 -0
  43. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Sparkline_Custom.png +0 -0
  44. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Sparklines_Adv.png +0 -0
  45. package/.loki/reference/chrome_docker_Visualizations_Table_Table_Time_Zone_Time_Formatting.png +0 -0
  46. package/Area.js +246 -218
  47. package/Area.js.map +1 -1
  48. package/Bar.js +238 -210
  49. package/Bar.js.map +1 -1
  50. package/Bubble.js +231 -203
  51. package/Bubble.js.map +1 -1
  52. package/ChoroplethSvg.js +230 -197
  53. package/ChoroplethSvg.js.map +1 -1
  54. package/Column.js +238 -210
  55. package/Column.js.map +1 -1
  56. package/Ellipse.js +203 -170
  57. package/Ellipse.js.map +1 -1
  58. package/FillerGauge.js +222 -189
  59. package/FillerGauge.js.map +1 -1
  60. package/Image.js +199 -164
  61. package/Image.js.map +1 -1
  62. package/Line.js +239 -211
  63. package/Line.js.map +1 -1
  64. package/LinkGraph.js +264 -223
  65. package/LinkGraph.js.map +1 -1
  66. package/Map.config.js +39 -25
  67. package/Map.config.js.map +1 -1
  68. package/Map.js +469 -327
  69. package/Map.js.map +1 -1
  70. package/Markdown.config.js +29 -1
  71. package/Markdown.config.js.map +1 -1
  72. package/Markdown.js +513 -267
  73. package/Markdown.js.map +1 -1
  74. package/MarkerGauge.js +941 -906
  75. package/MarkerGauge.js.map +1 -1
  76. package/ParallelCoordinates.js +230 -196
  77. package/ParallelCoordinates.js.map +1 -1
  78. package/Pie.js +309 -249
  79. package/Pie.js.map +1 -1
  80. package/Punchcard.js +263 -229
  81. package/Punchcard.js.map +1 -1
  82. package/Rectangle.js +217 -182
  83. package/Rectangle.js.map +1 -1
  84. package/Sankey.js +269 -230
  85. package/Sankey.js.map +1 -1
  86. package/Scatter.js +314 -286
  87. package/Scatter.js.map +1 -1
  88. package/SingleValue.js +398 -363
  89. package/SingleValue.js.map +1 -1
  90. package/SingleValueBasic.js +25 -25
  91. package/SingleValueBasic.js.map +1 -1
  92. package/SingleValueIcon.js +2821 -2653
  93. package/SingleValueIcon.js.map +1 -1
  94. package/SingleValueRadial.js +359 -324
  95. package/SingleValueRadial.js.map +1 -1
  96. package/Table.config.js +2 -1
  97. package/Table.config.js.map +1 -1
  98. package/Table.js +623 -347
  99. package/Table.js.map +1 -1
  100. package/common/Charting.js +21 -21
  101. package/common/Charting.js.map +1 -1
  102. package/common/ChartingApi.js +2 -2
  103. package/common/ChartingApi.js.map +1 -1
  104. package/common/EventsDoc.js +18 -18
  105. package/common/EventsDoc.js.map +1 -1
  106. package/common/GaugeMajorTicks.js +10 -10
  107. package/common/GaugeMajorTicks.js.map +1 -1
  108. package/common/GaugeValueMarker.js +10 -10
  109. package/common/GaugeValueMarker.js.map +1 -1
  110. package/common/OptionsDoc.js +217 -174
  111. package/common/OptionsDoc.js.map +1 -1
  112. package/common/SplunkVisualization.js +4 -4
  113. package/common/SplunkVisualization.js.map +1 -1
  114. package/common/ThemesDoc.js +26 -26
  115. package/common/ThemesDoc.js.map +1 -1
  116. package/common/chartingUtils.js +3 -3
  117. package/common/chartingUtils.js.map +1 -1
  118. package/common/gaugeUtils.js +2 -2
  119. package/common/shapeUtils.js +2 -2
  120. package/common/withDashboardViz.js +80 -48
  121. package/common/withDashboardViz.js.map +1 -1
  122. package/package.json +13 -11
package/Rectangle.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 = 237);
90
+ /******/ return __webpack_require__(__webpack_require__.s = 240);
91
91
  /******/ })
92
92
  /************************************************************************/
93
93
  /******/ ({
@@ -202,7 +202,7 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
202
202
 
203
203
  return React.createElement(FixSizeItem, {
204
204
  "data-test": "fix-size-item",
205
- "data-splunk-visualization-version": "24.4.0 - 98920928c",
205
+ "data-splunk-visualization-version": "24.5.0 - b75bfbe79",
206
206
  width: width,
207
207
  height: height,
208
208
  backgroundColor: backgroundColor
@@ -224,7 +224,7 @@ exports.default = withFixedSizeContainer;
224
224
 
225
225
  /***/ }),
226
226
 
227
- /***/ 132:
227
+ /***/ 134:
228
228
  /***/ (function(module, exports, __webpack_require__) {
229
229
 
230
230
  "use strict";
@@ -256,13 +256,13 @@ var lodash_1 = __webpack_require__(2);
256
256
 
257
257
  var T = __webpack_require__(0);
258
258
 
259
- var withDashboardViz_1 = __webpack_require__(28);
259
+ var withDashboardViz_1 = __webpack_require__(29);
260
260
 
261
- var config_1 = __webpack_require__(238);
261
+ var config_1 = __webpack_require__(241);
262
262
 
263
263
  exports.config = config_1.default;
264
264
 
265
- var shapeUtils_1 = __webpack_require__(96);
265
+ var shapeUtils_1 = __webpack_require__(98);
266
266
 
267
267
  var SVGContainer = styled_components_1.default.svg.withConfig({
268
268
  displayName: "Rectangle__SVGContainer",
@@ -367,7 +367,7 @@ module.exports = require("@splunk/visualizations-shared/SizeAwareWrapper");
367
367
  /***/ 19:
368
368
  /***/ (function(module, exports) {
369
369
 
370
- module.exports = require("@splunk/visualizations-shared/propUtils");
370
+ module.exports = require("@splunk/visualization-context/TimezoneContext");
371
371
 
372
372
  /***/ }),
373
373
 
@@ -381,18 +381,25 @@ module.exports = require("lodash");
381
381
  /***/ 20:
382
382
  /***/ (function(module, exports) {
383
383
 
384
- module.exports = require("@babel/runtime/helpers/typeof");
384
+ module.exports = require("@splunk/visualizations-shared/propUtils");
385
385
 
386
386
  /***/ }),
387
387
 
388
388
  /***/ 21:
389
389
  /***/ (function(module, exports) {
390
390
 
391
+ module.exports = require("@babel/runtime/helpers/typeof");
392
+
393
+ /***/ }),
394
+
395
+ /***/ 22:
396
+ /***/ (function(module, exports) {
397
+
391
398
  module.exports = require("@splunk/themes/pick");
392
399
 
393
400
  /***/ }),
394
401
 
395
- /***/ 23:
402
+ /***/ 24:
396
403
  /***/ (function(module, exports, __webpack_require__) {
397
404
 
398
405
  "use strict";
@@ -426,7 +433,7 @@ exports.pickFieldFromJSONSchema = pickFieldFromJSONSchema;
426
433
 
427
434
  /***/ }),
428
435
 
429
- /***/ 237:
436
+ /***/ 240:
430
437
  /***/ (function(module, exports, __webpack_require__) {
431
438
 
432
439
  "use strict";
@@ -456,9 +463,9 @@ Object.defineProperty(exports, "__esModule", {
456
463
  });
457
464
  exports.default = void 0;
458
465
 
459
- __exportStar(__webpack_require__(132), exports);
466
+ __exportStar(__webpack_require__(134), exports);
460
467
 
461
- var Rectangle_1 = __webpack_require__(132);
468
+ var Rectangle_1 = __webpack_require__(134);
462
469
 
463
470
  Object.defineProperty(exports, "default", {
464
471
  enumerable: true,
@@ -469,7 +476,7 @@ Object.defineProperty(exports, "default", {
469
476
 
470
477
  /***/ }),
471
478
 
472
- /***/ 238:
479
+ /***/ 241:
473
480
  /***/ (function(module, exports, __webpack_require__) {
474
481
 
475
482
  "use strict";
@@ -480,29 +487,29 @@ Object.defineProperty(exports, "__esModule", {
480
487
  });
481
488
  exports.optionsSchema = void 0;
482
489
 
483
- var visualization_icons_1 = __webpack_require__(43);
490
+ var visualization_icons_1 = __webpack_require__(45);
484
491
 
485
492
  var schemaUtils_1 = __webpack_require__(15);
486
493
 
487
494
  var i18n_1 = __webpack_require__(3);
488
495
 
489
- var PresetPalettes_1 = __webpack_require__(50);
496
+ var PresetPalettes_1 = __webpack_require__(52);
490
497
 
491
- var themes_1 = __webpack_require__(71);
498
+ var themes_1 = __webpack_require__(65);
492
499
 
493
500
  var VizBehavior_1 = __webpack_require__(5);
494
501
 
495
- var VizCategory_1 = __webpack_require__(27);
502
+ var VizCategory_1 = __webpack_require__(28);
496
503
 
497
504
  var configUtils_1 = __webpack_require__(6);
498
505
 
499
- var DynamicFillColorEditor_1 = __webpack_require__(92);
506
+ var DynamicFillColorEditor_1 = __webpack_require__(94);
500
507
 
501
- var DynamicStrokeColorEditor_1 = __webpack_require__(93);
508
+ var DynamicStrokeColorEditor_1 = __webpack_require__(95);
502
509
 
503
- var StaticFillColorEditor_1 = __webpack_require__(94);
510
+ var StaticFillColorEditor_1 = __webpack_require__(96);
504
511
 
505
- var StaticStrokeColorEditor_1 = __webpack_require__(95);
512
+ var StaticStrokeColorEditor_1 = __webpack_require__(97);
506
513
 
507
514
  var dataContract = {
508
515
  requiredDataSources: [],
@@ -818,13 +825,105 @@ exports.default = configUtils_1.enhanceConfig(config);
818
825
 
819
826
  /***/ }),
820
827
 
821
- /***/ 24:
828
+ /***/ 25:
829
+ /***/ (function(module, exports, __webpack_require__) {
830
+
831
+ "use strict";
832
+
833
+
834
+ Object.defineProperty(exports, "__esModule", {
835
+ value: true
836
+ });
837
+ exports.shouldShowIconPlaceholder = void 0;
838
+
839
+ var React = __webpack_require__(1);
840
+
841
+ var T = __webpack_require__(0);
842
+
843
+ var lodash_1 = __webpack_require__(2);
844
+
845
+ var i18n_1 = __webpack_require__(3);
846
+
847
+ var Message_1 = __webpack_require__(9);
848
+
849
+ var FixedSizeContainer_1 = __webpack_require__(13);
850
+ /**
851
+ * @method shouldShowIconPlaceholder
852
+ * @param {object} dataSources
853
+ * @param {boolean} loading
854
+ * @returns {boolean}
855
+ */
856
+
857
+
858
+ var shouldShowIconPlaceholder = function shouldShowIconPlaceholder(dataSources) {
859
+ var loading = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
860
+ var data = lodash_1.get(dataSources, 'primary.data.columns[0]', undefined);
861
+ var noData = data === undefined;
862
+ var fields = lodash_1.get(dataSources, 'primary.data.fields[0]', undefined);
863
+ var noFields = fields === undefined;
864
+ return loading || noData || noFields;
865
+ };
866
+
867
+ exports.shouldShowIconPlaceholder = shouldShowIconPlaceholder;
868
+ var propTypes = {
869
+ icon: T.func,
870
+ width: T.oneOfType([T.string, T.number]),
871
+ height: T.oneOfType([T.string, T.number]),
872
+ // eslint-disable-next-line react/no-unused-prop-types
873
+ backgroundColor: T.string,
874
+ iconColor: T.string
875
+ };
876
+ /**
877
+ * @method IconPlaceholder
878
+ * @param {IconPlaceholderProps} props
879
+ * @returns {React.ReactElement}
880
+ */
881
+
882
+ var IconPlaceholder = function IconPlaceholder(props) {
883
+ var width = props.width,
884
+ height = props.height,
885
+ icon = props.icon,
886
+ iconColor = props.iconColor;
887
+
888
+ if (icon) {
889
+ return React.createElement(icon, {
890
+ style: {
891
+ left: '50%',
892
+ top: '50%',
893
+ color: iconColor,
894
+ opacity: 0.15,
895
+ position: 'absolute',
896
+ transform: 'translate(-50%, -50%)'
897
+ },
898
+ width: '50%',
899
+ height: '50%'
900
+ });
901
+ }
902
+
903
+ return React.createElement(Message_1.default, {
904
+ width: width,
905
+ height: height,
906
+ level: "warning",
907
+ message: i18n_1._('No DataSource Connected')
908
+ });
909
+ };
910
+
911
+ IconPlaceholder.propTypes = propTypes;
912
+ IconPlaceholder.defaultProps = {
913
+ width: '100%',
914
+ height: 250
915
+ };
916
+ exports.default = FixedSizeContainer_1.default(IconPlaceholder);
917
+
918
+ /***/ }),
919
+
920
+ /***/ 26:
822
921
  /***/ (function(module, exports, __webpack_require__) {
823
922
 
824
923
  "use strict";
825
924
 
826
925
 
827
- var _defineProperty = __webpack_require__(8);
926
+ var _defineProperty = __webpack_require__(7);
828
927
 
829
928
  Object.defineProperty(exports, "__esModule", {
830
929
  value: true
@@ -835,7 +934,7 @@ var T = __webpack_require__(0);
835
934
 
836
935
  var lodash_1 = __webpack_require__(2);
837
936
 
838
- var DataSource_1 = __webpack_require__(34);
937
+ var DataSource_1 = __webpack_require__(36);
839
938
 
840
939
  exports.SortParamsPropTypes = T.shape({
841
940
  currentSortKey: T.string,
@@ -889,7 +988,7 @@ exports.getSortingParams = getSortingParams;
889
988
 
890
989
  /***/ }),
891
990
 
892
- /***/ 25:
991
+ /***/ 27:
893
992
  /***/ (function(module, exports, __webpack_require__) {
894
993
 
895
994
  "use strict";
@@ -954,99 +1053,7 @@ exports.getPaginationParams = getPaginationParams;
954
1053
 
955
1054
  /***/ }),
956
1055
 
957
- /***/ 26:
958
- /***/ (function(module, exports, __webpack_require__) {
959
-
960
- "use strict";
961
-
962
-
963
- Object.defineProperty(exports, "__esModule", {
964
- value: true
965
- });
966
- exports.shouldShowIconPlaceholder = void 0;
967
-
968
- var React = __webpack_require__(1);
969
-
970
- var T = __webpack_require__(0);
971
-
972
- var lodash_1 = __webpack_require__(2);
973
-
974
- var i18n_1 = __webpack_require__(3);
975
-
976
- var Message_1 = __webpack_require__(9);
977
-
978
- var FixedSizeContainer_1 = __webpack_require__(13);
979
- /**
980
- * @method shouldShowIconPlaceholder
981
- * @param {object} dataSources
982
- * @param {boolean} loading
983
- * @returns {boolean}
984
- */
985
-
986
-
987
- var shouldShowIconPlaceholder = function shouldShowIconPlaceholder(dataSources) {
988
- var loading = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
989
- var data = lodash_1.get(dataSources, 'primary.data.columns[0]', undefined);
990
- var noData = data === undefined;
991
- var fields = lodash_1.get(dataSources, 'primary.data.fields[0]', undefined);
992
- var noFields = fields === undefined;
993
- return loading || noData || noFields;
994
- };
995
-
996
- exports.shouldShowIconPlaceholder = shouldShowIconPlaceholder;
997
- var propTypes = {
998
- icon: T.func,
999
- width: T.oneOfType([T.string, T.number]),
1000
- height: T.oneOfType([T.string, T.number]),
1001
- // eslint-disable-next-line react/no-unused-prop-types
1002
- backgroundColor: T.string,
1003
- iconColor: T.string
1004
- };
1005
- /**
1006
- * @method IconPlaceholder
1007
- * @param {IconPlaceholderProps} props
1008
- * @returns {React.ReactElement}
1009
- */
1010
-
1011
- var IconPlaceholder = function IconPlaceholder(props) {
1012
- var width = props.width,
1013
- height = props.height,
1014
- icon = props.icon,
1015
- iconColor = props.iconColor;
1016
-
1017
- if (icon) {
1018
- return React.createElement(icon, {
1019
- style: {
1020
- left: '50%',
1021
- top: '50%',
1022
- color: iconColor,
1023
- opacity: 0.15,
1024
- position: 'absolute',
1025
- transform: 'translate(-50%, -50%)'
1026
- },
1027
- width: '50%',
1028
- height: '50%'
1029
- });
1030
- }
1031
-
1032
- return React.createElement(Message_1.default, {
1033
- width: width,
1034
- height: height,
1035
- level: "warning",
1036
- message: i18n_1._('No DataSource Connected')
1037
- });
1038
- };
1039
-
1040
- IconPlaceholder.propTypes = propTypes;
1041
- IconPlaceholder.defaultProps = {
1042
- width: '100%',
1043
- height: 250
1044
- };
1045
- exports.default = FixedSizeContainer_1.default(IconPlaceholder);
1046
-
1047
- /***/ }),
1048
-
1049
- /***/ 27:
1056
+ /***/ 28:
1050
1057
  /***/ (function(module, exports, __webpack_require__) {
1051
1058
 
1052
1059
  "use strict";
@@ -1075,7 +1082,7 @@ var VizCategory;
1075
1082
 
1076
1083
  /***/ }),
1077
1084
 
1078
- /***/ 28:
1085
+ /***/ 29:
1079
1086
  /***/ (function(module, exports, __webpack_require__) {
1080
1087
 
1081
1088
  "use strict";
@@ -1089,33 +1096,37 @@ var React = __webpack_require__(1);
1089
1096
 
1090
1097
  var lodash_1 = __webpack_require__(2);
1091
1098
 
1092
- var getSettingsFromThemedProps_1 = __webpack_require__(29);
1099
+ var getSettingsFromThemedProps_1 = __webpack_require__(30);
1100
+
1101
+ var Options_1 = __webpack_require__(31);
1093
1102
 
1094
- var Options_1 = __webpack_require__(30);
1103
+ var SanitizeProps_1 = __webpack_require__(32);
1095
1104
 
1096
- var SanitizeProps_1 = __webpack_require__(31);
1105
+ var TimezoneContext_1 = __webpack_require__(19);
1106
+
1107
+ var moment_1 = __webpack_require__(33);
1097
1108
 
1098
1109
  var styled_components_1 = __webpack_require__(4);
1099
1110
 
1100
- var SplunkVisualization_1 = __webpack_require__(32);
1111
+ var SplunkVisualization_1 = __webpack_require__(34);
1101
1112
 
1102
1113
  var VizBehavior_1 = __webpack_require__(5);
1103
1114
 
1104
- var getSorting_1 = __webpack_require__(24);
1115
+ var getSorting_1 = __webpack_require__(26);
1105
1116
 
1106
- var getPagination_1 = __webpack_require__(25);
1117
+ var getPagination_1 = __webpack_require__(27);
1107
1118
 
1108
- var useDeepMemo_1 = __webpack_require__(35);
1119
+ var useDeepMemo_1 = __webpack_require__(37);
1109
1120
 
1110
- var JSONSchemaUtils_1 = __webpack_require__(23);
1121
+ var JSONSchemaUtils_1 = __webpack_require__(24);
1111
1122
 
1112
- var MissingPropsMessage_1 = __webpack_require__(36);
1123
+ var MissingPropsMessage_1 = __webpack_require__(38);
1113
1124
 
1114
- var withEditModeCover_1 = __webpack_require__(37);
1125
+ var withEditModeCover_1 = __webpack_require__(39);
1115
1126
 
1116
- var withPlaceholder_1 = __webpack_require__(38);
1127
+ var withPlaceholder_1 = __webpack_require__(40);
1117
1128
 
1118
- var hocUtils_1 = __webpack_require__(7);
1129
+ var hocUtils_1 = __webpack_require__(8);
1119
1130
  /**
1120
1131
  * hoc that wraps a pure react visualization in a Dashboard visualization
1121
1132
  * @param {DashboardVizOpts} opts
@@ -1148,6 +1159,23 @@ var withDashboardViz = function withDashboardViz(opts) {
1148
1159
  theme = props.theme,
1149
1160
  onRequestParamsChange = props.onRequestParamsChange;
1150
1161
 
1162
+ var _React$useContext = React.useContext(TimezoneContext_1.default),
1163
+ serializedTimezone = _React$useContext.serializedTimezone;
1164
+
1165
+ if (serializedTimezone) {
1166
+ /*
1167
+ @splunk/moment currently does not allow us to customize the timezone on a per visualization basis.
1168
+ This ensures that if a timezone was provided via TimezoneContext @splunk/moment time formatting
1169
+ will use it.
1170
+ @TODO(pwied):
1171
+ - remove when we moved away from @splunk/moment
1172
+ - provide timezone context to dynamic option evaluation phase
1173
+ */
1174
+ if (!moment_1.default.getDefaultSplunkTimezone()) {
1175
+ moment_1.default.setDefaultSplunkTimezone(serializedTimezone);
1176
+ }
1177
+ }
1178
+
1151
1179
  var themeFunc = function themeFunc(themeVar) {
1152
1180
  var _a, _b;
1153
1181
 
@@ -1176,7 +1204,7 @@ var withDashboardViz = function withDashboardViz(opts) {
1176
1204
  console.error("unexpected error evaluating options: + ".concat(e.message));
1177
1205
  return {};
1178
1206
  }
1179
- }, [currentThemeFamily, currentThemeColorScheme, currentThemeDensity, options, context, dataSources]); // useEffect hook needs to be initialized before any early returns
1207
+ }, [currentThemeFamily, currentThemeColorScheme, currentThemeDensity, options, context, dataSources, serializedTimezone]); // useEffect hook needs to be initialized before any early returns
1180
1208
  // this is in accordance with the order of hook calls being the same on each render https://reactjs.org/docs/hooks-rules.html#explanation
1181
1209
 
1182
1210
  React.useEffect(function () {
@@ -1300,35 +1328,42 @@ exports.default = withDashboardViz;
1300
1328
 
1301
1329
  /***/ }),
1302
1330
 
1303
- /***/ 29:
1331
+ /***/ 3:
1304
1332
  /***/ (function(module, exports) {
1305
1333
 
1306
- module.exports = require("@splunk/themes/getSettingsFromThemedProps");
1334
+ module.exports = require("@splunk/ui-utils/i18n");
1307
1335
 
1308
1336
  /***/ }),
1309
1337
 
1310
- /***/ 3:
1338
+ /***/ 30:
1311
1339
  /***/ (function(module, exports) {
1312
1340
 
1313
- module.exports = require("@splunk/ui-utils/i18n");
1341
+ module.exports = require("@splunk/themes/getSettingsFromThemedProps");
1314
1342
 
1315
1343
  /***/ }),
1316
1344
 
1317
- /***/ 30:
1345
+ /***/ 31:
1318
1346
  /***/ (function(module, exports) {
1319
1347
 
1320
1348
  module.exports = require("@splunk/visualization-encoding/Options");
1321
1349
 
1322
1350
  /***/ }),
1323
1351
 
1324
- /***/ 31:
1352
+ /***/ 32:
1325
1353
  /***/ (function(module, exports) {
1326
1354
 
1327
1355
  module.exports = require("@splunk/visualizations-shared/SanitizeProps");
1328
1356
 
1329
1357
  /***/ }),
1330
1358
 
1331
- /***/ 32:
1359
+ /***/ 33:
1360
+ /***/ (function(module, exports) {
1361
+
1362
+ module.exports = require("@splunk/moment");
1363
+
1364
+ /***/ }),
1365
+
1366
+ /***/ 34:
1332
1367
  /***/ (function(module, exports, __webpack_require__) {
1333
1368
 
1334
1369
  "use strict";
@@ -1346,7 +1381,7 @@ var T = __webpack_require__(0);
1346
1381
 
1347
1382
  var lodash_1 = __webpack_require__(2);
1348
1383
 
1349
- var VizActionHandler_1 = __webpack_require__(33); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
1384
+ var VizActionHandler_1 = __webpack_require__(35); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
1350
1385
 
1351
1386
 
1352
1387
  exports.INITIAL_WIDTH = 250;
@@ -1480,7 +1515,7 @@ exports.default = SplunkVisualization;
1480
1515
 
1481
1516
  /***/ }),
1482
1517
 
1483
- /***/ 33:
1518
+ /***/ 35:
1484
1519
  /***/ (function(module, exports, __webpack_require__) {
1485
1520
 
1486
1521
  "use strict";
@@ -1518,7 +1553,7 @@ exports.DefaultVizActionHandler = DefaultVizActionHandler;
1518
1553
 
1519
1554
  /***/ }),
1520
1555
 
1521
- /***/ 34:
1556
+ /***/ 36:
1522
1557
  /***/ (function(module, exports, __webpack_require__) {
1523
1558
 
1524
1559
  "use strict";
@@ -1532,7 +1567,7 @@ exports.validSortDirs = ['asc', 'desc', 'none'];
1532
1567
 
1533
1568
  /***/ }),
1534
1569
 
1535
- /***/ 35:
1570
+ /***/ 37:
1536
1571
  /***/ (function(module, exports, __webpack_require__) {
1537
1572
 
1538
1573
  "use strict";
@@ -1578,7 +1613,7 @@ exports.useDeepMemo = useDeepMemo;
1578
1613
 
1579
1614
  /***/ }),
1580
1615
 
1581
- /***/ 36:
1616
+ /***/ 38:
1582
1617
  /***/ (function(module, exports, __webpack_require__) {
1583
1618
 
1584
1619
  "use strict";
@@ -1659,7 +1694,7 @@ exports.default = FixedSizeContainer_1.default(exports.MissingPropsMessage);
1659
1694
 
1660
1695
  /***/ }),
1661
1696
 
1662
- /***/ 37:
1697
+ /***/ 39:
1663
1698
  /***/ (function(module, exports, __webpack_require__) {
1664
1699
 
1665
1700
  "use strict";
@@ -1673,14 +1708,14 @@ var React = __webpack_require__(1);
1673
1708
 
1674
1709
  var styled_components_1 = __webpack_require__(4);
1675
1710
 
1676
- var hocUtils_1 = __webpack_require__(7);
1711
+ var hocUtils_1 = __webpack_require__(8);
1677
1712
 
1678
1713
  var Cover = styled_components_1.default.div.withConfig({
1679
1714
  displayName: "withEditModeCover__Cover",
1680
1715
  componentId: "sc-1gsbnxb-0"
1681
1716
  })(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
1682
1717
  var Blocker = styled_components_1.default.div.attrs({
1683
- 'data-splunk-visualization-version': "24.4.0 - 98920928c"
1718
+ 'data-splunk-visualization-version': "24.5.0 - b75bfbe79"
1684
1719
  }).withConfig({
1685
1720
  displayName: "withEditModeCover__Blocker",
1686
1721
  componentId: "sc-1gsbnxb-1"
@@ -1712,7 +1747,14 @@ exports.default = withEditModeCover;
1712
1747
 
1713
1748
  /***/ }),
1714
1749
 
1715
- /***/ 38:
1750
+ /***/ 4:
1751
+ /***/ (function(module, exports) {
1752
+
1753
+ module.exports = require("styled-components");
1754
+
1755
+ /***/ }),
1756
+
1757
+ /***/ 40:
1716
1758
  /***/ (function(module, exports, __webpack_require__) {
1717
1759
 
1718
1760
  "use strict";
@@ -1728,11 +1770,11 @@ var colorUtils_1 = __webpack_require__(12);
1728
1770
 
1729
1771
  var variables_1 = __webpack_require__(11);
1730
1772
 
1731
- var IconPlaceholder_1 = __webpack_require__(26);
1773
+ var IconPlaceholder_1 = __webpack_require__(25);
1732
1774
 
1733
1775
  var VizBehavior_1 = __webpack_require__(5);
1734
1776
 
1735
- var hocUtils_1 = __webpack_require__(7);
1777
+ var hocUtils_1 = __webpack_require__(8);
1736
1778
 
1737
1779
  var withPlaceholder = function withPlaceholder(Visualization) {
1738
1780
  var useIconPlaceholder = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : IconPlaceholder_1.shouldShowIconPlaceholder;
@@ -1777,14 +1819,7 @@ exports.default = withPlaceholder;
1777
1819
 
1778
1820
  /***/ }),
1779
1821
 
1780
- /***/ 4:
1781
- /***/ (function(module, exports) {
1782
-
1783
- module.exports = require("styled-components");
1784
-
1785
- /***/ }),
1786
-
1787
- /***/ 43:
1822
+ /***/ 45:
1788
1823
  /***/ (function(module, exports) {
1789
1824
 
1790
1825
  module.exports = require("@splunk/visualization-icons");
@@ -1829,7 +1864,7 @@ var VizBehavior;
1829
1864
 
1830
1865
  /***/ }),
1831
1866
 
1832
- /***/ 50:
1867
+ /***/ 52:
1833
1868
  /***/ (function(module, exports) {
1834
1869
 
1835
1870
  module.exports = require("@splunk/visualization-color-palettes/editors/PresetPalettes");
@@ -1842,7 +1877,7 @@ module.exports = require("@splunk/visualization-color-palettes/editors/PresetPal
1842
1877
  "use strict";
1843
1878
 
1844
1879
 
1845
- var _defineProperty = __webpack_require__(8);
1880
+ var _defineProperty = __webpack_require__(7);
1846
1881
 
1847
1882
  var __rest = this && this.__rest || function (s, e) {
1848
1883
  var t = {};
@@ -2028,13 +2063,27 @@ exports.generatePrecisionValues = generatePrecisionValues;
2028
2063
 
2029
2064
  /***/ }),
2030
2065
 
2066
+ /***/ 65:
2067
+ /***/ (function(module, exports) {
2068
+
2069
+ module.exports = require("@splunk/themes");
2070
+
2071
+ /***/ }),
2072
+
2031
2073
  /***/ 7:
2074
+ /***/ (function(module, exports) {
2075
+
2076
+ module.exports = require("@babel/runtime/helpers/defineProperty");
2077
+
2078
+ /***/ }),
2079
+
2080
+ /***/ 8:
2032
2081
  /***/ (function(module, exports, __webpack_require__) {
2033
2082
 
2034
2083
  "use strict";
2035
2084
 
2036
2085
 
2037
- var _typeof = __webpack_require__(20);
2086
+ var _typeof = __webpack_require__(21);
2038
2087
 
2039
2088
  Object.defineProperty(exports, "__esModule", {
2040
2089
  value: true
@@ -2157,20 +2206,6 @@ exports.findClosestMatchFromDefaultList = findClosestMatchFromDefaultList;
2157
2206
 
2158
2207
  /***/ }),
2159
2208
 
2160
- /***/ 71:
2161
- /***/ (function(module, exports) {
2162
-
2163
- module.exports = require("@splunk/themes");
2164
-
2165
- /***/ }),
2166
-
2167
- /***/ 8:
2168
- /***/ (function(module, exports) {
2169
-
2170
- module.exports = require("@babel/runtime/helpers/defineProperty");
2171
-
2172
- /***/ }),
2173
-
2174
2209
  /***/ 9:
2175
2210
  /***/ (function(module, exports) {
2176
2211
 
@@ -2178,7 +2213,7 @@ module.exports = require("@splunk/visualizations-shared/Message");
2178
2213
 
2179
2214
  /***/ }),
2180
2215
 
2181
- /***/ 92:
2216
+ /***/ 94:
2182
2217
  /***/ (function(module, exports, __webpack_require__) {
2183
2218
 
2184
2219
  "use strict";
@@ -2234,7 +2269,7 @@ exports.getDynamicFillColorEditor = getDynamicFillColorEditor;
2234
2269
 
2235
2270
  /***/ }),
2236
2271
 
2237
- /***/ 93:
2272
+ /***/ 95:
2238
2273
  /***/ (function(module, exports, __webpack_require__) {
2239
2274
 
2240
2275
  "use strict";
@@ -2290,7 +2325,7 @@ exports.getDynamicStrokeColorEditor = getDynamicStrokeColorEditor;
2290
2325
 
2291
2326
  /***/ }),
2292
2327
 
2293
- /***/ 94:
2328
+ /***/ 96:
2294
2329
  /***/ (function(module, exports, __webpack_require__) {
2295
2330
 
2296
2331
  "use strict";
@@ -2317,7 +2352,7 @@ exports.default = StaticFillColorEditor;
2317
2352
 
2318
2353
  /***/ }),
2319
2354
 
2320
- /***/ 95:
2355
+ /***/ 97:
2321
2356
  /***/ (function(module, exports, __webpack_require__) {
2322
2357
 
2323
2358
  "use strict";
@@ -2344,7 +2379,7 @@ exports.default = StaticStrokeColorEditor;
2344
2379
 
2345
2380
  /***/ }),
2346
2381
 
2347
- /***/ 96:
2382
+ /***/ 98:
2348
2383
  /***/ (function(module, exports, __webpack_require__) {
2349
2384
 
2350
2385
  "use strict";
@@ -2359,11 +2394,11 @@ var lodash_1 = __webpack_require__(2);
2359
2394
 
2360
2395
  var styled_components_1 = __webpack_require__(4);
2361
2396
 
2362
- var pick_1 = __webpack_require__(21);
2397
+ var pick_1 = __webpack_require__(22);
2363
2398
 
2364
2399
  var variables_1 = __webpack_require__(11);
2365
2400
 
2366
- var propUtils_1 = __webpack_require__(19); // map for new options names to old option names
2401
+ var propUtils_1 = __webpack_require__(20); // map for new options names to old option names
2367
2402
 
2368
2403
 
2369
2404
  var shapeOptionsMapping = {