@splunk/visualizations 24.4.0 → 24.5.2
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.
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Area_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Bar_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Bubble_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_ChoroplethSvg_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Column_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Ellipse_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_FillerGauge_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Image_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Line_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_LinkGraph_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Map_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Markdown_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_MarkerGauge_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Parallel_Coordinates_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Pie_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Punchcard_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Rectangle_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Sankey_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Scatter_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Single_Value_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Single_Value_Icon_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Single_Value_Radial_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Table_Editor.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Choropleth_Svg_Choropleth_Svg_Placeholder_If_No_Svg_And_No_Data.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Bubble_Layer_Geostats_By_GET_Dynamic_Coloring.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Bubble_Layer_Geostats_By_Internal_Fields.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Bubble_Layer_Geostats_By_Mostly_null.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Bubble_Layer_Geostats_Dynamic_Coloring.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Marker_layer.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Marker_layer_Dynamic_coloring.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Marker_layer_Result_Limit_Set_To_3.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Markdown_Markdown_Background_Color_af575a.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Markdown_Markdown_Basic_Markdown.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Markdown_Markdown_Begin_with_Text_Instead_of_Header.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Markdown_Markdown_Font_Color_purple.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Markdown_Markdown_Font_Size_extraLarge.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Pie_Pie_Placeholder_if_empty_columns_and_fields.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Pie_Pie_Placeholder_if_invalid_label_data_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Pie_Pie_Placeholder_if_invalid_value_data_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Pie_Pie_Placeholder_if_missing_column.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Use_Time_Type_Series_Data.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Use_Time_Type_Series_Data.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Cell_Types.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Header_Visibility_fixed.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Sparkline.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Sparkline_Custom.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Sparklines_Adv.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Time_Zone_Time_Formatting.png +0 -0
- package/Area.js +246 -218
- package/Area.js.map +1 -1
- package/Bar.js +238 -210
- package/Bar.js.map +1 -1
- package/Bubble.js +231 -203
- package/Bubble.js.map +1 -1
- package/ChoroplethSvg.js +230 -197
- package/ChoroplethSvg.js.map +1 -1
- package/Column.js +238 -210
- package/Column.js.map +1 -1
- package/Ellipse.js +203 -170
- package/Ellipse.js.map +1 -1
- package/FillerGauge.js +222 -189
- package/FillerGauge.js.map +1 -1
- package/Image.js +199 -164
- package/Image.js.map +1 -1
- package/Line.js +239 -211
- package/Line.js.map +1 -1
- package/LinkGraph.js +264 -223
- package/LinkGraph.js.map +1 -1
- package/Map.config.js +39 -25
- package/Map.config.js.map +1 -1
- package/Map.js +460 -334
- package/Map.js.map +1 -1
- package/Markdown.config.js +29 -1
- package/Markdown.config.js.map +1 -1
- package/Markdown.js +513 -267
- package/Markdown.js.map +1 -1
- package/MarkerGauge.js +941 -906
- package/MarkerGauge.js.map +1 -1
- package/ParallelCoordinates.js +230 -196
- package/ParallelCoordinates.js.map +1 -1
- package/Pie.js +309 -249
- package/Pie.js.map +1 -1
- package/Punchcard.js +263 -229
- package/Punchcard.js.map +1 -1
- package/Rectangle.js +217 -182
- package/Rectangle.js.map +1 -1
- package/Sankey.js +269 -230
- package/Sankey.js.map +1 -1
- package/Scatter.js +314 -286
- package/Scatter.js.map +1 -1
- package/SingleValue.js +398 -363
- package/SingleValue.js.map +1 -1
- package/SingleValueBasic.js +25 -25
- package/SingleValueBasic.js.map +1 -1
- package/SingleValueIcon.js +2821 -2653
- package/SingleValueIcon.js.map +1 -1
- package/SingleValueRadial.js +359 -324
- package/SingleValueRadial.js.map +1 -1
- package/Table.config.js +2 -1
- package/Table.config.js.map +1 -1
- package/Table.js +629 -347
- package/Table.js.map +1 -1
- package/common/Charting.js +21 -21
- package/common/Charting.js.map +1 -1
- package/common/ChartingApi.js +2 -2
- package/common/ChartingApi.js.map +1 -1
- package/common/EventsDoc.js +18 -18
- package/common/EventsDoc.js.map +1 -1
- package/common/GaugeMajorTicks.js +10 -10
- package/common/GaugeMajorTicks.js.map +1 -1
- package/common/GaugeValueMarker.js +10 -10
- package/common/GaugeValueMarker.js.map +1 -1
- package/common/OptionsDoc.js +217 -174
- package/common/OptionsDoc.js.map +1 -1
- package/common/SplunkVisualization.js +4 -4
- package/common/SplunkVisualization.js.map +1 -1
- package/common/ThemesDoc.js +26 -26
- package/common/ThemesDoc.js.map +1 -1
- package/common/chartingUtils.js +3 -3
- package/common/chartingUtils.js.map +1 -1
- package/common/gaugeUtils.js +2 -2
- package/common/shapeUtils.js +2 -2
- package/common/withDashboardViz.js +80 -48
- package/common/withDashboardViz.js.map +1 -1
- package/package.json +13 -11
package/FillerGauge.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 =
|
|
90
|
+
/******/ return __webpack_require__(__webpack_require__.s = 169);
|
|
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__(
|
|
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__(
|
|
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.
|
|
585
|
+
"data-splunk-visualization-version": "24.5.2 - c5ebe25a8",
|
|
586
586
|
width: width,
|
|
587
587
|
height: height,
|
|
588
588
|
backgroundColor: backgroundColor
|
|
@@ -628,26 +628,32 @@ 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("@
|
|
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("@
|
|
641
|
+
module.exports = require("@babel/runtime/helpers/typeof");
|
|
642
642
|
|
|
643
643
|
/***/ }),
|
|
644
644
|
/* 22 */
|
|
645
645
|
/***/ (function(module, exports) {
|
|
646
646
|
|
|
647
|
-
module.exports = require("@splunk/
|
|
647
|
+
module.exports = require("@splunk/themes/pick");
|
|
648
648
|
|
|
649
649
|
/***/ }),
|
|
650
650
|
/* 23 */
|
|
651
|
+
/***/ (function(module, exports) {
|
|
652
|
+
|
|
653
|
+
module.exports = require("@splunk/visualizations-shared/numberUtils");
|
|
654
|
+
|
|
655
|
+
/***/ }),
|
|
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
|
-
/*
|
|
689
|
+
/* 25 */
|
|
684
690
|
/***/ (function(module, exports, __webpack_require__) {
|
|
685
691
|
|
|
686
692
|
"use strict";
|
|
687
693
|
|
|
688
694
|
|
|
689
|
-
|
|
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__(
|
|
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
|
-
/*
|
|
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
|
-
/*
|
|
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
|
-
/*
|
|
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__(
|
|
956
|
+
var getSettingsFromThemedProps_1 = __webpack_require__(30);
|
|
957
|
+
|
|
958
|
+
var Options_1 = __webpack_require__(31);
|
|
959
|
+
|
|
960
|
+
var SanitizeProps_1 = __webpack_require__(32);
|
|
951
961
|
|
|
952
|
-
var
|
|
962
|
+
var TimezoneContext_1 = __webpack_require__(19);
|
|
953
963
|
|
|
954
|
-
var
|
|
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__(
|
|
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__(
|
|
972
|
+
var getSorting_1 = __webpack_require__(26);
|
|
963
973
|
|
|
964
|
-
var getPagination_1 = __webpack_require__(
|
|
974
|
+
var getPagination_1 = __webpack_require__(27);
|
|
965
975
|
|
|
966
|
-
var useDeepMemo_1 = __webpack_require__(
|
|
976
|
+
var useDeepMemo_1 = __webpack_require__(37);
|
|
967
977
|
|
|
968
|
-
var JSONSchemaUtils_1 = __webpack_require__(
|
|
978
|
+
var JSONSchemaUtils_1 = __webpack_require__(24);
|
|
969
979
|
|
|
970
|
-
var MissingPropsMessage_1 = __webpack_require__(
|
|
980
|
+
var MissingPropsMessage_1 = __webpack_require__(38);
|
|
971
981
|
|
|
972
|
-
var withEditModeCover_1 = __webpack_require__(
|
|
982
|
+
var withEditModeCover_1 = __webpack_require__(39);
|
|
973
983
|
|
|
974
|
-
var withPlaceholder_1 = __webpack_require__(
|
|
984
|
+
var withPlaceholder_1 = __webpack_require__(40);
|
|
975
985
|
|
|
976
|
-
var hocUtils_1 = __webpack_require__(
|
|
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
|
-
/*
|
|
1187
|
+
/* 30 */
|
|
1161
1188
|
/***/ (function(module, exports) {
|
|
1162
1189
|
|
|
1163
1190
|
module.exports = require("@splunk/themes/getSettingsFromThemedProps");
|
|
1164
1191
|
|
|
1165
1192
|
/***/ }),
|
|
1166
|
-
/*
|
|
1193
|
+
/* 31 */
|
|
1167
1194
|
/***/ (function(module, exports) {
|
|
1168
1195
|
|
|
1169
1196
|
module.exports = require("@splunk/visualization-encoding/Options");
|
|
1170
1197
|
|
|
1171
1198
|
/***/ }),
|
|
1172
|
-
/*
|
|
1199
|
+
/* 32 */
|
|
1173
1200
|
/***/ (function(module, exports) {
|
|
1174
1201
|
|
|
1175
1202
|
module.exports = require("@splunk/visualizations-shared/SanitizeProps");
|
|
1176
1203
|
|
|
1177
1204
|
/***/ }),
|
|
1178
|
-
/*
|
|
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__(
|
|
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
|
-
/*
|
|
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
|
-
/*
|
|
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
|
-
/*
|
|
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
|
-
/*
|
|
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
|
-
/*
|
|
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__(
|
|
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.
|
|
1558
|
+
'data-splunk-visualization-version': "24.5.2 - c5ebe25a8"
|
|
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
|
-
/*
|
|
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__(
|
|
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__(
|
|
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,39 +1650,39 @@ var withPlaceholder = function withPlaceholder(Visualization) {
|
|
|
1617
1650
|
exports.default = withPlaceholder;
|
|
1618
1651
|
|
|
1619
1652
|
/***/ }),
|
|
1620
|
-
/*
|
|
1653
|
+
/* 41 */
|
|
1621
1654
|
/***/ (function(module, exports) {
|
|
1622
1655
|
|
|
1623
1656
|
module.exports = require("@babel/runtime/helpers/toConsumableArray");
|
|
1624
1657
|
|
|
1625
1658
|
/***/ }),
|
|
1626
|
-
/*
|
|
1659
|
+
/* 42 */
|
|
1627
1660
|
/***/ (function(module, exports) {
|
|
1628
1661
|
|
|
1629
1662
|
module.exports = require("@splunk/visualizations-shared/colorConstants");
|
|
1630
1663
|
|
|
1631
1664
|
/***/ }),
|
|
1632
|
-
/*
|
|
1665
|
+
/* 43 */
|
|
1633
1666
|
/***/ (function(module, exports) {
|
|
1634
1667
|
|
|
1635
1668
|
module.exports = require("@splunk/visualization-color-palettes");
|
|
1636
1669
|
|
|
1637
1670
|
/***/ }),
|
|
1638
|
-
/*
|
|
1671
|
+
/* 44 */
|
|
1639
1672
|
/***/ (function(module, exports) {
|
|
1640
1673
|
|
|
1641
1674
|
module.exports = require("@splunk/visualization-icons/placeholders");
|
|
1642
1675
|
|
|
1643
1676
|
/***/ }),
|
|
1644
|
-
/*
|
|
1645
|
-
/*
|
|
1677
|
+
/* 45 */,
|
|
1678
|
+
/* 46 */
|
|
1646
1679
|
/***/ (function(module, exports) {
|
|
1647
1680
|
|
|
1648
1681
|
module.exports = require("@babel/runtime/helpers/extends");
|
|
1649
1682
|
|
|
1650
1683
|
/***/ }),
|
|
1651
|
-
/*
|
|
1652
|
-
/*
|
|
1684
|
+
/* 47 */,
|
|
1685
|
+
/* 48 */
|
|
1653
1686
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1654
1687
|
|
|
1655
1688
|
"use strict";
|
|
@@ -1679,17 +1712,15 @@ var background = function background(_ref) {
|
|
|
1679
1712
|
exports.default = background;
|
|
1680
1713
|
|
|
1681
1714
|
/***/ }),
|
|
1682
|
-
/* 47 */,
|
|
1683
|
-
/* 48 */,
|
|
1684
1715
|
/* 49 */,
|
|
1685
|
-
/* 50
|
|
1716
|
+
/* 50 */,
|
|
1717
|
+
/* 51 */,
|
|
1718
|
+
/* 52 */
|
|
1686
1719
|
/***/ (function(module, exports) {
|
|
1687
1720
|
|
|
1688
1721
|
module.exports = require("@splunk/visualization-color-palettes/editors/PresetPalettes");
|
|
1689
1722
|
|
|
1690
1723
|
/***/ }),
|
|
1691
|
-
/* 51 */,
|
|
1692
|
-
/* 52 */,
|
|
1693
1724
|
/* 53 */,
|
|
1694
1725
|
/* 54 */,
|
|
1695
1726
|
/* 55 */,
|
|
@@ -1712,13 +1743,14 @@ module.exports = require("@splunk/visualization-color-palettes/editors/PresetPal
|
|
|
1712
1743
|
/* 72 */,
|
|
1713
1744
|
/* 73 */,
|
|
1714
1745
|
/* 74 */,
|
|
1715
|
-
/* 75
|
|
1746
|
+
/* 75 */,
|
|
1747
|
+
/* 76 */
|
|
1716
1748
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1717
1749
|
|
|
1718
1750
|
"use strict";
|
|
1719
1751
|
|
|
1720
1752
|
|
|
1721
|
-
var _toConsumableArray = __webpack_require__(
|
|
1753
|
+
var _toConsumableArray = __webpack_require__(41);
|
|
1722
1754
|
|
|
1723
1755
|
Object.defineProperty(exports, "__esModule", {
|
|
1724
1756
|
value: true
|
|
@@ -1727,7 +1759,7 @@ exports.convertToGaugeProperties = exports.mapValueLabelDisplay = exports.mapToO
|
|
|
1727
1759
|
|
|
1728
1760
|
var lodash_1 = __webpack_require__(2);
|
|
1729
1761
|
|
|
1730
|
-
var colorConstants_1 = __webpack_require__(
|
|
1762
|
+
var colorConstants_1 = __webpack_require__(42);
|
|
1731
1763
|
|
|
1732
1764
|
var i18n_1 = __webpack_require__(3);
|
|
1733
1765
|
|
|
@@ -2480,7 +2512,6 @@ var convertToGaugeProperties = function convertToGaugeProperties(originalOptions
|
|
|
2480
2512
|
exports.convertToGaugeProperties = convertToGaugeProperties;
|
|
2481
2513
|
|
|
2482
2514
|
/***/ }),
|
|
2483
|
-
/* 76 */,
|
|
2484
2515
|
/* 77 */,
|
|
2485
2516
|
/* 78 */,
|
|
2486
2517
|
/* 79 */,
|
|
@@ -2501,7 +2532,9 @@ exports.convertToGaugeProperties = convertToGaugeProperties;
|
|
|
2501
2532
|
/* 94 */,
|
|
2502
2533
|
/* 95 */,
|
|
2503
2534
|
/* 96 */,
|
|
2504
|
-
/* 97
|
|
2535
|
+
/* 97 */,
|
|
2536
|
+
/* 98 */,
|
|
2537
|
+
/* 99 */
|
|
2505
2538
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2506
2539
|
|
|
2507
2540
|
"use strict";
|
|
@@ -2565,14 +2598,14 @@ var gauge = {
|
|
|
2565
2598
|
exports.default = gauge;
|
|
2566
2599
|
|
|
2567
2600
|
/***/ }),
|
|
2568
|
-
/*
|
|
2601
|
+
/* 100 */
|
|
2569
2602
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2570
2603
|
|
|
2571
2604
|
"use strict";
|
|
2572
2605
|
__webpack_require__.r(__webpack_exports__);
|
|
2573
2606
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MajorTick", function() { return MajorTick; });
|
|
2574
2607
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "positionMajorTick", function() { return positionMajorTick; });
|
|
2575
|
-
/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
2608
|
+
/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(46);
|
|
2576
2609
|
/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__);
|
|
2577
2610
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1);
|
|
2578
2611
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
|
@@ -2580,7 +2613,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2580
2613
|
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
|
|
2581
2614
|
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(4);
|
|
2582
2615
|
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_3__);
|
|
2583
|
-
/* harmony import */ var _splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
|
2616
|
+
/* harmony import */ var _splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(23);
|
|
2584
2617
|
/* harmony import */ var _splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_4__);
|
|
2585
2618
|
|
|
2586
2619
|
|
|
@@ -2819,14 +2852,14 @@ MajorTicks.defaultProps = {
|
|
|
2819
2852
|
/* harmony default export */ __webpack_exports__["default"] = (MajorTicks);
|
|
2820
2853
|
|
|
2821
2854
|
/***/ }),
|
|
2822
|
-
/*
|
|
2855
|
+
/* 101 */
|
|
2823
2856
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2824
2857
|
|
|
2825
2858
|
"use strict";
|
|
2826
2859
|
__webpack_require__.r(__webpack_exports__);
|
|
2827
2860
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "positionValueMarkerRect", function() { return positionValueMarkerRect; });
|
|
2828
2861
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "positionLabel", function() { return positionLabel; });
|
|
2829
|
-
/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
2862
|
+
/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(46);
|
|
2830
2863
|
/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__);
|
|
2831
2864
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1);
|
|
2832
2865
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
|
@@ -2834,7 +2867,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2834
2867
|
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
|
|
2835
2868
|
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(4);
|
|
2836
2869
|
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_3__);
|
|
2837
|
-
/* harmony import */ var _splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
|
2870
|
+
/* harmony import */ var _splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(23);
|
|
2838
2871
|
/* harmony import */ var _splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_4__);
|
|
2839
2872
|
|
|
2840
2873
|
|
|
@@ -3020,8 +3053,6 @@ ValueMarker.defaultProps = {
|
|
|
3020
3053
|
/* harmony default export */ __webpack_exports__["default"] = (ValueMarker);
|
|
3021
3054
|
|
|
3022
3055
|
/***/ }),
|
|
3023
|
-
/* 100 */,
|
|
3024
|
-
/* 101 */,
|
|
3025
3056
|
/* 102 */,
|
|
3026
3057
|
/* 103 */,
|
|
3027
3058
|
/* 104 */,
|
|
@@ -3087,7 +3118,9 @@ ValueMarker.defaultProps = {
|
|
|
3087
3118
|
/* 164 */,
|
|
3088
3119
|
/* 165 */,
|
|
3089
3120
|
/* 166 */,
|
|
3090
|
-
/* 167
|
|
3121
|
+
/* 167 */,
|
|
3122
|
+
/* 168 */,
|
|
3123
|
+
/* 169 */
|
|
3091
3124
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3092
3125
|
|
|
3093
3126
|
"use strict";
|
|
@@ -3113,13 +3146,13 @@ exports.themes = exports.computeVizProps = exports.PureFillerGauge = exports.con
|
|
|
3113
3146
|
|
|
3114
3147
|
var lodash_1 = __webpack_require__(2);
|
|
3115
3148
|
|
|
3116
|
-
var config_1 = __webpack_require__(
|
|
3149
|
+
var config_1 = __webpack_require__(170);
|
|
3117
3150
|
|
|
3118
|
-
var withDashboardViz_1 = __webpack_require__(
|
|
3151
|
+
var withDashboardViz_1 = __webpack_require__(29);
|
|
3119
3152
|
|
|
3120
|
-
var FillerGauge_1 = __webpack_require__(
|
|
3153
|
+
var FillerGauge_1 = __webpack_require__(174);
|
|
3121
3154
|
|
|
3122
|
-
var gaugeUtils_1 = __webpack_require__(
|
|
3155
|
+
var gaugeUtils_1 = __webpack_require__(76);
|
|
3123
3156
|
|
|
3124
3157
|
exports.config = config_1.default;
|
|
3125
3158
|
exports.PureFillerGauge = FillerGauge_1.default;
|
|
@@ -3149,7 +3182,7 @@ exports.themes = config_1.default.themes;
|
|
|
3149
3182
|
exports.default = viz;
|
|
3150
3183
|
|
|
3151
3184
|
/***/ }),
|
|
3152
|
-
/*
|
|
3185
|
+
/* 170 */
|
|
3153
3186
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3154
3187
|
|
|
3155
3188
|
"use strict";
|
|
@@ -3163,31 +3196,31 @@ var i18n_1 = __webpack_require__(3);
|
|
|
3163
3196
|
|
|
3164
3197
|
var schemaUtils_1 = __webpack_require__(15);
|
|
3165
3198
|
|
|
3166
|
-
var pick_1 = __webpack_require__(
|
|
3199
|
+
var pick_1 = __webpack_require__(22);
|
|
3167
3200
|
|
|
3168
3201
|
var variables_1 = __webpack_require__(11);
|
|
3169
3202
|
|
|
3170
|
-
var visualization_color_palettes_1 = __webpack_require__(
|
|
3203
|
+
var visualization_color_palettes_1 = __webpack_require__(43);
|
|
3171
3204
|
|
|
3172
|
-
var PresetPalettes_1 = __webpack_require__(
|
|
3205
|
+
var PresetPalettes_1 = __webpack_require__(52);
|
|
3173
3206
|
|
|
3174
|
-
var GaugeFiller_1 = __webpack_require__(
|
|
3207
|
+
var GaugeFiller_1 = __webpack_require__(171);
|
|
3175
3208
|
|
|
3176
|
-
var placeholders_1 = __webpack_require__(
|
|
3209
|
+
var placeholders_1 = __webpack_require__(44);
|
|
3177
3210
|
|
|
3178
3211
|
var VizBehavior_1 = __webpack_require__(5);
|
|
3179
3212
|
|
|
3180
|
-
var VizCategory_1 = __webpack_require__(
|
|
3213
|
+
var VizCategory_1 = __webpack_require__(28);
|
|
3181
3214
|
|
|
3182
3215
|
var configUtils_1 = __webpack_require__(6);
|
|
3183
3216
|
|
|
3184
|
-
var Gauge_1 = __webpack_require__(
|
|
3217
|
+
var Gauge_1 = __webpack_require__(99);
|
|
3185
3218
|
|
|
3186
|
-
var BackgroundColor_1 = __webpack_require__(
|
|
3219
|
+
var BackgroundColor_1 = __webpack_require__(48);
|
|
3187
3220
|
|
|
3188
|
-
var DynamicGaugeColorEditor_1 = __webpack_require__(
|
|
3221
|
+
var DynamicGaugeColorEditor_1 = __webpack_require__(172);
|
|
3189
3222
|
|
|
3190
|
-
var StaticGaugeColorEditor_1 = __webpack_require__(
|
|
3223
|
+
var StaticGaugeColorEditor_1 = __webpack_require__(173);
|
|
3191
3224
|
|
|
3192
3225
|
var dataContract = {
|
|
3193
3226
|
requiredDataSources: [{
|
|
@@ -3436,13 +3469,13 @@ var config = {
|
|
|
3436
3469
|
exports.default = configUtils_1.enhanceConfig(config);
|
|
3437
3470
|
|
|
3438
3471
|
/***/ }),
|
|
3439
|
-
/*
|
|
3472
|
+
/* 171 */
|
|
3440
3473
|
/***/ (function(module, exports) {
|
|
3441
3474
|
|
|
3442
3475
|
module.exports = require("@splunk/react-icons/GaugeFiller");
|
|
3443
3476
|
|
|
3444
3477
|
/***/ }),
|
|
3445
|
-
/*
|
|
3478
|
+
/* 172 */
|
|
3446
3479
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3447
3480
|
|
|
3448
3481
|
"use strict";
|
|
@@ -3491,7 +3524,7 @@ var getDynamicGaugeColorEditor = function getDynamicGaugeColorEditor(_ref) {
|
|
|
3491
3524
|
exports.getDynamicGaugeColorEditor = getDynamicGaugeColorEditor;
|
|
3492
3525
|
|
|
3493
3526
|
/***/ }),
|
|
3494
|
-
/*
|
|
3527
|
+
/* 173 */
|
|
3495
3528
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3496
3529
|
|
|
3497
3530
|
"use strict";
|
|
@@ -3517,7 +3550,7 @@ var StaticGaugeColorEditor = {
|
|
|
3517
3550
|
exports.default = StaticGaugeColorEditor;
|
|
3518
3551
|
|
|
3519
3552
|
/***/ }),
|
|
3520
|
-
/*
|
|
3553
|
+
/* 174 */
|
|
3521
3554
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3522
3555
|
|
|
3523
3556
|
"use strict";
|
|
@@ -3557,11 +3590,11 @@ var SizeAwareWrapper_1 = __webpack_require__(17);
|
|
|
3557
3590
|
|
|
3558
3591
|
var Message_1 = __webpack_require__(9);
|
|
3559
3592
|
|
|
3560
|
-
var gaugeUtils_1 = __webpack_require__(
|
|
3593
|
+
var gaugeUtils_1 = __webpack_require__(76);
|
|
3561
3594
|
|
|
3562
|
-
var GaugeMajorTicks_1 = __webpack_require__(
|
|
3595
|
+
var GaugeMajorTicks_1 = __webpack_require__(100);
|
|
3563
3596
|
|
|
3564
|
-
var GaugeValueMarker_1 = __webpack_require__(
|
|
3597
|
+
var GaugeValueMarker_1 = __webpack_require__(101);
|
|
3565
3598
|
|
|
3566
3599
|
var Container = styled_components_1.default.div.withConfig({
|
|
3567
3600
|
displayName: "FillerGauge__Container",
|