@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/Ellipse.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 = 165);
90
+ /******/ return __webpack_require__(__webpack_require__.s = 167);
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
@@ -631,23 +631,29 @@ module.exports = require("@splunk/visualizations-shared/SizeAwareWrapper");
631
631
  /* 19 */
632
632
  /***/ (function(module, exports) {
633
633
 
634
- module.exports = require("@splunk/visualizations-shared/propUtils");
634
+ module.exports = require("@splunk/visualization-context/TimezoneContext");
635
635
 
636
636
  /***/ }),
637
637
  /* 20 */
638
638
  /***/ (function(module, exports) {
639
639
 
640
- module.exports = require("@babel/runtime/helpers/typeof");
640
+ module.exports = require("@splunk/visualizations-shared/propUtils");
641
641
 
642
642
  /***/ }),
643
643
  /* 21 */
644
644
  /***/ (function(module, exports) {
645
645
 
646
+ module.exports = require("@babel/runtime/helpers/typeof");
647
+
648
+ /***/ }),
649
+ /* 22 */
650
+ /***/ (function(module, exports) {
651
+
646
652
  module.exports = require("@splunk/themes/pick");
647
653
 
648
654
  /***/ }),
649
- /* 22 */,
650
- /* 23 */
655
+ /* 23 */,
656
+ /* 24 */
651
657
  /***/ (function(module, exports, __webpack_require__) {
652
658
 
653
659
  "use strict";
@@ -680,13 +686,104 @@ var pickFieldFromJSONSchema = function pickFieldFromJSONSchema(optionsSchema) {
680
686
  exports.pickFieldFromJSONSchema = pickFieldFromJSONSchema;
681
687
 
682
688
  /***/ }),
683
- /* 24 */
689
+ /* 25 */
684
690
  /***/ (function(module, exports, __webpack_require__) {
685
691
 
686
692
  "use strict";
687
693
 
688
694
 
689
- var _defineProperty = __webpack_require__(8);
695
+ Object.defineProperty(exports, "__esModule", {
696
+ value: true
697
+ });
698
+ exports.shouldShowIconPlaceholder = void 0;
699
+
700
+ var React = __webpack_require__(1);
701
+
702
+ var T = __webpack_require__(0);
703
+
704
+ var lodash_1 = __webpack_require__(2);
705
+
706
+ var i18n_1 = __webpack_require__(3);
707
+
708
+ var Message_1 = __webpack_require__(9);
709
+
710
+ var FixedSizeContainer_1 = __webpack_require__(13);
711
+ /**
712
+ * @method shouldShowIconPlaceholder
713
+ * @param {object} dataSources
714
+ * @param {boolean} loading
715
+ * @returns {boolean}
716
+ */
717
+
718
+
719
+ var shouldShowIconPlaceholder = function shouldShowIconPlaceholder(dataSources) {
720
+ var loading = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
721
+ var data = lodash_1.get(dataSources, 'primary.data.columns[0]', undefined);
722
+ var noData = data === undefined;
723
+ var fields = lodash_1.get(dataSources, 'primary.data.fields[0]', undefined);
724
+ var noFields = fields === undefined;
725
+ return loading || noData || noFields;
726
+ };
727
+
728
+ exports.shouldShowIconPlaceholder = shouldShowIconPlaceholder;
729
+ var propTypes = {
730
+ icon: T.func,
731
+ width: T.oneOfType([T.string, T.number]),
732
+ height: T.oneOfType([T.string, T.number]),
733
+ // eslint-disable-next-line react/no-unused-prop-types
734
+ backgroundColor: T.string,
735
+ iconColor: T.string
736
+ };
737
+ /**
738
+ * @method IconPlaceholder
739
+ * @param {IconPlaceholderProps} props
740
+ * @returns {React.ReactElement}
741
+ */
742
+
743
+ var IconPlaceholder = function IconPlaceholder(props) {
744
+ var width = props.width,
745
+ height = props.height,
746
+ icon = props.icon,
747
+ iconColor = props.iconColor;
748
+
749
+ if (icon) {
750
+ return React.createElement(icon, {
751
+ style: {
752
+ left: '50%',
753
+ top: '50%',
754
+ color: iconColor,
755
+ opacity: 0.15,
756
+ position: 'absolute',
757
+ transform: 'translate(-50%, -50%)'
758
+ },
759
+ width: '50%',
760
+ height: '50%'
761
+ });
762
+ }
763
+
764
+ return React.createElement(Message_1.default, {
765
+ width: width,
766
+ height: height,
767
+ level: "warning",
768
+ message: i18n_1._('No DataSource Connected')
769
+ });
770
+ };
771
+
772
+ IconPlaceholder.propTypes = propTypes;
773
+ IconPlaceholder.defaultProps = {
774
+ width: '100%',
775
+ height: 250
776
+ };
777
+ exports.default = FixedSizeContainer_1.default(IconPlaceholder);
778
+
779
+ /***/ }),
780
+ /* 26 */
781
+ /***/ (function(module, exports, __webpack_require__) {
782
+
783
+ "use strict";
784
+
785
+
786
+ var _defineProperty = __webpack_require__(7);
690
787
 
691
788
  Object.defineProperty(exports, "__esModule", {
692
789
  value: true
@@ -697,7 +794,7 @@ var T = __webpack_require__(0);
697
794
 
698
795
  var lodash_1 = __webpack_require__(2);
699
796
 
700
- var DataSource_1 = __webpack_require__(34);
797
+ var DataSource_1 = __webpack_require__(36);
701
798
 
702
799
  exports.SortParamsPropTypes = T.shape({
703
800
  currentSortKey: T.string,
@@ -750,7 +847,7 @@ var getSortingParams = function getSortingParams(_ref) {
750
847
  exports.getSortingParams = getSortingParams;
751
848
 
752
849
  /***/ }),
753
- /* 25 */
850
+ /* 27 */
754
851
  /***/ (function(module, exports, __webpack_require__) {
755
852
 
756
853
  "use strict";
@@ -814,98 +911,7 @@ var getPaginationParams = function getPaginationParams(_ref) {
814
911
  exports.getPaginationParams = getPaginationParams;
815
912
 
816
913
  /***/ }),
817
- /* 26 */
818
- /***/ (function(module, exports, __webpack_require__) {
819
-
820
- "use strict";
821
-
822
-
823
- Object.defineProperty(exports, "__esModule", {
824
- value: true
825
- });
826
- exports.shouldShowIconPlaceholder = void 0;
827
-
828
- var React = __webpack_require__(1);
829
-
830
- var T = __webpack_require__(0);
831
-
832
- var lodash_1 = __webpack_require__(2);
833
-
834
- var i18n_1 = __webpack_require__(3);
835
-
836
- var Message_1 = __webpack_require__(9);
837
-
838
- var FixedSizeContainer_1 = __webpack_require__(13);
839
- /**
840
- * @method shouldShowIconPlaceholder
841
- * @param {object} dataSources
842
- * @param {boolean} loading
843
- * @returns {boolean}
844
- */
845
-
846
-
847
- var shouldShowIconPlaceholder = function shouldShowIconPlaceholder(dataSources) {
848
- var loading = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
849
- var data = lodash_1.get(dataSources, 'primary.data.columns[0]', undefined);
850
- var noData = data === undefined;
851
- var fields = lodash_1.get(dataSources, 'primary.data.fields[0]', undefined);
852
- var noFields = fields === undefined;
853
- return loading || noData || noFields;
854
- };
855
-
856
- exports.shouldShowIconPlaceholder = shouldShowIconPlaceholder;
857
- var propTypes = {
858
- icon: T.func,
859
- width: T.oneOfType([T.string, T.number]),
860
- height: T.oneOfType([T.string, T.number]),
861
- // eslint-disable-next-line react/no-unused-prop-types
862
- backgroundColor: T.string,
863
- iconColor: T.string
864
- };
865
- /**
866
- * @method IconPlaceholder
867
- * @param {IconPlaceholderProps} props
868
- * @returns {React.ReactElement}
869
- */
870
-
871
- var IconPlaceholder = function IconPlaceholder(props) {
872
- var width = props.width,
873
- height = props.height,
874
- icon = props.icon,
875
- iconColor = props.iconColor;
876
-
877
- if (icon) {
878
- return React.createElement(icon, {
879
- style: {
880
- left: '50%',
881
- top: '50%',
882
- color: iconColor,
883
- opacity: 0.15,
884
- position: 'absolute',
885
- transform: 'translate(-50%, -50%)'
886
- },
887
- width: '50%',
888
- height: '50%'
889
- });
890
- }
891
-
892
- return React.createElement(Message_1.default, {
893
- width: width,
894
- height: height,
895
- level: "warning",
896
- message: i18n_1._('No DataSource Connected')
897
- });
898
- };
899
-
900
- IconPlaceholder.propTypes = propTypes;
901
- IconPlaceholder.defaultProps = {
902
- width: '100%',
903
- height: 250
904
- };
905
- exports.default = FixedSizeContainer_1.default(IconPlaceholder);
906
-
907
- /***/ }),
908
- /* 27 */
914
+ /* 28 */
909
915
  /***/ (function(module, exports, __webpack_require__) {
910
916
 
911
917
  "use strict";
@@ -933,7 +939,7 @@ var VizCategory;
933
939
  })(VizCategory = exports.VizCategory || (exports.VizCategory = {}));
934
940
 
935
941
  /***/ }),
936
- /* 28 */
942
+ /* 29 */
937
943
  /***/ (function(module, exports, __webpack_require__) {
938
944
 
939
945
  "use strict";
@@ -947,33 +953,37 @@ var React = __webpack_require__(1);
947
953
 
948
954
  var lodash_1 = __webpack_require__(2);
949
955
 
950
- var getSettingsFromThemedProps_1 = __webpack_require__(29);
956
+ var getSettingsFromThemedProps_1 = __webpack_require__(30);
951
957
 
952
- var Options_1 = __webpack_require__(30);
958
+ var Options_1 = __webpack_require__(31);
953
959
 
954
- var SanitizeProps_1 = __webpack_require__(31);
960
+ var SanitizeProps_1 = __webpack_require__(32);
961
+
962
+ var TimezoneContext_1 = __webpack_require__(19);
963
+
964
+ var moment_1 = __webpack_require__(33);
955
965
 
956
966
  var styled_components_1 = __webpack_require__(4);
957
967
 
958
- var SplunkVisualization_1 = __webpack_require__(32);
968
+ var SplunkVisualization_1 = __webpack_require__(34);
959
969
 
960
970
  var VizBehavior_1 = __webpack_require__(5);
961
971
 
962
- var getSorting_1 = __webpack_require__(24);
972
+ var getSorting_1 = __webpack_require__(26);
963
973
 
964
- var getPagination_1 = __webpack_require__(25);
974
+ var getPagination_1 = __webpack_require__(27);
965
975
 
966
- var useDeepMemo_1 = __webpack_require__(35);
976
+ var useDeepMemo_1 = __webpack_require__(37);
967
977
 
968
- var JSONSchemaUtils_1 = __webpack_require__(23);
978
+ var JSONSchemaUtils_1 = __webpack_require__(24);
969
979
 
970
- var MissingPropsMessage_1 = __webpack_require__(36);
980
+ var MissingPropsMessage_1 = __webpack_require__(38);
971
981
 
972
- var withEditModeCover_1 = __webpack_require__(37);
982
+ var withEditModeCover_1 = __webpack_require__(39);
973
983
 
974
- var withPlaceholder_1 = __webpack_require__(38);
984
+ var withPlaceholder_1 = __webpack_require__(40);
975
985
 
976
- var hocUtils_1 = __webpack_require__(7);
986
+ var hocUtils_1 = __webpack_require__(8);
977
987
  /**
978
988
  * hoc that wraps a pure react visualization in a Dashboard visualization
979
989
  * @param {DashboardVizOpts} opts
@@ -1006,6 +1016,23 @@ var withDashboardViz = function withDashboardViz(opts) {
1006
1016
  theme = props.theme,
1007
1017
  onRequestParamsChange = props.onRequestParamsChange;
1008
1018
 
1019
+ var _React$useContext = React.useContext(TimezoneContext_1.default),
1020
+ serializedTimezone = _React$useContext.serializedTimezone;
1021
+
1022
+ if (serializedTimezone) {
1023
+ /*
1024
+ @splunk/moment currently does not allow us to customize the timezone on a per visualization basis.
1025
+ This ensures that if a timezone was provided via TimezoneContext @splunk/moment time formatting
1026
+ will use it.
1027
+ @TODO(pwied):
1028
+ - remove when we moved away from @splunk/moment
1029
+ - provide timezone context to dynamic option evaluation phase
1030
+ */
1031
+ if (!moment_1.default.getDefaultSplunkTimezone()) {
1032
+ moment_1.default.setDefaultSplunkTimezone(serializedTimezone);
1033
+ }
1034
+ }
1035
+
1009
1036
  var themeFunc = function themeFunc(themeVar) {
1010
1037
  var _a, _b;
1011
1038
 
@@ -1034,7 +1061,7 @@ var withDashboardViz = function withDashboardViz(opts) {
1034
1061
  console.error("unexpected error evaluating options: + ".concat(e.message));
1035
1062
  return {};
1036
1063
  }
1037
- }, [currentThemeFamily, currentThemeColorScheme, currentThemeDensity, options, context, dataSources]); // useEffect hook needs to be initialized before any early returns
1064
+ }, [currentThemeFamily, currentThemeColorScheme, currentThemeDensity, options, context, dataSources, serializedTimezone]); // useEffect hook needs to be initialized before any early returns
1038
1065
  // this is in accordance with the order of hook calls being the same on each render https://reactjs.org/docs/hooks-rules.html#explanation
1039
1066
 
1040
1067
  React.useEffect(function () {
@@ -1157,25 +1184,31 @@ var withDashboardViz = function withDashboardViz(opts) {
1157
1184
  exports.default = withDashboardViz;
1158
1185
 
1159
1186
  /***/ }),
1160
- /* 29 */
1187
+ /* 30 */
1161
1188
  /***/ (function(module, exports) {
1162
1189
 
1163
1190
  module.exports = require("@splunk/themes/getSettingsFromThemedProps");
1164
1191
 
1165
1192
  /***/ }),
1166
- /* 30 */
1193
+ /* 31 */
1167
1194
  /***/ (function(module, exports) {
1168
1195
 
1169
1196
  module.exports = require("@splunk/visualization-encoding/Options");
1170
1197
 
1171
1198
  /***/ }),
1172
- /* 31 */
1199
+ /* 32 */
1173
1200
  /***/ (function(module, exports) {
1174
1201
 
1175
1202
  module.exports = require("@splunk/visualizations-shared/SanitizeProps");
1176
1203
 
1177
1204
  /***/ }),
1178
- /* 32 */
1205
+ /* 33 */
1206
+ /***/ (function(module, exports) {
1207
+
1208
+ module.exports = require("@splunk/moment");
1209
+
1210
+ /***/ }),
1211
+ /* 34 */
1179
1212
  /***/ (function(module, exports, __webpack_require__) {
1180
1213
 
1181
1214
  "use strict";
@@ -1193,7 +1226,7 @@ var T = __webpack_require__(0);
1193
1226
 
1194
1227
  var lodash_1 = __webpack_require__(2);
1195
1228
 
1196
- var VizActionHandler_1 = __webpack_require__(33); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
1229
+ var VizActionHandler_1 = __webpack_require__(35); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
1197
1230
 
1198
1231
 
1199
1232
  exports.INITIAL_WIDTH = 250;
@@ -1326,7 +1359,7 @@ SplunkVisualization.defaultProps = {
1326
1359
  exports.default = SplunkVisualization;
1327
1360
 
1328
1361
  /***/ }),
1329
- /* 33 */
1362
+ /* 35 */
1330
1363
  /***/ (function(module, exports, __webpack_require__) {
1331
1364
 
1332
1365
  "use strict";
@@ -1363,7 +1396,7 @@ var DefaultVizActionHandler = /*#__PURE__*/function () {
1363
1396
  exports.DefaultVizActionHandler = DefaultVizActionHandler;
1364
1397
 
1365
1398
  /***/ }),
1366
- /* 34 */
1399
+ /* 36 */
1367
1400
  /***/ (function(module, exports, __webpack_require__) {
1368
1401
 
1369
1402
  "use strict";
@@ -1376,7 +1409,7 @@ exports.validSortDirs = void 0;
1376
1409
  exports.validSortDirs = ['asc', 'desc', 'none'];
1377
1410
 
1378
1411
  /***/ }),
1379
- /* 35 */
1412
+ /* 37 */
1380
1413
  /***/ (function(module, exports, __webpack_require__) {
1381
1414
 
1382
1415
  "use strict";
@@ -1421,7 +1454,7 @@ var useDeepMemo = function useDeepMemo(fn, dependencies) {
1421
1454
  exports.useDeepMemo = useDeepMemo;
1422
1455
 
1423
1456
  /***/ }),
1424
- /* 36 */
1457
+ /* 38 */
1425
1458
  /***/ (function(module, exports, __webpack_require__) {
1426
1459
 
1427
1460
  "use strict";
@@ -1501,7 +1534,7 @@ exports.MissingPropsMessage.defaultProps = {
1501
1534
  exports.default = FixedSizeContainer_1.default(exports.MissingPropsMessage);
1502
1535
 
1503
1536
  /***/ }),
1504
- /* 37 */
1537
+ /* 39 */
1505
1538
  /***/ (function(module, exports, __webpack_require__) {
1506
1539
 
1507
1540
  "use strict";
@@ -1515,14 +1548,14 @@ var React = __webpack_require__(1);
1515
1548
 
1516
1549
  var styled_components_1 = __webpack_require__(4);
1517
1550
 
1518
- var hocUtils_1 = __webpack_require__(7);
1551
+ var hocUtils_1 = __webpack_require__(8);
1519
1552
 
1520
1553
  var Cover = styled_components_1.default.div.withConfig({
1521
1554
  displayName: "withEditModeCover__Cover",
1522
1555
  componentId: "sc-1gsbnxb-0"
1523
1556
  })(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
1524
1557
  var Blocker = styled_components_1.default.div.attrs({
1525
- 'data-splunk-visualization-version': "24.4.0 - 98920928c"
1558
+ 'data-splunk-visualization-version': "24.5.0 - b75bfbe79"
1526
1559
  }).withConfig({
1527
1560
  displayName: "withEditModeCover__Blocker",
1528
1561
  componentId: "sc-1gsbnxb-1"
@@ -1553,7 +1586,7 @@ var withEditModeCover = function withEditModeCover(Visualization, disableEditMod
1553
1586
  exports.default = withEditModeCover;
1554
1587
 
1555
1588
  /***/ }),
1556
- /* 38 */
1589
+ /* 40 */
1557
1590
  /***/ (function(module, exports, __webpack_require__) {
1558
1591
 
1559
1592
  "use strict";
@@ -1569,11 +1602,11 @@ var colorUtils_1 = __webpack_require__(12);
1569
1602
 
1570
1603
  var variables_1 = __webpack_require__(11);
1571
1604
 
1572
- var IconPlaceholder_1 = __webpack_require__(26);
1605
+ var IconPlaceholder_1 = __webpack_require__(25);
1573
1606
 
1574
1607
  var VizBehavior_1 = __webpack_require__(5);
1575
1608
 
1576
- var hocUtils_1 = __webpack_require__(7);
1609
+ var hocUtils_1 = __webpack_require__(8);
1577
1610
 
1578
1611
  var withPlaceholder = function withPlaceholder(Visualization) {
1579
1612
  var useIconPlaceholder = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : IconPlaceholder_1.shouldShowIconPlaceholder;
@@ -1617,8 +1650,6 @@ var withPlaceholder = function withPlaceholder(Visualization) {
1617
1650
  exports.default = withPlaceholder;
1618
1651
 
1619
1652
  /***/ }),
1620
- /* 39 */,
1621
- /* 40 */,
1622
1653
  /* 41 */,
1623
1654
  /* 42 */,
1624
1655
  /* 43 */,
@@ -1628,14 +1659,14 @@ exports.default = withPlaceholder;
1628
1659
  /* 47 */,
1629
1660
  /* 48 */,
1630
1661
  /* 49 */,
1631
- /* 50 */
1662
+ /* 50 */,
1663
+ /* 51 */,
1664
+ /* 52 */
1632
1665
  /***/ (function(module, exports) {
1633
1666
 
1634
1667
  module.exports = require("@splunk/visualization-color-palettes/editors/PresetPalettes");
1635
1668
 
1636
1669
  /***/ }),
1637
- /* 51 */,
1638
- /* 52 */,
1639
1670
  /* 53 */,
1640
1671
  /* 54 */,
1641
1672
  /* 55 */,
@@ -1675,7 +1706,9 @@ module.exports = require("@splunk/visualization-color-palettes/editors/PresetPal
1675
1706
  /* 89 */,
1676
1707
  /* 90 */,
1677
1708
  /* 91 */,
1678
- /* 92 */
1709
+ /* 92 */,
1710
+ /* 93 */,
1711
+ /* 94 */
1679
1712
  /***/ (function(module, exports, __webpack_require__) {
1680
1713
 
1681
1714
  "use strict";
@@ -1730,7 +1763,7 @@ var getDynamicFillColorEditor = function getDynamicFillColorEditor(_ref) {
1730
1763
  exports.getDynamicFillColorEditor = getDynamicFillColorEditor;
1731
1764
 
1732
1765
  /***/ }),
1733
- /* 93 */
1766
+ /* 95 */
1734
1767
  /***/ (function(module, exports, __webpack_require__) {
1735
1768
 
1736
1769
  "use strict";
@@ -1785,7 +1818,7 @@ var getDynamicStrokeColorEditor = function getDynamicStrokeColorEditor(_ref) {
1785
1818
  exports.getDynamicStrokeColorEditor = getDynamicStrokeColorEditor;
1786
1819
 
1787
1820
  /***/ }),
1788
- /* 94 */
1821
+ /* 96 */
1789
1822
  /***/ (function(module, exports, __webpack_require__) {
1790
1823
 
1791
1824
  "use strict";
@@ -1811,7 +1844,7 @@ var StaticFillColorEditor = {
1811
1844
  exports.default = StaticFillColorEditor;
1812
1845
 
1813
1846
  /***/ }),
1814
- /* 95 */
1847
+ /* 97 */
1815
1848
  /***/ (function(module, exports, __webpack_require__) {
1816
1849
 
1817
1850
  "use strict";
@@ -1837,7 +1870,7 @@ var StaticStrokeColorEditor = {
1837
1870
  exports.default = StaticStrokeColorEditor;
1838
1871
 
1839
1872
  /***/ }),
1840
- /* 96 */
1873
+ /* 98 */
1841
1874
  /***/ (function(module, exports, __webpack_require__) {
1842
1875
 
1843
1876
  "use strict";
@@ -1852,11 +1885,11 @@ var lodash_1 = __webpack_require__(2);
1852
1885
 
1853
1886
  var styled_components_1 = __webpack_require__(4);
1854
1887
 
1855
- var pick_1 = __webpack_require__(21);
1888
+ var pick_1 = __webpack_require__(22);
1856
1889
 
1857
1890
  var variables_1 = __webpack_require__(11);
1858
1891
 
1859
- var propUtils_1 = __webpack_require__(19); // map for new options names to old option names
1892
+ var propUtils_1 = __webpack_require__(20); // map for new options names to old option names
1860
1893
 
1861
1894
 
1862
1895
  var shapeOptionsMapping = {
@@ -1913,8 +1946,6 @@ var getStyledShape = function getStyledShape(shape) {
1913
1946
  exports.getStyledShape = getStyledShape;
1914
1947
 
1915
1948
  /***/ }),
1916
- /* 97 */,
1917
- /* 98 */,
1918
1949
  /* 99 */,
1919
1950
  /* 100 */,
1920
1951
  /* 101 */,
@@ -1935,7 +1966,9 @@ exports.getStyledShape = getStyledShape;
1935
1966
  /* 116 */,
1936
1967
  /* 117 */,
1937
1968
  /* 118 */,
1938
- /* 119 */
1969
+ /* 119 */,
1970
+ /* 120 */,
1971
+ /* 121 */
1939
1972
  /***/ (function(module, exports, __webpack_require__) {
1940
1973
 
1941
1974
  "use strict";
@@ -1967,13 +2000,13 @@ var styled_components_1 = __webpack_require__(4);
1967
2000
 
1968
2001
  var T = __webpack_require__(0);
1969
2002
 
1970
- var config_1 = __webpack_require__(166);
2003
+ var config_1 = __webpack_require__(168);
1971
2004
 
1972
2005
  exports.config = config_1.default;
1973
2006
 
1974
- var withDashboardViz_1 = __webpack_require__(28);
2007
+ var withDashboardViz_1 = __webpack_require__(29);
1975
2008
 
1976
- var shapeUtils_1 = __webpack_require__(96);
2009
+ var shapeUtils_1 = __webpack_require__(98);
1977
2010
 
1978
2011
  var validOptions = Object.keys(config_1.default.optionsSchema);
1979
2012
  var SVGContainer = styled_components_1.default.svg.withConfig({
@@ -2042,8 +2075,6 @@ exports.themes = themes;
2042
2075
  exports.default = Ellipse;
2043
2076
 
2044
2077
  /***/ }),
2045
- /* 120 */,
2046
- /* 121 */,
2047
2078
  /* 122 */,
2048
2079
  /* 123 */,
2049
2080
  /* 124 */,
@@ -2087,7 +2118,9 @@ exports.default = Ellipse;
2087
2118
  /* 162 */,
2088
2119
  /* 163 */,
2089
2120
  /* 164 */,
2090
- /* 165 */
2121
+ /* 165 */,
2122
+ /* 166 */,
2123
+ /* 167 */
2091
2124
  /***/ (function(module, exports, __webpack_require__) {
2092
2125
 
2093
2126
  "use strict";
@@ -2117,9 +2150,9 @@ Object.defineProperty(exports, "__esModule", {
2117
2150
  });
2118
2151
  exports.default = void 0;
2119
2152
 
2120
- __exportStar(__webpack_require__(119), exports);
2153
+ __exportStar(__webpack_require__(121), exports);
2121
2154
 
2122
- var Ellipse_1 = __webpack_require__(119);
2155
+ var Ellipse_1 = __webpack_require__(121);
2123
2156
 
2124
2157
  Object.defineProperty(exports, "default", {
2125
2158
  enumerable: true,
@@ -2129,7 +2162,7 @@ Object.defineProperty(exports, "default", {
2129
2162
  });
2130
2163
 
2131
2164
  /***/ }),
2132
- /* 166 */
2165
+ /* 168 */
2133
2166
  /***/ (function(module, exports, __webpack_require__) {
2134
2167
 
2135
2168
  "use strict";
@@ -2141,25 +2174,25 @@ Object.defineProperty(exports, "__esModule", {
2141
2174
 
2142
2175
  var i18n_1 = __webpack_require__(3);
2143
2176
 
2144
- var PresetPalettes_1 = __webpack_require__(50);
2177
+ var PresetPalettes_1 = __webpack_require__(52);
2145
2178
 
2146
- var pick_1 = __webpack_require__(21);
2179
+ var pick_1 = __webpack_require__(22);
2147
2180
 
2148
2181
  var variables_1 = __webpack_require__(11);
2149
2182
 
2150
2183
  var VizBehavior_1 = __webpack_require__(5);
2151
2184
 
2152
- var VizCategory_1 = __webpack_require__(27);
2185
+ var VizCategory_1 = __webpack_require__(28);
2153
2186
 
2154
2187
  var configUtils_1 = __webpack_require__(6);
2155
2188
 
2156
- var DynamicFillColorEditor_1 = __webpack_require__(92);
2189
+ var DynamicFillColorEditor_1 = __webpack_require__(94);
2157
2190
 
2158
- var DynamicStrokeColorEditor_1 = __webpack_require__(93);
2191
+ var DynamicStrokeColorEditor_1 = __webpack_require__(95);
2159
2192
 
2160
- var StaticFillColorEditor_1 = __webpack_require__(94);
2193
+ var StaticFillColorEditor_1 = __webpack_require__(96);
2161
2194
 
2162
- var StaticStrokeColorEditor_1 = __webpack_require__(95);
2195
+ var StaticStrokeColorEditor_1 = __webpack_require__(97);
2163
2196
 
2164
2197
  var dataContract = {
2165
2198
  requiredDataSources: [],