@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/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 = 151);
90
+ /******/ return __webpack_require__(__webpack_require__.s = 153);
91
91
  /******/ })
92
92
  /************************************************************************/
93
93
  /******/ ([
@@ -164,7 +164,7 @@ var VizBehavior;
164
164
  "use strict";
165
165
 
166
166
 
167
- var _defineProperty = __webpack_require__(8);
167
+ var _defineProperty = __webpack_require__(7);
168
168
 
169
169
  var __rest = this && this.__rest || function (s, e) {
170
170
  var t = {};
@@ -350,12 +350,18 @@ exports.generatePrecisionValues = generatePrecisionValues;
350
350
 
351
351
  /***/ }),
352
352
  /* 7 */
353
+ /***/ (function(module, exports) {
354
+
355
+ module.exports = require("@babel/runtime/helpers/defineProperty");
356
+
357
+ /***/ }),
358
+ /* 8 */
353
359
  /***/ (function(module, exports, __webpack_require__) {
354
360
 
355
361
  "use strict";
356
362
 
357
363
 
358
- var _typeof = __webpack_require__(20);
364
+ var _typeof = __webpack_require__(21);
359
365
 
360
366
  Object.defineProperty(exports, "__esModule", {
361
367
  value: true
@@ -476,12 +482,6 @@ var findClosestMatchFromDefaultList = function findClosestMatchFromDefaultList(s
476
482
 
477
483
  exports.findClosestMatchFromDefaultList = findClosestMatchFromDefaultList;
478
484
 
479
- /***/ }),
480
- /* 8 */
481
- /***/ (function(module, exports) {
482
-
483
- module.exports = require("@babel/runtime/helpers/defineProperty");
484
-
485
485
  /***/ }),
486
486
  /* 9 */
487
487
  /***/ (function(module, exports) {
@@ -582,7 +582,7 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
582
582
 
583
583
  return React.createElement(FixSizeItem, {
584
584
  "data-test": "fix-size-item",
585
- "data-splunk-visualization-version": "24.4.0 - 98920928c",
585
+ "data-splunk-visualization-version": "24.5.0 - b75bfbe79",
586
586
  width: width,
587
587
  height: height,
588
588
  backgroundColor: backgroundColor
@@ -628,21 +628,27 @@ module.exports = require("@splunk/visualizations-shared/SizeAwareWrapper");
628
628
 
629
629
  /***/ }),
630
630
  /* 18 */,
631
- /* 19 */,
632
- /* 20 */
631
+ /* 19 */
633
632
  /***/ (function(module, exports) {
634
633
 
635
- module.exports = require("@babel/runtime/helpers/typeof");
634
+ module.exports = require("@splunk/visualization-context/TimezoneContext");
636
635
 
637
636
  /***/ }),
637
+ /* 20 */,
638
638
  /* 21 */
639
639
  /***/ (function(module, exports) {
640
640
 
641
+ module.exports = require("@babel/runtime/helpers/typeof");
642
+
643
+ /***/ }),
644
+ /* 22 */
645
+ /***/ (function(module, exports) {
646
+
641
647
  module.exports = require("@splunk/themes/pick");
642
648
 
643
649
  /***/ }),
644
- /* 22 */,
645
- /* 23 */
650
+ /* 23 */,
651
+ /* 24 */
646
652
  /***/ (function(module, exports, __webpack_require__) {
647
653
 
648
654
  "use strict";
@@ -675,13 +681,104 @@ var pickFieldFromJSONSchema = function pickFieldFromJSONSchema(optionsSchema) {
675
681
  exports.pickFieldFromJSONSchema = pickFieldFromJSONSchema;
676
682
 
677
683
  /***/ }),
678
- /* 24 */
684
+ /* 25 */
685
+ /***/ (function(module, exports, __webpack_require__) {
686
+
687
+ "use strict";
688
+
689
+
690
+ Object.defineProperty(exports, "__esModule", {
691
+ value: true
692
+ });
693
+ exports.shouldShowIconPlaceholder = void 0;
694
+
695
+ var React = __webpack_require__(1);
696
+
697
+ var T = __webpack_require__(0);
698
+
699
+ var lodash_1 = __webpack_require__(2);
700
+
701
+ var i18n_1 = __webpack_require__(3);
702
+
703
+ var Message_1 = __webpack_require__(9);
704
+
705
+ var FixedSizeContainer_1 = __webpack_require__(13);
706
+ /**
707
+ * @method shouldShowIconPlaceholder
708
+ * @param {object} dataSources
709
+ * @param {boolean} loading
710
+ * @returns {boolean}
711
+ */
712
+
713
+
714
+ var shouldShowIconPlaceholder = function shouldShowIconPlaceholder(dataSources) {
715
+ var loading = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
716
+ var data = lodash_1.get(dataSources, 'primary.data.columns[0]', undefined);
717
+ var noData = data === undefined;
718
+ var fields = lodash_1.get(dataSources, 'primary.data.fields[0]', undefined);
719
+ var noFields = fields === undefined;
720
+ return loading || noData || noFields;
721
+ };
722
+
723
+ exports.shouldShowIconPlaceholder = shouldShowIconPlaceholder;
724
+ var propTypes = {
725
+ icon: T.func,
726
+ width: T.oneOfType([T.string, T.number]),
727
+ height: T.oneOfType([T.string, T.number]),
728
+ // eslint-disable-next-line react/no-unused-prop-types
729
+ backgroundColor: T.string,
730
+ iconColor: T.string
731
+ };
732
+ /**
733
+ * @method IconPlaceholder
734
+ * @param {IconPlaceholderProps} props
735
+ * @returns {React.ReactElement}
736
+ */
737
+
738
+ var IconPlaceholder = function IconPlaceholder(props) {
739
+ var width = props.width,
740
+ height = props.height,
741
+ icon = props.icon,
742
+ iconColor = props.iconColor;
743
+
744
+ if (icon) {
745
+ return React.createElement(icon, {
746
+ style: {
747
+ left: '50%',
748
+ top: '50%',
749
+ color: iconColor,
750
+ opacity: 0.15,
751
+ position: 'absolute',
752
+ transform: 'translate(-50%, -50%)'
753
+ },
754
+ width: '50%',
755
+ height: '50%'
756
+ });
757
+ }
758
+
759
+ return React.createElement(Message_1.default, {
760
+ width: width,
761
+ height: height,
762
+ level: "warning",
763
+ message: i18n_1._('No DataSource Connected')
764
+ });
765
+ };
766
+
767
+ IconPlaceholder.propTypes = propTypes;
768
+ IconPlaceholder.defaultProps = {
769
+ width: '100%',
770
+ height: 250
771
+ };
772
+ exports.default = FixedSizeContainer_1.default(IconPlaceholder);
773
+
774
+ /***/ }),
775
+ /* 26 */
679
776
  /***/ (function(module, exports, __webpack_require__) {
680
777
 
681
778
  "use strict";
682
779
 
683
780
 
684
- var _defineProperty = __webpack_require__(8);
781
+ var _defineProperty = __webpack_require__(7);
685
782
 
686
783
  Object.defineProperty(exports, "__esModule", {
687
784
  value: true
@@ -692,7 +789,7 @@ var T = __webpack_require__(0);
692
789
 
693
790
  var lodash_1 = __webpack_require__(2);
694
791
 
695
- var DataSource_1 = __webpack_require__(34);
792
+ var DataSource_1 = __webpack_require__(36);
696
793
 
697
794
  exports.SortParamsPropTypes = T.shape({
698
795
  currentSortKey: T.string,
@@ -745,7 +842,7 @@ var getSortingParams = function getSortingParams(_ref) {
745
842
  exports.getSortingParams = getSortingParams;
746
843
 
747
844
  /***/ }),
748
- /* 25 */
845
+ /* 27 */
749
846
  /***/ (function(module, exports, __webpack_require__) {
750
847
 
751
848
  "use strict";
@@ -809,98 +906,7 @@ var getPaginationParams = function getPaginationParams(_ref) {
809
906
  exports.getPaginationParams = getPaginationParams;
810
907
 
811
908
  /***/ }),
812
- /* 26 */
813
- /***/ (function(module, exports, __webpack_require__) {
814
-
815
- "use strict";
816
-
817
-
818
- Object.defineProperty(exports, "__esModule", {
819
- value: true
820
- });
821
- exports.shouldShowIconPlaceholder = void 0;
822
-
823
- var React = __webpack_require__(1);
824
-
825
- var T = __webpack_require__(0);
826
-
827
- var lodash_1 = __webpack_require__(2);
828
-
829
- var i18n_1 = __webpack_require__(3);
830
-
831
- var Message_1 = __webpack_require__(9);
832
-
833
- var FixedSizeContainer_1 = __webpack_require__(13);
834
- /**
835
- * @method shouldShowIconPlaceholder
836
- * @param {object} dataSources
837
- * @param {boolean} loading
838
- * @returns {boolean}
839
- */
840
-
841
-
842
- var shouldShowIconPlaceholder = function shouldShowIconPlaceholder(dataSources) {
843
- var loading = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
844
- var data = lodash_1.get(dataSources, 'primary.data.columns[0]', undefined);
845
- var noData = data === undefined;
846
- var fields = lodash_1.get(dataSources, 'primary.data.fields[0]', undefined);
847
- var noFields = fields === undefined;
848
- return loading || noData || noFields;
849
- };
850
-
851
- exports.shouldShowIconPlaceholder = shouldShowIconPlaceholder;
852
- var propTypes = {
853
- icon: T.func,
854
- width: T.oneOfType([T.string, T.number]),
855
- height: T.oneOfType([T.string, T.number]),
856
- // eslint-disable-next-line react/no-unused-prop-types
857
- backgroundColor: T.string,
858
- iconColor: T.string
859
- };
860
- /**
861
- * @method IconPlaceholder
862
- * @param {IconPlaceholderProps} props
863
- * @returns {React.ReactElement}
864
- */
865
-
866
- var IconPlaceholder = function IconPlaceholder(props) {
867
- var width = props.width,
868
- height = props.height,
869
- icon = props.icon,
870
- iconColor = props.iconColor;
871
-
872
- if (icon) {
873
- return React.createElement(icon, {
874
- style: {
875
- left: '50%',
876
- top: '50%',
877
- color: iconColor,
878
- opacity: 0.15,
879
- position: 'absolute',
880
- transform: 'translate(-50%, -50%)'
881
- },
882
- width: '50%',
883
- height: '50%'
884
- });
885
- }
886
-
887
- return React.createElement(Message_1.default, {
888
- width: width,
889
- height: height,
890
- level: "warning",
891
- message: i18n_1._('No DataSource Connected')
892
- });
893
- };
894
-
895
- IconPlaceholder.propTypes = propTypes;
896
- IconPlaceholder.defaultProps = {
897
- width: '100%',
898
- height: 250
899
- };
900
- exports.default = FixedSizeContainer_1.default(IconPlaceholder);
901
-
902
- /***/ }),
903
- /* 27 */
909
+ /* 28 */
904
910
  /***/ (function(module, exports, __webpack_require__) {
905
911
 
906
912
  "use strict";
@@ -928,7 +934,7 @@ var VizCategory;
928
934
  })(VizCategory = exports.VizCategory || (exports.VizCategory = {}));
929
935
 
930
936
  /***/ }),
931
- /* 28 */
937
+ /* 29 */
932
938
  /***/ (function(module, exports, __webpack_require__) {
933
939
 
934
940
  "use strict";
@@ -942,33 +948,37 @@ var React = __webpack_require__(1);
942
948
 
943
949
  var lodash_1 = __webpack_require__(2);
944
950
 
945
- var getSettingsFromThemedProps_1 = __webpack_require__(29);
951
+ var getSettingsFromThemedProps_1 = __webpack_require__(30);
952
+
953
+ var Options_1 = __webpack_require__(31);
954
+
955
+ var SanitizeProps_1 = __webpack_require__(32);
946
956
 
947
- var Options_1 = __webpack_require__(30);
957
+ var TimezoneContext_1 = __webpack_require__(19);
948
958
 
949
- var SanitizeProps_1 = __webpack_require__(31);
959
+ var moment_1 = __webpack_require__(33);
950
960
 
951
961
  var styled_components_1 = __webpack_require__(4);
952
962
 
953
- var SplunkVisualization_1 = __webpack_require__(32);
963
+ var SplunkVisualization_1 = __webpack_require__(34);
954
964
 
955
965
  var VizBehavior_1 = __webpack_require__(5);
956
966
 
957
- var getSorting_1 = __webpack_require__(24);
967
+ var getSorting_1 = __webpack_require__(26);
958
968
 
959
- var getPagination_1 = __webpack_require__(25);
969
+ var getPagination_1 = __webpack_require__(27);
960
970
 
961
- var useDeepMemo_1 = __webpack_require__(35);
971
+ var useDeepMemo_1 = __webpack_require__(37);
962
972
 
963
- var JSONSchemaUtils_1 = __webpack_require__(23);
973
+ var JSONSchemaUtils_1 = __webpack_require__(24);
964
974
 
965
- var MissingPropsMessage_1 = __webpack_require__(36);
975
+ var MissingPropsMessage_1 = __webpack_require__(38);
966
976
 
967
- var withEditModeCover_1 = __webpack_require__(37);
977
+ var withEditModeCover_1 = __webpack_require__(39);
968
978
 
969
- var withPlaceholder_1 = __webpack_require__(38);
979
+ var withPlaceholder_1 = __webpack_require__(40);
970
980
 
971
- var hocUtils_1 = __webpack_require__(7);
981
+ var hocUtils_1 = __webpack_require__(8);
972
982
  /**
973
983
  * hoc that wraps a pure react visualization in a Dashboard visualization
974
984
  * @param {DashboardVizOpts} opts
@@ -1001,6 +1011,23 @@ var withDashboardViz = function withDashboardViz(opts) {
1001
1011
  theme = props.theme,
1002
1012
  onRequestParamsChange = props.onRequestParamsChange;
1003
1013
 
1014
+ var _React$useContext = React.useContext(TimezoneContext_1.default),
1015
+ serializedTimezone = _React$useContext.serializedTimezone;
1016
+
1017
+ if (serializedTimezone) {
1018
+ /*
1019
+ @splunk/moment currently does not allow us to customize the timezone on a per visualization basis.
1020
+ This ensures that if a timezone was provided via TimezoneContext @splunk/moment time formatting
1021
+ will use it.
1022
+ @TODO(pwied):
1023
+ - remove when we moved away from @splunk/moment
1024
+ - provide timezone context to dynamic option evaluation phase
1025
+ */
1026
+ if (!moment_1.default.getDefaultSplunkTimezone()) {
1027
+ moment_1.default.setDefaultSplunkTimezone(serializedTimezone);
1028
+ }
1029
+ }
1030
+
1004
1031
  var themeFunc = function themeFunc(themeVar) {
1005
1032
  var _a, _b;
1006
1033
 
@@ -1029,7 +1056,7 @@ var withDashboardViz = function withDashboardViz(opts) {
1029
1056
  console.error("unexpected error evaluating options: + ".concat(e.message));
1030
1057
  return {};
1031
1058
  }
1032
- }, [currentThemeFamily, currentThemeColorScheme, currentThemeDensity, options, context, dataSources]); // useEffect hook needs to be initialized before any early returns
1059
+ }, [currentThemeFamily, currentThemeColorScheme, currentThemeDensity, options, context, dataSources, serializedTimezone]); // useEffect hook needs to be initialized before any early returns
1033
1060
  // this is in accordance with the order of hook calls being the same on each render https://reactjs.org/docs/hooks-rules.html#explanation
1034
1061
 
1035
1062
  React.useEffect(function () {
@@ -1152,25 +1179,31 @@ var withDashboardViz = function withDashboardViz(opts) {
1152
1179
  exports.default = withDashboardViz;
1153
1180
 
1154
1181
  /***/ }),
1155
- /* 29 */
1182
+ /* 30 */
1156
1183
  /***/ (function(module, exports) {
1157
1184
 
1158
1185
  module.exports = require("@splunk/themes/getSettingsFromThemedProps");
1159
1186
 
1160
1187
  /***/ }),
1161
- /* 30 */
1188
+ /* 31 */
1162
1189
  /***/ (function(module, exports) {
1163
1190
 
1164
1191
  module.exports = require("@splunk/visualization-encoding/Options");
1165
1192
 
1166
1193
  /***/ }),
1167
- /* 31 */
1194
+ /* 32 */
1168
1195
  /***/ (function(module, exports) {
1169
1196
 
1170
1197
  module.exports = require("@splunk/visualizations-shared/SanitizeProps");
1171
1198
 
1172
1199
  /***/ }),
1173
- /* 32 */
1200
+ /* 33 */
1201
+ /***/ (function(module, exports) {
1202
+
1203
+ module.exports = require("@splunk/moment");
1204
+
1205
+ /***/ }),
1206
+ /* 34 */
1174
1207
  /***/ (function(module, exports, __webpack_require__) {
1175
1208
 
1176
1209
  "use strict";
@@ -1188,7 +1221,7 @@ var T = __webpack_require__(0);
1188
1221
 
1189
1222
  var lodash_1 = __webpack_require__(2);
1190
1223
 
1191
- var VizActionHandler_1 = __webpack_require__(33); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
1224
+ var VizActionHandler_1 = __webpack_require__(35); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
1192
1225
 
1193
1226
 
1194
1227
  exports.INITIAL_WIDTH = 250;
@@ -1321,7 +1354,7 @@ SplunkVisualization.defaultProps = {
1321
1354
  exports.default = SplunkVisualization;
1322
1355
 
1323
1356
  /***/ }),
1324
- /* 33 */
1357
+ /* 35 */
1325
1358
  /***/ (function(module, exports, __webpack_require__) {
1326
1359
 
1327
1360
  "use strict";
@@ -1358,7 +1391,7 @@ var DefaultVizActionHandler = /*#__PURE__*/function () {
1358
1391
  exports.DefaultVizActionHandler = DefaultVizActionHandler;
1359
1392
 
1360
1393
  /***/ }),
1361
- /* 34 */
1394
+ /* 36 */
1362
1395
  /***/ (function(module, exports, __webpack_require__) {
1363
1396
 
1364
1397
  "use strict";
@@ -1371,7 +1404,7 @@ exports.validSortDirs = void 0;
1371
1404
  exports.validSortDirs = ['asc', 'desc', 'none'];
1372
1405
 
1373
1406
  /***/ }),
1374
- /* 35 */
1407
+ /* 37 */
1375
1408
  /***/ (function(module, exports, __webpack_require__) {
1376
1409
 
1377
1410
  "use strict";
@@ -1416,7 +1449,7 @@ var useDeepMemo = function useDeepMemo(fn, dependencies) {
1416
1449
  exports.useDeepMemo = useDeepMemo;
1417
1450
 
1418
1451
  /***/ }),
1419
- /* 36 */
1452
+ /* 38 */
1420
1453
  /***/ (function(module, exports, __webpack_require__) {
1421
1454
 
1422
1455
  "use strict";
@@ -1496,7 +1529,7 @@ exports.MissingPropsMessage.defaultProps = {
1496
1529
  exports.default = FixedSizeContainer_1.default(exports.MissingPropsMessage);
1497
1530
 
1498
1531
  /***/ }),
1499
- /* 37 */
1532
+ /* 39 */
1500
1533
  /***/ (function(module, exports, __webpack_require__) {
1501
1534
 
1502
1535
  "use strict";
@@ -1510,14 +1543,14 @@ var React = __webpack_require__(1);
1510
1543
 
1511
1544
  var styled_components_1 = __webpack_require__(4);
1512
1545
 
1513
- var hocUtils_1 = __webpack_require__(7);
1546
+ var hocUtils_1 = __webpack_require__(8);
1514
1547
 
1515
1548
  var Cover = styled_components_1.default.div.withConfig({
1516
1549
  displayName: "withEditModeCover__Cover",
1517
1550
  componentId: "sc-1gsbnxb-0"
1518
1551
  })(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
1519
1552
  var Blocker = styled_components_1.default.div.attrs({
1520
- 'data-splunk-visualization-version': "24.4.0 - 98920928c"
1553
+ 'data-splunk-visualization-version': "24.5.0 - b75bfbe79"
1521
1554
  }).withConfig({
1522
1555
  displayName: "withEditModeCover__Blocker",
1523
1556
  componentId: "sc-1gsbnxb-1"
@@ -1548,7 +1581,7 @@ var withEditModeCover = function withEditModeCover(Visualization, disableEditMod
1548
1581
  exports.default = withEditModeCover;
1549
1582
 
1550
1583
  /***/ }),
1551
- /* 38 */
1584
+ /* 40 */
1552
1585
  /***/ (function(module, exports, __webpack_require__) {
1553
1586
 
1554
1587
  "use strict";
@@ -1564,11 +1597,11 @@ var colorUtils_1 = __webpack_require__(12);
1564
1597
 
1565
1598
  var variables_1 = __webpack_require__(11);
1566
1599
 
1567
- var IconPlaceholder_1 = __webpack_require__(26);
1600
+ var IconPlaceholder_1 = __webpack_require__(25);
1568
1601
 
1569
1602
  var VizBehavior_1 = __webpack_require__(5);
1570
1603
 
1571
- var hocUtils_1 = __webpack_require__(7);
1604
+ var hocUtils_1 = __webpack_require__(8);
1572
1605
 
1573
1606
  var withPlaceholder = function withPlaceholder(Visualization) {
1574
1607
  var useIconPlaceholder = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : IconPlaceholder_1.shouldShowIconPlaceholder;
@@ -1612,35 +1645,33 @@ var withPlaceholder = function withPlaceholder(Visualization) {
1612
1645
  exports.default = withPlaceholder;
1613
1646
 
1614
1647
  /***/ }),
1615
- /* 39 */,
1616
- /* 40 */,
1617
1648
  /* 41 */,
1618
- /* 42 */
1649
+ /* 42 */,
1650
+ /* 43 */,
1651
+ /* 44 */
1619
1652
  /***/ (function(module, exports) {
1620
1653
 
1621
1654
  module.exports = require("@splunk/visualization-icons/placeholders");
1622
1655
 
1623
1656
  /***/ }),
1624
- /* 43 */
1657
+ /* 45 */
1625
1658
  /***/ (function(module, exports) {
1626
1659
 
1627
1660
  module.exports = require("@splunk/visualization-icons");
1628
1661
 
1629
1662
  /***/ }),
1630
- /* 44 */,
1631
- /* 45 */,
1632
1663
  /* 46 */,
1633
1664
  /* 47 */,
1634
1665
  /* 48 */,
1635
1666
  /* 49 */,
1636
- /* 50 */
1667
+ /* 50 */,
1668
+ /* 51 */,
1669
+ /* 52 */
1637
1670
  /***/ (function(module, exports) {
1638
1671
 
1639
1672
  module.exports = require("@splunk/visualization-color-palettes/editors/PresetPalettes");
1640
1673
 
1641
1674
  /***/ }),
1642
- /* 51 */,
1643
- /* 52 */,
1644
1675
  /* 53 */,
1645
1676
  /* 54 */,
1646
1677
  /* 55 */,
@@ -1648,7 +1679,8 @@ module.exports = require("@splunk/visualization-color-palettes/editors/PresetPal
1648
1679
  /* 57 */,
1649
1680
  /* 58 */,
1650
1681
  /* 59 */,
1651
- /* 60 */
1682
+ /* 60 */,
1683
+ /* 61 */
1652
1684
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1653
1685
 
1654
1686
  "use strict";
@@ -1671,7 +1703,6 @@ VizStyleWrapper.displayName = 'VizStyleWrapper';
1671
1703
  /* harmony default export */ __webpack_exports__["default"] = (VizStyleWrapper);
1672
1704
 
1673
1705
  /***/ }),
1674
- /* 61 */,
1675
1706
  /* 62 */,
1676
1707
  /* 63 */,
1677
1708
  /* 64 */,
@@ -1679,7 +1710,9 @@ VizStyleWrapper.displayName = 'VizStyleWrapper';
1679
1710
  /* 66 */,
1680
1711
  /* 67 */,
1681
1712
  /* 68 */,
1682
- /* 69 */
1713
+ /* 69 */,
1714
+ /* 70 */,
1715
+ /* 71 */
1683
1716
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1684
1717
 
1685
1718
  "use strict";
@@ -1702,8 +1735,6 @@ var StaticBackgroundColorEditor = {
1702
1735
  /* harmony default export */ __webpack_exports__["default"] = (StaticBackgroundColorEditor);
1703
1736
 
1704
1737
  /***/ }),
1705
- /* 70 */,
1706
- /* 71 */,
1707
1738
  /* 72 */,
1708
1739
  /* 73 */,
1709
1740
  /* 74 */,
@@ -1721,26 +1752,26 @@ var StaticBackgroundColorEditor = {
1721
1752
  /* 86 */,
1722
1753
  /* 87 */,
1723
1754
  /* 88 */,
1724
- /* 89 */
1755
+ /* 89 */,
1756
+ /* 90 */,
1757
+ /* 91 */
1725
1758
  /***/ (function(module, exports) {
1726
1759
 
1727
1760
  module.exports = require("@babel/runtime/helpers/inherits");
1728
1761
 
1729
1762
  /***/ }),
1730
- /* 90 */
1763
+ /* 92 */
1731
1764
  /***/ (function(module, exports) {
1732
1765
 
1733
1766
  module.exports = require("@babel/runtime/helpers/possibleConstructorReturn");
1734
1767
 
1735
1768
  /***/ }),
1736
- /* 91 */
1769
+ /* 93 */
1737
1770
  /***/ (function(module, exports) {
1738
1771
 
1739
1772
  module.exports = require("@babel/runtime/helpers/getPrototypeOf");
1740
1773
 
1741
1774
  /***/ }),
1742
- /* 92 */,
1743
- /* 93 */,
1744
1775
  /* 94 */,
1745
1776
  /* 95 */,
1746
1777
  /* 96 */,
@@ -1764,7 +1795,9 @@ module.exports = require("@babel/runtime/helpers/getPrototypeOf");
1764
1795
  /* 114 */,
1765
1796
  /* 115 */,
1766
1797
  /* 116 */,
1767
- /* 117 */
1798
+ /* 117 */,
1799
+ /* 118 */,
1800
+ /* 119 */
1768
1801
  /***/ (function(module, exports, __webpack_require__) {
1769
1802
 
1770
1803
  "use strict";
@@ -1774,11 +1807,11 @@ var _classCallCheck = __webpack_require__(10);
1774
1807
 
1775
1808
  var _createClass = __webpack_require__(16);
1776
1809
 
1777
- var _inherits = __webpack_require__(89);
1810
+ var _inherits = __webpack_require__(91);
1778
1811
 
1779
- var _possibleConstructorReturn = __webpack_require__(90);
1812
+ var _possibleConstructorReturn = __webpack_require__(92);
1780
1813
 
1781
- var _getPrototypeOf = __webpack_require__(91);
1814
+ var _getPrototypeOf = __webpack_require__(93);
1782
1815
 
1783
1816
  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); }; }
1784
1817
 
@@ -1792,7 +1825,7 @@ var React = __webpack_require__(1);
1792
1825
 
1793
1826
  var lodash_1 = __webpack_require__(2);
1794
1827
 
1795
- var SvgMutator_1 = __webpack_require__(157);
1828
+ var SvgMutator_1 = __webpack_require__(159);
1796
1829
  /**
1797
1830
  * This react component simply take an SVG document, and mutates it by applying data to the document according to
1798
1831
  * 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.
@@ -1920,8 +1953,6 @@ SvgChoroplethDynamic.defaultProps = {
1920
1953
  };
1921
1954
 
1922
1955
  /***/ }),
1923
- /* 118 */,
1924
- /* 119 */,
1925
1956
  /* 120 */,
1926
1957
  /* 121 */,
1927
1958
  /* 122 */,
@@ -1953,7 +1984,9 @@ SvgChoroplethDynamic.defaultProps = {
1953
1984
  /* 148 */,
1954
1985
  /* 149 */,
1955
1986
  /* 150 */,
1956
- /* 151 */
1987
+ /* 151 */,
1988
+ /* 152 */,
1989
+ /* 153 */
1957
1990
  /***/ (function(module, exports, __webpack_require__) {
1958
1991
 
1959
1992
  "use strict";
@@ -1983,23 +2016,23 @@ var T = __webpack_require__(0);
1983
2016
 
1984
2017
  var lodash_1 = __webpack_require__(2);
1985
2018
 
1986
- var FeatureFlagContext_1 = __webpack_require__(152);
2019
+ var FeatureFlagContext_1 = __webpack_require__(154);
1987
2020
 
1988
- var ImageContext_1 = __webpack_require__(153);
2021
+ var ImageContext_1 = __webpack_require__(155);
1989
2022
 
1990
- var FileDownloader_1 = __webpack_require__(154);
2023
+ var FileDownloader_1 = __webpack_require__(156);
1991
2024
 
1992
- var Downloader_1 = __webpack_require__(155);
2025
+ var Downloader_1 = __webpack_require__(157);
1993
2026
 
1994
- var withDashboardViz_1 = __webpack_require__(28);
2027
+ var withDashboardViz_1 = __webpack_require__(29);
1995
2028
 
1996
- var PureChoroplethSvg_1 = __webpack_require__(156);
2029
+ var PureChoroplethSvg_1 = __webpack_require__(158);
1997
2030
 
1998
- var SvgChoroplethDynamic_1 = __webpack_require__(117);
2031
+ var SvgChoroplethDynamic_1 = __webpack_require__(119);
1999
2032
 
2000
- var config_1 = __webpack_require__(161);
2033
+ var config_1 = __webpack_require__(163);
2001
2034
 
2002
- var IconPlaceholder_1 = __webpack_require__(26);
2035
+ var IconPlaceholder_1 = __webpack_require__(25);
2003
2036
 
2004
2037
  exports.config = config_1.default;
2005
2038
  exports.PureChoroplethSvg = PureChoroplethSvg_1.default; // todo: need remove when deleting @splunk/react-visualizations package
@@ -2083,31 +2116,31 @@ var platformViz = withDashboardViz_1.default({
2083
2116
  exports.default = platformViz;
2084
2117
 
2085
2118
  /***/ }),
2086
- /* 152 */
2119
+ /* 154 */
2087
2120
  /***/ (function(module, exports) {
2088
2121
 
2089
2122
  module.exports = require("@splunk/visualization-context/FeatureFlagContext");
2090
2123
 
2091
2124
  /***/ }),
2092
- /* 153 */
2125
+ /* 155 */
2093
2126
  /***/ (function(module, exports) {
2094
2127
 
2095
2128
  module.exports = require("@splunk/visualization-context/ImageContext");
2096
2129
 
2097
2130
  /***/ }),
2098
- /* 154 */
2131
+ /* 156 */
2099
2132
  /***/ (function(module, exports) {
2100
2133
 
2101
2134
  module.exports = require("@splunk/visualizations-shared/FileDownloader");
2102
2135
 
2103
2136
  /***/ }),
2104
- /* 155 */
2137
+ /* 157 */
2105
2138
  /***/ (function(module, exports) {
2106
2139
 
2107
2140
  module.exports = require("@splunk/visualizations-shared/Downloader");
2108
2141
 
2109
2142
  /***/ }),
2110
- /* 156 */
2143
+ /* 158 */
2111
2144
  /***/ (function(module, exports, __webpack_require__) {
2112
2145
 
2113
2146
  "use strict";
@@ -2141,9 +2174,9 @@ var style_1 = __webpack_require__(14);
2141
2174
 
2142
2175
  var SizeAwareWrapper_1 = __webpack_require__(17);
2143
2176
 
2144
- var SvgChoroplethDynamic_1 = __webpack_require__(117);
2177
+ var SvgChoroplethDynamic_1 = __webpack_require__(119);
2145
2178
 
2146
- var VizStyleWrapper_1 = __webpack_require__(60);
2179
+ var VizStyleWrapper_1 = __webpack_require__(61);
2147
2180
 
2148
2181
  var Container = styled_components_1.default.div.withConfig({
2149
2182
  displayName: "PureChoroplethSvg__Container",
@@ -2213,7 +2246,7 @@ PureChoroplethSvg.defaultProps = {
2213
2246
  exports.default = styled_components_1.withTheme(PureChoroplethSvg);
2214
2247
 
2215
2248
  /***/ }),
2216
- /* 157 */
2249
+ /* 159 */
2217
2250
  /***/ (function(module, exports, __webpack_require__) {
2218
2251
 
2219
2252
  "use strict";
@@ -2231,11 +2264,11 @@ exports.SvgMutator = exports.ERROR_NON_ATTRIBUTE_MUTATION = void 0;
2231
2264
 
2232
2265
  var React = __webpack_require__(1);
2233
2266
 
2234
- var XPath = __webpack_require__(158);
2267
+ var XPath = __webpack_require__(160);
2235
2268
 
2236
- var xmldom_1 = __webpack_require__(159);
2269
+ var xmldom_1 = __webpack_require__(161);
2237
2270
 
2238
- var jexl = __webpack_require__(160);
2271
+ var jexl = __webpack_require__(162);
2239
2272
  /**
2240
2273
  * An error message indicating that a mutation has attempted to target anything other than SVG attribute(s)
2241
2274
  * @type {string}
@@ -2624,25 +2657,25 @@ exports.SvgMutator = SvgMutator;
2624
2657
  SvgMutator.serializer = new xmldom_1.XMLSerializer();
2625
2658
 
2626
2659
  /***/ }),
2627
- /* 158 */
2660
+ /* 160 */
2628
2661
  /***/ (function(module, exports) {
2629
2662
 
2630
2663
  module.exports = require("xpath");
2631
2664
 
2632
2665
  /***/ }),
2633
- /* 159 */
2666
+ /* 161 */
2634
2667
  /***/ (function(module, exports) {
2635
2668
 
2636
2669
  module.exports = require("@xmldom/xmldom");
2637
2670
 
2638
2671
  /***/ }),
2639
- /* 160 */
2672
+ /* 162 */
2640
2673
  /***/ (function(module, exports) {
2641
2674
 
2642
2675
  module.exports = require("jexl");
2643
2676
 
2644
2677
  /***/ }),
2645
- /* 161 */
2678
+ /* 163 */
2646
2679
  /***/ (function(module, exports, __webpack_require__) {
2647
2680
 
2648
2681
  "use strict";
@@ -2654,25 +2687,25 @@ Object.defineProperty(exports, "__esModule", {
2654
2687
 
2655
2688
  var i18n_1 = __webpack_require__(3);
2656
2689
 
2657
- var pick_1 = __webpack_require__(21);
2690
+ var pick_1 = __webpack_require__(22);
2658
2691
 
2659
2692
  var variables_1 = __webpack_require__(11);
2660
2693
 
2661
2694
  var schemaUtils_1 = __webpack_require__(15);
2662
2695
 
2663
- var PresetPalettes_1 = __webpack_require__(50);
2696
+ var PresetPalettes_1 = __webpack_require__(52);
2664
2697
 
2665
- var visualization_icons_1 = __webpack_require__(43);
2698
+ var visualization_icons_1 = __webpack_require__(45);
2666
2699
 
2667
- var placeholders_1 = __webpack_require__(42);
2700
+ var placeholders_1 = __webpack_require__(44);
2668
2701
 
2669
2702
  var VizBehavior_1 = __webpack_require__(5);
2670
2703
 
2671
2704
  var configUtils_1 = __webpack_require__(6);
2672
2705
 
2673
- var VizCategory_1 = __webpack_require__(27);
2706
+ var VizCategory_1 = __webpack_require__(28);
2674
2707
 
2675
- var StaticBackgroundColorEditor_1 = __webpack_require__(69);
2708
+ var StaticBackgroundColorEditor_1 = __webpack_require__(71);
2676
2709
 
2677
2710
  var dataContract = {
2678
2711
  requiredDataSources: [],