@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/Bubble.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 = 199);
|
|
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,32 +1088,32 @@ 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
|
-
/*
|
|
1105
|
-
/*
|
|
1097
|
+
/* 28 */,
|
|
1098
|
+
/* 29 */
|
|
1106
1099
|
/***/ (function(module, exports) {
|
|
1107
1100
|
|
|
1108
1101
|
module.exports = require("@splunk/themes/pick");
|
|
1109
1102
|
|
|
1110
1103
|
/***/ }),
|
|
1111
|
-
/*
|
|
1104
|
+
/* 30 */
|
|
1112
1105
|
/***/ (function(module, exports) {
|
|
1113
1106
|
|
|
1114
1107
|
module.exports = require("@splunk/ui-utils/id");
|
|
1115
1108
|
|
|
1116
1109
|
/***/ }),
|
|
1117
|
-
/*
|
|
1110
|
+
/* 31 */
|
|
1118
1111
|
/***/ (function(module, exports) {
|
|
1119
1112
|
|
|
1120
1113
|
module.exports = require("@splunk/visualization-context/TimezoneContext");
|
|
1121
1114
|
|
|
1122
1115
|
/***/ }),
|
|
1123
|
-
/*
|
|
1116
|
+
/* 32 */
|
|
1124
1117
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1125
1118
|
|
|
1126
1119
|
"use strict";
|
|
@@ -1130,7 +1123,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1130
1123
|
value: true
|
|
1131
1124
|
});
|
|
1132
1125
|
|
|
1133
|
-
var react_1 = __webpack_require__(
|
|
1126
|
+
var react_1 = __webpack_require__(1);
|
|
1134
1127
|
|
|
1135
1128
|
function usePrevious(value) {
|
|
1136
1129
|
var ref = (0, react_1.useRef)();
|
|
@@ -1143,25 +1136,25 @@ function usePrevious(value) {
|
|
|
1143
1136
|
exports.default = usePrevious;
|
|
1144
1137
|
|
|
1145
1138
|
/***/ }),
|
|
1146
|
-
/*
|
|
1139
|
+
/* 33 */
|
|
1147
1140
|
/***/ (function(module, exports) {
|
|
1148
1141
|
|
|
1149
1142
|
module.exports = require("@splunk/visualizations-shared/hocUtils");
|
|
1150
1143
|
|
|
1151
1144
|
/***/ }),
|
|
1152
|
-
/*
|
|
1145
|
+
/* 34 */
|
|
1153
1146
|
/***/ (function(module, exports) {
|
|
1154
1147
|
|
|
1155
1148
|
module.exports = require("@splunk/visualizations-shared/JSONSchemaUtils");
|
|
1156
1149
|
|
|
1157
1150
|
/***/ }),
|
|
1158
|
-
/*
|
|
1151
|
+
/* 35 */
|
|
1159
1152
|
/***/ (function(module, exports) {
|
|
1160
1153
|
|
|
1161
1154
|
module.exports = require("@splunk/visualizations-shared/propUtils");
|
|
1162
1155
|
|
|
1163
1156
|
/***/ }),
|
|
1164
|
-
/*
|
|
1157
|
+
/* 36 */
|
|
1165
1158
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1166
1159
|
|
|
1167
1160
|
"use strict";
|
|
@@ -1172,17 +1165,17 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1172
1165
|
});
|
|
1173
1166
|
exports.shouldShowIconPlaceholder = void 0;
|
|
1174
1167
|
|
|
1175
|
-
var React = __webpack_require__(
|
|
1168
|
+
var React = __webpack_require__(1);
|
|
1176
1169
|
|
|
1177
|
-
var T = __webpack_require__(
|
|
1170
|
+
var T = __webpack_require__(0);
|
|
1178
1171
|
|
|
1179
|
-
var lodash_1 = __webpack_require__(
|
|
1172
|
+
var lodash_1 = __webpack_require__(2);
|
|
1180
1173
|
|
|
1181
|
-
var i18n_1 = __webpack_require__(
|
|
1174
|
+
var i18n_1 = __webpack_require__(3);
|
|
1182
1175
|
|
|
1183
|
-
var Message_1 = __webpack_require__(
|
|
1176
|
+
var Message_1 = __webpack_require__(11);
|
|
1184
1177
|
|
|
1185
|
-
var FixedSizeContainer_1 = __webpack_require__(
|
|
1178
|
+
var FixedSizeContainer_1 = __webpack_require__(17);
|
|
1186
1179
|
/**
|
|
1187
1180
|
* @method shouldShowIconPlaceholder
|
|
1188
1181
|
* @param {object} dataSources
|
|
@@ -1253,24 +1246,24 @@ IconPlaceholder.defaultProps = {
|
|
|
1253
1246
|
exports.default = (0, FixedSizeContainer_1.default)(IconPlaceholder);
|
|
1254
1247
|
|
|
1255
1248
|
/***/ }),
|
|
1256
|
-
/*
|
|
1249
|
+
/* 37 */
|
|
1257
1250
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1258
1251
|
|
|
1259
1252
|
"use strict";
|
|
1260
1253
|
|
|
1261
1254
|
|
|
1262
|
-
var _defineProperty = __webpack_require__(
|
|
1255
|
+
var _defineProperty = __webpack_require__(12);
|
|
1263
1256
|
|
|
1264
1257
|
Object.defineProperty(exports, "__esModule", {
|
|
1265
1258
|
value: true
|
|
1266
1259
|
});
|
|
1267
1260
|
exports.getSortingParams = exports.SortParamsPropTypes = void 0;
|
|
1268
1261
|
|
|
1269
|
-
var T = __webpack_require__(
|
|
1262
|
+
var T = __webpack_require__(0);
|
|
1270
1263
|
|
|
1271
|
-
var lodash_1 = __webpack_require__(
|
|
1264
|
+
var lodash_1 = __webpack_require__(2);
|
|
1272
1265
|
|
|
1273
|
-
var DataSource_1 = __webpack_require__(
|
|
1266
|
+
var DataSource_1 = __webpack_require__(20);
|
|
1274
1267
|
|
|
1275
1268
|
exports.SortParamsPropTypes = T.shape({
|
|
1276
1269
|
currentSortKey: T.string,
|
|
@@ -1323,7 +1316,7 @@ var getSortingParams = function getSortingParams(_ref) {
|
|
|
1323
1316
|
exports.getSortingParams = getSortingParams;
|
|
1324
1317
|
|
|
1325
1318
|
/***/ }),
|
|
1326
|
-
/*
|
|
1319
|
+
/* 38 */
|
|
1327
1320
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1328
1321
|
|
|
1329
1322
|
"use strict";
|
|
@@ -1334,9 +1327,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1334
1327
|
});
|
|
1335
1328
|
exports.getPaginationParams = exports.PaginatorParamsPropTypes = void 0;
|
|
1336
1329
|
|
|
1337
|
-
var T = __webpack_require__(
|
|
1330
|
+
var T = __webpack_require__(0);
|
|
1338
1331
|
|
|
1339
|
-
var lodash_1 = __webpack_require__(
|
|
1332
|
+
var lodash_1 = __webpack_require__(2);
|
|
1340
1333
|
|
|
1341
1334
|
exports.PaginatorParamsPropTypes = T.shape({
|
|
1342
1335
|
isPaging: T.bool,
|
|
@@ -1387,7 +1380,7 @@ var getPaginationParams = function getPaginationParams(_ref) {
|
|
|
1387
1380
|
exports.getPaginationParams = getPaginationParams;
|
|
1388
1381
|
|
|
1389
1382
|
/***/ }),
|
|
1390
|
-
/*
|
|
1383
|
+
/* 39 */
|
|
1391
1384
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1392
1385
|
|
|
1393
1386
|
"use strict";
|
|
@@ -1422,11 +1415,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1422
1415
|
value: true
|
|
1423
1416
|
});
|
|
1424
1417
|
|
|
1418
|
+
__exportStar(__webpack_require__(40), exports);
|
|
1419
|
+
|
|
1425
1420
|
__exportStar(__webpack_require__(41), exports);
|
|
1426
1421
|
|
|
1427
|
-
__exportStar(__webpack_require__(
|
|
1422
|
+
__exportStar(__webpack_require__(20), exports);
|
|
1428
1423
|
|
|
1429
|
-
__exportStar(__webpack_require__(
|
|
1424
|
+
__exportStar(__webpack_require__(42), exports);
|
|
1430
1425
|
|
|
1431
1426
|
__exportStar(__webpack_require__(43), exports);
|
|
1432
1427
|
|
|
@@ -1438,13 +1433,13 @@ __exportStar(__webpack_require__(46), exports);
|
|
|
1438
1433
|
|
|
1439
1434
|
__exportStar(__webpack_require__(47), exports);
|
|
1440
1435
|
|
|
1441
|
-
__exportStar(__webpack_require__(
|
|
1436
|
+
__exportStar(__webpack_require__(21), exports);
|
|
1442
1437
|
|
|
1443
|
-
__exportStar(__webpack_require__(
|
|
1438
|
+
__exportStar(__webpack_require__(7), exports);
|
|
1444
1439
|
|
|
1445
|
-
__exportStar(__webpack_require__(
|
|
1440
|
+
__exportStar(__webpack_require__(22), exports);
|
|
1446
1441
|
|
|
1447
|
-
__exportStar(__webpack_require__(
|
|
1442
|
+
__exportStar(__webpack_require__(48), exports);
|
|
1448
1443
|
|
|
1449
1444
|
__exportStar(__webpack_require__(49), exports);
|
|
1450
1445
|
|
|
@@ -1456,10 +1451,8 @@ __exportStar(__webpack_require__(52), exports);
|
|
|
1456
1451
|
|
|
1457
1452
|
__exportStar(__webpack_require__(53), exports);
|
|
1458
1453
|
|
|
1459
|
-
__exportStar(__webpack_require__(54), exports);
|
|
1460
|
-
|
|
1461
1454
|
/***/ }),
|
|
1462
|
-
/*
|
|
1455
|
+
/* 40 */
|
|
1463
1456
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1464
1457
|
|
|
1465
1458
|
"use strict";
|
|
@@ -1470,7 +1463,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1470
1463
|
});
|
|
1471
1464
|
|
|
1472
1465
|
/***/ }),
|
|
1473
|
-
/*
|
|
1466
|
+
/* 41 */
|
|
1474
1467
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1475
1468
|
|
|
1476
1469
|
"use strict";
|
|
@@ -1479,6 +1472,17 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1479
1472
|
* A data structure used at runtime to wire up a visualization.
|
|
1480
1473
|
*/
|
|
1481
1474
|
|
|
1475
|
+
Object.defineProperty(exports, "__esModule", {
|
|
1476
|
+
value: true
|
|
1477
|
+
});
|
|
1478
|
+
|
|
1479
|
+
/***/ }),
|
|
1480
|
+
/* 42 */
|
|
1481
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1482
|
+
|
|
1483
|
+
"use strict";
|
|
1484
|
+
|
|
1485
|
+
|
|
1482
1486
|
Object.defineProperty(exports, "__esModule", {
|
|
1483
1487
|
value: true
|
|
1484
1488
|
});
|
|
@@ -1611,70 +1615,59 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1611
1615
|
"use strict";
|
|
1612
1616
|
|
|
1613
1617
|
|
|
1614
|
-
|
|
1615
|
-
value: true
|
|
1616
|
-
});
|
|
1617
|
-
|
|
1618
|
-
/***/ }),
|
|
1619
|
-
/* 55 */
|
|
1620
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1621
|
-
|
|
1622
|
-
"use strict";
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
var _slicedToArray = __webpack_require__(6);
|
|
1618
|
+
var _slicedToArray = __webpack_require__(5);
|
|
1626
1619
|
|
|
1627
1620
|
Object.defineProperty(exports, "__esModule", {
|
|
1628
1621
|
value: true
|
|
1629
1622
|
});
|
|
1630
1623
|
|
|
1631
|
-
var React = __webpack_require__(
|
|
1624
|
+
var React = __webpack_require__(1);
|
|
1632
1625
|
|
|
1633
|
-
var lodash_1 = __webpack_require__(
|
|
1626
|
+
var lodash_1 = __webpack_require__(2);
|
|
1634
1627
|
|
|
1635
|
-
var getSettingsFromThemedProps_1 = __webpack_require__(
|
|
1628
|
+
var getSettingsFromThemedProps_1 = __webpack_require__(55);
|
|
1636
1629
|
|
|
1637
|
-
var Options_1 = __webpack_require__(
|
|
1630
|
+
var Options_1 = __webpack_require__(16);
|
|
1638
1631
|
|
|
1639
|
-
var SanitizeProps_1 = __webpack_require__(
|
|
1632
|
+
var SanitizeProps_1 = __webpack_require__(56);
|
|
1640
1633
|
|
|
1641
|
-
var TimezoneContext_1 = __webpack_require__(
|
|
1634
|
+
var TimezoneContext_1 = __webpack_require__(31);
|
|
1642
1635
|
|
|
1643
|
-
var moment_1 = __webpack_require__(
|
|
1636
|
+
var moment_1 = __webpack_require__(57);
|
|
1644
1637
|
|
|
1645
|
-
var FeatureFlagContext_1 = __webpack_require__(
|
|
1638
|
+
var FeatureFlagContext_1 = __webpack_require__(27);
|
|
1646
1639
|
|
|
1647
1640
|
var styled_components_1 = __webpack_require__(4);
|
|
1648
1641
|
|
|
1649
|
-
var hocUtils_1 = __webpack_require__(
|
|
1642
|
+
var hocUtils_1 = __webpack_require__(33);
|
|
1650
1643
|
|
|
1651
|
-
var JSONSchemaUtils_1 = __webpack_require__(
|
|
1644
|
+
var JSONSchemaUtils_1 = __webpack_require__(34);
|
|
1652
1645
|
|
|
1653
|
-
var async_dynamic_options_evaluator_1 = __webpack_require__(
|
|
1646
|
+
var async_dynamic_options_evaluator_1 = __webpack_require__(58);
|
|
1654
1647
|
|
|
1655
|
-
var id_1 = __webpack_require__(
|
|
1648
|
+
var id_1 = __webpack_require__(30);
|
|
1656
1649
|
|
|
1657
|
-
var SplunkVisualization_1 = __webpack_require__(
|
|
1650
|
+
var SplunkVisualization_1 = __webpack_require__(59);
|
|
1658
1651
|
|
|
1659
|
-
var VizBehavior_1 = __webpack_require__(
|
|
1652
|
+
var VizBehavior_1 = __webpack_require__(7);
|
|
1660
1653
|
|
|
1661
|
-
var getSorting_1 = __webpack_require__(
|
|
1654
|
+
var getSorting_1 = __webpack_require__(37);
|
|
1662
1655
|
|
|
1663
|
-
var getPagination_1 = __webpack_require__(
|
|
1656
|
+
var getPagination_1 = __webpack_require__(38);
|
|
1664
1657
|
|
|
1665
|
-
var useDeepMemo_1 = __webpack_require__(
|
|
1658
|
+
var useDeepMemo_1 = __webpack_require__(60);
|
|
1666
1659
|
|
|
1667
|
-
var MissingPropsMessage_1 = __webpack_require__(
|
|
1660
|
+
var MissingPropsMessage_1 = __webpack_require__(61);
|
|
1668
1661
|
|
|
1669
|
-
var withEditModeCover_1 = __webpack_require__(
|
|
1662
|
+
var withEditModeCover_1 = __webpack_require__(62);
|
|
1670
1663
|
|
|
1671
|
-
var withPlaceholder_1 = __webpack_require__(
|
|
1664
|
+
var withPlaceholder_1 = __webpack_require__(63);
|
|
1672
1665
|
|
|
1673
|
-
var useDownsampleDataSources_1 = __webpack_require__(
|
|
1666
|
+
var useDownsampleDataSources_1 = __webpack_require__(64);
|
|
1674
1667
|
|
|
1675
|
-
var dataUtils_1 = __webpack_require__(
|
|
1668
|
+
var dataUtils_1 = __webpack_require__(14);
|
|
1676
1669
|
|
|
1677
|
-
var featureFlagUtils_1 = __webpack_require__(
|
|
1670
|
+
var featureFlagUtils_1 = __webpack_require__(66);
|
|
1678
1671
|
/**
|
|
1679
1672
|
* hoc that wraps a pure react visualization in a Dashboard visualization
|
|
1680
1673
|
* @param {DashboardVizOpts} opts
|
|
@@ -2006,37 +1999,37 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
2006
1999
|
exports.default = withDashboardViz;
|
|
2007
2000
|
|
|
2008
2001
|
/***/ }),
|
|
2009
|
-
/*
|
|
2002
|
+
/* 55 */
|
|
2010
2003
|
/***/ (function(module, exports) {
|
|
2011
2004
|
|
|
2012
2005
|
module.exports = require("@splunk/themes/getSettingsFromThemedProps");
|
|
2013
2006
|
|
|
2014
2007
|
/***/ }),
|
|
2015
|
-
/*
|
|
2008
|
+
/* 56 */
|
|
2016
2009
|
/***/ (function(module, exports) {
|
|
2017
2010
|
|
|
2018
2011
|
module.exports = require("@splunk/visualizations-shared/SanitizeProps");
|
|
2019
2012
|
|
|
2020
2013
|
/***/ }),
|
|
2021
|
-
/*
|
|
2014
|
+
/* 57 */
|
|
2022
2015
|
/***/ (function(module, exports) {
|
|
2023
2016
|
|
|
2024
2017
|
module.exports = require("@splunk/moment");
|
|
2025
2018
|
|
|
2026
2019
|
/***/ }),
|
|
2027
|
-
/*
|
|
2020
|
+
/* 58 */
|
|
2028
2021
|
/***/ (function(module, exports) {
|
|
2029
2022
|
|
|
2030
2023
|
module.exports = require("@splunk/async-dynamic-options-evaluator");
|
|
2031
2024
|
|
|
2032
2025
|
/***/ }),
|
|
2033
|
-
/*
|
|
2026
|
+
/* 59 */
|
|
2034
2027
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2035
2028
|
|
|
2036
2029
|
"use strict";
|
|
2037
2030
|
|
|
2038
2031
|
|
|
2039
|
-
var _classCallCheck = __webpack_require__(
|
|
2032
|
+
var _classCallCheck = __webpack_require__(8);
|
|
2040
2033
|
|
|
2041
2034
|
Object.defineProperty(exports, "__esModule", {
|
|
2042
2035
|
value: true
|
|
@@ -2044,11 +2037,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2044
2037
|
exports.INITIAL_HEIGHT = exports.INITIAL_WIDTH = void 0;
|
|
2045
2038
|
/* eslint-disable react/no-unused-prop-types,react/prefer-stateless-function */
|
|
2046
2039
|
|
|
2047
|
-
var T = __webpack_require__(
|
|
2040
|
+
var T = __webpack_require__(0);
|
|
2048
2041
|
|
|
2049
|
-
var lodash_1 = __webpack_require__(
|
|
2042
|
+
var lodash_1 = __webpack_require__(2);
|
|
2050
2043
|
|
|
2051
|
-
var VizActionHandler_1 = __webpack_require__(
|
|
2044
|
+
var VizActionHandler_1 = __webpack_require__(21); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
|
|
2052
2045
|
|
|
2053
2046
|
|
|
2054
2047
|
exports.INITIAL_WIDTH = 250;
|
|
@@ -2181,7 +2174,7 @@ SplunkVisualization.defaultProps = {
|
|
|
2181
2174
|
exports.default = SplunkVisualization;
|
|
2182
2175
|
|
|
2183
2176
|
/***/ }),
|
|
2184
|
-
/*
|
|
2177
|
+
/* 60 */
|
|
2185
2178
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2186
2179
|
|
|
2187
2180
|
"use strict";
|
|
@@ -2192,9 +2185,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2192
2185
|
});
|
|
2193
2186
|
exports.useDeepMemo = void 0;
|
|
2194
2187
|
|
|
2195
|
-
var react_1 = __webpack_require__(
|
|
2188
|
+
var react_1 = __webpack_require__(1);
|
|
2196
2189
|
|
|
2197
|
-
var lodash_1 = __webpack_require__(
|
|
2190
|
+
var lodash_1 = __webpack_require__(2);
|
|
2198
2191
|
/**
|
|
2199
2192
|
* This hook evaluates and stores the result of a passed function and only
|
|
2200
2193
|
* re-evaluates the function when passed dependencies change.
|
|
@@ -2226,7 +2219,7 @@ var useDeepMemo = function useDeepMemo(fn, dependencies) {
|
|
|
2226
2219
|
exports.useDeepMemo = useDeepMemo;
|
|
2227
2220
|
|
|
2228
2221
|
/***/ }),
|
|
2229
|
-
/*
|
|
2222
|
+
/* 61 */
|
|
2230
2223
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2231
2224
|
|
|
2232
2225
|
"use strict";
|
|
@@ -2237,15 +2230,15 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2237
2230
|
});
|
|
2238
2231
|
exports.MissingPropsMessage = exports.missingKeys = exports.isMissing = void 0;
|
|
2239
2232
|
|
|
2240
|
-
var React = __webpack_require__(
|
|
2233
|
+
var React = __webpack_require__(1);
|
|
2241
2234
|
|
|
2242
|
-
var T = __webpack_require__(
|
|
2235
|
+
var T = __webpack_require__(0);
|
|
2243
2236
|
|
|
2244
|
-
var i18n_1 = __webpack_require__(
|
|
2237
|
+
var i18n_1 = __webpack_require__(3);
|
|
2245
2238
|
|
|
2246
|
-
var Message_1 = __webpack_require__(
|
|
2239
|
+
var Message_1 = __webpack_require__(11);
|
|
2247
2240
|
|
|
2248
|
-
var FixedSizeContainer_1 = __webpack_require__(
|
|
2241
|
+
var FixedSizeContainer_1 = __webpack_require__(17);
|
|
2249
2242
|
/**
|
|
2250
2243
|
* @method isMissing
|
|
2251
2244
|
* @param {any} v
|
|
@@ -2306,7 +2299,7 @@ exports.MissingPropsMessage.defaultProps = {
|
|
|
2306
2299
|
exports.default = (0, FixedSizeContainer_1.default)(exports.MissingPropsMessage);
|
|
2307
2300
|
|
|
2308
2301
|
/***/ }),
|
|
2309
|
-
/*
|
|
2302
|
+
/* 62 */
|
|
2310
2303
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2311
2304
|
|
|
2312
2305
|
"use strict";
|
|
@@ -2316,18 +2309,18 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2316
2309
|
value: true
|
|
2317
2310
|
});
|
|
2318
2311
|
|
|
2319
|
-
var React = __webpack_require__(
|
|
2312
|
+
var React = __webpack_require__(1);
|
|
2320
2313
|
|
|
2321
2314
|
var styled_components_1 = __webpack_require__(4);
|
|
2322
2315
|
|
|
2323
|
-
var hocUtils_1 = __webpack_require__(
|
|
2316
|
+
var hocUtils_1 = __webpack_require__(23);
|
|
2324
2317
|
|
|
2325
2318
|
var Cover = styled_components_1.default.div.withConfig({
|
|
2326
2319
|
displayName: "withEditModeCover__Cover",
|
|
2327
2320
|
componentId: "sc-1gsbnxb-0"
|
|
2328
2321
|
})(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
|
|
2329
2322
|
var Blocker = styled_components_1.default.div.attrs({
|
|
2330
|
-
'data-splunk-visualization-version': "26.
|
|
2323
|
+
'data-splunk-visualization-version': "26.4.0 - 04078274d"
|
|
2331
2324
|
}).withConfig({
|
|
2332
2325
|
displayName: "withEditModeCover__Blocker",
|
|
2333
2326
|
componentId: "sc-1gsbnxb-1"
|
|
@@ -2358,7 +2351,7 @@ var withEditModeCover = function withEditModeCover(Visualization, disableEditMod
|
|
|
2358
2351
|
exports.default = withEditModeCover;
|
|
2359
2352
|
|
|
2360
2353
|
/***/ }),
|
|
2361
|
-
/*
|
|
2354
|
+
/* 63 */
|
|
2362
2355
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2363
2356
|
|
|
2364
2357
|
"use strict";
|
|
@@ -2368,17 +2361,17 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2368
2361
|
value: true
|
|
2369
2362
|
});
|
|
2370
2363
|
|
|
2371
|
-
var React = __webpack_require__(
|
|
2364
|
+
var React = __webpack_require__(1);
|
|
2372
2365
|
|
|
2373
|
-
var colorUtils_1 = __webpack_require__(
|
|
2366
|
+
var colorUtils_1 = __webpack_require__(15);
|
|
2374
2367
|
|
|
2375
|
-
var variables_1 = __webpack_require__(
|
|
2368
|
+
var variables_1 = __webpack_require__(13);
|
|
2376
2369
|
|
|
2377
|
-
var IconPlaceholder_1 = __webpack_require__(
|
|
2370
|
+
var IconPlaceholder_1 = __webpack_require__(36);
|
|
2378
2371
|
|
|
2379
|
-
var VizBehavior_1 = __webpack_require__(
|
|
2372
|
+
var VizBehavior_1 = __webpack_require__(7);
|
|
2380
2373
|
|
|
2381
|
-
var hocUtils_1 = __webpack_require__(
|
|
2374
|
+
var hocUtils_1 = __webpack_require__(23);
|
|
2382
2375
|
|
|
2383
2376
|
var withPlaceholder = function withPlaceholder(Visualization) {
|
|
2384
2377
|
var useIconPlaceholder = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : IconPlaceholder_1.shouldShowIconPlaceholder;
|
|
@@ -2422,27 +2415,30 @@ var withPlaceholder = function withPlaceholder(Visualization) {
|
|
|
2422
2415
|
exports.default = withPlaceholder;
|
|
2423
2416
|
|
|
2424
2417
|
/***/ }),
|
|
2425
|
-
/*
|
|
2418
|
+
/* 64 */
|
|
2426
2419
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2427
2420
|
|
|
2428
2421
|
"use strict";
|
|
2429
2422
|
|
|
2430
2423
|
|
|
2431
|
-
var _slicedToArray = __webpack_require__(
|
|
2424
|
+
var _slicedToArray = __webpack_require__(5);
|
|
2432
2425
|
|
|
2433
2426
|
Object.defineProperty(exports, "__esModule", {
|
|
2434
2427
|
value: true
|
|
2435
2428
|
});
|
|
2436
2429
|
|
|
2437
|
-
var react_1 = __webpack_require__(
|
|
2430
|
+
var react_1 = __webpack_require__(1);
|
|
2438
2431
|
|
|
2439
|
-
var lodash_1 = __webpack_require__(
|
|
2432
|
+
var lodash_1 = __webpack_require__(2);
|
|
2440
2433
|
|
|
2441
|
-
var dataUtils_1 = __webpack_require__(
|
|
2434
|
+
var dataUtils_1 = __webpack_require__(14);
|
|
2442
2435
|
|
|
2443
|
-
var usePrevious_1 = __webpack_require__(
|
|
2436
|
+
var usePrevious_1 = __webpack_require__(32);
|
|
2444
2437
|
|
|
2445
|
-
var useGetXAndYFields_1 = __webpack_require__(
|
|
2438
|
+
var useGetXAndYFields_1 = __webpack_require__(65); // Options properties which impact/require re-downsample on change.
|
|
2439
|
+
|
|
2440
|
+
|
|
2441
|
+
var downsampleVizOptionProperties = ['nullValueDisplay'];
|
|
2446
2442
|
|
|
2447
2443
|
var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
|
|
2448
2444
|
var dataSources = _ref.dataSources,
|
|
@@ -2456,8 +2452,15 @@ var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
|
|
|
2456
2452
|
options: options,
|
|
2457
2453
|
context: context,
|
|
2458
2454
|
dataSources: dataSources
|
|
2459
|
-
});
|
|
2460
|
-
|
|
2455
|
+
}); // Extract viz options that impact downsampling.
|
|
2456
|
+
|
|
2457
|
+
var downsampleVizOptions = (0, react_1.useMemo)(function () {
|
|
2458
|
+
return (0, lodash_1.pick)(options, downsampleVizOptionProperties);
|
|
2459
|
+
}, [options]);
|
|
2460
|
+
var downsampleDSOptions = (0, react_1.useMemo)(function () {
|
|
2461
|
+
return Object.assign(Object.assign({}, downsampleVizOptions), xAndYFieldsWithTypes);
|
|
2462
|
+
}, [xAndYFieldsWithTypes, downsampleVizOptions]);
|
|
2463
|
+
var previousDownsampleDSOptions = (0, usePrevious_1.default)(downsampleDSOptions);
|
|
2461
2464
|
var previousDataSources = (0, usePrevious_1.default)(dataSources);
|
|
2462
2465
|
var previousThreshold = (0, usePrevious_1.default)(threshold);
|
|
2463
2466
|
|
|
@@ -2465,7 +2468,7 @@ var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
|
|
|
2465
2468
|
return isDownsamplingEnabled ? (0, dataUtils_1.downsampleDataSources)({
|
|
2466
2469
|
dataSources: dataSources,
|
|
2467
2470
|
threshold: threshold,
|
|
2468
|
-
options:
|
|
2471
|
+
options: downsampleDSOptions
|
|
2469
2472
|
}) : dataSources;
|
|
2470
2473
|
}),
|
|
2471
2474
|
_ref3 = _slicedToArray(_ref2, 2),
|
|
@@ -2493,7 +2496,7 @@ var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
|
|
|
2493
2496
|
return;
|
|
2494
2497
|
}
|
|
2495
2498
|
|
|
2496
|
-
if ((0, lodash_1.isEqual)(
|
|
2499
|
+
if ((0, lodash_1.isEqual)(previousDownsampleDSOptions, downsampleDSOptions) && previousDataSources === dataSources && previousThreshold === threshold) {
|
|
2497
2500
|
return;
|
|
2498
2501
|
} // Debounce the downsampling so we don't have to downsample and execute DSL multiple times
|
|
2499
2502
|
// while the viz is being resized
|
|
@@ -2501,31 +2504,31 @@ var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
|
|
|
2501
2504
|
|
|
2502
2505
|
debouncedDownsampleDataSources({
|
|
2503
2506
|
dataSources: dataSources,
|
|
2504
|
-
options:
|
|
2507
|
+
options: downsampleDSOptions,
|
|
2505
2508
|
threshold: threshold
|
|
2506
2509
|
}); // need to detect if this runs as part of the initial render
|
|
2507
|
-
}, [dataSources, debouncedDownsampleDataSources, xAndYFieldsWithTypes, threshold, isDownsamplingEnabled,
|
|
2510
|
+
}, [dataSources, downsampleDSOptions, debouncedDownsampleDataSources, xAndYFieldsWithTypes, threshold, isDownsamplingEnabled, previousDataSources, previousThreshold, previousDownsampleDSOptions]);
|
|
2508
2511
|
return downsampledDataSources;
|
|
2509
2512
|
};
|
|
2510
2513
|
|
|
2511
2514
|
exports.default = useDownsampleDataSources;
|
|
2512
2515
|
|
|
2513
2516
|
/***/ }),
|
|
2514
|
-
/*
|
|
2517
|
+
/* 65 */
|
|
2515
2518
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2516
2519
|
|
|
2517
2520
|
"use strict";
|
|
2518
2521
|
|
|
2519
2522
|
|
|
2520
|
-
var _toConsumableArray = __webpack_require__(
|
|
2523
|
+
var _toConsumableArray = __webpack_require__(6);
|
|
2521
2524
|
|
|
2522
2525
|
Object.defineProperty(exports, "__esModule", {
|
|
2523
2526
|
value: true
|
|
2524
2527
|
});
|
|
2525
2528
|
|
|
2526
|
-
var react_1 = __webpack_require__(
|
|
2529
|
+
var react_1 = __webpack_require__(1);
|
|
2527
2530
|
|
|
2528
|
-
var Options_1 = __webpack_require__(
|
|
2531
|
+
var Options_1 = __webpack_require__(16);
|
|
2529
2532
|
/**
|
|
2530
2533
|
* Hook that evaluates the DSL for subset of a viz's options needed to determine
|
|
2531
2534
|
* its x and y fields as well as the types of all its fields.
|
|
@@ -2625,7 +2628,7 @@ var useGetXAndYFields = function useGetXAndYFields(_ref) {
|
|
|
2625
2628
|
exports.default = useGetXAndYFields;
|
|
2626
2629
|
|
|
2627
2630
|
/***/ }),
|
|
2628
|
-
/*
|
|
2631
|
+
/* 66 */
|
|
2629
2632
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2630
2633
|
|
|
2631
2634
|
"use strict";
|
|
@@ -2636,7 +2639,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2636
2639
|
});
|
|
2637
2640
|
exports.getFeatureFlag = void 0;
|
|
2638
2641
|
|
|
2639
|
-
var FeatureFlags_1 = __webpack_require__(
|
|
2642
|
+
var FeatureFlags_1 = __webpack_require__(67);
|
|
2640
2643
|
|
|
2641
2644
|
var getFeatureFlag = function getFeatureFlag(context, flagName) {
|
|
2642
2645
|
// look for feature flag in context first
|
|
@@ -2660,27 +2663,27 @@ var getFeatureFlag = function getFeatureFlag(context, flagName) {
|
|
|
2660
2663
|
exports.getFeatureFlag = getFeatureFlag;
|
|
2661
2664
|
|
|
2662
2665
|
/***/ }),
|
|
2663
|
-
/*
|
|
2666
|
+
/* 67 */
|
|
2664
2667
|
/***/ (function(module, exports) {
|
|
2665
2668
|
|
|
2666
2669
|
module.exports = require("@splunk/visualization-context/FeatureFlags");
|
|
2667
2670
|
|
|
2668
2671
|
/***/ }),
|
|
2672
|
+
/* 68 */,
|
|
2669
2673
|
/* 69 */,
|
|
2670
|
-
/* 70
|
|
2671
|
-
/* 71 */
|
|
2674
|
+
/* 70 */
|
|
2672
2675
|
/***/ (function(module, exports) {
|
|
2673
2676
|
|
|
2674
2677
|
module.exports = require("@splunk/visualization-icons/placeholders");
|
|
2675
2678
|
|
|
2676
2679
|
/***/ }),
|
|
2677
|
-
/*
|
|
2680
|
+
/* 71 */
|
|
2678
2681
|
/***/ (function(module, exports) {
|
|
2679
2682
|
|
|
2680
2683
|
module.exports = require("@splunk/visualization-icons");
|
|
2681
2684
|
|
|
2682
2685
|
/***/ }),
|
|
2683
|
-
/*
|
|
2686
|
+
/* 72 */
|
|
2684
2687
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2685
2688
|
|
|
2686
2689
|
"use strict";
|
|
@@ -2690,14 +2693,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2690
2693
|
value: true
|
|
2691
2694
|
});
|
|
2692
2695
|
|
|
2693
|
-
var i18n_1 = __webpack_require__(
|
|
2696
|
+
var i18n_1 = __webpack_require__(3);
|
|
2694
2697
|
|
|
2695
2698
|
var background = function background(_ref) {
|
|
2696
2699
|
var label = _ref.label,
|
|
2697
2700
|
themes = _ref.themes,
|
|
2698
2701
|
labelPosition = _ref.labelPosition;
|
|
2699
2702
|
return [{
|
|
2700
|
-
label: (0, i18n_1._)(label || 'Background'),
|
|
2703
|
+
label: (0, i18n_1._)(label || 'Background color'),
|
|
2701
2704
|
option: 'backgroundColor',
|
|
2702
2705
|
editor: 'editor.color',
|
|
2703
2706
|
editorProps: {
|
|
@@ -2710,32 +2713,32 @@ var background = function background(_ref) {
|
|
|
2710
2713
|
exports.default = background;
|
|
2711
2714
|
|
|
2712
2715
|
/***/ }),
|
|
2713
|
-
/*
|
|
2714
|
-
/*
|
|
2716
|
+
/* 73 */,
|
|
2717
|
+
/* 74 */
|
|
2715
2718
|
/***/ (function(module, exports) {
|
|
2716
2719
|
|
|
2717
2720
|
module.exports = require("@splunk/visualization-color-palettes");
|
|
2718
2721
|
|
|
2719
2722
|
/***/ }),
|
|
2720
|
-
/*
|
|
2723
|
+
/* 75 */
|
|
2721
2724
|
/***/ (function(module, exports) {
|
|
2722
2725
|
|
|
2723
2726
|
module.exports = require("@splunk/charting-bundle");
|
|
2724
2727
|
|
|
2725
2728
|
/***/ }),
|
|
2726
|
-
/*
|
|
2729
|
+
/* 76 */
|
|
2727
2730
|
/***/ (function(module, exports) {
|
|
2728
2731
|
|
|
2729
2732
|
module.exports = require("@splunk/themes/useSplunkTheme");
|
|
2730
2733
|
|
|
2731
2734
|
/***/ }),
|
|
2732
|
-
/*
|
|
2735
|
+
/* 77 */
|
|
2733
2736
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2734
2737
|
|
|
2735
2738
|
"use strict";
|
|
2736
2739
|
|
|
2737
2740
|
|
|
2738
|
-
var _toConsumableArray = __webpack_require__(
|
|
2741
|
+
var _toConsumableArray = __webpack_require__(6);
|
|
2739
2742
|
|
|
2740
2743
|
var __rest = this && this.__rest || function (s, e) {
|
|
2741
2744
|
var t = {};
|
|
@@ -2755,7 +2758,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2755
2758
|
});
|
|
2756
2759
|
exports.shouldEnableSearchZoom = exports.constructFieldsAndColumns = exports.toArrayForSeries = exports.isMultiSeriesData = exports.convertOverlayFields = exports.convertY2AxisOptions = exports.mapToValues = exports.truncateData = exports.getAnnotations = void 0;
|
|
2757
2760
|
|
|
2758
|
-
var lodash_1 = __webpack_require__(
|
|
2761
|
+
var lodash_1 = __webpack_require__(2);
|
|
2759
2762
|
/**
|
|
2760
2763
|
* Get formatted annotations
|
|
2761
2764
|
* @method getAnnotations
|
|
@@ -2966,13 +2969,13 @@ var shouldEnableSearchZoom = function shouldEnableSearchZoom() {
|
|
|
2966
2969
|
exports.shouldEnableSearchZoom = shouldEnableSearchZoom;
|
|
2967
2970
|
|
|
2968
2971
|
/***/ }),
|
|
2972
|
+
/* 78 */,
|
|
2969
2973
|
/* 79 */,
|
|
2970
2974
|
/* 80 */,
|
|
2971
2975
|
/* 81 */,
|
|
2972
2976
|
/* 82 */,
|
|
2973
2977
|
/* 83 */,
|
|
2974
|
-
/* 84
|
|
2975
|
-
/* 85 */
|
|
2978
|
+
/* 84 */
|
|
2976
2979
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2977
2980
|
|
|
2978
2981
|
"use strict";
|
|
@@ -2984,44 +2987,44 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2984
2987
|
exports.updateRowPayload = exports.canUpdateInPlace = exports.changedOptions = exports.NO_INPLACE_PROPS = void 0;
|
|
2985
2988
|
/* eslint-disable react/no-unused-prop-types */
|
|
2986
2989
|
|
|
2987
|
-
var lodash_1 = __webpack_require__(
|
|
2990
|
+
var lodash_1 = __webpack_require__(2);
|
|
2988
2991
|
|
|
2989
|
-
var i18n_1 = __webpack_require__(
|
|
2992
|
+
var i18n_1 = __webpack_require__(3);
|
|
2990
2993
|
|
|
2991
|
-
var visualization_color_palettes_1 = __webpack_require__(
|
|
2994
|
+
var visualization_color_palettes_1 = __webpack_require__(74);
|
|
2992
2995
|
|
|
2993
|
-
var react_1 = __webpack_require__(
|
|
2996
|
+
var react_1 = __webpack_require__(1);
|
|
2994
2997
|
|
|
2995
|
-
var React = __webpack_require__(
|
|
2998
|
+
var React = __webpack_require__(1);
|
|
2996
2999
|
|
|
2997
|
-
var T = __webpack_require__(
|
|
3000
|
+
var T = __webpack_require__(0);
|
|
2998
3001
|
|
|
2999
|
-
var react_event_listener_1 = __webpack_require__(
|
|
3002
|
+
var react_event_listener_1 = __webpack_require__(85);
|
|
3000
3003
|
|
|
3001
|
-
__webpack_require__(
|
|
3004
|
+
__webpack_require__(86); // fixme, @splunk/charting should be refactor to use locale & timezone instead of i18n functions
|
|
3002
3005
|
|
|
3003
3006
|
|
|
3004
|
-
var charting_bundle_1 = __webpack_require__(
|
|
3007
|
+
var charting_bundle_1 = __webpack_require__(75);
|
|
3005
3008
|
|
|
3006
|
-
var TimezoneContext_1 = __webpack_require__(
|
|
3009
|
+
var TimezoneContext_1 = __webpack_require__(31);
|
|
3007
3010
|
|
|
3008
|
-
var style_1 = __webpack_require__(
|
|
3011
|
+
var style_1 = __webpack_require__(18);
|
|
3009
3012
|
|
|
3010
3013
|
var styled_components_1 = __webpack_require__(4);
|
|
3011
3014
|
|
|
3012
|
-
var Message_1 = __webpack_require__(
|
|
3015
|
+
var Message_1 = __webpack_require__(11);
|
|
3013
3016
|
|
|
3014
|
-
var useSplunkTheme_1 = __webpack_require__(
|
|
3017
|
+
var useSplunkTheme_1 = __webpack_require__(76);
|
|
3015
3018
|
|
|
3016
|
-
var themeUtils_1 = __webpack_require__(
|
|
3019
|
+
var themeUtils_1 = __webpack_require__(87);
|
|
3017
3020
|
|
|
3018
|
-
var ChartingApi_1 = __webpack_require__(
|
|
3021
|
+
var ChartingApi_1 = __webpack_require__(88);
|
|
3019
3022
|
|
|
3020
|
-
var usePrevious_1 = __webpack_require__(
|
|
3023
|
+
var usePrevious_1 = __webpack_require__(32);
|
|
3021
3024
|
|
|
3022
|
-
var useEventCallback_1 = __webpack_require__(
|
|
3025
|
+
var useEventCallback_1 = __webpack_require__(89);
|
|
3023
3026
|
|
|
3024
|
-
var dataUtils_1 = __webpack_require__(
|
|
3027
|
+
var dataUtils_1 = __webpack_require__(14);
|
|
3025
3028
|
|
|
3026
3029
|
exports.NO_INPLACE_PROPS = ['chart', 'chart.orientation', 'layout.splitSeries', 'chart.style', 'legend.placement'];
|
|
3027
3030
|
|
|
@@ -3146,8 +3149,7 @@ var Charting = function Charting(props) {
|
|
|
3146
3149
|
onEventTrigger = props.onEventTrigger,
|
|
3147
3150
|
originalDataSources = props.originalDataSources,
|
|
3148
3151
|
onDownsamplingThresholdChange = props.onDownsamplingThresholdChange,
|
|
3149
|
-
xField = props.xField
|
|
3150
|
-
y2Fields = props.y2Fields;
|
|
3152
|
+
xField = props.xField;
|
|
3151
3153
|
var prevOptions = (0, usePrevious_1.default)(options);
|
|
3152
3154
|
var prevTimezone = (0, usePrevious_1.default)(timezone);
|
|
3153
3155
|
|
|
@@ -3190,14 +3192,13 @@ var Charting = function Charting(props) {
|
|
|
3190
3192
|
dataSources: originalDataSources,
|
|
3191
3193
|
width: Number(width),
|
|
3192
3194
|
selectChartEvent: selectChartEvent.current,
|
|
3193
|
-
xField: xField
|
|
3194
|
-
y2Fields: y2Fields
|
|
3195
|
+
xField: xField
|
|
3195
3196
|
});
|
|
3196
3197
|
|
|
3197
3198
|
if (Number.isFinite(newThreshold)) {
|
|
3198
3199
|
onDownsamplingThresholdChange(newThreshold);
|
|
3199
3200
|
}
|
|
3200
|
-
}, [enableSearchZoom, originalDataSources, onDownsamplingThresholdChange, width, xField
|
|
3201
|
+
}, [enableSearchZoom, originalDataSources, onDownsamplingThresholdChange, width, xField]);
|
|
3201
3202
|
React.useEffect(function () {
|
|
3202
3203
|
recalculateDownsamplingThreshold();
|
|
3203
3204
|
}, [recalculateDownsamplingThreshold]); // useEventCallback is used for these handlers to make sure that they are a stable reference and
|
|
@@ -3435,33 +3436,33 @@ var withEmptyChartMessage = function withEmptyChartMessage(Chart) {
|
|
|
3435
3436
|
exports.default = withEmptyChartMessage(Charting);
|
|
3436
3437
|
|
|
3437
3438
|
/***/ }),
|
|
3438
|
-
/*
|
|
3439
|
+
/* 85 */
|
|
3439
3440
|
/***/ (function(module, exports) {
|
|
3440
3441
|
|
|
3441
3442
|
module.exports = require("react-event-listener");
|
|
3442
3443
|
|
|
3443
3444
|
/***/ }),
|
|
3444
|
-
/*
|
|
3445
|
+
/* 86 */
|
|
3445
3446
|
/***/ (function(module, exports) {
|
|
3446
3447
|
|
|
3447
3448
|
module.exports = require("@splunk/visualizations-shared/i18n");
|
|
3448
3449
|
|
|
3449
3450
|
/***/ }),
|
|
3450
|
-
/*
|
|
3451
|
+
/* 87 */
|
|
3451
3452
|
/***/ (function(module, exports) {
|
|
3452
3453
|
|
|
3453
3454
|
module.exports = require("@splunk/visualizations-shared/themeUtils");
|
|
3454
3455
|
|
|
3455
3456
|
/***/ }),
|
|
3456
|
-
/*
|
|
3457
|
+
/* 88 */
|
|
3457
3458
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3458
3459
|
|
|
3459
3460
|
"use strict";
|
|
3460
3461
|
|
|
3461
3462
|
|
|
3462
|
-
var _classCallCheck = __webpack_require__(
|
|
3463
|
+
var _classCallCheck = __webpack_require__(8);
|
|
3463
3464
|
|
|
3464
|
-
var _createClass = __webpack_require__(
|
|
3465
|
+
var _createClass = __webpack_require__(24);
|
|
3465
3466
|
|
|
3466
3467
|
Object.defineProperty(exports, "__esModule", {
|
|
3467
3468
|
value: true
|
|
@@ -3521,7 +3522,7 @@ var ChartingApiFunctional = /*#__PURE__*/function () {
|
|
|
3521
3522
|
exports.ChartingApiFunctional = ChartingApiFunctional;
|
|
3522
3523
|
|
|
3523
3524
|
/***/ }),
|
|
3524
|
-
/*
|
|
3525
|
+
/* 89 */
|
|
3525
3526
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3526
3527
|
|
|
3527
3528
|
"use strict";
|
|
@@ -3531,7 +3532,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3531
3532
|
value: true
|
|
3532
3533
|
});
|
|
3533
3534
|
|
|
3534
|
-
var react_1 = __webpack_require__(
|
|
3535
|
+
var react_1 = __webpack_require__(1);
|
|
3535
3536
|
|
|
3536
3537
|
var useEventCallback = function useEventCallback(fn) {
|
|
3537
3538
|
var ref = (0, react_1.useRef)(fn);
|
|
@@ -3546,31 +3547,31 @@ var useEventCallback = function useEventCallback(fn) {
|
|
|
3546
3547
|
exports.default = useEventCallback;
|
|
3547
3548
|
|
|
3548
3549
|
/***/ }),
|
|
3549
|
-
/*
|
|
3550
|
+
/* 90 */
|
|
3550
3551
|
/***/ (function(module, exports) {
|
|
3551
3552
|
|
|
3552
3553
|
module.exports = require("@splunk/visualizations-shared/simpleXMLOptions");
|
|
3553
3554
|
|
|
3554
3555
|
/***/ }),
|
|
3556
|
+
/* 91 */,
|
|
3555
3557
|
/* 92 */,
|
|
3556
3558
|
/* 93 */,
|
|
3557
|
-
/* 94
|
|
3558
|
-
/* 95 */
|
|
3559
|
+
/* 94 */
|
|
3559
3560
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3560
3561
|
|
|
3561
3562
|
"use strict";
|
|
3562
3563
|
|
|
3563
3564
|
|
|
3564
|
-
var _toConsumableArray = __webpack_require__(
|
|
3565
|
+
var _toConsumableArray = __webpack_require__(6);
|
|
3565
3566
|
|
|
3566
3567
|
Object.defineProperty(exports, "__esModule", {
|
|
3567
3568
|
value: true
|
|
3568
3569
|
});
|
|
3569
3570
|
exports.AxesChartDataConfigAreaColumnLine = exports.AxesChartDataConfigBubble = exports.AxesChartDataConfigScatter = exports.AxesChartDataConfigBar = void 0;
|
|
3570
3571
|
|
|
3571
|
-
var i18n_1 = __webpack_require__(
|
|
3572
|
+
var i18n_1 = __webpack_require__(3);
|
|
3572
3573
|
|
|
3573
|
-
var configUtils_1 = __webpack_require__(
|
|
3574
|
+
var configUtils_1 = __webpack_require__(26);
|
|
3574
3575
|
|
|
3575
3576
|
var AxesChartDataConfig = {
|
|
3576
3577
|
label: (0, i18n_1._)('Data configurations'),
|
|
@@ -3695,7 +3696,7 @@ exports.AxesChartDataConfigAreaColumnLine = {
|
|
|
3695
3696
|
exports.default = AxesChartDataConfig;
|
|
3696
3697
|
|
|
3697
3698
|
/***/ }),
|
|
3698
|
-
/*
|
|
3699
|
+
/* 95 */
|
|
3699
3700
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3700
3701
|
|
|
3701
3702
|
"use strict";
|
|
@@ -3705,13 +3706,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3705
3706
|
value: true
|
|
3706
3707
|
});
|
|
3707
3708
|
|
|
3708
|
-
var i18n_1 = __webpack_require__(
|
|
3709
|
+
var i18n_1 = __webpack_require__(3);
|
|
3709
3710
|
|
|
3710
|
-
var pick_1 = __webpack_require__(
|
|
3711
|
+
var pick_1 = __webpack_require__(29);
|
|
3711
3712
|
|
|
3712
|
-
var variables_1 = __webpack_require__(
|
|
3713
|
+
var variables_1 = __webpack_require__(13);
|
|
3713
3714
|
|
|
3714
|
-
var BackgroundColor_1 = __webpack_require__(
|
|
3715
|
+
var BackgroundColor_1 = __webpack_require__(72);
|
|
3715
3716
|
|
|
3716
3717
|
var themes = {
|
|
3717
3718
|
defaultBackgroundColor: function defaultBackgroundColor(props) {
|
|
@@ -3741,7 +3742,7 @@ var AxesChartColorAndStyle = {
|
|
|
3741
3742
|
exports.default = AxesChartColorAndStyle;
|
|
3742
3743
|
|
|
3743
3744
|
/***/ }),
|
|
3744
|
-
/*
|
|
3745
|
+
/* 96 */
|
|
3745
3746
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3746
3747
|
|
|
3747
3748
|
"use strict";
|
|
@@ -3751,7 +3752,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3751
3752
|
value: true
|
|
3752
3753
|
});
|
|
3753
3754
|
|
|
3754
|
-
var i18n_1 = __webpack_require__(
|
|
3755
|
+
var i18n_1 = __webpack_require__(3);
|
|
3755
3756
|
|
|
3756
3757
|
var AxesChartLegend = {
|
|
3757
3758
|
label: (0, i18n_1._)('Legend'),
|
|
@@ -3805,22 +3806,22 @@ var AxesChartLegend = {
|
|
|
3805
3806
|
exports.default = AxesChartLegend;
|
|
3806
3807
|
|
|
3807
3808
|
/***/ }),
|
|
3808
|
-
/*
|
|
3809
|
+
/* 97 */
|
|
3809
3810
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3810
3811
|
|
|
3811
3812
|
"use strict";
|
|
3812
3813
|
|
|
3813
3814
|
|
|
3814
|
-
var _toConsumableArray = __webpack_require__(
|
|
3815
|
+
var _toConsumableArray = __webpack_require__(6);
|
|
3815
3816
|
|
|
3816
3817
|
Object.defineProperty(exports, "__esModule", {
|
|
3817
3818
|
value: true
|
|
3818
3819
|
});
|
|
3819
3820
|
exports.AxesChartXGridAndLabelsBubbleScatter = exports.AxesChartXGridAndLabelsCommon = void 0;
|
|
3820
3821
|
|
|
3821
|
-
var i18n_1 = __webpack_require__(
|
|
3822
|
+
var i18n_1 = __webpack_require__(3);
|
|
3822
3823
|
|
|
3823
|
-
var configUtils_1 = __webpack_require__(
|
|
3824
|
+
var configUtils_1 = __webpack_require__(26);
|
|
3824
3825
|
|
|
3825
3826
|
exports.AxesChartXGridAndLabelsCommon = {
|
|
3826
3827
|
label: (0, i18n_1._)('X-axis grid and labels'),
|
|
@@ -4093,7 +4094,7 @@ exports.AxesChartXGridAndLabelsBubbleScatter = {
|
|
|
4093
4094
|
exports.default = AxesChartXGridAndLabels;
|
|
4094
4095
|
|
|
4095
4096
|
/***/ }),
|
|
4096
|
-
/*
|
|
4097
|
+
/* 98 */
|
|
4097
4098
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4098
4099
|
|
|
4099
4100
|
"use strict";
|
|
@@ -4103,7 +4104,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4103
4104
|
value: true
|
|
4104
4105
|
});
|
|
4105
4106
|
|
|
4106
|
-
var i18n_1 = __webpack_require__(
|
|
4107
|
+
var i18n_1 = __webpack_require__(3);
|
|
4107
4108
|
|
|
4108
4109
|
var AxesChartYGridAndLabels = {
|
|
4109
4110
|
label: (0, i18n_1._)('Y-axis grid and labels'),
|
|
@@ -4255,6 +4256,7 @@ var AxesChartYGridAndLabels = {
|
|
|
4255
4256
|
exports.default = AxesChartYGridAndLabels;
|
|
4256
4257
|
|
|
4257
4258
|
/***/ }),
|
|
4259
|
+
/* 99 */,
|
|
4258
4260
|
/* 100 */,
|
|
4259
4261
|
/* 101 */,
|
|
4260
4262
|
/* 102 */,
|
|
@@ -4318,9 +4320,7 @@ exports.default = AxesChartYGridAndLabels;
|
|
|
4318
4320
|
/* 160 */,
|
|
4319
4321
|
/* 161 */,
|
|
4320
4322
|
/* 162 */,
|
|
4321
|
-
/* 163
|
|
4322
|
-
/* 164 */,
|
|
4323
|
-
/* 165 */
|
|
4323
|
+
/* 163 */
|
|
4324
4324
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4325
4325
|
|
|
4326
4326
|
"use strict";
|
|
@@ -4344,25 +4344,25 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4344
4344
|
});
|
|
4345
4345
|
exports.config = exports.themes = exports.computeVizProps = void 0;
|
|
4346
4346
|
|
|
4347
|
-
var lodash_1 = __webpack_require__(
|
|
4347
|
+
var lodash_1 = __webpack_require__(2); // Charting imports i18n which needs to be run to instantiate window globals in the tests
|
|
4348
4348
|
// eslint-disable-next-line import/order
|
|
4349
4349
|
|
|
4350
4350
|
|
|
4351
|
-
var Charting_1 = __webpack_require__(
|
|
4351
|
+
var Charting_1 = __webpack_require__(84);
|
|
4352
4352
|
|
|
4353
|
-
var charting_bundle_1 = __webpack_require__(
|
|
4353
|
+
var charting_bundle_1 = __webpack_require__(75);
|
|
4354
4354
|
|
|
4355
|
-
var simpleXMLOptions_1 = __webpack_require__(
|
|
4355
|
+
var simpleXMLOptions_1 = __webpack_require__(90);
|
|
4356
4356
|
|
|
4357
|
-
var config_1 = __webpack_require__(
|
|
4357
|
+
var config_1 = __webpack_require__(200);
|
|
4358
4358
|
|
|
4359
4359
|
exports.config = config_1.default;
|
|
4360
4360
|
|
|
4361
|
-
var withDashboardViz_1 = __webpack_require__(
|
|
4361
|
+
var withDashboardViz_1 = __webpack_require__(54);
|
|
4362
4362
|
|
|
4363
|
-
var bubbleUtils_1 = __webpack_require__(
|
|
4363
|
+
var bubbleUtils_1 = __webpack_require__(201);
|
|
4364
4364
|
|
|
4365
|
-
var chartingUtils_1 = __webpack_require__(
|
|
4365
|
+
var chartingUtils_1 = __webpack_require__(77);
|
|
4366
4366
|
|
|
4367
4367
|
var validOptions = Object.keys(config_1.default.optionsSchema);
|
|
4368
4368
|
|
|
@@ -4444,6 +4444,8 @@ exports.themes = themes;
|
|
|
4444
4444
|
exports.default = Bubble;
|
|
4445
4445
|
|
|
4446
4446
|
/***/ }),
|
|
4447
|
+
/* 164 */,
|
|
4448
|
+
/* 165 */,
|
|
4447
4449
|
/* 166 */,
|
|
4448
4450
|
/* 167 */,
|
|
4449
4451
|
/* 168 */,
|
|
@@ -4477,9 +4479,7 @@ exports.default = Bubble;
|
|
|
4477
4479
|
/* 196 */,
|
|
4478
4480
|
/* 197 */,
|
|
4479
4481
|
/* 198 */,
|
|
4480
|
-
/* 199
|
|
4481
|
-
/* 200 */,
|
|
4482
|
-
/* 201 */
|
|
4482
|
+
/* 199 */
|
|
4483
4483
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4484
4484
|
|
|
4485
4485
|
"use strict";
|
|
@@ -4515,9 +4515,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4515
4515
|
});
|
|
4516
4516
|
exports.default = void 0;
|
|
4517
4517
|
|
|
4518
|
-
__exportStar(__webpack_require__(
|
|
4518
|
+
__exportStar(__webpack_require__(163), exports);
|
|
4519
4519
|
|
|
4520
|
-
var Bubble_1 = __webpack_require__(
|
|
4520
|
+
var Bubble_1 = __webpack_require__(163);
|
|
4521
4521
|
|
|
4522
4522
|
Object.defineProperty(exports, "default", {
|
|
4523
4523
|
enumerable: true,
|
|
@@ -4527,45 +4527,45 @@ Object.defineProperty(exports, "default", {
|
|
|
4527
4527
|
});
|
|
4528
4528
|
|
|
4529
4529
|
/***/ }),
|
|
4530
|
-
/*
|
|
4530
|
+
/* 200 */
|
|
4531
4531
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4532
4532
|
|
|
4533
4533
|
"use strict";
|
|
4534
4534
|
|
|
4535
4535
|
|
|
4536
|
-
var _toConsumableArray = __webpack_require__(
|
|
4536
|
+
var _toConsumableArray = __webpack_require__(6);
|
|
4537
4537
|
|
|
4538
4538
|
Object.defineProperty(exports, "__esModule", {
|
|
4539
4539
|
value: true
|
|
4540
4540
|
});
|
|
4541
4541
|
|
|
4542
|
-
var visualization_icons_1 = __webpack_require__(
|
|
4542
|
+
var visualization_icons_1 = __webpack_require__(71);
|
|
4543
4543
|
|
|
4544
|
-
var placeholders_1 = __webpack_require__(
|
|
4544
|
+
var placeholders_1 = __webpack_require__(70);
|
|
4545
4545
|
|
|
4546
|
-
var visualization_schemas_1 = __webpack_require__(
|
|
4546
|
+
var visualization_schemas_1 = __webpack_require__(9);
|
|
4547
4547
|
|
|
4548
|
-
var pick_1 = __webpack_require__(
|
|
4548
|
+
var pick_1 = __webpack_require__(29);
|
|
4549
4549
|
|
|
4550
|
-
var variables_1 = __webpack_require__(
|
|
4550
|
+
var variables_1 = __webpack_require__(13);
|
|
4551
4551
|
|
|
4552
|
-
var i18n_1 = __webpack_require__(
|
|
4552
|
+
var i18n_1 = __webpack_require__(3);
|
|
4553
4553
|
|
|
4554
|
-
var AxesChartDataConfig_1 = __webpack_require__(
|
|
4554
|
+
var AxesChartDataConfig_1 = __webpack_require__(94);
|
|
4555
4555
|
|
|
4556
|
-
var AxesChartXGridAndLabels_1 = __webpack_require__(
|
|
4556
|
+
var AxesChartXGridAndLabels_1 = __webpack_require__(97);
|
|
4557
4557
|
|
|
4558
|
-
var AxesChartColorAndStyle_1 = __webpack_require__(
|
|
4558
|
+
var AxesChartColorAndStyle_1 = __webpack_require__(95);
|
|
4559
4559
|
|
|
4560
|
-
var AxesChartLegend_1 = __webpack_require__(
|
|
4560
|
+
var AxesChartLegend_1 = __webpack_require__(96);
|
|
4561
4561
|
|
|
4562
|
-
var AxesChartYGridAndLabels_1 = __webpack_require__(
|
|
4562
|
+
var AxesChartYGridAndLabels_1 = __webpack_require__(98);
|
|
4563
4563
|
|
|
4564
|
-
var VizBehavior_1 = __webpack_require__(
|
|
4564
|
+
var VizBehavior_1 = __webpack_require__(7);
|
|
4565
4565
|
|
|
4566
|
-
var VizCategory_1 = __webpack_require__(
|
|
4566
|
+
var VizCategory_1 = __webpack_require__(22);
|
|
4567
4567
|
|
|
4568
|
-
var configUtils_1 = __webpack_require__(
|
|
4568
|
+
var configUtils_1 = __webpack_require__(26);
|
|
4569
4569
|
|
|
4570
4570
|
var dataContract = {
|
|
4571
4571
|
requiredDataSources: [{
|
|
@@ -4683,7 +4683,7 @@ var config = {
|
|
|
4683
4683
|
exports.default = (0, configUtils_1.enhanceConfig)(config);
|
|
4684
4684
|
|
|
4685
4685
|
/***/ }),
|
|
4686
|
-
/*
|
|
4686
|
+
/* 201 */
|
|
4687
4687
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4688
4688
|
|
|
4689
4689
|
"use strict";
|
|
@@ -4694,11 +4694,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4694
4694
|
});
|
|
4695
4695
|
exports.convertToBubbleSCProperties = exports.mapToOldKey = exports.convertToStringValues = exports.bubbleOptionValuesSCMapping = void 0;
|
|
4696
4696
|
|
|
4697
|
-
var lodash_1 = __webpack_require__(
|
|
4697
|
+
var lodash_1 = __webpack_require__(2);
|
|
4698
4698
|
|
|
4699
|
-
var propUtils_1 = __webpack_require__(
|
|
4699
|
+
var propUtils_1 = __webpack_require__(35);
|
|
4700
4700
|
|
|
4701
|
-
var chartingUtils_1 = __webpack_require__(
|
|
4701
|
+
var chartingUtils_1 = __webpack_require__(77); // map for key names which are either new or not present in SimpleXML options mapping
|
|
4702
4702
|
|
|
4703
4703
|
|
|
4704
4704
|
var bubbleOptionsSCMapping = {
|