@splunk/visualizations 26.3.0 → 26.4.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.
- package/Area.config.js +1 -1
- package/Area.config.js.map +1 -1
- package/Area.js +288 -288
- package/Area.js.map +1 -1
- package/Bar.config.js +1 -1
- package/Bar.config.js.map +1 -1
- package/Bar.js +291 -291
- package/Bar.js.map +1 -1
- package/Bubble.config.js +1 -1
- package/Bubble.config.js.map +1 -1
- package/Bubble.js +280 -280
- package/Bubble.js.map +1 -1
- package/ChoroplethSvg.config.js +1 -1
- package/ChoroplethSvg.config.js.map +1 -1
- package/ChoroplethSvg.js +262 -260
- package/ChoroplethSvg.js.map +1 -1
- package/Column.config.js +1 -1
- package/Column.config.js.map +1 -1
- package/Column.js +291 -291
- package/Column.js.map +1 -1
- package/Ellipse.js +220 -218
- package/Ellipse.js.map +1 -1
- package/Events.config.js +1 -1
- package/Events.config.js.map +1 -1
- package/Events.js +285 -283
- package/Events.js.map +1 -1
- package/FillerGauge.config.js +1 -1
- package/FillerGauge.config.js.map +1 -1
- package/FillerGauge.js +250 -248
- package/FillerGauge.js.map +1 -1
- package/Image.js +212 -210
- package/Image.js.map +1 -1
- package/Line.config.js +1 -1
- package/Line.config.js.map +1 -1
- package/Line.js +289 -289
- package/Line.js.map +1 -1
- package/LinkGraph.config.js +1 -1
- package/LinkGraph.config.js.map +1 -1
- package/LinkGraph.js +1725 -17201
- package/LinkGraph.js.map +1 -1
- package/MIGRATION.md +6 -0
- package/Map.config.js +1 -1
- package/Map.config.js.map +1 -1
- package/Map.js +465 -406
- package/Map.js.map +1 -1
- package/Markdown.config.js +1 -1
- package/Markdown.config.js.map +1 -1
- package/Markdown.js +281 -277
- package/Markdown.js.map +1 -1
- package/MarkerGauge.config.js +1 -1
- package/MarkerGauge.config.js.map +1 -1
- package/MarkerGauge.js +926 -922
- package/MarkerGauge.js.map +1 -1
- package/ParallelCoordinates.config.js +1 -1
- package/ParallelCoordinates.config.js.map +1 -1
- package/ParallelCoordinates.js +336 -320
- package/ParallelCoordinates.js.map +1 -1
- package/Pie.config.js +5 -1
- package/Pie.config.js.map +1 -1
- package/Pie.js +362 -330
- package/Pie.js.map +1 -1
- package/Punchcard.config.js +1 -1
- package/Punchcard.config.js.map +1 -1
- package/Punchcard.js +342 -338
- package/Punchcard.js.map +1 -1
- package/Rectangle.js +260 -256
- package/Rectangle.js.map +1 -1
- package/Sankey.config.js +1 -1
- package/Sankey.config.js.map +1 -1
- package/Sankey.js +339 -335
- package/Sankey.js.map +1 -1
- package/Scatter.config.js +1 -1
- package/Scatter.config.js.map +1 -1
- package/Scatter.js +339 -337
- package/Scatter.js.map +1 -1
- package/SingleValue.config.js +10 -2
- package/SingleValue.config.js.map +1 -1
- package/SingleValue.js +455 -427
- package/SingleValue.js.map +1 -1
- package/SingleValueBasic.js +65 -53
- package/SingleValueBasic.js.map +1 -1
- package/SingleValueIcon.config.js +10 -2
- package/SingleValueIcon.config.js.map +1 -1
- package/SingleValueIcon.js +449 -421
- package/SingleValueIcon.js.map +1 -1
- package/SingleValueRadial.config.js +11 -3
- package/SingleValueRadial.config.js.map +1 -1
- package/SingleValueRadial.js +1580 -1552
- package/SingleValueRadial.js.map +1 -1
- package/SparkLine.js +33 -33
- package/SparkLine.js.map +1 -1
- package/Table.config.js +8 -0
- package/Table.config.js.map +1 -1
- package/Table.js +366 -357
- package/Table.js.map +1 -1
- package/common/Charting.js +15 -23
- package/common/Charting.js.map +1 -1
- package/common/utils/dataUtils.js +12 -18
- package/common/utils/dataUtils.js.map +1 -1
- package/common/utils/singleValueUtils.js +23 -11
- package/common/utils/singleValueUtils.js.map +1 -1
- package/common/withDashboardViz.js +31 -27
- package/common/withDashboardViz.js.map +1 -1
- package/package.json +17 -16
package/FillerGauge.js
CHANGED
|
@@ -87,32 +87,32 @@ 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 = 231);
|
|
91
91
|
/******/ })
|
|
92
92
|
/************************************************************************/
|
|
93
93
|
/******/ ([
|
|
94
94
|
/* 0 */
|
|
95
95
|
/***/ (function(module, exports) {
|
|
96
96
|
|
|
97
|
-
module.exports = require("
|
|
97
|
+
module.exports = require("prop-types");
|
|
98
98
|
|
|
99
99
|
/***/ }),
|
|
100
100
|
/* 1 */
|
|
101
101
|
/***/ (function(module, exports) {
|
|
102
102
|
|
|
103
|
-
module.exports = require("
|
|
103
|
+
module.exports = require("react");
|
|
104
104
|
|
|
105
105
|
/***/ }),
|
|
106
106
|
/* 2 */
|
|
107
107
|
/***/ (function(module, exports) {
|
|
108
108
|
|
|
109
|
-
module.exports = require("
|
|
109
|
+
module.exports = require("lodash");
|
|
110
110
|
|
|
111
111
|
/***/ }),
|
|
112
112
|
/* 3 */
|
|
113
113
|
/***/ (function(module, exports) {
|
|
114
114
|
|
|
115
|
-
module.exports = require("
|
|
115
|
+
module.exports = require("@splunk/ui-utils/i18n");
|
|
116
116
|
|
|
117
117
|
/***/ }),
|
|
118
118
|
/* 4 */
|
|
@@ -121,20 +121,19 @@ module.exports = require("lodash");
|
|
|
121
121
|
module.exports = require("styled-components");
|
|
122
122
|
|
|
123
123
|
/***/ }),
|
|
124
|
-
/* 5
|
|
125
|
-
/* 6 */
|
|
124
|
+
/* 5 */
|
|
126
125
|
/***/ (function(module, exports) {
|
|
127
126
|
|
|
128
127
|
module.exports = require("@babel/runtime/helpers/slicedToArray");
|
|
129
128
|
|
|
130
129
|
/***/ }),
|
|
131
|
-
/*
|
|
130
|
+
/* 6 */
|
|
132
131
|
/***/ (function(module, exports) {
|
|
133
132
|
|
|
134
133
|
module.exports = require("@babel/runtime/helpers/toConsumableArray");
|
|
135
134
|
|
|
136
135
|
/***/ }),
|
|
137
|
-
/*
|
|
136
|
+
/* 7 */
|
|
138
137
|
/***/ (function(module, exports, __webpack_require__) {
|
|
139
138
|
|
|
140
139
|
"use strict";
|
|
@@ -173,43 +172,43 @@ var VizBehavior;
|
|
|
173
172
|
})(VizBehavior = exports.VizBehavior || (exports.VizBehavior = {}));
|
|
174
173
|
|
|
175
174
|
/***/ }),
|
|
176
|
-
/*
|
|
175
|
+
/* 8 */
|
|
177
176
|
/***/ (function(module, exports) {
|
|
178
177
|
|
|
179
178
|
module.exports = require("@babel/runtime/helpers/classCallCheck");
|
|
180
179
|
|
|
181
180
|
/***/ }),
|
|
182
|
-
/*
|
|
181
|
+
/* 9 */
|
|
183
182
|
/***/ (function(module, exports) {
|
|
184
183
|
|
|
185
184
|
module.exports = require("@splunk/visualization-schemas");
|
|
186
185
|
|
|
187
186
|
/***/ }),
|
|
188
|
-
/*
|
|
187
|
+
/* 10 */
|
|
189
188
|
/***/ (function(module, exports) {
|
|
190
189
|
|
|
191
190
|
module.exports = require("@splunk/visualizations-shared/numberUtils");
|
|
192
191
|
|
|
193
192
|
/***/ }),
|
|
194
|
-
/*
|
|
193
|
+
/* 11 */
|
|
195
194
|
/***/ (function(module, exports) {
|
|
196
195
|
|
|
197
196
|
module.exports = require("@splunk/visualizations-shared/Message");
|
|
198
197
|
|
|
199
198
|
/***/ }),
|
|
200
|
-
/*
|
|
199
|
+
/* 12 */
|
|
201
200
|
/***/ (function(module, exports) {
|
|
202
201
|
|
|
203
202
|
module.exports = require("@babel/runtime/helpers/defineProperty");
|
|
204
203
|
|
|
205
204
|
/***/ }),
|
|
206
|
-
/*
|
|
205
|
+
/* 13 */
|
|
207
206
|
/***/ (function(module, exports) {
|
|
208
207
|
|
|
209
208
|
module.exports = require("@splunk/themes/variables");
|
|
210
209
|
|
|
211
210
|
/***/ }),
|
|
212
|
-
/*
|
|
211
|
+
/* 14 */
|
|
213
212
|
/***/ (function(module, exports, __webpack_require__) {
|
|
214
213
|
|
|
215
214
|
"use strict";
|
|
@@ -220,9 +219,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
220
219
|
});
|
|
221
220
|
exports.downsampleDataSources = exports.calculateDownsamplingThreshold = exports.calculateThresholdOnRangeSelect = exports.isDownsamplingEnabledForViz = exports.convertToArrOfObjects = void 0;
|
|
222
221
|
|
|
223
|
-
var numberUtils_1 = __webpack_require__(
|
|
222
|
+
var numberUtils_1 = __webpack_require__(10);
|
|
224
223
|
|
|
225
|
-
var interfaces_1 = __webpack_require__(
|
|
224
|
+
var interfaces_1 = __webpack_require__(39); // TODO: utilize this fn in ParallelCoordinates
|
|
226
225
|
|
|
227
226
|
|
|
228
227
|
var convertToArrOfObjects = function convertToArrOfObjects(columns, fields) {
|
|
@@ -357,19 +356,21 @@ var largestTriangleThreeBuckets = function largestTriangleThreeBuckets(data, thr
|
|
|
357
356
|
*/
|
|
358
357
|
|
|
359
358
|
|
|
360
|
-
var strictlyCoerceYColumn = function strictlyCoerceYColumn(column) {
|
|
361
|
-
// Splunk charting allows for numbers in formats such as negative hex that
|
|
359
|
+
var strictlyCoerceYColumn = function strictlyCoerceYColumn(column, options) {
|
|
360
|
+
var isNullCoercionEnabled = options.nullValueDisplay === 'zero'; // Splunk charting allows for numbers in formats such as negative hex that
|
|
362
361
|
// Number() does not support and also allows loose coercion of hex numbers (but not other formats)
|
|
363
362
|
// We want to identify columns which contain at least one value that can be loosely coerced
|
|
363
|
+
|
|
364
364
|
var canLooselyCoerceSomeValues = column.findIndex(function (value) {
|
|
365
|
-
return (0, numberUtils_1.startsWithNumber)("".concat(value));
|
|
365
|
+
return (0, numberUtils_1.startsWithNumber)("".concat(value)) || isNullCoercionEnabled && value === null;
|
|
366
366
|
}) >= 0; // If not all values in column can be strictly coerced to a number, we do not downsample
|
|
367
367
|
|
|
368
368
|
var coercedColumn = [];
|
|
369
369
|
var canDownsampleColumn = !column.some(function (value) {
|
|
370
|
-
var coercedValue = Number(value);
|
|
370
|
+
var coercedValue = Number(value);
|
|
371
|
+
var coerceValueToZero = isNullCoercionEnabled && value === null; // if it can't be parsed or isn't safe, fail
|
|
371
372
|
|
|
372
|
-
if (Number.isNaN(coercedValue) || coercedValue <= Number.MIN_SAFE_INTEGER || coercedValue >= Number.MAX_SAFE_INTEGER || typeof value !== 'string' && typeof value !== 'number') {
|
|
373
|
+
if (Number.isNaN(coercedValue) || coercedValue <= Number.MIN_SAFE_INTEGER || coercedValue >= Number.MAX_SAFE_INTEGER || typeof value !== 'string' && typeof value !== 'number' && !coerceValueToZero) {
|
|
373
374
|
return true;
|
|
374
375
|
} // save value and continue to next
|
|
375
376
|
|
|
@@ -450,8 +451,7 @@ var calculateDownsamplingThreshold = function calculateDownsamplingThreshold(_re
|
|
|
450
451
|
dataSources = _ref3.dataSources,
|
|
451
452
|
selectChartEvent = _ref3.selectChartEvent,
|
|
452
453
|
width = _ref3.width,
|
|
453
|
-
xField = _ref3.xField
|
|
454
|
-
y2Fields = _ref3.y2Fields;
|
|
454
|
+
xField = _ref3.xField;
|
|
455
455
|
|
|
456
456
|
var _a, _b, _c;
|
|
457
457
|
|
|
@@ -488,14 +488,7 @@ var calculateDownsamplingThreshold = function calculateDownsamplingThreshold(_re
|
|
|
488
488
|
});
|
|
489
489
|
var lastIndex = fullSeries.findIndex(function (x) {
|
|
490
490
|
return downsampledSeries[endXIndex] === x;
|
|
491
|
-
});
|
|
492
|
-
// re-calculating downsampling threshold if the chart is zoomed in until SPL-259458 is fixed
|
|
493
|
-
// Also do not support re-calculating downsampling threshold for zoomed-in charts with y2
|
|
494
|
-
// until SPL-259611 is fixed
|
|
495
|
-
|
|
496
|
-
if (xField !== '_time' || (y2Fields === null || y2Fields === void 0 ? void 0 : y2Fields.length)) {
|
|
497
|
-
return firstIndex === 0 && lastIndex === fullSeries.length - 1 ? width : null;
|
|
498
|
-
}
|
|
491
|
+
});
|
|
499
492
|
|
|
500
493
|
if (firstIndex >= 0 && lastIndex >= 0 && firstIndex <= lastIndex) {
|
|
501
494
|
return (0, exports.calculateThresholdOnRangeSelect)({
|
|
@@ -545,7 +538,7 @@ var isColumnStrictlyIncreasing = function isColumnStrictlyIncreasing(column, fie
|
|
|
545
538
|
*/
|
|
546
539
|
|
|
547
540
|
|
|
548
|
-
var tryToCoerceAllDisplayedFields = function tryToCoerceAllDisplayedFields(ds, xField, yFields, fieldTypes) {
|
|
541
|
+
var tryToCoerceAllDisplayedFields = function tryToCoerceAllDisplayedFields(ds, xField, yFields, fieldTypes, options) {
|
|
549
542
|
var xColumn = [];
|
|
550
543
|
var yColumns = [];
|
|
551
544
|
var canDownsample = !ds.data.fields.some(function (field, index) {
|
|
@@ -559,7 +552,7 @@ var tryToCoerceAllDisplayedFields = function tryToCoerceAllDisplayedFields(ds, x
|
|
|
559
552
|
if (fieldName === xField) {
|
|
560
553
|
xColumn = strictlyCoerceXColumn(column, fieldType);
|
|
561
554
|
} else if (yFields.has(fieldName)) {
|
|
562
|
-
var _strictlyCoerceYColum = strictlyCoerceYColumn(ds.data.columns[index]),
|
|
555
|
+
var _strictlyCoerceYColum = strictlyCoerceYColumn(ds.data.columns[index], options),
|
|
563
556
|
coercedColumn = _strictlyCoerceYColum.coercedColumn,
|
|
564
557
|
canLooselyCoerceSomeValues = _strictlyCoerceYColum.canLooselyCoerceSomeValues,
|
|
565
558
|
canDownsampleColumn = _strictlyCoerceYColum.canDownsampleColumn; // do not perform downsampling if a column can possibly be displayed but cannot
|
|
@@ -649,7 +642,7 @@ var downsampleDataSources = function downsampleDataSources(_ref4) {
|
|
|
649
642
|
return dataSources;
|
|
650
643
|
}
|
|
651
644
|
|
|
652
|
-
var _tryToCoerceAllDispla = tryToCoerceAllDisplayedFields(primaryDS, xField, nonInternalYFields, fieldTypes),
|
|
645
|
+
var _tryToCoerceAllDispla = tryToCoerceAllDisplayedFields(primaryDS, xField, nonInternalYFields, fieldTypes, options),
|
|
653
646
|
xColumn = _tryToCoerceAllDispla.xColumn,
|
|
654
647
|
yColumns = _tryToCoerceAllDispla.yColumns;
|
|
655
648
|
|
|
@@ -685,39 +678,39 @@ var downsampleDataSources = function downsampleDataSources(_ref4) {
|
|
|
685
678
|
exports.downsampleDataSources = downsampleDataSources;
|
|
686
679
|
|
|
687
680
|
/***/ }),
|
|
688
|
-
/*
|
|
681
|
+
/* 15 */
|
|
689
682
|
/***/ (function(module, exports) {
|
|
690
683
|
|
|
691
684
|
module.exports = require("@splunk/visualizations-shared/colorUtils");
|
|
692
685
|
|
|
693
686
|
/***/ }),
|
|
694
|
-
/*
|
|
687
|
+
/* 16 */
|
|
695
688
|
/***/ (function(module, exports) {
|
|
696
689
|
|
|
697
690
|
module.exports = require("@splunk/visualization-encoding/Options");
|
|
698
691
|
|
|
699
692
|
/***/ }),
|
|
700
|
-
/*
|
|
693
|
+
/* 17 */
|
|
701
694
|
/***/ (function(module, exports, __webpack_require__) {
|
|
702
695
|
|
|
703
696
|
"use strict";
|
|
704
697
|
|
|
705
698
|
|
|
706
|
-
var _slicedToArray = __webpack_require__(
|
|
699
|
+
var _slicedToArray = __webpack_require__(5);
|
|
707
700
|
|
|
708
701
|
Object.defineProperty(exports, "__esModule", {
|
|
709
702
|
value: true
|
|
710
703
|
});
|
|
711
704
|
|
|
712
|
-
var React = __webpack_require__(
|
|
705
|
+
var React = __webpack_require__(1);
|
|
713
706
|
|
|
714
707
|
var styled_components_1 = __webpack_require__(4);
|
|
715
708
|
|
|
716
|
-
var style_1 = __webpack_require__(
|
|
709
|
+
var style_1 = __webpack_require__(18);
|
|
717
710
|
|
|
718
|
-
var colorUtils_1 = __webpack_require__(
|
|
711
|
+
var colorUtils_1 = __webpack_require__(15);
|
|
719
712
|
|
|
720
|
-
var SizeAwareWrapper_1 = __webpack_require__(
|
|
713
|
+
var SizeAwareWrapper_1 = __webpack_require__(25);
|
|
721
714
|
|
|
722
715
|
var Item = styled_components_1.default.div.attrs(function (_ref) {
|
|
723
716
|
var width = _ref.width;
|
|
@@ -788,7 +781,7 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
|
|
|
788
781
|
|
|
789
782
|
return React.createElement(FixSizeItem, {
|
|
790
783
|
"data-test": "fix-size-item",
|
|
791
|
-
"data-splunk-visualization-version": "26.
|
|
784
|
+
"data-splunk-visualization-version": "26.4.0 - 04078274d",
|
|
792
785
|
width: width,
|
|
793
786
|
height: height,
|
|
794
787
|
backgroundColor: backgroundColor
|
|
@@ -809,14 +802,14 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
|
|
|
809
802
|
exports.default = withFixedSizeContainer;
|
|
810
803
|
|
|
811
804
|
/***/ }),
|
|
812
|
-
/*
|
|
805
|
+
/* 18 */
|
|
813
806
|
/***/ (function(module, exports) {
|
|
814
807
|
|
|
815
808
|
module.exports = require("@splunk/visualizations-shared/style");
|
|
816
809
|
|
|
817
810
|
/***/ }),
|
|
818
|
-
/*
|
|
819
|
-
/*
|
|
811
|
+
/* 19 */,
|
|
812
|
+
/* 20 */
|
|
820
813
|
/***/ (function(module, exports, __webpack_require__) {
|
|
821
814
|
|
|
822
815
|
"use strict";
|
|
@@ -830,15 +823,15 @@ exports.validSortDirs = ['asc', 'desc', 'none'];
|
|
|
830
823
|
exports.validOutputModes = ['json_cols', 'json'];
|
|
831
824
|
|
|
832
825
|
/***/ }),
|
|
833
|
-
/*
|
|
826
|
+
/* 21 */
|
|
834
827
|
/***/ (function(module, exports, __webpack_require__) {
|
|
835
828
|
|
|
836
829
|
"use strict";
|
|
837
830
|
|
|
838
831
|
|
|
839
|
-
var _classCallCheck = __webpack_require__(
|
|
832
|
+
var _classCallCheck = __webpack_require__(8);
|
|
840
833
|
|
|
841
|
-
var _createClass = __webpack_require__(
|
|
834
|
+
var _createClass = __webpack_require__(24);
|
|
842
835
|
|
|
843
836
|
Object.defineProperty(exports, "__esModule", {
|
|
844
837
|
value: true
|
|
@@ -867,7 +860,7 @@ var DefaultVizActionHandler = /*#__PURE__*/function () {
|
|
|
867
860
|
exports.DefaultVizActionHandler = DefaultVizActionHandler;
|
|
868
861
|
|
|
869
862
|
/***/ }),
|
|
870
|
-
/*
|
|
863
|
+
/* 22 */
|
|
871
864
|
/***/ (function(module, exports, __webpack_require__) {
|
|
872
865
|
|
|
873
866
|
"use strict";
|
|
@@ -895,7 +888,7 @@ var VizCategory;
|
|
|
895
888
|
})(VizCategory = exports.VizCategory || (exports.VizCategory = {}));
|
|
896
889
|
|
|
897
890
|
/***/ }),
|
|
898
|
-
/*
|
|
891
|
+
/* 23 */
|
|
899
892
|
/***/ (function(module, exports, __webpack_require__) {
|
|
900
893
|
|
|
901
894
|
"use strict";
|
|
@@ -927,35 +920,35 @@ var extendStaticWrapperProps = function extendStaticWrapperProps(_ref) {
|
|
|
927
920
|
exports.extendStaticWrapperProps = extendStaticWrapperProps;
|
|
928
921
|
|
|
929
922
|
/***/ }),
|
|
930
|
-
/*
|
|
923
|
+
/* 24 */
|
|
931
924
|
/***/ (function(module, exports) {
|
|
932
925
|
|
|
933
926
|
module.exports = require("@babel/runtime/helpers/createClass");
|
|
934
927
|
|
|
935
928
|
/***/ }),
|
|
936
|
-
/*
|
|
929
|
+
/* 25 */
|
|
937
930
|
/***/ (function(module, exports) {
|
|
938
931
|
|
|
939
932
|
module.exports = require("@splunk/visualizations-shared/SizeAwareWrapper");
|
|
940
933
|
|
|
941
934
|
/***/ }),
|
|
942
|
-
/*
|
|
935
|
+
/* 26 */
|
|
943
936
|
/***/ (function(module, exports, __webpack_require__) {
|
|
944
937
|
|
|
945
938
|
"use strict";
|
|
946
939
|
|
|
947
940
|
|
|
948
|
-
var _toConsumableArray = __webpack_require__(
|
|
941
|
+
var _toConsumableArray = __webpack_require__(6);
|
|
949
942
|
|
|
950
943
|
Object.defineProperty(exports, "__esModule", {
|
|
951
944
|
value: true
|
|
952
945
|
});
|
|
953
946
|
exports.insertLayout = exports.isDynamicOption = exports.uncollapseEditorConfig = exports.generatePrecisionValues = exports.getInitialPreset = exports.enhanceConfig = exports.enhanceOptionsSchemaWithDynamicOptions = void 0;
|
|
954
947
|
|
|
955
|
-
var lodash_1 = __webpack_require__(
|
|
948
|
+
var lodash_1 = __webpack_require__(2); // included for backwards compatibility
|
|
956
949
|
|
|
957
950
|
|
|
958
|
-
var visualization_schemas_1 = __webpack_require__(
|
|
951
|
+
var visualization_schemas_1 = __webpack_require__(9);
|
|
959
952
|
|
|
960
953
|
Object.defineProperty(exports, "enhanceOptionsSchemaWithDynamicOptions", {
|
|
961
954
|
enumerable: true,
|
|
@@ -1095,37 +1088,37 @@ var insertLayout = function insertLayout(layout, index) {
|
|
|
1095
1088
|
exports.insertLayout = insertLayout;
|
|
1096
1089
|
|
|
1097
1090
|
/***/ }),
|
|
1098
|
-
/*
|
|
1091
|
+
/* 27 */
|
|
1099
1092
|
/***/ (function(module, exports) {
|
|
1100
1093
|
|
|
1101
1094
|
module.exports = require("@splunk/visualization-context/FeatureFlagContext");
|
|
1102
1095
|
|
|
1103
1096
|
/***/ }),
|
|
1104
|
-
/*
|
|
1097
|
+
/* 28 */
|
|
1105
1098
|
/***/ (function(module, exports) {
|
|
1106
1099
|
|
|
1107
1100
|
module.exports = require("@splunk/visualizations-shared/configUtils");
|
|
1108
1101
|
|
|
1109
1102
|
/***/ }),
|
|
1110
|
-
/*
|
|
1103
|
+
/* 29 */
|
|
1111
1104
|
/***/ (function(module, exports) {
|
|
1112
1105
|
|
|
1113
1106
|
module.exports = require("@splunk/themes/pick");
|
|
1114
1107
|
|
|
1115
1108
|
/***/ }),
|
|
1116
|
-
/*
|
|
1109
|
+
/* 30 */
|
|
1117
1110
|
/***/ (function(module, exports) {
|
|
1118
1111
|
|
|
1119
1112
|
module.exports = require("@splunk/ui-utils/id");
|
|
1120
1113
|
|
|
1121
1114
|
/***/ }),
|
|
1122
|
-
/*
|
|
1115
|
+
/* 31 */
|
|
1123
1116
|
/***/ (function(module, exports) {
|
|
1124
1117
|
|
|
1125
1118
|
module.exports = require("@splunk/visualization-context/TimezoneContext");
|
|
1126
1119
|
|
|
1127
1120
|
/***/ }),
|
|
1128
|
-
/*
|
|
1121
|
+
/* 32 */
|
|
1129
1122
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1130
1123
|
|
|
1131
1124
|
"use strict";
|
|
@@ -1135,7 +1128,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1135
1128
|
value: true
|
|
1136
1129
|
});
|
|
1137
1130
|
|
|
1138
|
-
var react_1 = __webpack_require__(
|
|
1131
|
+
var react_1 = __webpack_require__(1);
|
|
1139
1132
|
|
|
1140
1133
|
function usePrevious(value) {
|
|
1141
1134
|
var ref = (0, react_1.useRef)();
|
|
@@ -1148,20 +1141,20 @@ function usePrevious(value) {
|
|
|
1148
1141
|
exports.default = usePrevious;
|
|
1149
1142
|
|
|
1150
1143
|
/***/ }),
|
|
1151
|
-
/*
|
|
1144
|
+
/* 33 */
|
|
1152
1145
|
/***/ (function(module, exports) {
|
|
1153
1146
|
|
|
1154
1147
|
module.exports = require("@splunk/visualizations-shared/hocUtils");
|
|
1155
1148
|
|
|
1156
1149
|
/***/ }),
|
|
1157
|
-
/*
|
|
1150
|
+
/* 34 */
|
|
1158
1151
|
/***/ (function(module, exports) {
|
|
1159
1152
|
|
|
1160
1153
|
module.exports = require("@splunk/visualizations-shared/JSONSchemaUtils");
|
|
1161
1154
|
|
|
1162
1155
|
/***/ }),
|
|
1163
|
-
/*
|
|
1164
|
-
/*
|
|
1156
|
+
/* 35 */,
|
|
1157
|
+
/* 36 */
|
|
1165
1158
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1166
1159
|
|
|
1167
1160
|
"use strict";
|
|
@@ -1172,17 +1165,17 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1172
1165
|
});
|
|
1173
1166
|
exports.shouldShowIconPlaceholder = void 0;
|
|
1174
1167
|
|
|
1175
|
-
var React = __webpack_require__(
|
|
1168
|
+
var React = __webpack_require__(1);
|
|
1176
1169
|
|
|
1177
|
-
var T = __webpack_require__(
|
|
1170
|
+
var T = __webpack_require__(0);
|
|
1178
1171
|
|
|
1179
|
-
var lodash_1 = __webpack_require__(
|
|
1172
|
+
var lodash_1 = __webpack_require__(2);
|
|
1180
1173
|
|
|
1181
|
-
var i18n_1 = __webpack_require__(
|
|
1174
|
+
var i18n_1 = __webpack_require__(3);
|
|
1182
1175
|
|
|
1183
|
-
var Message_1 = __webpack_require__(
|
|
1176
|
+
var Message_1 = __webpack_require__(11);
|
|
1184
1177
|
|
|
1185
|
-
var FixedSizeContainer_1 = __webpack_require__(
|
|
1178
|
+
var FixedSizeContainer_1 = __webpack_require__(17);
|
|
1186
1179
|
/**
|
|
1187
1180
|
* @method shouldShowIconPlaceholder
|
|
1188
1181
|
* @param {object} dataSources
|
|
@@ -1253,24 +1246,24 @@ IconPlaceholder.defaultProps = {
|
|
|
1253
1246
|
exports.default = (0, FixedSizeContainer_1.default)(IconPlaceholder);
|
|
1254
1247
|
|
|
1255
1248
|
/***/ }),
|
|
1256
|
-
/*
|
|
1249
|
+
/* 37 */
|
|
1257
1250
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1258
1251
|
|
|
1259
1252
|
"use strict";
|
|
1260
1253
|
|
|
1261
1254
|
|
|
1262
|
-
var _defineProperty = __webpack_require__(
|
|
1255
|
+
var _defineProperty = __webpack_require__(12);
|
|
1263
1256
|
|
|
1264
1257
|
Object.defineProperty(exports, "__esModule", {
|
|
1265
1258
|
value: true
|
|
1266
1259
|
});
|
|
1267
1260
|
exports.getSortingParams = exports.SortParamsPropTypes = void 0;
|
|
1268
1261
|
|
|
1269
|
-
var T = __webpack_require__(
|
|
1262
|
+
var T = __webpack_require__(0);
|
|
1270
1263
|
|
|
1271
|
-
var lodash_1 = __webpack_require__(
|
|
1264
|
+
var lodash_1 = __webpack_require__(2);
|
|
1272
1265
|
|
|
1273
|
-
var DataSource_1 = __webpack_require__(
|
|
1266
|
+
var DataSource_1 = __webpack_require__(20);
|
|
1274
1267
|
|
|
1275
1268
|
exports.SortParamsPropTypes = T.shape({
|
|
1276
1269
|
currentSortKey: T.string,
|
|
@@ -1323,7 +1316,7 @@ var getSortingParams = function getSortingParams(_ref) {
|
|
|
1323
1316
|
exports.getSortingParams = getSortingParams;
|
|
1324
1317
|
|
|
1325
1318
|
/***/ }),
|
|
1326
|
-
/*
|
|
1319
|
+
/* 38 */
|
|
1327
1320
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1328
1321
|
|
|
1329
1322
|
"use strict";
|
|
@@ -1334,9 +1327,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1334
1327
|
});
|
|
1335
1328
|
exports.getPaginationParams = exports.PaginatorParamsPropTypes = void 0;
|
|
1336
1329
|
|
|
1337
|
-
var T = __webpack_require__(
|
|
1330
|
+
var T = __webpack_require__(0);
|
|
1338
1331
|
|
|
1339
|
-
var lodash_1 = __webpack_require__(
|
|
1332
|
+
var lodash_1 = __webpack_require__(2);
|
|
1340
1333
|
|
|
1341
1334
|
exports.PaginatorParamsPropTypes = T.shape({
|
|
1342
1335
|
isPaging: T.bool,
|
|
@@ -1387,7 +1380,7 @@ var getPaginationParams = function getPaginationParams(_ref) {
|
|
|
1387
1380
|
exports.getPaginationParams = getPaginationParams;
|
|
1388
1381
|
|
|
1389
1382
|
/***/ }),
|
|
1390
|
-
/*
|
|
1383
|
+
/* 39 */
|
|
1391
1384
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1392
1385
|
|
|
1393
1386
|
"use strict";
|
|
@@ -1422,11 +1415,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1422
1415
|
value: true
|
|
1423
1416
|
});
|
|
1424
1417
|
|
|
1418
|
+
__exportStar(__webpack_require__(40), exports);
|
|
1419
|
+
|
|
1425
1420
|
__exportStar(__webpack_require__(41), exports);
|
|
1426
1421
|
|
|
1427
|
-
__exportStar(__webpack_require__(
|
|
1422
|
+
__exportStar(__webpack_require__(20), exports);
|
|
1428
1423
|
|
|
1429
|
-
__exportStar(__webpack_require__(
|
|
1424
|
+
__exportStar(__webpack_require__(42), exports);
|
|
1430
1425
|
|
|
1431
1426
|
__exportStar(__webpack_require__(43), exports);
|
|
1432
1427
|
|
|
@@ -1438,13 +1433,13 @@ __exportStar(__webpack_require__(46), exports);
|
|
|
1438
1433
|
|
|
1439
1434
|
__exportStar(__webpack_require__(47), exports);
|
|
1440
1435
|
|
|
1441
|
-
__exportStar(__webpack_require__(
|
|
1436
|
+
__exportStar(__webpack_require__(21), exports);
|
|
1442
1437
|
|
|
1443
|
-
__exportStar(__webpack_require__(
|
|
1438
|
+
__exportStar(__webpack_require__(7), exports);
|
|
1444
1439
|
|
|
1445
|
-
__exportStar(__webpack_require__(
|
|
1440
|
+
__exportStar(__webpack_require__(22), exports);
|
|
1446
1441
|
|
|
1447
|
-
__exportStar(__webpack_require__(
|
|
1442
|
+
__exportStar(__webpack_require__(48), exports);
|
|
1448
1443
|
|
|
1449
1444
|
__exportStar(__webpack_require__(49), exports);
|
|
1450
1445
|
|
|
@@ -1456,10 +1451,8 @@ __exportStar(__webpack_require__(52), exports);
|
|
|
1456
1451
|
|
|
1457
1452
|
__exportStar(__webpack_require__(53), exports);
|
|
1458
1453
|
|
|
1459
|
-
__exportStar(__webpack_require__(54), exports);
|
|
1460
|
-
|
|
1461
1454
|
/***/ }),
|
|
1462
|
-
/*
|
|
1455
|
+
/* 40 */
|
|
1463
1456
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1464
1457
|
|
|
1465
1458
|
"use strict";
|
|
@@ -1470,7 +1463,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1470
1463
|
});
|
|
1471
1464
|
|
|
1472
1465
|
/***/ }),
|
|
1473
|
-
/*
|
|
1466
|
+
/* 41 */
|
|
1474
1467
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1475
1468
|
|
|
1476
1469
|
"use strict";
|
|
@@ -1479,6 +1472,17 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1479
1472
|
* A data structure used at runtime to wire up a visualization.
|
|
1480
1473
|
*/
|
|
1481
1474
|
|
|
1475
|
+
Object.defineProperty(exports, "__esModule", {
|
|
1476
|
+
value: true
|
|
1477
|
+
});
|
|
1478
|
+
|
|
1479
|
+
/***/ }),
|
|
1480
|
+
/* 42 */
|
|
1481
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1482
|
+
|
|
1483
|
+
"use strict";
|
|
1484
|
+
|
|
1485
|
+
|
|
1482
1486
|
Object.defineProperty(exports, "__esModule", {
|
|
1483
1487
|
value: true
|
|
1484
1488
|
});
|
|
@@ -1611,70 +1615,59 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1611
1615
|
"use strict";
|
|
1612
1616
|
|
|
1613
1617
|
|
|
1614
|
-
|
|
1615
|
-
value: true
|
|
1616
|
-
});
|
|
1617
|
-
|
|
1618
|
-
/***/ }),
|
|
1619
|
-
/* 55 */
|
|
1620
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1621
|
-
|
|
1622
|
-
"use strict";
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
var _slicedToArray = __webpack_require__(6);
|
|
1618
|
+
var _slicedToArray = __webpack_require__(5);
|
|
1626
1619
|
|
|
1627
1620
|
Object.defineProperty(exports, "__esModule", {
|
|
1628
1621
|
value: true
|
|
1629
1622
|
});
|
|
1630
1623
|
|
|
1631
|
-
var React = __webpack_require__(
|
|
1624
|
+
var React = __webpack_require__(1);
|
|
1632
1625
|
|
|
1633
|
-
var lodash_1 = __webpack_require__(
|
|
1626
|
+
var lodash_1 = __webpack_require__(2);
|
|
1634
1627
|
|
|
1635
|
-
var getSettingsFromThemedProps_1 = __webpack_require__(
|
|
1628
|
+
var getSettingsFromThemedProps_1 = __webpack_require__(55);
|
|
1636
1629
|
|
|
1637
|
-
var Options_1 = __webpack_require__(
|
|
1630
|
+
var Options_1 = __webpack_require__(16);
|
|
1638
1631
|
|
|
1639
|
-
var SanitizeProps_1 = __webpack_require__(
|
|
1632
|
+
var SanitizeProps_1 = __webpack_require__(56);
|
|
1640
1633
|
|
|
1641
|
-
var TimezoneContext_1 = __webpack_require__(
|
|
1634
|
+
var TimezoneContext_1 = __webpack_require__(31);
|
|
1642
1635
|
|
|
1643
|
-
var moment_1 = __webpack_require__(
|
|
1636
|
+
var moment_1 = __webpack_require__(57);
|
|
1644
1637
|
|
|
1645
|
-
var FeatureFlagContext_1 = __webpack_require__(
|
|
1638
|
+
var FeatureFlagContext_1 = __webpack_require__(27);
|
|
1646
1639
|
|
|
1647
1640
|
var styled_components_1 = __webpack_require__(4);
|
|
1648
1641
|
|
|
1649
|
-
var hocUtils_1 = __webpack_require__(
|
|
1642
|
+
var hocUtils_1 = __webpack_require__(33);
|
|
1650
1643
|
|
|
1651
|
-
var JSONSchemaUtils_1 = __webpack_require__(
|
|
1644
|
+
var JSONSchemaUtils_1 = __webpack_require__(34);
|
|
1652
1645
|
|
|
1653
|
-
var async_dynamic_options_evaluator_1 = __webpack_require__(
|
|
1646
|
+
var async_dynamic_options_evaluator_1 = __webpack_require__(58);
|
|
1654
1647
|
|
|
1655
|
-
var id_1 = __webpack_require__(
|
|
1648
|
+
var id_1 = __webpack_require__(30);
|
|
1656
1649
|
|
|
1657
|
-
var SplunkVisualization_1 = __webpack_require__(
|
|
1650
|
+
var SplunkVisualization_1 = __webpack_require__(59);
|
|
1658
1651
|
|
|
1659
|
-
var VizBehavior_1 = __webpack_require__(
|
|
1652
|
+
var VizBehavior_1 = __webpack_require__(7);
|
|
1660
1653
|
|
|
1661
|
-
var getSorting_1 = __webpack_require__(
|
|
1654
|
+
var getSorting_1 = __webpack_require__(37);
|
|
1662
1655
|
|
|
1663
|
-
var getPagination_1 = __webpack_require__(
|
|
1656
|
+
var getPagination_1 = __webpack_require__(38);
|
|
1664
1657
|
|
|
1665
|
-
var useDeepMemo_1 = __webpack_require__(
|
|
1658
|
+
var useDeepMemo_1 = __webpack_require__(60);
|
|
1666
1659
|
|
|
1667
|
-
var MissingPropsMessage_1 = __webpack_require__(
|
|
1660
|
+
var MissingPropsMessage_1 = __webpack_require__(61);
|
|
1668
1661
|
|
|
1669
|
-
var withEditModeCover_1 = __webpack_require__(
|
|
1662
|
+
var withEditModeCover_1 = __webpack_require__(62);
|
|
1670
1663
|
|
|
1671
|
-
var withPlaceholder_1 = __webpack_require__(
|
|
1664
|
+
var withPlaceholder_1 = __webpack_require__(63);
|
|
1672
1665
|
|
|
1673
|
-
var useDownsampleDataSources_1 = __webpack_require__(
|
|
1666
|
+
var useDownsampleDataSources_1 = __webpack_require__(64);
|
|
1674
1667
|
|
|
1675
|
-
var dataUtils_1 = __webpack_require__(
|
|
1668
|
+
var dataUtils_1 = __webpack_require__(14);
|
|
1676
1669
|
|
|
1677
|
-
var featureFlagUtils_1 = __webpack_require__(
|
|
1670
|
+
var featureFlagUtils_1 = __webpack_require__(66);
|
|
1678
1671
|
/**
|
|
1679
1672
|
* hoc that wraps a pure react visualization in a Dashboard visualization
|
|
1680
1673
|
* @param {DashboardVizOpts} opts
|
|
@@ -2006,37 +1999,37 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
2006
1999
|
exports.default = withDashboardViz;
|
|
2007
2000
|
|
|
2008
2001
|
/***/ }),
|
|
2009
|
-
/*
|
|
2002
|
+
/* 55 */
|
|
2010
2003
|
/***/ (function(module, exports) {
|
|
2011
2004
|
|
|
2012
2005
|
module.exports = require("@splunk/themes/getSettingsFromThemedProps");
|
|
2013
2006
|
|
|
2014
2007
|
/***/ }),
|
|
2015
|
-
/*
|
|
2008
|
+
/* 56 */
|
|
2016
2009
|
/***/ (function(module, exports) {
|
|
2017
2010
|
|
|
2018
2011
|
module.exports = require("@splunk/visualizations-shared/SanitizeProps");
|
|
2019
2012
|
|
|
2020
2013
|
/***/ }),
|
|
2021
|
-
/*
|
|
2014
|
+
/* 57 */
|
|
2022
2015
|
/***/ (function(module, exports) {
|
|
2023
2016
|
|
|
2024
2017
|
module.exports = require("@splunk/moment");
|
|
2025
2018
|
|
|
2026
2019
|
/***/ }),
|
|
2027
|
-
/*
|
|
2020
|
+
/* 58 */
|
|
2028
2021
|
/***/ (function(module, exports) {
|
|
2029
2022
|
|
|
2030
2023
|
module.exports = require("@splunk/async-dynamic-options-evaluator");
|
|
2031
2024
|
|
|
2032
2025
|
/***/ }),
|
|
2033
|
-
/*
|
|
2026
|
+
/* 59 */
|
|
2034
2027
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2035
2028
|
|
|
2036
2029
|
"use strict";
|
|
2037
2030
|
|
|
2038
2031
|
|
|
2039
|
-
var _classCallCheck = __webpack_require__(
|
|
2032
|
+
var _classCallCheck = __webpack_require__(8);
|
|
2040
2033
|
|
|
2041
2034
|
Object.defineProperty(exports, "__esModule", {
|
|
2042
2035
|
value: true
|
|
@@ -2044,11 +2037,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2044
2037
|
exports.INITIAL_HEIGHT = exports.INITIAL_WIDTH = void 0;
|
|
2045
2038
|
/* eslint-disable react/no-unused-prop-types,react/prefer-stateless-function */
|
|
2046
2039
|
|
|
2047
|
-
var T = __webpack_require__(
|
|
2040
|
+
var T = __webpack_require__(0);
|
|
2048
2041
|
|
|
2049
|
-
var lodash_1 = __webpack_require__(
|
|
2042
|
+
var lodash_1 = __webpack_require__(2);
|
|
2050
2043
|
|
|
2051
|
-
var VizActionHandler_1 = __webpack_require__(
|
|
2044
|
+
var VizActionHandler_1 = __webpack_require__(21); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
|
|
2052
2045
|
|
|
2053
2046
|
|
|
2054
2047
|
exports.INITIAL_WIDTH = 250;
|
|
@@ -2181,7 +2174,7 @@ SplunkVisualization.defaultProps = {
|
|
|
2181
2174
|
exports.default = SplunkVisualization;
|
|
2182
2175
|
|
|
2183
2176
|
/***/ }),
|
|
2184
|
-
/*
|
|
2177
|
+
/* 60 */
|
|
2185
2178
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2186
2179
|
|
|
2187
2180
|
"use strict";
|
|
@@ -2192,9 +2185,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2192
2185
|
});
|
|
2193
2186
|
exports.useDeepMemo = void 0;
|
|
2194
2187
|
|
|
2195
|
-
var react_1 = __webpack_require__(
|
|
2188
|
+
var react_1 = __webpack_require__(1);
|
|
2196
2189
|
|
|
2197
|
-
var lodash_1 = __webpack_require__(
|
|
2190
|
+
var lodash_1 = __webpack_require__(2);
|
|
2198
2191
|
/**
|
|
2199
2192
|
* This hook evaluates and stores the result of a passed function and only
|
|
2200
2193
|
* re-evaluates the function when passed dependencies change.
|
|
@@ -2226,7 +2219,7 @@ var useDeepMemo = function useDeepMemo(fn, dependencies) {
|
|
|
2226
2219
|
exports.useDeepMemo = useDeepMemo;
|
|
2227
2220
|
|
|
2228
2221
|
/***/ }),
|
|
2229
|
-
/*
|
|
2222
|
+
/* 61 */
|
|
2230
2223
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2231
2224
|
|
|
2232
2225
|
"use strict";
|
|
@@ -2237,15 +2230,15 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2237
2230
|
});
|
|
2238
2231
|
exports.MissingPropsMessage = exports.missingKeys = exports.isMissing = void 0;
|
|
2239
2232
|
|
|
2240
|
-
var React = __webpack_require__(
|
|
2233
|
+
var React = __webpack_require__(1);
|
|
2241
2234
|
|
|
2242
|
-
var T = __webpack_require__(
|
|
2235
|
+
var T = __webpack_require__(0);
|
|
2243
2236
|
|
|
2244
|
-
var i18n_1 = __webpack_require__(
|
|
2237
|
+
var i18n_1 = __webpack_require__(3);
|
|
2245
2238
|
|
|
2246
|
-
var Message_1 = __webpack_require__(
|
|
2239
|
+
var Message_1 = __webpack_require__(11);
|
|
2247
2240
|
|
|
2248
|
-
var FixedSizeContainer_1 = __webpack_require__(
|
|
2241
|
+
var FixedSizeContainer_1 = __webpack_require__(17);
|
|
2249
2242
|
/**
|
|
2250
2243
|
* @method isMissing
|
|
2251
2244
|
* @param {any} v
|
|
@@ -2306,7 +2299,7 @@ exports.MissingPropsMessage.defaultProps = {
|
|
|
2306
2299
|
exports.default = (0, FixedSizeContainer_1.default)(exports.MissingPropsMessage);
|
|
2307
2300
|
|
|
2308
2301
|
/***/ }),
|
|
2309
|
-
/*
|
|
2302
|
+
/* 62 */
|
|
2310
2303
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2311
2304
|
|
|
2312
2305
|
"use strict";
|
|
@@ -2316,18 +2309,18 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2316
2309
|
value: true
|
|
2317
2310
|
});
|
|
2318
2311
|
|
|
2319
|
-
var React = __webpack_require__(
|
|
2312
|
+
var React = __webpack_require__(1);
|
|
2320
2313
|
|
|
2321
2314
|
var styled_components_1 = __webpack_require__(4);
|
|
2322
2315
|
|
|
2323
|
-
var hocUtils_1 = __webpack_require__(
|
|
2316
|
+
var hocUtils_1 = __webpack_require__(23);
|
|
2324
2317
|
|
|
2325
2318
|
var Cover = styled_components_1.default.div.withConfig({
|
|
2326
2319
|
displayName: "withEditModeCover__Cover",
|
|
2327
2320
|
componentId: "sc-1gsbnxb-0"
|
|
2328
2321
|
})(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
|
|
2329
2322
|
var Blocker = styled_components_1.default.div.attrs({
|
|
2330
|
-
'data-splunk-visualization-version': "26.
|
|
2323
|
+
'data-splunk-visualization-version': "26.4.0 - 04078274d"
|
|
2331
2324
|
}).withConfig({
|
|
2332
2325
|
displayName: "withEditModeCover__Blocker",
|
|
2333
2326
|
componentId: "sc-1gsbnxb-1"
|
|
@@ -2358,7 +2351,7 @@ var withEditModeCover = function withEditModeCover(Visualization, disableEditMod
|
|
|
2358
2351
|
exports.default = withEditModeCover;
|
|
2359
2352
|
|
|
2360
2353
|
/***/ }),
|
|
2361
|
-
/*
|
|
2354
|
+
/* 63 */
|
|
2362
2355
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2363
2356
|
|
|
2364
2357
|
"use strict";
|
|
@@ -2368,17 +2361,17 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2368
2361
|
value: true
|
|
2369
2362
|
});
|
|
2370
2363
|
|
|
2371
|
-
var React = __webpack_require__(
|
|
2364
|
+
var React = __webpack_require__(1);
|
|
2372
2365
|
|
|
2373
|
-
var colorUtils_1 = __webpack_require__(
|
|
2366
|
+
var colorUtils_1 = __webpack_require__(15);
|
|
2374
2367
|
|
|
2375
|
-
var variables_1 = __webpack_require__(
|
|
2368
|
+
var variables_1 = __webpack_require__(13);
|
|
2376
2369
|
|
|
2377
|
-
var IconPlaceholder_1 = __webpack_require__(
|
|
2370
|
+
var IconPlaceholder_1 = __webpack_require__(36);
|
|
2378
2371
|
|
|
2379
|
-
var VizBehavior_1 = __webpack_require__(
|
|
2372
|
+
var VizBehavior_1 = __webpack_require__(7);
|
|
2380
2373
|
|
|
2381
|
-
var hocUtils_1 = __webpack_require__(
|
|
2374
|
+
var hocUtils_1 = __webpack_require__(23);
|
|
2382
2375
|
|
|
2383
2376
|
var withPlaceholder = function withPlaceholder(Visualization) {
|
|
2384
2377
|
var useIconPlaceholder = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : IconPlaceholder_1.shouldShowIconPlaceholder;
|
|
@@ -2422,27 +2415,30 @@ var withPlaceholder = function withPlaceholder(Visualization) {
|
|
|
2422
2415
|
exports.default = withPlaceholder;
|
|
2423
2416
|
|
|
2424
2417
|
/***/ }),
|
|
2425
|
-
/*
|
|
2418
|
+
/* 64 */
|
|
2426
2419
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2427
2420
|
|
|
2428
2421
|
"use strict";
|
|
2429
2422
|
|
|
2430
2423
|
|
|
2431
|
-
var _slicedToArray = __webpack_require__(
|
|
2424
|
+
var _slicedToArray = __webpack_require__(5);
|
|
2432
2425
|
|
|
2433
2426
|
Object.defineProperty(exports, "__esModule", {
|
|
2434
2427
|
value: true
|
|
2435
2428
|
});
|
|
2436
2429
|
|
|
2437
|
-
var react_1 = __webpack_require__(
|
|
2430
|
+
var react_1 = __webpack_require__(1);
|
|
2431
|
+
|
|
2432
|
+
var lodash_1 = __webpack_require__(2);
|
|
2438
2433
|
|
|
2439
|
-
var
|
|
2434
|
+
var dataUtils_1 = __webpack_require__(14);
|
|
2440
2435
|
|
|
2441
|
-
var
|
|
2436
|
+
var usePrevious_1 = __webpack_require__(32);
|
|
2442
2437
|
|
|
2443
|
-
var
|
|
2438
|
+
var useGetXAndYFields_1 = __webpack_require__(65); // Options properties which impact/require re-downsample on change.
|
|
2444
2439
|
|
|
2445
|
-
|
|
2440
|
+
|
|
2441
|
+
var downsampleVizOptionProperties = ['nullValueDisplay'];
|
|
2446
2442
|
|
|
2447
2443
|
var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
|
|
2448
2444
|
var dataSources = _ref.dataSources,
|
|
@@ -2456,8 +2452,15 @@ var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
|
|
|
2456
2452
|
options: options,
|
|
2457
2453
|
context: context,
|
|
2458
2454
|
dataSources: dataSources
|
|
2459
|
-
});
|
|
2460
|
-
|
|
2455
|
+
}); // Extract viz options that impact downsampling.
|
|
2456
|
+
|
|
2457
|
+
var downsampleVizOptions = (0, react_1.useMemo)(function () {
|
|
2458
|
+
return (0, lodash_1.pick)(options, downsampleVizOptionProperties);
|
|
2459
|
+
}, [options]);
|
|
2460
|
+
var downsampleDSOptions = (0, react_1.useMemo)(function () {
|
|
2461
|
+
return Object.assign(Object.assign({}, downsampleVizOptions), xAndYFieldsWithTypes);
|
|
2462
|
+
}, [xAndYFieldsWithTypes, downsampleVizOptions]);
|
|
2463
|
+
var previousDownsampleDSOptions = (0, usePrevious_1.default)(downsampleDSOptions);
|
|
2461
2464
|
var previousDataSources = (0, usePrevious_1.default)(dataSources);
|
|
2462
2465
|
var previousThreshold = (0, usePrevious_1.default)(threshold);
|
|
2463
2466
|
|
|
@@ -2465,7 +2468,7 @@ var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
|
|
|
2465
2468
|
return isDownsamplingEnabled ? (0, dataUtils_1.downsampleDataSources)({
|
|
2466
2469
|
dataSources: dataSources,
|
|
2467
2470
|
threshold: threshold,
|
|
2468
|
-
options:
|
|
2471
|
+
options: downsampleDSOptions
|
|
2469
2472
|
}) : dataSources;
|
|
2470
2473
|
}),
|
|
2471
2474
|
_ref3 = _slicedToArray(_ref2, 2),
|
|
@@ -2493,7 +2496,7 @@ var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
|
|
|
2493
2496
|
return;
|
|
2494
2497
|
}
|
|
2495
2498
|
|
|
2496
|
-
if ((0, lodash_1.isEqual)(
|
|
2499
|
+
if ((0, lodash_1.isEqual)(previousDownsampleDSOptions, downsampleDSOptions) && previousDataSources === dataSources && previousThreshold === threshold) {
|
|
2497
2500
|
return;
|
|
2498
2501
|
} // Debounce the downsampling so we don't have to downsample and execute DSL multiple times
|
|
2499
2502
|
// while the viz is being resized
|
|
@@ -2501,31 +2504,31 @@ var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
|
|
|
2501
2504
|
|
|
2502
2505
|
debouncedDownsampleDataSources({
|
|
2503
2506
|
dataSources: dataSources,
|
|
2504
|
-
options:
|
|
2507
|
+
options: downsampleDSOptions,
|
|
2505
2508
|
threshold: threshold
|
|
2506
2509
|
}); // need to detect if this runs as part of the initial render
|
|
2507
|
-
}, [dataSources, debouncedDownsampleDataSources, xAndYFieldsWithTypes, threshold, isDownsamplingEnabled,
|
|
2510
|
+
}, [dataSources, downsampleDSOptions, debouncedDownsampleDataSources, xAndYFieldsWithTypes, threshold, isDownsamplingEnabled, previousDataSources, previousThreshold, previousDownsampleDSOptions]);
|
|
2508
2511
|
return downsampledDataSources;
|
|
2509
2512
|
};
|
|
2510
2513
|
|
|
2511
2514
|
exports.default = useDownsampleDataSources;
|
|
2512
2515
|
|
|
2513
2516
|
/***/ }),
|
|
2514
|
-
/*
|
|
2517
|
+
/* 65 */
|
|
2515
2518
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2516
2519
|
|
|
2517
2520
|
"use strict";
|
|
2518
2521
|
|
|
2519
2522
|
|
|
2520
|
-
var _toConsumableArray = __webpack_require__(
|
|
2523
|
+
var _toConsumableArray = __webpack_require__(6);
|
|
2521
2524
|
|
|
2522
2525
|
Object.defineProperty(exports, "__esModule", {
|
|
2523
2526
|
value: true
|
|
2524
2527
|
});
|
|
2525
2528
|
|
|
2526
|
-
var react_1 = __webpack_require__(
|
|
2529
|
+
var react_1 = __webpack_require__(1);
|
|
2527
2530
|
|
|
2528
|
-
var Options_1 = __webpack_require__(
|
|
2531
|
+
var Options_1 = __webpack_require__(16);
|
|
2529
2532
|
/**
|
|
2530
2533
|
* Hook that evaluates the DSL for subset of a viz's options needed to determine
|
|
2531
2534
|
* its x and y fields as well as the types of all its fields.
|
|
@@ -2625,7 +2628,7 @@ var useGetXAndYFields = function useGetXAndYFields(_ref) {
|
|
|
2625
2628
|
exports.default = useGetXAndYFields;
|
|
2626
2629
|
|
|
2627
2630
|
/***/ }),
|
|
2628
|
-
/*
|
|
2631
|
+
/* 66 */
|
|
2629
2632
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2630
2633
|
|
|
2631
2634
|
"use strict";
|
|
@@ -2636,7 +2639,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2636
2639
|
});
|
|
2637
2640
|
exports.getFeatureFlag = void 0;
|
|
2638
2641
|
|
|
2639
|
-
var FeatureFlags_1 = __webpack_require__(
|
|
2642
|
+
var FeatureFlags_1 = __webpack_require__(67);
|
|
2640
2643
|
|
|
2641
2644
|
var getFeatureFlag = function getFeatureFlag(context, flagName) {
|
|
2642
2645
|
// look for feature flag in context first
|
|
@@ -2660,32 +2663,32 @@ var getFeatureFlag = function getFeatureFlag(context, flagName) {
|
|
|
2660
2663
|
exports.getFeatureFlag = getFeatureFlag;
|
|
2661
2664
|
|
|
2662
2665
|
/***/ }),
|
|
2663
|
-
/*
|
|
2666
|
+
/* 67 */
|
|
2664
2667
|
/***/ (function(module, exports) {
|
|
2665
2668
|
|
|
2666
2669
|
module.exports = require("@splunk/visualization-context/FeatureFlags");
|
|
2667
2670
|
|
|
2668
2671
|
/***/ }),
|
|
2669
|
-
/*
|
|
2672
|
+
/* 68 */
|
|
2670
2673
|
/***/ (function(module, exports) {
|
|
2671
2674
|
|
|
2672
2675
|
module.exports = require("@babel/runtime/helpers/extends");
|
|
2673
2676
|
|
|
2674
2677
|
/***/ }),
|
|
2675
|
-
/*
|
|
2678
|
+
/* 69 */
|
|
2676
2679
|
/***/ (function(module, exports) {
|
|
2677
2680
|
|
|
2678
2681
|
module.exports = require("@splunk/visualizations-shared/colorConstants");
|
|
2679
2682
|
|
|
2680
2683
|
/***/ }),
|
|
2681
|
-
/*
|
|
2684
|
+
/* 70 */
|
|
2682
2685
|
/***/ (function(module, exports) {
|
|
2683
2686
|
|
|
2684
2687
|
module.exports = require("@splunk/visualization-icons/placeholders");
|
|
2685
2688
|
|
|
2686
2689
|
/***/ }),
|
|
2687
|
-
/*
|
|
2688
|
-
/*
|
|
2690
|
+
/* 71 */,
|
|
2691
|
+
/* 72 */
|
|
2689
2692
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2690
2693
|
|
|
2691
2694
|
"use strict";
|
|
@@ -2695,14 +2698,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2695
2698
|
value: true
|
|
2696
2699
|
});
|
|
2697
2700
|
|
|
2698
|
-
var i18n_1 = __webpack_require__(
|
|
2701
|
+
var i18n_1 = __webpack_require__(3);
|
|
2699
2702
|
|
|
2700
2703
|
var background = function background(_ref) {
|
|
2701
2704
|
var label = _ref.label,
|
|
2702
2705
|
themes = _ref.themes,
|
|
2703
2706
|
labelPosition = _ref.labelPosition;
|
|
2704
2707
|
return [{
|
|
2705
|
-
label: (0, i18n_1._)(label || 'Background'),
|
|
2708
|
+
label: (0, i18n_1._)(label || 'Background color'),
|
|
2706
2709
|
option: 'backgroundColor',
|
|
2707
2710
|
editor: 'editor.color',
|
|
2708
2711
|
editorProps: {
|
|
@@ -2715,24 +2718,25 @@ var background = function background(_ref) {
|
|
|
2715
2718
|
exports.default = background;
|
|
2716
2719
|
|
|
2717
2720
|
/***/ }),
|
|
2718
|
-
/*
|
|
2719
|
-
/*
|
|
2721
|
+
/* 73 */,
|
|
2722
|
+
/* 74 */
|
|
2720
2723
|
/***/ (function(module, exports) {
|
|
2721
2724
|
|
|
2722
2725
|
module.exports = require("@splunk/visualization-color-palettes");
|
|
2723
2726
|
|
|
2724
2727
|
/***/ }),
|
|
2728
|
+
/* 75 */,
|
|
2725
2729
|
/* 76 */,
|
|
2726
2730
|
/* 77 */,
|
|
2727
2731
|
/* 78 */,
|
|
2728
2732
|
/* 79 */,
|
|
2729
|
-
/* 80
|
|
2730
|
-
/* 81 */
|
|
2733
|
+
/* 80 */
|
|
2731
2734
|
/***/ (function(module, exports) {
|
|
2732
2735
|
|
|
2733
2736
|
module.exports = require("@splunk/visualization-color-palettes/editors/PresetPalettes");
|
|
2734
2737
|
|
|
2735
2738
|
/***/ }),
|
|
2739
|
+
/* 81 */,
|
|
2736
2740
|
/* 82 */,
|
|
2737
2741
|
/* 83 */,
|
|
2738
2742
|
/* 84 */,
|
|
@@ -2775,18 +2779,18 @@ module.exports = require("@splunk/visualization-color-palettes/editors/PresetPal
|
|
|
2775
2779
|
"use strict";
|
|
2776
2780
|
|
|
2777
2781
|
|
|
2778
|
-
var _toConsumableArray = __webpack_require__(
|
|
2782
|
+
var _toConsumableArray = __webpack_require__(6);
|
|
2779
2783
|
|
|
2780
2784
|
Object.defineProperty(exports, "__esModule", {
|
|
2781
2785
|
value: true
|
|
2782
2786
|
});
|
|
2783
2787
|
exports.convertToGaugeProperties = exports.mapValueLabelDisplay = exports.mapToOldKey = exports.getGradientDimensions = exports.getGradientStops = exports.getGradientStopColors = exports.getGradientStopOffsets = exports.getGaugeRange = exports.validateRanges = exports.getSortedRanges = exports.getMarkerGaugeValueMarkerPositions = exports.getMarkerBarDimensions = exports.getFillerGaugeValueMarkerPositions = exports.getFillBarDimensions = exports.getGaugeBarHeight = exports.getGaugeBarWidth = exports.getGaugeBarStartPositions = exports.getGaugeBarLength = exports.assignGaugeColor = exports.getGaugeDimensions = exports.getGaugeStartPosition = exports.getGaugeLength = exports.getGaugeHeight = exports.getGaugeWidth = exports.FILL_THICKNESS = exports.GAUGE_THICKNESS = void 0;
|
|
2784
2788
|
|
|
2785
|
-
var lodash_1 = __webpack_require__(
|
|
2789
|
+
var lodash_1 = __webpack_require__(2);
|
|
2786
2790
|
|
|
2787
|
-
var colorConstants_1 = __webpack_require__(
|
|
2791
|
+
var colorConstants_1 = __webpack_require__(69);
|
|
2788
2792
|
|
|
2789
|
-
var i18n_1 = __webpack_require__(
|
|
2793
|
+
var i18n_1 = __webpack_require__(3);
|
|
2790
2794
|
|
|
2791
2795
|
exports.GAUGE_THICKNESS = 50;
|
|
2792
2796
|
exports.FILL_THICKNESS = 38;
|
|
@@ -3563,8 +3567,7 @@ exports.convertToGaugeProperties = convertToGaugeProperties;
|
|
|
3563
3567
|
/* 142 */,
|
|
3564
3568
|
/* 143 */,
|
|
3565
3569
|
/* 144 */,
|
|
3566
|
-
/* 145
|
|
3567
|
-
/* 146 */
|
|
3570
|
+
/* 145 */
|
|
3568
3571
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3569
3572
|
|
|
3570
3573
|
"use strict";
|
|
@@ -3574,7 +3577,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3574
3577
|
value: true
|
|
3575
3578
|
});
|
|
3576
3579
|
|
|
3577
|
-
var i18n_1 = __webpack_require__(
|
|
3580
|
+
var i18n_1 = __webpack_require__(3);
|
|
3578
3581
|
|
|
3579
3582
|
var gauge = {
|
|
3580
3583
|
label: (0, i18n_1._)('Data display'),
|
|
@@ -3628,22 +3631,22 @@ var gauge = {
|
|
|
3628
3631
|
exports.default = gauge;
|
|
3629
3632
|
|
|
3630
3633
|
/***/ }),
|
|
3631
|
-
/*
|
|
3634
|
+
/* 146 */
|
|
3632
3635
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3633
3636
|
|
|
3634
3637
|
"use strict";
|
|
3635
3638
|
__webpack_require__.r(__webpack_exports__);
|
|
3636
3639
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MajorTick", function() { return MajorTick; });
|
|
3637
3640
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "positionMajorTick", function() { return positionMajorTick; });
|
|
3638
|
-
/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
3641
|
+
/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(68);
|
|
3639
3642
|
/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__);
|
|
3640
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
3643
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1);
|
|
3641
3644
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
|
3642
|
-
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
3645
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(0);
|
|
3643
3646
|
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
|
|
3644
3647
|
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(4);
|
|
3645
3648
|
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_3__);
|
|
3646
|
-
/* harmony import */ var _splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
|
3649
|
+
/* harmony import */ var _splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(10);
|
|
3647
3650
|
/* harmony import */ var _splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_4__);
|
|
3648
3651
|
|
|
3649
3652
|
|
|
@@ -3884,22 +3887,22 @@ MajorTicks.defaultProps = {
|
|
|
3884
3887
|
/* harmony default export */ __webpack_exports__["default"] = (MajorTicks);
|
|
3885
3888
|
|
|
3886
3889
|
/***/ }),
|
|
3887
|
-
/*
|
|
3890
|
+
/* 147 */
|
|
3888
3891
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3889
3892
|
|
|
3890
3893
|
"use strict";
|
|
3891
3894
|
__webpack_require__.r(__webpack_exports__);
|
|
3892
3895
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "positionValueMarkerRect", function() { return positionValueMarkerRect; });
|
|
3893
3896
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "positionLabel", function() { return positionLabel; });
|
|
3894
|
-
/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
3897
|
+
/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(68);
|
|
3895
3898
|
/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__);
|
|
3896
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
3899
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1);
|
|
3897
3900
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
|
3898
|
-
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
3901
|
+
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(0);
|
|
3899
3902
|
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
|
|
3900
3903
|
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(4);
|
|
3901
3904
|
/* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_3__);
|
|
3902
|
-
/* harmony import */ var _splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
|
3905
|
+
/* harmony import */ var _splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(10);
|
|
3903
3906
|
/* harmony import */ var _splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_numberUtils__WEBPACK_IMPORTED_MODULE_4__);
|
|
3904
3907
|
|
|
3905
3908
|
|
|
@@ -4095,6 +4098,7 @@ ValueMarker.defaultProps = {
|
|
|
4095
4098
|
/* harmony default export */ __webpack_exports__["default"] = (ValueMarker);
|
|
4096
4099
|
|
|
4097
4100
|
/***/ }),
|
|
4101
|
+
/* 148 */,
|
|
4098
4102
|
/* 149 */,
|
|
4099
4103
|
/* 150 */,
|
|
4100
4104
|
/* 151 */,
|
|
@@ -4177,9 +4181,7 @@ ValueMarker.defaultProps = {
|
|
|
4177
4181
|
/* 228 */,
|
|
4178
4182
|
/* 229 */,
|
|
4179
4183
|
/* 230 */,
|
|
4180
|
-
/* 231
|
|
4181
|
-
/* 232 */,
|
|
4182
|
-
/* 233 */
|
|
4184
|
+
/* 231 */
|
|
4183
4185
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4184
4186
|
|
|
4185
4187
|
"use strict";
|
|
@@ -4203,13 +4205,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4203
4205
|
});
|
|
4204
4206
|
exports.themes = exports.computeVizProps = exports.PureFillerGauge = exports.config = void 0;
|
|
4205
4207
|
|
|
4206
|
-
var lodash_1 = __webpack_require__(
|
|
4208
|
+
var lodash_1 = __webpack_require__(2);
|
|
4207
4209
|
|
|
4208
|
-
var config_1 = __webpack_require__(
|
|
4210
|
+
var config_1 = __webpack_require__(232);
|
|
4209
4211
|
|
|
4210
|
-
var withDashboardViz_1 = __webpack_require__(
|
|
4212
|
+
var withDashboardViz_1 = __webpack_require__(54);
|
|
4211
4213
|
|
|
4212
|
-
var FillerGauge_1 = __webpack_require__(
|
|
4214
|
+
var FillerGauge_1 = __webpack_require__(236);
|
|
4213
4215
|
|
|
4214
4216
|
var gaugeUtils_1 = __webpack_require__(118);
|
|
4215
4217
|
|
|
@@ -4241,7 +4243,7 @@ exports.themes = config_1.default.themes;
|
|
|
4241
4243
|
exports.default = viz;
|
|
4242
4244
|
|
|
4243
4245
|
/***/ }),
|
|
4244
|
-
/*
|
|
4246
|
+
/* 232 */
|
|
4245
4247
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4246
4248
|
|
|
4247
4249
|
"use strict";
|
|
@@ -4251,35 +4253,35 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4251
4253
|
value: true
|
|
4252
4254
|
});
|
|
4253
4255
|
|
|
4254
|
-
var i18n_1 = __webpack_require__(
|
|
4256
|
+
var i18n_1 = __webpack_require__(3);
|
|
4255
4257
|
|
|
4256
|
-
var visualization_schemas_1 = __webpack_require__(
|
|
4258
|
+
var visualization_schemas_1 = __webpack_require__(9);
|
|
4257
4259
|
|
|
4258
|
-
var pick_1 = __webpack_require__(
|
|
4260
|
+
var pick_1 = __webpack_require__(29);
|
|
4259
4261
|
|
|
4260
|
-
var variables_1 = __webpack_require__(
|
|
4262
|
+
var variables_1 = __webpack_require__(13);
|
|
4261
4263
|
|
|
4262
|
-
var visualization_color_palettes_1 = __webpack_require__(
|
|
4264
|
+
var visualization_color_palettes_1 = __webpack_require__(74);
|
|
4263
4265
|
|
|
4264
|
-
var PresetPalettes_1 = __webpack_require__(
|
|
4266
|
+
var PresetPalettes_1 = __webpack_require__(80);
|
|
4265
4267
|
|
|
4266
|
-
var GaugeFiller_1 = __webpack_require__(
|
|
4268
|
+
var GaugeFiller_1 = __webpack_require__(233);
|
|
4267
4269
|
|
|
4268
|
-
var placeholders_1 = __webpack_require__(
|
|
4270
|
+
var placeholders_1 = __webpack_require__(70);
|
|
4269
4271
|
|
|
4270
|
-
var VizBehavior_1 = __webpack_require__(
|
|
4272
|
+
var VizBehavior_1 = __webpack_require__(7);
|
|
4271
4273
|
|
|
4272
|
-
var VizCategory_1 = __webpack_require__(
|
|
4274
|
+
var VizCategory_1 = __webpack_require__(22);
|
|
4273
4275
|
|
|
4274
|
-
var configUtils_1 = __webpack_require__(
|
|
4276
|
+
var configUtils_1 = __webpack_require__(26);
|
|
4275
4277
|
|
|
4276
|
-
var Gauge_1 = __webpack_require__(
|
|
4278
|
+
var Gauge_1 = __webpack_require__(145);
|
|
4277
4279
|
|
|
4278
|
-
var BackgroundColor_1 = __webpack_require__(
|
|
4280
|
+
var BackgroundColor_1 = __webpack_require__(72);
|
|
4279
4281
|
|
|
4280
|
-
var DynamicGaugeColorEditor_1 = __webpack_require__(
|
|
4282
|
+
var DynamicGaugeColorEditor_1 = __webpack_require__(234);
|
|
4281
4283
|
|
|
4282
|
-
var StaticGaugeColorEditor_1 = __webpack_require__(
|
|
4284
|
+
var StaticGaugeColorEditor_1 = __webpack_require__(235);
|
|
4283
4285
|
|
|
4284
4286
|
var dataContract = {
|
|
4285
4287
|
requiredDataSources: [{
|
|
@@ -4485,13 +4487,13 @@ var config = {
|
|
|
4485
4487
|
exports.default = (0, configUtils_1.enhanceConfig)(config);
|
|
4486
4488
|
|
|
4487
4489
|
/***/ }),
|
|
4488
|
-
/*
|
|
4490
|
+
/* 233 */
|
|
4489
4491
|
/***/ (function(module, exports) {
|
|
4490
4492
|
|
|
4491
4493
|
module.exports = require("@splunk/react-icons/enterprise/GaugeFiller");
|
|
4492
4494
|
|
|
4493
4495
|
/***/ }),
|
|
4494
|
-
/*
|
|
4496
|
+
/* 234 */
|
|
4495
4497
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4496
4498
|
|
|
4497
4499
|
"use strict";
|
|
@@ -4502,9 +4504,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4502
4504
|
});
|
|
4503
4505
|
exports.getDynamicGaugeColorEditor = void 0;
|
|
4504
4506
|
|
|
4505
|
-
var i18n_1 = __webpack_require__(
|
|
4507
|
+
var i18n_1 = __webpack_require__(3);
|
|
4506
4508
|
|
|
4507
|
-
var configUtils_1 = __webpack_require__(
|
|
4509
|
+
var configUtils_1 = __webpack_require__(28);
|
|
4508
4510
|
|
|
4509
4511
|
var getDynamicGaugeColorEditor = function getDynamicGaugeColorEditor(_ref) {
|
|
4510
4512
|
var defaultContext = _ref.defaultContext,
|
|
@@ -4540,7 +4542,7 @@ var getDynamicGaugeColorEditor = function getDynamicGaugeColorEditor(_ref) {
|
|
|
4540
4542
|
exports.getDynamicGaugeColorEditor = getDynamicGaugeColorEditor;
|
|
4541
4543
|
|
|
4542
4544
|
/***/ }),
|
|
4543
|
-
/*
|
|
4545
|
+
/* 235 */
|
|
4544
4546
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4545
4547
|
|
|
4546
4548
|
"use strict";
|
|
@@ -4550,9 +4552,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4550
4552
|
value: true
|
|
4551
4553
|
});
|
|
4552
4554
|
|
|
4553
|
-
var i18n_1 = __webpack_require__(
|
|
4555
|
+
var i18n_1 = __webpack_require__(3);
|
|
4554
4556
|
|
|
4555
|
-
var configUtils_1 = __webpack_require__(
|
|
4557
|
+
var configUtils_1 = __webpack_require__(28);
|
|
4556
4558
|
|
|
4557
4559
|
var StaticGaugeColorEditor = {
|
|
4558
4560
|
label: (0, i18n_1._)('Gauge'),
|
|
@@ -4566,13 +4568,13 @@ var StaticGaugeColorEditor = {
|
|
|
4566
4568
|
exports.default = StaticGaugeColorEditor;
|
|
4567
4569
|
|
|
4568
4570
|
/***/ }),
|
|
4569
|
-
/*
|
|
4571
|
+
/* 236 */
|
|
4570
4572
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4571
4573
|
|
|
4572
4574
|
"use strict";
|
|
4573
4575
|
|
|
4574
4576
|
|
|
4575
|
-
var _slicedToArray = __webpack_require__(
|
|
4577
|
+
var _slicedToArray = __webpack_require__(5);
|
|
4576
4578
|
|
|
4577
4579
|
var __rest = this && this.__rest || function (s, e) {
|
|
4578
4580
|
var t = {};
|
|
@@ -4592,27 +4594,27 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4592
4594
|
});
|
|
4593
4595
|
exports.AXIS_ORIENTATION_TYPES = void 0;
|
|
4594
4596
|
|
|
4595
|
-
var React = __webpack_require__(
|
|
4597
|
+
var React = __webpack_require__(1);
|
|
4596
4598
|
|
|
4597
|
-
var T = __webpack_require__(
|
|
4599
|
+
var T = __webpack_require__(0);
|
|
4598
4600
|
|
|
4599
4601
|
var styled_components_1 = __webpack_require__(4);
|
|
4600
4602
|
|
|
4601
|
-
var lodash_1 = __webpack_require__(
|
|
4603
|
+
var lodash_1 = __webpack_require__(2);
|
|
4602
4604
|
|
|
4603
|
-
var i18n_1 = __webpack_require__(
|
|
4605
|
+
var i18n_1 = __webpack_require__(3);
|
|
4604
4606
|
|
|
4605
|
-
var style_1 = __webpack_require__(
|
|
4607
|
+
var style_1 = __webpack_require__(18);
|
|
4606
4608
|
|
|
4607
|
-
var SizeAwareWrapper_1 = __webpack_require__(
|
|
4609
|
+
var SizeAwareWrapper_1 = __webpack_require__(25);
|
|
4608
4610
|
|
|
4609
|
-
var Message_1 = __webpack_require__(
|
|
4611
|
+
var Message_1 = __webpack_require__(11);
|
|
4610
4612
|
|
|
4611
4613
|
var gaugeUtils_1 = __webpack_require__(118);
|
|
4612
4614
|
|
|
4613
|
-
var GaugeMajorTicks_1 = __webpack_require__(
|
|
4615
|
+
var GaugeMajorTicks_1 = __webpack_require__(146);
|
|
4614
4616
|
|
|
4615
|
-
var GaugeValueMarker_1 = __webpack_require__(
|
|
4617
|
+
var GaugeValueMarker_1 = __webpack_require__(147);
|
|
4616
4618
|
|
|
4617
4619
|
var Container = styled_components_1.default.div.withConfig({
|
|
4618
4620
|
displayName: "FillerGauge__Container",
|