@splunk/visualizations 26.3.0 → 26.4.1
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 +300 -290
- package/Area.js.map +1 -1
- package/Bar.config.js +1 -1
- package/Bar.config.js.map +1 -1
- package/Bar.js +303 -293
- package/Bar.js.map +1 -1
- package/Bubble.config.js +1 -1
- package/Bubble.config.js.map +1 -1
- package/Bubble.js +292 -282
- 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 +303 -293
- 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 +301 -291
- 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 +12 -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 +374 -332
- 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 +351 -339
- 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.js +354 -350
- package/Table.js.map +1 -1
- package/common/Charting.js +25 -24
- 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/Image.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 = 237);
|
|
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.1 - 2b7482c08",
|
|
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,27 +1088,27 @@ 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
|
/***/ }),
|
|
1097
|
+
/* 28 */,
|
|
1104
1098
|
/* 29 */,
|
|
1105
|
-
/* 30
|
|
1106
|
-
/* 31 */
|
|
1099
|
+
/* 30 */
|
|
1107
1100
|
/***/ (function(module, exports) {
|
|
1108
1101
|
|
|
1109
1102
|
module.exports = require("@splunk/ui-utils/id");
|
|
1110
1103
|
|
|
1111
1104
|
/***/ }),
|
|
1112
|
-
/*
|
|
1105
|
+
/* 31 */
|
|
1113
1106
|
/***/ (function(module, exports) {
|
|
1114
1107
|
|
|
1115
1108
|
module.exports = require("@splunk/visualization-context/TimezoneContext");
|
|
1116
1109
|
|
|
1117
1110
|
/***/ }),
|
|
1118
|
-
/*
|
|
1111
|
+
/* 32 */
|
|
1119
1112
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1120
1113
|
|
|
1121
1114
|
"use strict";
|
|
@@ -1125,7 +1118,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1125
1118
|
value: true
|
|
1126
1119
|
});
|
|
1127
1120
|
|
|
1128
|
-
var react_1 = __webpack_require__(
|
|
1121
|
+
var react_1 = __webpack_require__(1);
|
|
1129
1122
|
|
|
1130
1123
|
function usePrevious(value) {
|
|
1131
1124
|
var ref = (0, react_1.useRef)();
|
|
@@ -1138,20 +1131,20 @@ function usePrevious(value) {
|
|
|
1138
1131
|
exports.default = usePrevious;
|
|
1139
1132
|
|
|
1140
1133
|
/***/ }),
|
|
1141
|
-
/*
|
|
1134
|
+
/* 33 */
|
|
1142
1135
|
/***/ (function(module, exports) {
|
|
1143
1136
|
|
|
1144
1137
|
module.exports = require("@splunk/visualizations-shared/hocUtils");
|
|
1145
1138
|
|
|
1146
1139
|
/***/ }),
|
|
1147
|
-
/*
|
|
1140
|
+
/* 34 */
|
|
1148
1141
|
/***/ (function(module, exports) {
|
|
1149
1142
|
|
|
1150
1143
|
module.exports = require("@splunk/visualizations-shared/JSONSchemaUtils");
|
|
1151
1144
|
|
|
1152
1145
|
/***/ }),
|
|
1153
|
-
/*
|
|
1154
|
-
/*
|
|
1146
|
+
/* 35 */,
|
|
1147
|
+
/* 36 */
|
|
1155
1148
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1156
1149
|
|
|
1157
1150
|
"use strict";
|
|
@@ -1162,17 +1155,17 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1162
1155
|
});
|
|
1163
1156
|
exports.shouldShowIconPlaceholder = void 0;
|
|
1164
1157
|
|
|
1165
|
-
var React = __webpack_require__(
|
|
1158
|
+
var React = __webpack_require__(1);
|
|
1166
1159
|
|
|
1167
|
-
var T = __webpack_require__(
|
|
1160
|
+
var T = __webpack_require__(0);
|
|
1168
1161
|
|
|
1169
|
-
var lodash_1 = __webpack_require__(
|
|
1162
|
+
var lodash_1 = __webpack_require__(2);
|
|
1170
1163
|
|
|
1171
|
-
var i18n_1 = __webpack_require__(
|
|
1164
|
+
var i18n_1 = __webpack_require__(3);
|
|
1172
1165
|
|
|
1173
|
-
var Message_1 = __webpack_require__(
|
|
1166
|
+
var Message_1 = __webpack_require__(11);
|
|
1174
1167
|
|
|
1175
|
-
var FixedSizeContainer_1 = __webpack_require__(
|
|
1168
|
+
var FixedSizeContainer_1 = __webpack_require__(17);
|
|
1176
1169
|
/**
|
|
1177
1170
|
* @method shouldShowIconPlaceholder
|
|
1178
1171
|
* @param {object} dataSources
|
|
@@ -1243,24 +1236,24 @@ IconPlaceholder.defaultProps = {
|
|
|
1243
1236
|
exports.default = (0, FixedSizeContainer_1.default)(IconPlaceholder);
|
|
1244
1237
|
|
|
1245
1238
|
/***/ }),
|
|
1246
|
-
/*
|
|
1239
|
+
/* 37 */
|
|
1247
1240
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1248
1241
|
|
|
1249
1242
|
"use strict";
|
|
1250
1243
|
|
|
1251
1244
|
|
|
1252
|
-
var _defineProperty = __webpack_require__(
|
|
1245
|
+
var _defineProperty = __webpack_require__(12);
|
|
1253
1246
|
|
|
1254
1247
|
Object.defineProperty(exports, "__esModule", {
|
|
1255
1248
|
value: true
|
|
1256
1249
|
});
|
|
1257
1250
|
exports.getSortingParams = exports.SortParamsPropTypes = void 0;
|
|
1258
1251
|
|
|
1259
|
-
var T = __webpack_require__(
|
|
1252
|
+
var T = __webpack_require__(0);
|
|
1260
1253
|
|
|
1261
|
-
var lodash_1 = __webpack_require__(
|
|
1254
|
+
var lodash_1 = __webpack_require__(2);
|
|
1262
1255
|
|
|
1263
|
-
var DataSource_1 = __webpack_require__(
|
|
1256
|
+
var DataSource_1 = __webpack_require__(20);
|
|
1264
1257
|
|
|
1265
1258
|
exports.SortParamsPropTypes = T.shape({
|
|
1266
1259
|
currentSortKey: T.string,
|
|
@@ -1313,7 +1306,7 @@ var getSortingParams = function getSortingParams(_ref) {
|
|
|
1313
1306
|
exports.getSortingParams = getSortingParams;
|
|
1314
1307
|
|
|
1315
1308
|
/***/ }),
|
|
1316
|
-
/*
|
|
1309
|
+
/* 38 */
|
|
1317
1310
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1318
1311
|
|
|
1319
1312
|
"use strict";
|
|
@@ -1324,9 +1317,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1324
1317
|
});
|
|
1325
1318
|
exports.getPaginationParams = exports.PaginatorParamsPropTypes = void 0;
|
|
1326
1319
|
|
|
1327
|
-
var T = __webpack_require__(
|
|
1320
|
+
var T = __webpack_require__(0);
|
|
1328
1321
|
|
|
1329
|
-
var lodash_1 = __webpack_require__(
|
|
1322
|
+
var lodash_1 = __webpack_require__(2);
|
|
1330
1323
|
|
|
1331
1324
|
exports.PaginatorParamsPropTypes = T.shape({
|
|
1332
1325
|
isPaging: T.bool,
|
|
@@ -1377,7 +1370,7 @@ var getPaginationParams = function getPaginationParams(_ref) {
|
|
|
1377
1370
|
exports.getPaginationParams = getPaginationParams;
|
|
1378
1371
|
|
|
1379
1372
|
/***/ }),
|
|
1380
|
-
/*
|
|
1373
|
+
/* 39 */
|
|
1381
1374
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1382
1375
|
|
|
1383
1376
|
"use strict";
|
|
@@ -1412,11 +1405,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1412
1405
|
value: true
|
|
1413
1406
|
});
|
|
1414
1407
|
|
|
1408
|
+
__exportStar(__webpack_require__(40), exports);
|
|
1409
|
+
|
|
1415
1410
|
__exportStar(__webpack_require__(41), exports);
|
|
1416
1411
|
|
|
1417
|
-
__exportStar(__webpack_require__(
|
|
1412
|
+
__exportStar(__webpack_require__(20), exports);
|
|
1418
1413
|
|
|
1419
|
-
__exportStar(__webpack_require__(
|
|
1414
|
+
__exportStar(__webpack_require__(42), exports);
|
|
1420
1415
|
|
|
1421
1416
|
__exportStar(__webpack_require__(43), exports);
|
|
1422
1417
|
|
|
@@ -1428,13 +1423,13 @@ __exportStar(__webpack_require__(46), exports);
|
|
|
1428
1423
|
|
|
1429
1424
|
__exportStar(__webpack_require__(47), exports);
|
|
1430
1425
|
|
|
1431
|
-
__exportStar(__webpack_require__(
|
|
1426
|
+
__exportStar(__webpack_require__(21), exports);
|
|
1432
1427
|
|
|
1433
|
-
__exportStar(__webpack_require__(
|
|
1428
|
+
__exportStar(__webpack_require__(7), exports);
|
|
1434
1429
|
|
|
1435
|
-
__exportStar(__webpack_require__(
|
|
1430
|
+
__exportStar(__webpack_require__(22), exports);
|
|
1436
1431
|
|
|
1437
|
-
__exportStar(__webpack_require__(
|
|
1432
|
+
__exportStar(__webpack_require__(48), exports);
|
|
1438
1433
|
|
|
1439
1434
|
__exportStar(__webpack_require__(49), exports);
|
|
1440
1435
|
|
|
@@ -1446,10 +1441,8 @@ __exportStar(__webpack_require__(52), exports);
|
|
|
1446
1441
|
|
|
1447
1442
|
__exportStar(__webpack_require__(53), exports);
|
|
1448
1443
|
|
|
1449
|
-
__exportStar(__webpack_require__(54), exports);
|
|
1450
|
-
|
|
1451
1444
|
/***/ }),
|
|
1452
|
-
/*
|
|
1445
|
+
/* 40 */
|
|
1453
1446
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1454
1447
|
|
|
1455
1448
|
"use strict";
|
|
@@ -1460,7 +1453,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1460
1453
|
});
|
|
1461
1454
|
|
|
1462
1455
|
/***/ }),
|
|
1463
|
-
/*
|
|
1456
|
+
/* 41 */
|
|
1464
1457
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1465
1458
|
|
|
1466
1459
|
"use strict";
|
|
@@ -1469,6 +1462,17 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1469
1462
|
* A data structure used at runtime to wire up a visualization.
|
|
1470
1463
|
*/
|
|
1471
1464
|
|
|
1465
|
+
Object.defineProperty(exports, "__esModule", {
|
|
1466
|
+
value: true
|
|
1467
|
+
});
|
|
1468
|
+
|
|
1469
|
+
/***/ }),
|
|
1470
|
+
/* 42 */
|
|
1471
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1472
|
+
|
|
1473
|
+
"use strict";
|
|
1474
|
+
|
|
1475
|
+
|
|
1472
1476
|
Object.defineProperty(exports, "__esModule", {
|
|
1473
1477
|
value: true
|
|
1474
1478
|
});
|
|
@@ -1601,70 +1605,59 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1601
1605
|
"use strict";
|
|
1602
1606
|
|
|
1603
1607
|
|
|
1604
|
-
|
|
1605
|
-
value: true
|
|
1606
|
-
});
|
|
1607
|
-
|
|
1608
|
-
/***/ }),
|
|
1609
|
-
/* 55 */
|
|
1610
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1611
|
-
|
|
1612
|
-
"use strict";
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
var _slicedToArray = __webpack_require__(6);
|
|
1608
|
+
var _slicedToArray = __webpack_require__(5);
|
|
1616
1609
|
|
|
1617
1610
|
Object.defineProperty(exports, "__esModule", {
|
|
1618
1611
|
value: true
|
|
1619
1612
|
});
|
|
1620
1613
|
|
|
1621
|
-
var React = __webpack_require__(
|
|
1614
|
+
var React = __webpack_require__(1);
|
|
1622
1615
|
|
|
1623
|
-
var lodash_1 = __webpack_require__(
|
|
1616
|
+
var lodash_1 = __webpack_require__(2);
|
|
1624
1617
|
|
|
1625
|
-
var getSettingsFromThemedProps_1 = __webpack_require__(
|
|
1618
|
+
var getSettingsFromThemedProps_1 = __webpack_require__(55);
|
|
1626
1619
|
|
|
1627
|
-
var Options_1 = __webpack_require__(
|
|
1620
|
+
var Options_1 = __webpack_require__(16);
|
|
1628
1621
|
|
|
1629
|
-
var SanitizeProps_1 = __webpack_require__(
|
|
1622
|
+
var SanitizeProps_1 = __webpack_require__(56);
|
|
1630
1623
|
|
|
1631
|
-
var TimezoneContext_1 = __webpack_require__(
|
|
1624
|
+
var TimezoneContext_1 = __webpack_require__(31);
|
|
1632
1625
|
|
|
1633
|
-
var moment_1 = __webpack_require__(
|
|
1626
|
+
var moment_1 = __webpack_require__(57);
|
|
1634
1627
|
|
|
1635
|
-
var FeatureFlagContext_1 = __webpack_require__(
|
|
1628
|
+
var FeatureFlagContext_1 = __webpack_require__(27);
|
|
1636
1629
|
|
|
1637
1630
|
var styled_components_1 = __webpack_require__(4);
|
|
1638
1631
|
|
|
1639
|
-
var hocUtils_1 = __webpack_require__(
|
|
1632
|
+
var hocUtils_1 = __webpack_require__(33);
|
|
1640
1633
|
|
|
1641
|
-
var JSONSchemaUtils_1 = __webpack_require__(
|
|
1634
|
+
var JSONSchemaUtils_1 = __webpack_require__(34);
|
|
1642
1635
|
|
|
1643
|
-
var async_dynamic_options_evaluator_1 = __webpack_require__(
|
|
1636
|
+
var async_dynamic_options_evaluator_1 = __webpack_require__(58);
|
|
1644
1637
|
|
|
1645
|
-
var id_1 = __webpack_require__(
|
|
1638
|
+
var id_1 = __webpack_require__(30);
|
|
1646
1639
|
|
|
1647
|
-
var SplunkVisualization_1 = __webpack_require__(
|
|
1640
|
+
var SplunkVisualization_1 = __webpack_require__(59);
|
|
1648
1641
|
|
|
1649
|
-
var VizBehavior_1 = __webpack_require__(
|
|
1642
|
+
var VizBehavior_1 = __webpack_require__(7);
|
|
1650
1643
|
|
|
1651
|
-
var getSorting_1 = __webpack_require__(
|
|
1644
|
+
var getSorting_1 = __webpack_require__(37);
|
|
1652
1645
|
|
|
1653
|
-
var getPagination_1 = __webpack_require__(
|
|
1646
|
+
var getPagination_1 = __webpack_require__(38);
|
|
1654
1647
|
|
|
1655
|
-
var useDeepMemo_1 = __webpack_require__(
|
|
1648
|
+
var useDeepMemo_1 = __webpack_require__(60);
|
|
1656
1649
|
|
|
1657
|
-
var MissingPropsMessage_1 = __webpack_require__(
|
|
1650
|
+
var MissingPropsMessage_1 = __webpack_require__(61);
|
|
1658
1651
|
|
|
1659
|
-
var withEditModeCover_1 = __webpack_require__(
|
|
1652
|
+
var withEditModeCover_1 = __webpack_require__(62);
|
|
1660
1653
|
|
|
1661
|
-
var withPlaceholder_1 = __webpack_require__(
|
|
1654
|
+
var withPlaceholder_1 = __webpack_require__(63);
|
|
1662
1655
|
|
|
1663
|
-
var useDownsampleDataSources_1 = __webpack_require__(
|
|
1656
|
+
var useDownsampleDataSources_1 = __webpack_require__(64);
|
|
1664
1657
|
|
|
1665
|
-
var dataUtils_1 = __webpack_require__(
|
|
1658
|
+
var dataUtils_1 = __webpack_require__(14);
|
|
1666
1659
|
|
|
1667
|
-
var featureFlagUtils_1 = __webpack_require__(
|
|
1660
|
+
var featureFlagUtils_1 = __webpack_require__(66);
|
|
1668
1661
|
/**
|
|
1669
1662
|
* hoc that wraps a pure react visualization in a Dashboard visualization
|
|
1670
1663
|
* @param {DashboardVizOpts} opts
|
|
@@ -1996,37 +1989,37 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
1996
1989
|
exports.default = withDashboardViz;
|
|
1997
1990
|
|
|
1998
1991
|
/***/ }),
|
|
1999
|
-
/*
|
|
1992
|
+
/* 55 */
|
|
2000
1993
|
/***/ (function(module, exports) {
|
|
2001
1994
|
|
|
2002
1995
|
module.exports = require("@splunk/themes/getSettingsFromThemedProps");
|
|
2003
1996
|
|
|
2004
1997
|
/***/ }),
|
|
2005
|
-
/*
|
|
1998
|
+
/* 56 */
|
|
2006
1999
|
/***/ (function(module, exports) {
|
|
2007
2000
|
|
|
2008
2001
|
module.exports = require("@splunk/visualizations-shared/SanitizeProps");
|
|
2009
2002
|
|
|
2010
2003
|
/***/ }),
|
|
2011
|
-
/*
|
|
2004
|
+
/* 57 */
|
|
2012
2005
|
/***/ (function(module, exports) {
|
|
2013
2006
|
|
|
2014
2007
|
module.exports = require("@splunk/moment");
|
|
2015
2008
|
|
|
2016
2009
|
/***/ }),
|
|
2017
|
-
/*
|
|
2010
|
+
/* 58 */
|
|
2018
2011
|
/***/ (function(module, exports) {
|
|
2019
2012
|
|
|
2020
2013
|
module.exports = require("@splunk/async-dynamic-options-evaluator");
|
|
2021
2014
|
|
|
2022
2015
|
/***/ }),
|
|
2023
|
-
/*
|
|
2016
|
+
/* 59 */
|
|
2024
2017
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2025
2018
|
|
|
2026
2019
|
"use strict";
|
|
2027
2020
|
|
|
2028
2021
|
|
|
2029
|
-
var _classCallCheck = __webpack_require__(
|
|
2022
|
+
var _classCallCheck = __webpack_require__(8);
|
|
2030
2023
|
|
|
2031
2024
|
Object.defineProperty(exports, "__esModule", {
|
|
2032
2025
|
value: true
|
|
@@ -2034,11 +2027,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2034
2027
|
exports.INITIAL_HEIGHT = exports.INITIAL_WIDTH = void 0;
|
|
2035
2028
|
/* eslint-disable react/no-unused-prop-types,react/prefer-stateless-function */
|
|
2036
2029
|
|
|
2037
|
-
var T = __webpack_require__(
|
|
2030
|
+
var T = __webpack_require__(0);
|
|
2038
2031
|
|
|
2039
|
-
var lodash_1 = __webpack_require__(
|
|
2032
|
+
var lodash_1 = __webpack_require__(2);
|
|
2040
2033
|
|
|
2041
|
-
var VizActionHandler_1 = __webpack_require__(
|
|
2034
|
+
var VizActionHandler_1 = __webpack_require__(21); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
|
|
2042
2035
|
|
|
2043
2036
|
|
|
2044
2037
|
exports.INITIAL_WIDTH = 250;
|
|
@@ -2171,7 +2164,7 @@ SplunkVisualization.defaultProps = {
|
|
|
2171
2164
|
exports.default = SplunkVisualization;
|
|
2172
2165
|
|
|
2173
2166
|
/***/ }),
|
|
2174
|
-
/*
|
|
2167
|
+
/* 60 */
|
|
2175
2168
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2176
2169
|
|
|
2177
2170
|
"use strict";
|
|
@@ -2182,9 +2175,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2182
2175
|
});
|
|
2183
2176
|
exports.useDeepMemo = void 0;
|
|
2184
2177
|
|
|
2185
|
-
var react_1 = __webpack_require__(
|
|
2178
|
+
var react_1 = __webpack_require__(1);
|
|
2186
2179
|
|
|
2187
|
-
var lodash_1 = __webpack_require__(
|
|
2180
|
+
var lodash_1 = __webpack_require__(2);
|
|
2188
2181
|
/**
|
|
2189
2182
|
* This hook evaluates and stores the result of a passed function and only
|
|
2190
2183
|
* re-evaluates the function when passed dependencies change.
|
|
@@ -2216,7 +2209,7 @@ var useDeepMemo = function useDeepMemo(fn, dependencies) {
|
|
|
2216
2209
|
exports.useDeepMemo = useDeepMemo;
|
|
2217
2210
|
|
|
2218
2211
|
/***/ }),
|
|
2219
|
-
/*
|
|
2212
|
+
/* 61 */
|
|
2220
2213
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2221
2214
|
|
|
2222
2215
|
"use strict";
|
|
@@ -2227,15 +2220,15 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2227
2220
|
});
|
|
2228
2221
|
exports.MissingPropsMessage = exports.missingKeys = exports.isMissing = void 0;
|
|
2229
2222
|
|
|
2230
|
-
var React = __webpack_require__(
|
|
2223
|
+
var React = __webpack_require__(1);
|
|
2231
2224
|
|
|
2232
|
-
var T = __webpack_require__(
|
|
2225
|
+
var T = __webpack_require__(0);
|
|
2233
2226
|
|
|
2234
|
-
var i18n_1 = __webpack_require__(
|
|
2227
|
+
var i18n_1 = __webpack_require__(3);
|
|
2235
2228
|
|
|
2236
|
-
var Message_1 = __webpack_require__(
|
|
2229
|
+
var Message_1 = __webpack_require__(11);
|
|
2237
2230
|
|
|
2238
|
-
var FixedSizeContainer_1 = __webpack_require__(
|
|
2231
|
+
var FixedSizeContainer_1 = __webpack_require__(17);
|
|
2239
2232
|
/**
|
|
2240
2233
|
* @method isMissing
|
|
2241
2234
|
* @param {any} v
|
|
@@ -2296,7 +2289,7 @@ exports.MissingPropsMessage.defaultProps = {
|
|
|
2296
2289
|
exports.default = (0, FixedSizeContainer_1.default)(exports.MissingPropsMessage);
|
|
2297
2290
|
|
|
2298
2291
|
/***/ }),
|
|
2299
|
-
/*
|
|
2292
|
+
/* 62 */
|
|
2300
2293
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2301
2294
|
|
|
2302
2295
|
"use strict";
|
|
@@ -2306,18 +2299,18 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2306
2299
|
value: true
|
|
2307
2300
|
});
|
|
2308
2301
|
|
|
2309
|
-
var React = __webpack_require__(
|
|
2302
|
+
var React = __webpack_require__(1);
|
|
2310
2303
|
|
|
2311
2304
|
var styled_components_1 = __webpack_require__(4);
|
|
2312
2305
|
|
|
2313
|
-
var hocUtils_1 = __webpack_require__(
|
|
2306
|
+
var hocUtils_1 = __webpack_require__(23);
|
|
2314
2307
|
|
|
2315
2308
|
var Cover = styled_components_1.default.div.withConfig({
|
|
2316
2309
|
displayName: "withEditModeCover__Cover",
|
|
2317
2310
|
componentId: "sc-1gsbnxb-0"
|
|
2318
2311
|
})(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
|
|
2319
2312
|
var Blocker = styled_components_1.default.div.attrs({
|
|
2320
|
-
'data-splunk-visualization-version': "26.
|
|
2313
|
+
'data-splunk-visualization-version': "26.4.1 - 2b7482c08"
|
|
2321
2314
|
}).withConfig({
|
|
2322
2315
|
displayName: "withEditModeCover__Blocker",
|
|
2323
2316
|
componentId: "sc-1gsbnxb-1"
|
|
@@ -2348,7 +2341,7 @@ var withEditModeCover = function withEditModeCover(Visualization, disableEditMod
|
|
|
2348
2341
|
exports.default = withEditModeCover;
|
|
2349
2342
|
|
|
2350
2343
|
/***/ }),
|
|
2351
|
-
/*
|
|
2344
|
+
/* 63 */
|
|
2352
2345
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2353
2346
|
|
|
2354
2347
|
"use strict";
|
|
@@ -2358,17 +2351,17 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2358
2351
|
value: true
|
|
2359
2352
|
});
|
|
2360
2353
|
|
|
2361
|
-
var React = __webpack_require__(
|
|
2354
|
+
var React = __webpack_require__(1);
|
|
2362
2355
|
|
|
2363
|
-
var colorUtils_1 = __webpack_require__(
|
|
2356
|
+
var colorUtils_1 = __webpack_require__(15);
|
|
2364
2357
|
|
|
2365
|
-
var variables_1 = __webpack_require__(
|
|
2358
|
+
var variables_1 = __webpack_require__(13);
|
|
2366
2359
|
|
|
2367
|
-
var IconPlaceholder_1 = __webpack_require__(
|
|
2360
|
+
var IconPlaceholder_1 = __webpack_require__(36);
|
|
2368
2361
|
|
|
2369
|
-
var VizBehavior_1 = __webpack_require__(
|
|
2362
|
+
var VizBehavior_1 = __webpack_require__(7);
|
|
2370
2363
|
|
|
2371
|
-
var hocUtils_1 = __webpack_require__(
|
|
2364
|
+
var hocUtils_1 = __webpack_require__(23);
|
|
2372
2365
|
|
|
2373
2366
|
var withPlaceholder = function withPlaceholder(Visualization) {
|
|
2374
2367
|
var useIconPlaceholder = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : IconPlaceholder_1.shouldShowIconPlaceholder;
|
|
@@ -2412,27 +2405,30 @@ var withPlaceholder = function withPlaceholder(Visualization) {
|
|
|
2412
2405
|
exports.default = withPlaceholder;
|
|
2413
2406
|
|
|
2414
2407
|
/***/ }),
|
|
2415
|
-
/*
|
|
2408
|
+
/* 64 */
|
|
2416
2409
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2417
2410
|
|
|
2418
2411
|
"use strict";
|
|
2419
2412
|
|
|
2420
2413
|
|
|
2421
|
-
var _slicedToArray = __webpack_require__(
|
|
2414
|
+
var _slicedToArray = __webpack_require__(5);
|
|
2422
2415
|
|
|
2423
2416
|
Object.defineProperty(exports, "__esModule", {
|
|
2424
2417
|
value: true
|
|
2425
2418
|
});
|
|
2426
2419
|
|
|
2427
|
-
var react_1 = __webpack_require__(
|
|
2420
|
+
var react_1 = __webpack_require__(1);
|
|
2421
|
+
|
|
2422
|
+
var lodash_1 = __webpack_require__(2);
|
|
2423
|
+
|
|
2424
|
+
var dataUtils_1 = __webpack_require__(14);
|
|
2428
2425
|
|
|
2429
|
-
var
|
|
2426
|
+
var usePrevious_1 = __webpack_require__(32);
|
|
2430
2427
|
|
|
2431
|
-
var
|
|
2428
|
+
var useGetXAndYFields_1 = __webpack_require__(65); // Options properties which impact/require re-downsample on change.
|
|
2432
2429
|
|
|
2433
|
-
var usePrevious_1 = __webpack_require__(33);
|
|
2434
2430
|
|
|
2435
|
-
var
|
|
2431
|
+
var downsampleVizOptionProperties = ['nullValueDisplay'];
|
|
2436
2432
|
|
|
2437
2433
|
var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
|
|
2438
2434
|
var dataSources = _ref.dataSources,
|
|
@@ -2446,8 +2442,15 @@ var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
|
|
|
2446
2442
|
options: options,
|
|
2447
2443
|
context: context,
|
|
2448
2444
|
dataSources: dataSources
|
|
2449
|
-
});
|
|
2450
|
-
|
|
2445
|
+
}); // Extract viz options that impact downsampling.
|
|
2446
|
+
|
|
2447
|
+
var downsampleVizOptions = (0, react_1.useMemo)(function () {
|
|
2448
|
+
return (0, lodash_1.pick)(options, downsampleVizOptionProperties);
|
|
2449
|
+
}, [options]);
|
|
2450
|
+
var downsampleDSOptions = (0, react_1.useMemo)(function () {
|
|
2451
|
+
return Object.assign(Object.assign({}, downsampleVizOptions), xAndYFieldsWithTypes);
|
|
2452
|
+
}, [xAndYFieldsWithTypes, downsampleVizOptions]);
|
|
2453
|
+
var previousDownsampleDSOptions = (0, usePrevious_1.default)(downsampleDSOptions);
|
|
2451
2454
|
var previousDataSources = (0, usePrevious_1.default)(dataSources);
|
|
2452
2455
|
var previousThreshold = (0, usePrevious_1.default)(threshold);
|
|
2453
2456
|
|
|
@@ -2455,7 +2458,7 @@ var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
|
|
|
2455
2458
|
return isDownsamplingEnabled ? (0, dataUtils_1.downsampleDataSources)({
|
|
2456
2459
|
dataSources: dataSources,
|
|
2457
2460
|
threshold: threshold,
|
|
2458
|
-
options:
|
|
2461
|
+
options: downsampleDSOptions
|
|
2459
2462
|
}) : dataSources;
|
|
2460
2463
|
}),
|
|
2461
2464
|
_ref3 = _slicedToArray(_ref2, 2),
|
|
@@ -2483,7 +2486,7 @@ var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
|
|
|
2483
2486
|
return;
|
|
2484
2487
|
}
|
|
2485
2488
|
|
|
2486
|
-
if ((0, lodash_1.isEqual)(
|
|
2489
|
+
if ((0, lodash_1.isEqual)(previousDownsampleDSOptions, downsampleDSOptions) && previousDataSources === dataSources && previousThreshold === threshold) {
|
|
2487
2490
|
return;
|
|
2488
2491
|
} // Debounce the downsampling so we don't have to downsample and execute DSL multiple times
|
|
2489
2492
|
// while the viz is being resized
|
|
@@ -2491,31 +2494,31 @@ var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
|
|
|
2491
2494
|
|
|
2492
2495
|
debouncedDownsampleDataSources({
|
|
2493
2496
|
dataSources: dataSources,
|
|
2494
|
-
options:
|
|
2497
|
+
options: downsampleDSOptions,
|
|
2495
2498
|
threshold: threshold
|
|
2496
2499
|
}); // need to detect if this runs as part of the initial render
|
|
2497
|
-
}, [dataSources, debouncedDownsampleDataSources, xAndYFieldsWithTypes, threshold, isDownsamplingEnabled,
|
|
2500
|
+
}, [dataSources, downsampleDSOptions, debouncedDownsampleDataSources, xAndYFieldsWithTypes, threshold, isDownsamplingEnabled, previousDataSources, previousThreshold, previousDownsampleDSOptions]);
|
|
2498
2501
|
return downsampledDataSources;
|
|
2499
2502
|
};
|
|
2500
2503
|
|
|
2501
2504
|
exports.default = useDownsampleDataSources;
|
|
2502
2505
|
|
|
2503
2506
|
/***/ }),
|
|
2504
|
-
/*
|
|
2507
|
+
/* 65 */
|
|
2505
2508
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2506
2509
|
|
|
2507
2510
|
"use strict";
|
|
2508
2511
|
|
|
2509
2512
|
|
|
2510
|
-
var _toConsumableArray = __webpack_require__(
|
|
2513
|
+
var _toConsumableArray = __webpack_require__(6);
|
|
2511
2514
|
|
|
2512
2515
|
Object.defineProperty(exports, "__esModule", {
|
|
2513
2516
|
value: true
|
|
2514
2517
|
});
|
|
2515
2518
|
|
|
2516
|
-
var react_1 = __webpack_require__(
|
|
2519
|
+
var react_1 = __webpack_require__(1);
|
|
2517
2520
|
|
|
2518
|
-
var Options_1 = __webpack_require__(
|
|
2521
|
+
var Options_1 = __webpack_require__(16);
|
|
2519
2522
|
/**
|
|
2520
2523
|
* Hook that evaluates the DSL for subset of a viz's options needed to determine
|
|
2521
2524
|
* its x and y fields as well as the types of all its fields.
|
|
@@ -2615,7 +2618,7 @@ var useGetXAndYFields = function useGetXAndYFields(_ref) {
|
|
|
2615
2618
|
exports.default = useGetXAndYFields;
|
|
2616
2619
|
|
|
2617
2620
|
/***/ }),
|
|
2618
|
-
/*
|
|
2621
|
+
/* 66 */
|
|
2619
2622
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2620
2623
|
|
|
2621
2624
|
"use strict";
|
|
@@ -2626,7 +2629,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2626
2629
|
});
|
|
2627
2630
|
exports.getFeatureFlag = void 0;
|
|
2628
2631
|
|
|
2629
|
-
var FeatureFlags_1 = __webpack_require__(
|
|
2632
|
+
var FeatureFlags_1 = __webpack_require__(67);
|
|
2630
2633
|
|
|
2631
2634
|
var getFeatureFlag = function getFeatureFlag(context, flagName) {
|
|
2632
2635
|
// look for feature flag in context first
|
|
@@ -2650,21 +2653,22 @@ var getFeatureFlag = function getFeatureFlag(context, flagName) {
|
|
|
2650
2653
|
exports.getFeatureFlag = getFeatureFlag;
|
|
2651
2654
|
|
|
2652
2655
|
/***/ }),
|
|
2653
|
-
/*
|
|
2656
|
+
/* 67 */
|
|
2654
2657
|
/***/ (function(module, exports) {
|
|
2655
2658
|
|
|
2656
2659
|
module.exports = require("@splunk/visualization-context/FeatureFlags");
|
|
2657
2660
|
|
|
2658
2661
|
/***/ }),
|
|
2662
|
+
/* 68 */,
|
|
2659
2663
|
/* 69 */,
|
|
2660
2664
|
/* 70 */,
|
|
2661
|
-
/* 71
|
|
2662
|
-
/* 72 */
|
|
2665
|
+
/* 71 */
|
|
2663
2666
|
/***/ (function(module, exports) {
|
|
2664
2667
|
|
|
2665
2668
|
module.exports = require("@splunk/visualization-icons");
|
|
2666
2669
|
|
|
2667
2670
|
/***/ }),
|
|
2671
|
+
/* 72 */,
|
|
2668
2672
|
/* 73 */,
|
|
2669
2673
|
/* 74 */,
|
|
2670
2674
|
/* 75 */,
|
|
@@ -2762,9 +2766,7 @@ module.exports = require("@splunk/visualization-icons");
|
|
|
2762
2766
|
/* 167 */,
|
|
2763
2767
|
/* 168 */,
|
|
2764
2768
|
/* 169 */,
|
|
2765
|
-
/* 170
|
|
2766
|
-
/* 171 */,
|
|
2767
|
-
/* 172 */
|
|
2769
|
+
/* 170 */
|
|
2768
2770
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2769
2771
|
|
|
2770
2772
|
"use strict";
|
|
@@ -2788,27 +2790,27 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2788
2790
|
});
|
|
2789
2791
|
exports.config = exports.themes = exports.toImageDimensions = exports.shouldShowPlaceholder = void 0;
|
|
2790
2792
|
|
|
2791
|
-
var lodash_1 = __webpack_require__(
|
|
2793
|
+
var lodash_1 = __webpack_require__(2);
|
|
2792
2794
|
|
|
2793
|
-
var React = __webpack_require__(
|
|
2795
|
+
var React = __webpack_require__(1);
|
|
2794
2796
|
|
|
2795
|
-
var i18n_1 = __webpack_require__(
|
|
2797
|
+
var i18n_1 = __webpack_require__(3);
|
|
2796
2798
|
|
|
2797
|
-
var style_1 = __webpack_require__(
|
|
2799
|
+
var style_1 = __webpack_require__(18);
|
|
2798
2800
|
|
|
2799
|
-
var RemoteImage_1 = __webpack_require__(
|
|
2801
|
+
var RemoteImage_1 = __webpack_require__(171);
|
|
2800
2802
|
|
|
2801
2803
|
var styled_components_1 = __webpack_require__(4);
|
|
2802
2804
|
|
|
2803
|
-
var T = __webpack_require__(
|
|
2805
|
+
var T = __webpack_require__(0);
|
|
2804
2806
|
|
|
2805
|
-
var config_1 = __webpack_require__(
|
|
2807
|
+
var config_1 = __webpack_require__(238);
|
|
2806
2808
|
|
|
2807
2809
|
exports.config = config_1.default;
|
|
2808
2810
|
|
|
2809
|
-
var withDashboardViz_1 = __webpack_require__(
|
|
2811
|
+
var withDashboardViz_1 = __webpack_require__(54);
|
|
2810
2812
|
|
|
2811
|
-
var ImageApi_1 = __webpack_require__(
|
|
2813
|
+
var ImageApi_1 = __webpack_require__(239);
|
|
2812
2814
|
|
|
2813
2815
|
var useEffect = React.useEffect,
|
|
2814
2816
|
useRef = React.useRef;
|
|
@@ -2944,12 +2946,14 @@ exports.themes = themes;
|
|
|
2944
2946
|
exports.default = Image;
|
|
2945
2947
|
|
|
2946
2948
|
/***/ }),
|
|
2947
|
-
/*
|
|
2949
|
+
/* 171 */
|
|
2948
2950
|
/***/ (function(module, exports) {
|
|
2949
2951
|
|
|
2950
2952
|
module.exports = require("@splunk/visualizations-shared/RemoteImage");
|
|
2951
2953
|
|
|
2952
2954
|
/***/ }),
|
|
2955
|
+
/* 172 */,
|
|
2956
|
+
/* 173 */,
|
|
2953
2957
|
/* 174 */,
|
|
2954
2958
|
/* 175 */,
|
|
2955
2959
|
/* 176 */,
|
|
@@ -3013,9 +3017,7 @@ module.exports = require("@splunk/visualizations-shared/RemoteImage");
|
|
|
3013
3017
|
/* 234 */,
|
|
3014
3018
|
/* 235 */,
|
|
3015
3019
|
/* 236 */,
|
|
3016
|
-
/* 237
|
|
3017
|
-
/* 238 */,
|
|
3018
|
-
/* 239 */
|
|
3020
|
+
/* 237 */
|
|
3019
3021
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3020
3022
|
|
|
3021
3023
|
"use strict";
|
|
@@ -3051,9 +3053,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3051
3053
|
});
|
|
3052
3054
|
exports.default = void 0;
|
|
3053
3055
|
|
|
3054
|
-
__exportStar(__webpack_require__(
|
|
3056
|
+
__exportStar(__webpack_require__(170), exports);
|
|
3055
3057
|
|
|
3056
|
-
var Image_1 = __webpack_require__(
|
|
3058
|
+
var Image_1 = __webpack_require__(170);
|
|
3057
3059
|
|
|
3058
3060
|
Object.defineProperty(exports, "default", {
|
|
3059
3061
|
enumerable: true,
|
|
@@ -3063,7 +3065,7 @@ Object.defineProperty(exports, "default", {
|
|
|
3063
3065
|
});
|
|
3064
3066
|
|
|
3065
3067
|
/***/ }),
|
|
3066
|
-
/*
|
|
3068
|
+
/* 238 */
|
|
3067
3069
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3068
3070
|
|
|
3069
3071
|
"use strict";
|
|
@@ -3073,17 +3075,17 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3073
3075
|
value: true
|
|
3074
3076
|
});
|
|
3075
3077
|
|
|
3076
|
-
var i18n_1 = __webpack_require__(
|
|
3078
|
+
var i18n_1 = __webpack_require__(3);
|
|
3077
3079
|
|
|
3078
|
-
var visualization_schemas_1 = __webpack_require__(
|
|
3080
|
+
var visualization_schemas_1 = __webpack_require__(9);
|
|
3079
3081
|
|
|
3080
|
-
var visualization_icons_1 = __webpack_require__(
|
|
3082
|
+
var visualization_icons_1 = __webpack_require__(71);
|
|
3081
3083
|
|
|
3082
|
-
var VizBehavior_1 = __webpack_require__(
|
|
3084
|
+
var VizBehavior_1 = __webpack_require__(7);
|
|
3083
3085
|
|
|
3084
|
-
var VizCategory_1 = __webpack_require__(
|
|
3086
|
+
var VizCategory_1 = __webpack_require__(22);
|
|
3085
3087
|
|
|
3086
|
-
var configUtils_1 = __webpack_require__(
|
|
3088
|
+
var configUtils_1 = __webpack_require__(26);
|
|
3087
3089
|
|
|
3088
3090
|
var dataContract = {
|
|
3089
3091
|
requiredDataSources: [],
|
|
@@ -3153,23 +3155,23 @@ var config = {
|
|
|
3153
3155
|
exports.default = (0, configUtils_1.enhanceConfig)(config);
|
|
3154
3156
|
|
|
3155
3157
|
/***/ }),
|
|
3156
|
-
/*
|
|
3158
|
+
/* 239 */
|
|
3157
3159
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3158
3160
|
|
|
3159
3161
|
"use strict";
|
|
3160
3162
|
|
|
3161
3163
|
|
|
3162
|
-
var _classCallCheck = __webpack_require__(
|
|
3164
|
+
var _classCallCheck = __webpack_require__(8);
|
|
3163
3165
|
|
|
3164
|
-
var _createClass = __webpack_require__(
|
|
3166
|
+
var _createClass = __webpack_require__(24);
|
|
3165
3167
|
|
|
3166
3168
|
Object.defineProperty(exports, "__esModule", {
|
|
3167
3169
|
value: true
|
|
3168
3170
|
});
|
|
3169
3171
|
|
|
3170
|
-
var lodash_1 = __webpack_require__(
|
|
3172
|
+
var lodash_1 = __webpack_require__(2);
|
|
3171
3173
|
|
|
3172
|
-
var RemoteImage_1 = __webpack_require__(
|
|
3174
|
+
var RemoteImage_1 = __webpack_require__(171);
|
|
3173
3175
|
/**
|
|
3174
3176
|
* Image Api
|
|
3175
3177
|
*/
|