@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/Ellipse.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 = 217);
|
|
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,25 +1141,25 @@ 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
|
-
/*
|
|
1156
|
+
/* 35 */
|
|
1164
1157
|
/***/ (function(module, exports) {
|
|
1165
1158
|
|
|
1166
1159
|
module.exports = require("@splunk/visualizations-shared/propUtils");
|
|
1167
1160
|
|
|
1168
1161
|
/***/ }),
|
|
1169
|
-
/*
|
|
1162
|
+
/* 36 */
|
|
1170
1163
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1171
1164
|
|
|
1172
1165
|
"use strict";
|
|
@@ -1177,17 +1170,17 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1177
1170
|
});
|
|
1178
1171
|
exports.shouldShowIconPlaceholder = void 0;
|
|
1179
1172
|
|
|
1180
|
-
var React = __webpack_require__(
|
|
1173
|
+
var React = __webpack_require__(1);
|
|
1181
1174
|
|
|
1182
|
-
var T = __webpack_require__(
|
|
1175
|
+
var T = __webpack_require__(0);
|
|
1183
1176
|
|
|
1184
|
-
var lodash_1 = __webpack_require__(
|
|
1177
|
+
var lodash_1 = __webpack_require__(2);
|
|
1185
1178
|
|
|
1186
|
-
var i18n_1 = __webpack_require__(
|
|
1179
|
+
var i18n_1 = __webpack_require__(3);
|
|
1187
1180
|
|
|
1188
|
-
var Message_1 = __webpack_require__(
|
|
1181
|
+
var Message_1 = __webpack_require__(11);
|
|
1189
1182
|
|
|
1190
|
-
var FixedSizeContainer_1 = __webpack_require__(
|
|
1183
|
+
var FixedSizeContainer_1 = __webpack_require__(17);
|
|
1191
1184
|
/**
|
|
1192
1185
|
* @method shouldShowIconPlaceholder
|
|
1193
1186
|
* @param {object} dataSources
|
|
@@ -1258,24 +1251,24 @@ IconPlaceholder.defaultProps = {
|
|
|
1258
1251
|
exports.default = (0, FixedSizeContainer_1.default)(IconPlaceholder);
|
|
1259
1252
|
|
|
1260
1253
|
/***/ }),
|
|
1261
|
-
/*
|
|
1254
|
+
/* 37 */
|
|
1262
1255
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1263
1256
|
|
|
1264
1257
|
"use strict";
|
|
1265
1258
|
|
|
1266
1259
|
|
|
1267
|
-
var _defineProperty = __webpack_require__(
|
|
1260
|
+
var _defineProperty = __webpack_require__(12);
|
|
1268
1261
|
|
|
1269
1262
|
Object.defineProperty(exports, "__esModule", {
|
|
1270
1263
|
value: true
|
|
1271
1264
|
});
|
|
1272
1265
|
exports.getSortingParams = exports.SortParamsPropTypes = void 0;
|
|
1273
1266
|
|
|
1274
|
-
var T = __webpack_require__(
|
|
1267
|
+
var T = __webpack_require__(0);
|
|
1275
1268
|
|
|
1276
|
-
var lodash_1 = __webpack_require__(
|
|
1269
|
+
var lodash_1 = __webpack_require__(2);
|
|
1277
1270
|
|
|
1278
|
-
var DataSource_1 = __webpack_require__(
|
|
1271
|
+
var DataSource_1 = __webpack_require__(20);
|
|
1279
1272
|
|
|
1280
1273
|
exports.SortParamsPropTypes = T.shape({
|
|
1281
1274
|
currentSortKey: T.string,
|
|
@@ -1328,7 +1321,7 @@ var getSortingParams = function getSortingParams(_ref) {
|
|
|
1328
1321
|
exports.getSortingParams = getSortingParams;
|
|
1329
1322
|
|
|
1330
1323
|
/***/ }),
|
|
1331
|
-
/*
|
|
1324
|
+
/* 38 */
|
|
1332
1325
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1333
1326
|
|
|
1334
1327
|
"use strict";
|
|
@@ -1339,9 +1332,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1339
1332
|
});
|
|
1340
1333
|
exports.getPaginationParams = exports.PaginatorParamsPropTypes = void 0;
|
|
1341
1334
|
|
|
1342
|
-
var T = __webpack_require__(
|
|
1335
|
+
var T = __webpack_require__(0);
|
|
1343
1336
|
|
|
1344
|
-
var lodash_1 = __webpack_require__(
|
|
1337
|
+
var lodash_1 = __webpack_require__(2);
|
|
1345
1338
|
|
|
1346
1339
|
exports.PaginatorParamsPropTypes = T.shape({
|
|
1347
1340
|
isPaging: T.bool,
|
|
@@ -1392,7 +1385,7 @@ var getPaginationParams = function getPaginationParams(_ref) {
|
|
|
1392
1385
|
exports.getPaginationParams = getPaginationParams;
|
|
1393
1386
|
|
|
1394
1387
|
/***/ }),
|
|
1395
|
-
/*
|
|
1388
|
+
/* 39 */
|
|
1396
1389
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1397
1390
|
|
|
1398
1391
|
"use strict";
|
|
@@ -1427,11 +1420,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1427
1420
|
value: true
|
|
1428
1421
|
});
|
|
1429
1422
|
|
|
1423
|
+
__exportStar(__webpack_require__(40), exports);
|
|
1424
|
+
|
|
1430
1425
|
__exportStar(__webpack_require__(41), exports);
|
|
1431
1426
|
|
|
1432
|
-
__exportStar(__webpack_require__(
|
|
1427
|
+
__exportStar(__webpack_require__(20), exports);
|
|
1433
1428
|
|
|
1434
|
-
__exportStar(__webpack_require__(
|
|
1429
|
+
__exportStar(__webpack_require__(42), exports);
|
|
1435
1430
|
|
|
1436
1431
|
__exportStar(__webpack_require__(43), exports);
|
|
1437
1432
|
|
|
@@ -1443,13 +1438,13 @@ __exportStar(__webpack_require__(46), exports);
|
|
|
1443
1438
|
|
|
1444
1439
|
__exportStar(__webpack_require__(47), exports);
|
|
1445
1440
|
|
|
1446
|
-
__exportStar(__webpack_require__(
|
|
1441
|
+
__exportStar(__webpack_require__(21), exports);
|
|
1447
1442
|
|
|
1448
|
-
__exportStar(__webpack_require__(
|
|
1443
|
+
__exportStar(__webpack_require__(7), exports);
|
|
1449
1444
|
|
|
1450
|
-
__exportStar(__webpack_require__(
|
|
1445
|
+
__exportStar(__webpack_require__(22), exports);
|
|
1451
1446
|
|
|
1452
|
-
__exportStar(__webpack_require__(
|
|
1447
|
+
__exportStar(__webpack_require__(48), exports);
|
|
1453
1448
|
|
|
1454
1449
|
__exportStar(__webpack_require__(49), exports);
|
|
1455
1450
|
|
|
@@ -1461,10 +1456,8 @@ __exportStar(__webpack_require__(52), exports);
|
|
|
1461
1456
|
|
|
1462
1457
|
__exportStar(__webpack_require__(53), exports);
|
|
1463
1458
|
|
|
1464
|
-
__exportStar(__webpack_require__(54), exports);
|
|
1465
|
-
|
|
1466
1459
|
/***/ }),
|
|
1467
|
-
/*
|
|
1460
|
+
/* 40 */
|
|
1468
1461
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1469
1462
|
|
|
1470
1463
|
"use strict";
|
|
@@ -1475,7 +1468,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1475
1468
|
});
|
|
1476
1469
|
|
|
1477
1470
|
/***/ }),
|
|
1478
|
-
/*
|
|
1471
|
+
/* 41 */
|
|
1479
1472
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1480
1473
|
|
|
1481
1474
|
"use strict";
|
|
@@ -1484,6 +1477,17 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1484
1477
|
* A data structure used at runtime to wire up a visualization.
|
|
1485
1478
|
*/
|
|
1486
1479
|
|
|
1480
|
+
Object.defineProperty(exports, "__esModule", {
|
|
1481
|
+
value: true
|
|
1482
|
+
});
|
|
1483
|
+
|
|
1484
|
+
/***/ }),
|
|
1485
|
+
/* 42 */
|
|
1486
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1487
|
+
|
|
1488
|
+
"use strict";
|
|
1489
|
+
|
|
1490
|
+
|
|
1487
1491
|
Object.defineProperty(exports, "__esModule", {
|
|
1488
1492
|
value: true
|
|
1489
1493
|
});
|
|
@@ -1616,70 +1620,59 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1616
1620
|
"use strict";
|
|
1617
1621
|
|
|
1618
1622
|
|
|
1619
|
-
|
|
1620
|
-
value: true
|
|
1621
|
-
});
|
|
1622
|
-
|
|
1623
|
-
/***/ }),
|
|
1624
|
-
/* 55 */
|
|
1625
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1626
|
-
|
|
1627
|
-
"use strict";
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
var _slicedToArray = __webpack_require__(6);
|
|
1623
|
+
var _slicedToArray = __webpack_require__(5);
|
|
1631
1624
|
|
|
1632
1625
|
Object.defineProperty(exports, "__esModule", {
|
|
1633
1626
|
value: true
|
|
1634
1627
|
});
|
|
1635
1628
|
|
|
1636
|
-
var React = __webpack_require__(
|
|
1629
|
+
var React = __webpack_require__(1);
|
|
1637
1630
|
|
|
1638
|
-
var lodash_1 = __webpack_require__(
|
|
1631
|
+
var lodash_1 = __webpack_require__(2);
|
|
1639
1632
|
|
|
1640
|
-
var getSettingsFromThemedProps_1 = __webpack_require__(
|
|
1633
|
+
var getSettingsFromThemedProps_1 = __webpack_require__(55);
|
|
1641
1634
|
|
|
1642
|
-
var Options_1 = __webpack_require__(
|
|
1635
|
+
var Options_1 = __webpack_require__(16);
|
|
1643
1636
|
|
|
1644
|
-
var SanitizeProps_1 = __webpack_require__(
|
|
1637
|
+
var SanitizeProps_1 = __webpack_require__(56);
|
|
1645
1638
|
|
|
1646
|
-
var TimezoneContext_1 = __webpack_require__(
|
|
1639
|
+
var TimezoneContext_1 = __webpack_require__(31);
|
|
1647
1640
|
|
|
1648
|
-
var moment_1 = __webpack_require__(
|
|
1641
|
+
var moment_1 = __webpack_require__(57);
|
|
1649
1642
|
|
|
1650
|
-
var FeatureFlagContext_1 = __webpack_require__(
|
|
1643
|
+
var FeatureFlagContext_1 = __webpack_require__(27);
|
|
1651
1644
|
|
|
1652
1645
|
var styled_components_1 = __webpack_require__(4);
|
|
1653
1646
|
|
|
1654
|
-
var hocUtils_1 = __webpack_require__(
|
|
1647
|
+
var hocUtils_1 = __webpack_require__(33);
|
|
1655
1648
|
|
|
1656
|
-
var JSONSchemaUtils_1 = __webpack_require__(
|
|
1649
|
+
var JSONSchemaUtils_1 = __webpack_require__(34);
|
|
1657
1650
|
|
|
1658
|
-
var async_dynamic_options_evaluator_1 = __webpack_require__(
|
|
1651
|
+
var async_dynamic_options_evaluator_1 = __webpack_require__(58);
|
|
1659
1652
|
|
|
1660
|
-
var id_1 = __webpack_require__(
|
|
1653
|
+
var id_1 = __webpack_require__(30);
|
|
1661
1654
|
|
|
1662
|
-
var SplunkVisualization_1 = __webpack_require__(
|
|
1655
|
+
var SplunkVisualization_1 = __webpack_require__(59);
|
|
1663
1656
|
|
|
1664
|
-
var VizBehavior_1 = __webpack_require__(
|
|
1657
|
+
var VizBehavior_1 = __webpack_require__(7);
|
|
1665
1658
|
|
|
1666
|
-
var getSorting_1 = __webpack_require__(
|
|
1659
|
+
var getSorting_1 = __webpack_require__(37);
|
|
1667
1660
|
|
|
1668
|
-
var getPagination_1 = __webpack_require__(
|
|
1661
|
+
var getPagination_1 = __webpack_require__(38);
|
|
1669
1662
|
|
|
1670
|
-
var useDeepMemo_1 = __webpack_require__(
|
|
1663
|
+
var useDeepMemo_1 = __webpack_require__(60);
|
|
1671
1664
|
|
|
1672
|
-
var MissingPropsMessage_1 = __webpack_require__(
|
|
1665
|
+
var MissingPropsMessage_1 = __webpack_require__(61);
|
|
1673
1666
|
|
|
1674
|
-
var withEditModeCover_1 = __webpack_require__(
|
|
1667
|
+
var withEditModeCover_1 = __webpack_require__(62);
|
|
1675
1668
|
|
|
1676
|
-
var withPlaceholder_1 = __webpack_require__(
|
|
1669
|
+
var withPlaceholder_1 = __webpack_require__(63);
|
|
1677
1670
|
|
|
1678
|
-
var useDownsampleDataSources_1 = __webpack_require__(
|
|
1671
|
+
var useDownsampleDataSources_1 = __webpack_require__(64);
|
|
1679
1672
|
|
|
1680
|
-
var dataUtils_1 = __webpack_require__(
|
|
1673
|
+
var dataUtils_1 = __webpack_require__(14);
|
|
1681
1674
|
|
|
1682
|
-
var featureFlagUtils_1 = __webpack_require__(
|
|
1675
|
+
var featureFlagUtils_1 = __webpack_require__(66);
|
|
1683
1676
|
/**
|
|
1684
1677
|
* hoc that wraps a pure react visualization in a Dashboard visualization
|
|
1685
1678
|
* @param {DashboardVizOpts} opts
|
|
@@ -2011,37 +2004,37 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
2011
2004
|
exports.default = withDashboardViz;
|
|
2012
2005
|
|
|
2013
2006
|
/***/ }),
|
|
2014
|
-
/*
|
|
2007
|
+
/* 55 */
|
|
2015
2008
|
/***/ (function(module, exports) {
|
|
2016
2009
|
|
|
2017
2010
|
module.exports = require("@splunk/themes/getSettingsFromThemedProps");
|
|
2018
2011
|
|
|
2019
2012
|
/***/ }),
|
|
2020
|
-
/*
|
|
2013
|
+
/* 56 */
|
|
2021
2014
|
/***/ (function(module, exports) {
|
|
2022
2015
|
|
|
2023
2016
|
module.exports = require("@splunk/visualizations-shared/SanitizeProps");
|
|
2024
2017
|
|
|
2025
2018
|
/***/ }),
|
|
2026
|
-
/*
|
|
2019
|
+
/* 57 */
|
|
2027
2020
|
/***/ (function(module, exports) {
|
|
2028
2021
|
|
|
2029
2022
|
module.exports = require("@splunk/moment");
|
|
2030
2023
|
|
|
2031
2024
|
/***/ }),
|
|
2032
|
-
/*
|
|
2025
|
+
/* 58 */
|
|
2033
2026
|
/***/ (function(module, exports) {
|
|
2034
2027
|
|
|
2035
2028
|
module.exports = require("@splunk/async-dynamic-options-evaluator");
|
|
2036
2029
|
|
|
2037
2030
|
/***/ }),
|
|
2038
|
-
/*
|
|
2031
|
+
/* 59 */
|
|
2039
2032
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2040
2033
|
|
|
2041
2034
|
"use strict";
|
|
2042
2035
|
|
|
2043
2036
|
|
|
2044
|
-
var _classCallCheck = __webpack_require__(
|
|
2037
|
+
var _classCallCheck = __webpack_require__(8);
|
|
2045
2038
|
|
|
2046
2039
|
Object.defineProperty(exports, "__esModule", {
|
|
2047
2040
|
value: true
|
|
@@ -2049,11 +2042,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2049
2042
|
exports.INITIAL_HEIGHT = exports.INITIAL_WIDTH = void 0;
|
|
2050
2043
|
/* eslint-disable react/no-unused-prop-types,react/prefer-stateless-function */
|
|
2051
2044
|
|
|
2052
|
-
var T = __webpack_require__(
|
|
2045
|
+
var T = __webpack_require__(0);
|
|
2053
2046
|
|
|
2054
|
-
var lodash_1 = __webpack_require__(
|
|
2047
|
+
var lodash_1 = __webpack_require__(2);
|
|
2055
2048
|
|
|
2056
|
-
var VizActionHandler_1 = __webpack_require__(
|
|
2049
|
+
var VizActionHandler_1 = __webpack_require__(21); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
|
|
2057
2050
|
|
|
2058
2051
|
|
|
2059
2052
|
exports.INITIAL_WIDTH = 250;
|
|
@@ -2186,7 +2179,7 @@ SplunkVisualization.defaultProps = {
|
|
|
2186
2179
|
exports.default = SplunkVisualization;
|
|
2187
2180
|
|
|
2188
2181
|
/***/ }),
|
|
2189
|
-
/*
|
|
2182
|
+
/* 60 */
|
|
2190
2183
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2191
2184
|
|
|
2192
2185
|
"use strict";
|
|
@@ -2197,9 +2190,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2197
2190
|
});
|
|
2198
2191
|
exports.useDeepMemo = void 0;
|
|
2199
2192
|
|
|
2200
|
-
var react_1 = __webpack_require__(
|
|
2193
|
+
var react_1 = __webpack_require__(1);
|
|
2201
2194
|
|
|
2202
|
-
var lodash_1 = __webpack_require__(
|
|
2195
|
+
var lodash_1 = __webpack_require__(2);
|
|
2203
2196
|
/**
|
|
2204
2197
|
* This hook evaluates and stores the result of a passed function and only
|
|
2205
2198
|
* re-evaluates the function when passed dependencies change.
|
|
@@ -2231,7 +2224,7 @@ var useDeepMemo = function useDeepMemo(fn, dependencies) {
|
|
|
2231
2224
|
exports.useDeepMemo = useDeepMemo;
|
|
2232
2225
|
|
|
2233
2226
|
/***/ }),
|
|
2234
|
-
/*
|
|
2227
|
+
/* 61 */
|
|
2235
2228
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2236
2229
|
|
|
2237
2230
|
"use strict";
|
|
@@ -2242,15 +2235,15 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2242
2235
|
});
|
|
2243
2236
|
exports.MissingPropsMessage = exports.missingKeys = exports.isMissing = void 0;
|
|
2244
2237
|
|
|
2245
|
-
var React = __webpack_require__(
|
|
2238
|
+
var React = __webpack_require__(1);
|
|
2246
2239
|
|
|
2247
|
-
var T = __webpack_require__(
|
|
2240
|
+
var T = __webpack_require__(0);
|
|
2248
2241
|
|
|
2249
|
-
var i18n_1 = __webpack_require__(
|
|
2242
|
+
var i18n_1 = __webpack_require__(3);
|
|
2250
2243
|
|
|
2251
|
-
var Message_1 = __webpack_require__(
|
|
2244
|
+
var Message_1 = __webpack_require__(11);
|
|
2252
2245
|
|
|
2253
|
-
var FixedSizeContainer_1 = __webpack_require__(
|
|
2246
|
+
var FixedSizeContainer_1 = __webpack_require__(17);
|
|
2254
2247
|
/**
|
|
2255
2248
|
* @method isMissing
|
|
2256
2249
|
* @param {any} v
|
|
@@ -2311,7 +2304,7 @@ exports.MissingPropsMessage.defaultProps = {
|
|
|
2311
2304
|
exports.default = (0, FixedSizeContainer_1.default)(exports.MissingPropsMessage);
|
|
2312
2305
|
|
|
2313
2306
|
/***/ }),
|
|
2314
|
-
/*
|
|
2307
|
+
/* 62 */
|
|
2315
2308
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2316
2309
|
|
|
2317
2310
|
"use strict";
|
|
@@ -2321,18 +2314,18 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2321
2314
|
value: true
|
|
2322
2315
|
});
|
|
2323
2316
|
|
|
2324
|
-
var React = __webpack_require__(
|
|
2317
|
+
var React = __webpack_require__(1);
|
|
2325
2318
|
|
|
2326
2319
|
var styled_components_1 = __webpack_require__(4);
|
|
2327
2320
|
|
|
2328
|
-
var hocUtils_1 = __webpack_require__(
|
|
2321
|
+
var hocUtils_1 = __webpack_require__(23);
|
|
2329
2322
|
|
|
2330
2323
|
var Cover = styled_components_1.default.div.withConfig({
|
|
2331
2324
|
displayName: "withEditModeCover__Cover",
|
|
2332
2325
|
componentId: "sc-1gsbnxb-0"
|
|
2333
2326
|
})(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
|
|
2334
2327
|
var Blocker = styled_components_1.default.div.attrs({
|
|
2335
|
-
'data-splunk-visualization-version': "26.
|
|
2328
|
+
'data-splunk-visualization-version': "26.4.0 - 04078274d"
|
|
2336
2329
|
}).withConfig({
|
|
2337
2330
|
displayName: "withEditModeCover__Blocker",
|
|
2338
2331
|
componentId: "sc-1gsbnxb-1"
|
|
@@ -2363,7 +2356,7 @@ var withEditModeCover = function withEditModeCover(Visualization, disableEditMod
|
|
|
2363
2356
|
exports.default = withEditModeCover;
|
|
2364
2357
|
|
|
2365
2358
|
/***/ }),
|
|
2366
|
-
/*
|
|
2359
|
+
/* 63 */
|
|
2367
2360
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2368
2361
|
|
|
2369
2362
|
"use strict";
|
|
@@ -2373,17 +2366,17 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2373
2366
|
value: true
|
|
2374
2367
|
});
|
|
2375
2368
|
|
|
2376
|
-
var React = __webpack_require__(
|
|
2369
|
+
var React = __webpack_require__(1);
|
|
2377
2370
|
|
|
2378
|
-
var colorUtils_1 = __webpack_require__(
|
|
2371
|
+
var colorUtils_1 = __webpack_require__(15);
|
|
2379
2372
|
|
|
2380
|
-
var variables_1 = __webpack_require__(
|
|
2373
|
+
var variables_1 = __webpack_require__(13);
|
|
2381
2374
|
|
|
2382
|
-
var IconPlaceholder_1 = __webpack_require__(
|
|
2375
|
+
var IconPlaceholder_1 = __webpack_require__(36);
|
|
2383
2376
|
|
|
2384
|
-
var VizBehavior_1 = __webpack_require__(
|
|
2377
|
+
var VizBehavior_1 = __webpack_require__(7);
|
|
2385
2378
|
|
|
2386
|
-
var hocUtils_1 = __webpack_require__(
|
|
2379
|
+
var hocUtils_1 = __webpack_require__(23);
|
|
2387
2380
|
|
|
2388
2381
|
var withPlaceholder = function withPlaceholder(Visualization) {
|
|
2389
2382
|
var useIconPlaceholder = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : IconPlaceholder_1.shouldShowIconPlaceholder;
|
|
@@ -2427,27 +2420,30 @@ var withPlaceholder = function withPlaceholder(Visualization) {
|
|
|
2427
2420
|
exports.default = withPlaceholder;
|
|
2428
2421
|
|
|
2429
2422
|
/***/ }),
|
|
2430
|
-
/*
|
|
2423
|
+
/* 64 */
|
|
2431
2424
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2432
2425
|
|
|
2433
2426
|
"use strict";
|
|
2434
2427
|
|
|
2435
2428
|
|
|
2436
|
-
var _slicedToArray = __webpack_require__(
|
|
2429
|
+
var _slicedToArray = __webpack_require__(5);
|
|
2437
2430
|
|
|
2438
2431
|
Object.defineProperty(exports, "__esModule", {
|
|
2439
2432
|
value: true
|
|
2440
2433
|
});
|
|
2441
2434
|
|
|
2442
|
-
var react_1 = __webpack_require__(
|
|
2435
|
+
var react_1 = __webpack_require__(1);
|
|
2436
|
+
|
|
2437
|
+
var lodash_1 = __webpack_require__(2);
|
|
2438
|
+
|
|
2439
|
+
var dataUtils_1 = __webpack_require__(14);
|
|
2443
2440
|
|
|
2444
|
-
var
|
|
2441
|
+
var usePrevious_1 = __webpack_require__(32);
|
|
2445
2442
|
|
|
2446
|
-
var
|
|
2443
|
+
var useGetXAndYFields_1 = __webpack_require__(65); // Options properties which impact/require re-downsample on change.
|
|
2447
2444
|
|
|
2448
|
-
var usePrevious_1 = __webpack_require__(33);
|
|
2449
2445
|
|
|
2450
|
-
var
|
|
2446
|
+
var downsampleVizOptionProperties = ['nullValueDisplay'];
|
|
2451
2447
|
|
|
2452
2448
|
var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
|
|
2453
2449
|
var dataSources = _ref.dataSources,
|
|
@@ -2461,8 +2457,15 @@ var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
|
|
|
2461
2457
|
options: options,
|
|
2462
2458
|
context: context,
|
|
2463
2459
|
dataSources: dataSources
|
|
2464
|
-
});
|
|
2465
|
-
|
|
2460
|
+
}); // Extract viz options that impact downsampling.
|
|
2461
|
+
|
|
2462
|
+
var downsampleVizOptions = (0, react_1.useMemo)(function () {
|
|
2463
|
+
return (0, lodash_1.pick)(options, downsampleVizOptionProperties);
|
|
2464
|
+
}, [options]);
|
|
2465
|
+
var downsampleDSOptions = (0, react_1.useMemo)(function () {
|
|
2466
|
+
return Object.assign(Object.assign({}, downsampleVizOptions), xAndYFieldsWithTypes);
|
|
2467
|
+
}, [xAndYFieldsWithTypes, downsampleVizOptions]);
|
|
2468
|
+
var previousDownsampleDSOptions = (0, usePrevious_1.default)(downsampleDSOptions);
|
|
2466
2469
|
var previousDataSources = (0, usePrevious_1.default)(dataSources);
|
|
2467
2470
|
var previousThreshold = (0, usePrevious_1.default)(threshold);
|
|
2468
2471
|
|
|
@@ -2470,7 +2473,7 @@ var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
|
|
|
2470
2473
|
return isDownsamplingEnabled ? (0, dataUtils_1.downsampleDataSources)({
|
|
2471
2474
|
dataSources: dataSources,
|
|
2472
2475
|
threshold: threshold,
|
|
2473
|
-
options:
|
|
2476
|
+
options: downsampleDSOptions
|
|
2474
2477
|
}) : dataSources;
|
|
2475
2478
|
}),
|
|
2476
2479
|
_ref3 = _slicedToArray(_ref2, 2),
|
|
@@ -2498,7 +2501,7 @@ var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
|
|
|
2498
2501
|
return;
|
|
2499
2502
|
}
|
|
2500
2503
|
|
|
2501
|
-
if ((0, lodash_1.isEqual)(
|
|
2504
|
+
if ((0, lodash_1.isEqual)(previousDownsampleDSOptions, downsampleDSOptions) && previousDataSources === dataSources && previousThreshold === threshold) {
|
|
2502
2505
|
return;
|
|
2503
2506
|
} // Debounce the downsampling so we don't have to downsample and execute DSL multiple times
|
|
2504
2507
|
// while the viz is being resized
|
|
@@ -2506,31 +2509,31 @@ var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
|
|
|
2506
2509
|
|
|
2507
2510
|
debouncedDownsampleDataSources({
|
|
2508
2511
|
dataSources: dataSources,
|
|
2509
|
-
options:
|
|
2512
|
+
options: downsampleDSOptions,
|
|
2510
2513
|
threshold: threshold
|
|
2511
2514
|
}); // need to detect if this runs as part of the initial render
|
|
2512
|
-
}, [dataSources, debouncedDownsampleDataSources, xAndYFieldsWithTypes, threshold, isDownsamplingEnabled,
|
|
2515
|
+
}, [dataSources, downsampleDSOptions, debouncedDownsampleDataSources, xAndYFieldsWithTypes, threshold, isDownsamplingEnabled, previousDataSources, previousThreshold, previousDownsampleDSOptions]);
|
|
2513
2516
|
return downsampledDataSources;
|
|
2514
2517
|
};
|
|
2515
2518
|
|
|
2516
2519
|
exports.default = useDownsampleDataSources;
|
|
2517
2520
|
|
|
2518
2521
|
/***/ }),
|
|
2519
|
-
/*
|
|
2522
|
+
/* 65 */
|
|
2520
2523
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2521
2524
|
|
|
2522
2525
|
"use strict";
|
|
2523
2526
|
|
|
2524
2527
|
|
|
2525
|
-
var _toConsumableArray = __webpack_require__(
|
|
2528
|
+
var _toConsumableArray = __webpack_require__(6);
|
|
2526
2529
|
|
|
2527
2530
|
Object.defineProperty(exports, "__esModule", {
|
|
2528
2531
|
value: true
|
|
2529
2532
|
});
|
|
2530
2533
|
|
|
2531
|
-
var react_1 = __webpack_require__(
|
|
2534
|
+
var react_1 = __webpack_require__(1);
|
|
2532
2535
|
|
|
2533
|
-
var Options_1 = __webpack_require__(
|
|
2536
|
+
var Options_1 = __webpack_require__(16);
|
|
2534
2537
|
/**
|
|
2535
2538
|
* Hook that evaluates the DSL for subset of a viz's options needed to determine
|
|
2536
2539
|
* its x and y fields as well as the types of all its fields.
|
|
@@ -2630,7 +2633,7 @@ var useGetXAndYFields = function useGetXAndYFields(_ref) {
|
|
|
2630
2633
|
exports.default = useGetXAndYFields;
|
|
2631
2634
|
|
|
2632
2635
|
/***/ }),
|
|
2633
|
-
/*
|
|
2636
|
+
/* 66 */
|
|
2634
2637
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2635
2638
|
|
|
2636
2639
|
"use strict";
|
|
@@ -2641,7 +2644,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2641
2644
|
});
|
|
2642
2645
|
exports.getFeatureFlag = void 0;
|
|
2643
2646
|
|
|
2644
|
-
var FeatureFlags_1 = __webpack_require__(
|
|
2647
|
+
var FeatureFlags_1 = __webpack_require__(67);
|
|
2645
2648
|
|
|
2646
2649
|
var getFeatureFlag = function getFeatureFlag(context, flagName) {
|
|
2647
2650
|
// look for feature flag in context first
|
|
@@ -2665,12 +2668,13 @@ var getFeatureFlag = function getFeatureFlag(context, flagName) {
|
|
|
2665
2668
|
exports.getFeatureFlag = getFeatureFlag;
|
|
2666
2669
|
|
|
2667
2670
|
/***/ }),
|
|
2668
|
-
/*
|
|
2671
|
+
/* 67 */
|
|
2669
2672
|
/***/ (function(module, exports) {
|
|
2670
2673
|
|
|
2671
2674
|
module.exports = require("@splunk/visualization-context/FeatureFlags");
|
|
2672
2675
|
|
|
2673
2676
|
/***/ }),
|
|
2677
|
+
/* 68 */,
|
|
2674
2678
|
/* 69 */,
|
|
2675
2679
|
/* 70 */,
|
|
2676
2680
|
/* 71 */,
|
|
@@ -2680,20 +2684,20 @@ module.exports = require("@splunk/visualization-context/FeatureFlags");
|
|
|
2680
2684
|
/* 75 */,
|
|
2681
2685
|
/* 76 */,
|
|
2682
2686
|
/* 77 */,
|
|
2683
|
-
/* 78
|
|
2684
|
-
/* 79 */
|
|
2687
|
+
/* 78 */
|
|
2685
2688
|
/***/ (function(module, exports) {
|
|
2686
2689
|
|
|
2687
2690
|
module.exports = require("@babel/runtime/helpers/taggedTemplateLiteral");
|
|
2688
2691
|
|
|
2689
2692
|
/***/ }),
|
|
2690
|
-
/*
|
|
2691
|
-
/*
|
|
2693
|
+
/* 79 */,
|
|
2694
|
+
/* 80 */
|
|
2692
2695
|
/***/ (function(module, exports) {
|
|
2693
2696
|
|
|
2694
2697
|
module.exports = require("@splunk/visualization-color-palettes/editors/PresetPalettes");
|
|
2695
2698
|
|
|
2696
2699
|
/***/ }),
|
|
2700
|
+
/* 81 */,
|
|
2697
2701
|
/* 82 */,
|
|
2698
2702
|
/* 83 */,
|
|
2699
2703
|
/* 84 */,
|
|
@@ -2758,9 +2762,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2758
2762
|
});
|
|
2759
2763
|
exports.getDynamicFillColorEditor = void 0;
|
|
2760
2764
|
|
|
2761
|
-
var i18n_1 = __webpack_require__(
|
|
2765
|
+
var i18n_1 = __webpack_require__(3);
|
|
2762
2766
|
|
|
2763
|
-
var configUtils_1 = __webpack_require__(
|
|
2767
|
+
var configUtils_1 = __webpack_require__(28);
|
|
2764
2768
|
|
|
2765
2769
|
var getDynamicFillColorEditor = function getDynamicFillColorEditor(_ref) {
|
|
2766
2770
|
var defaultContext = _ref.defaultContext,
|
|
@@ -2813,9 +2817,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2813
2817
|
});
|
|
2814
2818
|
exports.getDynamicStrokeColorEditor = void 0;
|
|
2815
2819
|
|
|
2816
|
-
var i18n_1 = __webpack_require__(
|
|
2820
|
+
var i18n_1 = __webpack_require__(3);
|
|
2817
2821
|
|
|
2818
|
-
var configUtils_1 = __webpack_require__(
|
|
2822
|
+
var configUtils_1 = __webpack_require__(28);
|
|
2819
2823
|
|
|
2820
2824
|
var getDynamicStrokeColorEditor = function getDynamicStrokeColorEditor(_ref) {
|
|
2821
2825
|
var defaultContext = _ref.defaultContext,
|
|
@@ -2867,9 +2871,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2867
2871
|
value: true
|
|
2868
2872
|
});
|
|
2869
2873
|
|
|
2870
|
-
var i18n_1 = __webpack_require__(
|
|
2874
|
+
var i18n_1 = __webpack_require__(3);
|
|
2871
2875
|
|
|
2872
|
-
var configUtils_1 = __webpack_require__(
|
|
2876
|
+
var configUtils_1 = __webpack_require__(28);
|
|
2873
2877
|
|
|
2874
2878
|
var StaticFillColorEditor = {
|
|
2875
2879
|
label: (0, i18n_1._)('Fill'),
|
|
@@ -2893,9 +2897,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2893
2897
|
value: true
|
|
2894
2898
|
});
|
|
2895
2899
|
|
|
2896
|
-
var i18n_1 = __webpack_require__(
|
|
2900
|
+
var i18n_1 = __webpack_require__(3);
|
|
2897
2901
|
|
|
2898
|
-
var configUtils_1 = __webpack_require__(
|
|
2902
|
+
var configUtils_1 = __webpack_require__(28);
|
|
2899
2903
|
|
|
2900
2904
|
var StaticStrokeColorEditor = {
|
|
2901
2905
|
label: (0, i18n_1._)('Stroke'),
|
|
@@ -2915,7 +2919,7 @@ exports.default = StaticStrokeColorEditor;
|
|
|
2915
2919
|
"use strict";
|
|
2916
2920
|
|
|
2917
2921
|
|
|
2918
|
-
var _taggedTemplateLiteral = __webpack_require__(
|
|
2922
|
+
var _taggedTemplateLiteral = __webpack_require__(78);
|
|
2919
2923
|
|
|
2920
2924
|
var _templateObject;
|
|
2921
2925
|
|
|
@@ -2924,15 +2928,15 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2924
2928
|
});
|
|
2925
2929
|
exports.getStyledShape = exports.mapToOldKey = void 0;
|
|
2926
2930
|
|
|
2927
|
-
var lodash_1 = __webpack_require__(
|
|
2931
|
+
var lodash_1 = __webpack_require__(2);
|
|
2928
2932
|
|
|
2929
2933
|
var styled_components_1 = __webpack_require__(4);
|
|
2930
2934
|
|
|
2931
|
-
var pick_1 = __webpack_require__(
|
|
2935
|
+
var pick_1 = __webpack_require__(29);
|
|
2932
2936
|
|
|
2933
|
-
var variables_1 = __webpack_require__(
|
|
2937
|
+
var variables_1 = __webpack_require__(13);
|
|
2934
2938
|
|
|
2935
|
-
var propUtils_1 = __webpack_require__(
|
|
2939
|
+
var propUtils_1 = __webpack_require__(35); // map for new options names to old option names
|
|
2936
2940
|
|
|
2937
2941
|
|
|
2938
2942
|
var shapeOptionsMapping = {
|
|
@@ -3012,9 +3016,7 @@ exports.getStyledShape = getStyledShape;
|
|
|
3012
3016
|
/* 163 */,
|
|
3013
3017
|
/* 164 */,
|
|
3014
3018
|
/* 165 */,
|
|
3015
|
-
/* 166
|
|
3016
|
-
/* 167 */,
|
|
3017
|
-
/* 168 */
|
|
3019
|
+
/* 166 */
|
|
3018
3020
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3019
3021
|
|
|
3020
3022
|
"use strict";
|
|
@@ -3038,19 +3040,19 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3038
3040
|
});
|
|
3039
3041
|
exports.config = exports.themes = void 0;
|
|
3040
3042
|
|
|
3041
|
-
var React = __webpack_require__(
|
|
3043
|
+
var React = __webpack_require__(1);
|
|
3042
3044
|
|
|
3043
|
-
var lodash_1 = __webpack_require__(
|
|
3045
|
+
var lodash_1 = __webpack_require__(2);
|
|
3044
3046
|
|
|
3045
3047
|
var styled_components_1 = __webpack_require__(4);
|
|
3046
3048
|
|
|
3047
|
-
var T = __webpack_require__(
|
|
3049
|
+
var T = __webpack_require__(0);
|
|
3048
3050
|
|
|
3049
|
-
var config_1 = __webpack_require__(
|
|
3051
|
+
var config_1 = __webpack_require__(218);
|
|
3050
3052
|
|
|
3051
3053
|
exports.config = config_1.default;
|
|
3052
3054
|
|
|
3053
|
-
var withDashboardViz_1 = __webpack_require__(
|
|
3055
|
+
var withDashboardViz_1 = __webpack_require__(54);
|
|
3054
3056
|
|
|
3055
3057
|
var shapeUtils_1 = __webpack_require__(139);
|
|
3056
3058
|
|
|
@@ -3121,6 +3123,8 @@ exports.themes = themes;
|
|
|
3121
3123
|
exports.default = Ellipse;
|
|
3122
3124
|
|
|
3123
3125
|
/***/ }),
|
|
3126
|
+
/* 167 */,
|
|
3127
|
+
/* 168 */,
|
|
3124
3128
|
/* 169 */,
|
|
3125
3129
|
/* 170 */,
|
|
3126
3130
|
/* 171 */,
|
|
@@ -3169,9 +3173,7 @@ exports.default = Ellipse;
|
|
|
3169
3173
|
/* 214 */,
|
|
3170
3174
|
/* 215 */,
|
|
3171
3175
|
/* 216 */,
|
|
3172
|
-
/* 217
|
|
3173
|
-
/* 218 */,
|
|
3174
|
-
/* 219 */
|
|
3176
|
+
/* 217 */
|
|
3175
3177
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3176
3178
|
|
|
3177
3179
|
"use strict";
|
|
@@ -3207,9 +3209,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3207
3209
|
});
|
|
3208
3210
|
exports.default = void 0;
|
|
3209
3211
|
|
|
3210
|
-
__exportStar(__webpack_require__(
|
|
3212
|
+
__exportStar(__webpack_require__(166), exports);
|
|
3211
3213
|
|
|
3212
|
-
var Ellipse_1 = __webpack_require__(
|
|
3214
|
+
var Ellipse_1 = __webpack_require__(166);
|
|
3213
3215
|
|
|
3214
3216
|
Object.defineProperty(exports, "default", {
|
|
3215
3217
|
enumerable: true,
|
|
@@ -3219,7 +3221,7 @@ Object.defineProperty(exports, "default", {
|
|
|
3219
3221
|
});
|
|
3220
3222
|
|
|
3221
3223
|
/***/ }),
|
|
3222
|
-
/*
|
|
3224
|
+
/* 218 */
|
|
3223
3225
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3224
3226
|
|
|
3225
3227
|
"use strict";
|
|
@@ -3229,21 +3231,21 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3229
3231
|
value: true
|
|
3230
3232
|
});
|
|
3231
3233
|
|
|
3232
|
-
var i18n_1 = __webpack_require__(
|
|
3234
|
+
var i18n_1 = __webpack_require__(3);
|
|
3233
3235
|
|
|
3234
|
-
var PresetPalettes_1 = __webpack_require__(
|
|
3236
|
+
var PresetPalettes_1 = __webpack_require__(80);
|
|
3235
3237
|
|
|
3236
|
-
var visualization_schemas_1 = __webpack_require__(
|
|
3238
|
+
var visualization_schemas_1 = __webpack_require__(9);
|
|
3237
3239
|
|
|
3238
|
-
var pick_1 = __webpack_require__(
|
|
3240
|
+
var pick_1 = __webpack_require__(29);
|
|
3239
3241
|
|
|
3240
|
-
var variables_1 = __webpack_require__(
|
|
3242
|
+
var variables_1 = __webpack_require__(13);
|
|
3241
3243
|
|
|
3242
|
-
var VizBehavior_1 = __webpack_require__(
|
|
3244
|
+
var VizBehavior_1 = __webpack_require__(7);
|
|
3243
3245
|
|
|
3244
|
-
var VizCategory_1 = __webpack_require__(
|
|
3246
|
+
var VizCategory_1 = __webpack_require__(22);
|
|
3245
3247
|
|
|
3246
|
-
var configUtils_1 = __webpack_require__(
|
|
3248
|
+
var configUtils_1 = __webpack_require__(26);
|
|
3247
3249
|
|
|
3248
3250
|
var DynamicFillColorEditor_1 = __webpack_require__(135);
|
|
3249
3251
|
|