@splunk/visualizations 26.2.1 → 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 +92 -595
- package/Area.config.js.map +1 -1
- package/Area.js +296 -801
- package/Area.js.map +1 -1
- package/Bar.config.js +93 -562
- package/Bar.config.js.map +1 -1
- package/Bar.js +299 -770
- package/Bar.js.map +1 -1
- package/Bubble.config.js +84 -483
- package/Bubble.config.js.map +1 -1
- package/Bubble.js +286 -687
- package/Bubble.js.map +1 -1
- package/ChoroplethSvg.config.js +77 -202
- package/ChoroplethSvg.config.js.map +1 -1
- package/ChoroplethSvg.js +272 -400
- package/ChoroplethSvg.js.map +1 -1
- package/Column.config.js +93 -600
- package/Column.config.js.map +1 -1
- package/Column.js +299 -808
- package/Column.js.map +1 -1
- package/Ellipse.config.js +82 -200
- package/Ellipse.config.js.map +1 -1
- package/Ellipse.js +233 -356
- package/Ellipse.js.map +1 -1
- package/Events.config.js +62 -283
- package/Events.config.js.map +1 -1
- package/Events.js +326 -530
- package/Events.js.map +1 -1
- package/FillerGauge.config.js +91 -220
- package/FillerGauge.config.js.map +1 -1
- package/FillerGauge.js +267 -401
- package/FillerGauge.js.map +1 -1
- package/Image.config.js +61 -157
- package/Image.config.js.map +1 -1
- package/Image.js +217 -327
- package/Image.js.map +1 -1
- package/Line.config.js +92 -607
- package/Line.config.js.map +1 -1
- package/Line.js +297 -814
- package/Line.js.map +1 -1
- package/LinkGraph.config.js +75 -257
- package/LinkGraph.config.js.map +1 -1
- package/LinkGraph.js +1755 -17415
- package/LinkGraph.js.map +1 -1
- package/MIGRATION.md +6 -0
- package/Map.config.js +128 -1123
- package/Map.config.js.map +1 -1
- package/Map.js +470 -782
- package/Map.js.map +1 -1
- package/Markdown.config.js +62 -189
- package/Markdown.config.js.map +1 -1
- package/Markdown.js +272 -401
- package/Markdown.js.map +1 -1
- package/MarkerGauge.config.js +138 -298
- package/MarkerGauge.config.js.map +1 -1
- package/MarkerGauge.js +309 -470
- package/MarkerGauge.js.map +1 -1
- package/ParallelCoordinates.config.js +72 -192
- package/ParallelCoordinates.config.js.map +1 -1
- package/ParallelCoordinates.js +333 -442
- package/ParallelCoordinates.js.map +1 -1
- package/Pie.config.js +77 -241
- package/Pie.config.js.map +1 -1
- package/Pie.js +336 -471
- package/Pie.js.map +1 -1
- package/Punchcard.config.js +72 -306
- package/Punchcard.config.js.map +1 -1
- package/Punchcard.js +356 -583
- package/Punchcard.js.map +1 -1
- package/Rectangle.config.js +211 -347
- package/Rectangle.config.js.map +1 -1
- package/Rectangle.js +371 -509
- package/Rectangle.js.map +1 -1
- package/Sankey.config.js +72 -214
- package/Sankey.config.js.map +1 -1
- package/Sankey.js +343 -475
- package/Sankey.js.map +1 -1
- package/Scatter.config.js +86 -464
- package/Scatter.config.js.map +1 -1
- package/Scatter.js +1118 -1493
- package/Scatter.js.map +1 -1
- package/SingleValue.config.js +124 -411
- package/SingleValue.config.js.map +1 -1
- package/SingleValue.js +522 -789
- package/SingleValue.js.map +1 -1
- package/SingleValueBasic.js +73 -61
- package/SingleValueBasic.js.map +1 -1
- package/SingleValueIcon.config.js +123 -380
- package/SingleValueIcon.config.js.map +1 -1
- package/SingleValueIcon.js +508 -745
- package/SingleValueIcon.js.map +1 -1
- package/SingleValueRadial.config.js +121 -385
- package/SingleValueRadial.config.js.map +1 -1
- package/SingleValueRadial.js +1642 -1885
- package/SingleValueRadial.js.map +1 -1
- package/SparkLine.js +39 -39
- package/SparkLine.js.map +1 -1
- package/Table.config.js +82 -496
- package/Table.config.js.map +1 -1
- package/Table.js +416 -825
- package/Table.js.map +1 -1
- package/common/Charting.js +37 -57
- package/common/Charting.js.map +1 -1
- package/common/DocExampleWithVizSandbox.js +21 -21
- package/common/DocExampleWithVizSandbox.js.map +1 -1
- package/common/EventsDoc.js +18 -18
- package/common/EventsDoc.js.map +1 -1
- package/common/GaugeMajorTicks.js +4 -4
- package/common/GaugeMajorTicks.js.map +1 -1
- package/common/GaugeValueMarker.js +2 -2
- package/common/GaugeValueMarker.js.map +1 -1
- package/common/OptionsDoc.js +4 -4
- package/common/OptionsDoc.js.map +1 -1
- package/common/OverviewDoc.js +39 -40
- package/common/OverviewDoc.js.map +1 -1
- package/common/SplunkVisualization.js +2 -2
- package/common/SplunkVisualization.js.map +1 -1
- package/common/SplunkVisualizationApi.js +2 -2
- package/common/SplunkVisualizationApi.js.map +1 -1
- package/common/ThemesDoc.js +19 -19
- package/common/ThemesDoc.js.map +1 -1
- package/common/chartingUtils.js +2 -2
- package/common/chartingUtils.js.map +1 -1
- package/common/gaugeUtils.js +10 -10
- package/common/gaugeUtils.js.map +1 -1
- package/common/shapeUtils.js +10 -10
- package/common/shapeUtils.js.map +1 -1
- package/common/utils/configUtils.js +25 -155
- package/common/utils/configUtils.js.map +1 -1
- package/common/utils/dataUtils.js +87 -105
- package/common/utils/dataUtils.js.map +1 -1
- package/common/utils/featureFlagUtils.js +4 -4
- package/common/utils/featureFlagUtils.js.map +1 -1
- package/common/utils/hocUtils.js +2 -2
- package/common/utils/hocUtils.js.map +1 -1
- package/common/utils/mapUtils.js +51 -54
- package/common/utils/mapUtils.js.map +1 -1
- package/common/utils/singleValueUtils.js +30 -18
- package/common/utils/singleValueUtils.js.map +1 -1
- package/common/utils/testHelper.js +7 -36
- package/common/utils/testHelper.js.map +1 -1
- package/common/utils/trellisUtils.js +7 -6
- package/common/utils/trellisUtils.js.map +1 -1
- package/common/utils/urlUtils.js +2 -2
- package/common/utils/urlUtils.js.map +1 -1
- package/common/withDashboardViz.js +93 -101
- package/common/withDashboardViz.js.map +1 -1
- package/package.json +48 -50
- package/common/utils/layoutUtils.js +0 -115
- package/common/utils/layoutUtils.js.map +0 -1
package/Rectangle.js
CHANGED
|
@@ -87,7 +87,7 @@ module.exports =
|
|
|
87
87
|
/******/
|
|
88
88
|
/******/
|
|
89
89
|
/******/ // Load entry module and return exports
|
|
90
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
90
|
+
/******/ return __webpack_require__(__webpack_require__.s = 465);
|
|
91
91
|
/******/ })
|
|
92
92
|
/************************************************************************/
|
|
93
93
|
/******/ ({
|
|
@@ -95,35 +95,35 @@ module.exports =
|
|
|
95
95
|
/***/ 0:
|
|
96
96
|
/***/ (function(module, exports) {
|
|
97
97
|
|
|
98
|
-
module.exports = require("
|
|
98
|
+
module.exports = require("prop-types");
|
|
99
99
|
|
|
100
100
|
/***/ }),
|
|
101
101
|
|
|
102
102
|
/***/ 1:
|
|
103
103
|
/***/ (function(module, exports) {
|
|
104
104
|
|
|
105
|
-
module.exports = require("
|
|
105
|
+
module.exports = require("react");
|
|
106
106
|
|
|
107
107
|
/***/ }),
|
|
108
108
|
|
|
109
109
|
/***/ 10:
|
|
110
110
|
/***/ (function(module, exports) {
|
|
111
111
|
|
|
112
|
-
module.exports = require("@
|
|
112
|
+
module.exports = require("@splunk/visualizations-shared/numberUtils");
|
|
113
113
|
|
|
114
114
|
/***/ }),
|
|
115
115
|
|
|
116
116
|
/***/ 11:
|
|
117
117
|
/***/ (function(module, exports) {
|
|
118
118
|
|
|
119
|
-
module.exports = require("@splunk/visualizations-shared/
|
|
119
|
+
module.exports = require("@splunk/visualizations-shared/Message");
|
|
120
120
|
|
|
121
121
|
/***/ }),
|
|
122
122
|
|
|
123
123
|
/***/ 12:
|
|
124
124
|
/***/ (function(module, exports) {
|
|
125
125
|
|
|
126
|
-
module.exports = require("@
|
|
126
|
+
module.exports = require("@babel/runtime/helpers/defineProperty");
|
|
127
127
|
|
|
128
128
|
/***/ }),
|
|
129
129
|
|
|
@@ -134,7 +134,7 @@ module.exports = require("@splunk/themes/variables");
|
|
|
134
134
|
|
|
135
135
|
/***/ }),
|
|
136
136
|
|
|
137
|
-
/***/
|
|
137
|
+
/***/ 135:
|
|
138
138
|
/***/ (function(module, exports, __webpack_require__) {
|
|
139
139
|
|
|
140
140
|
"use strict";
|
|
@@ -145,9 +145,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
145
145
|
});
|
|
146
146
|
exports.getDynamicFillColorEditor = void 0;
|
|
147
147
|
|
|
148
|
-
var i18n_1 = __webpack_require__(
|
|
148
|
+
var i18n_1 = __webpack_require__(3);
|
|
149
149
|
|
|
150
|
-
var configUtils_1 = __webpack_require__(
|
|
150
|
+
var configUtils_1 = __webpack_require__(28);
|
|
151
151
|
|
|
152
152
|
var getDynamicFillColorEditor = function getDynamicFillColorEditor(_ref) {
|
|
153
153
|
var defaultContext = _ref.defaultContext,
|
|
@@ -190,7 +190,7 @@ exports.getDynamicFillColorEditor = getDynamicFillColorEditor;
|
|
|
190
190
|
|
|
191
191
|
/***/ }),
|
|
192
192
|
|
|
193
|
-
/***/
|
|
193
|
+
/***/ 136:
|
|
194
194
|
/***/ (function(module, exports, __webpack_require__) {
|
|
195
195
|
|
|
196
196
|
"use strict";
|
|
@@ -201,9 +201,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
201
201
|
});
|
|
202
202
|
exports.getDynamicStrokeColorEditor = void 0;
|
|
203
203
|
|
|
204
|
-
var i18n_1 = __webpack_require__(
|
|
204
|
+
var i18n_1 = __webpack_require__(3);
|
|
205
205
|
|
|
206
|
-
var configUtils_1 = __webpack_require__(
|
|
206
|
+
var configUtils_1 = __webpack_require__(28);
|
|
207
207
|
|
|
208
208
|
var getDynamicStrokeColorEditor = function getDynamicStrokeColorEditor(_ref) {
|
|
209
209
|
var defaultContext = _ref.defaultContext,
|
|
@@ -246,7 +246,7 @@ exports.getDynamicStrokeColorEditor = getDynamicStrokeColorEditor;
|
|
|
246
246
|
|
|
247
247
|
/***/ }),
|
|
248
248
|
|
|
249
|
-
/***/
|
|
249
|
+
/***/ 137:
|
|
250
250
|
/***/ (function(module, exports, __webpack_require__) {
|
|
251
251
|
|
|
252
252
|
"use strict";
|
|
@@ -256,9 +256,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
256
256
|
value: true
|
|
257
257
|
});
|
|
258
258
|
|
|
259
|
-
var i18n_1 = __webpack_require__(
|
|
259
|
+
var i18n_1 = __webpack_require__(3);
|
|
260
260
|
|
|
261
|
-
var configUtils_1 = __webpack_require__(
|
|
261
|
+
var configUtils_1 = __webpack_require__(28);
|
|
262
262
|
|
|
263
263
|
var StaticFillColorEditor = {
|
|
264
264
|
label: (0, i18n_1._)('Fill'),
|
|
@@ -273,6 +273,111 @@ exports.default = StaticFillColorEditor;
|
|
|
273
273
|
|
|
274
274
|
/***/ }),
|
|
275
275
|
|
|
276
|
+
/***/ 138:
|
|
277
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
278
|
+
|
|
279
|
+
"use strict";
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
Object.defineProperty(exports, "__esModule", {
|
|
283
|
+
value: true
|
|
284
|
+
});
|
|
285
|
+
|
|
286
|
+
var i18n_1 = __webpack_require__(3);
|
|
287
|
+
|
|
288
|
+
var configUtils_1 = __webpack_require__(28);
|
|
289
|
+
|
|
290
|
+
var StaticStrokeColorEditor = {
|
|
291
|
+
label: (0, i18n_1._)('Stroke'),
|
|
292
|
+
option: 'strokeColor',
|
|
293
|
+
editor: 'editor.color',
|
|
294
|
+
showEditor: function showEditor(_ref) {
|
|
295
|
+
var options = _ref.options;
|
|
296
|
+
return !(0, configUtils_1.isDynamicOption)(options.strokeColor);
|
|
297
|
+
}
|
|
298
|
+
};
|
|
299
|
+
exports.default = StaticStrokeColorEditor;
|
|
300
|
+
|
|
301
|
+
/***/ }),
|
|
302
|
+
|
|
303
|
+
/***/ 139:
|
|
304
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
305
|
+
|
|
306
|
+
"use strict";
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
var _taggedTemplateLiteral = __webpack_require__(78);
|
|
310
|
+
|
|
311
|
+
var _templateObject;
|
|
312
|
+
|
|
313
|
+
Object.defineProperty(exports, "__esModule", {
|
|
314
|
+
value: true
|
|
315
|
+
});
|
|
316
|
+
exports.getStyledShape = exports.mapToOldKey = void 0;
|
|
317
|
+
|
|
318
|
+
var lodash_1 = __webpack_require__(2);
|
|
319
|
+
|
|
320
|
+
var styled_components_1 = __webpack_require__(4);
|
|
321
|
+
|
|
322
|
+
var pick_1 = __webpack_require__(29);
|
|
323
|
+
|
|
324
|
+
var variables_1 = __webpack_require__(13);
|
|
325
|
+
|
|
326
|
+
var propUtils_1 = __webpack_require__(35); // map for new options names to old option names
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
var shapeOptionsMapping = {
|
|
330
|
+
fillColor: 'fill',
|
|
331
|
+
strokeColor: 'stroke',
|
|
332
|
+
strokeDashStyle: 'strokeDasharray',
|
|
333
|
+
strokeJoinStyle: 'strokeLinejoin'
|
|
334
|
+
};
|
|
335
|
+
/**
|
|
336
|
+
* Helper method to update the option names to old option names
|
|
337
|
+
* @method mapToOldKey
|
|
338
|
+
* @param {Object} options
|
|
339
|
+
* @returns {Object}
|
|
340
|
+
*/
|
|
341
|
+
|
|
342
|
+
var mapToOldKey = function mapToOldKey(options) {
|
|
343
|
+
return (0, lodash_1.mapKeys)(options, function (val, key) {
|
|
344
|
+
return shapeOptionsMapping[key] ? shapeOptionsMapping[key] : key;
|
|
345
|
+
});
|
|
346
|
+
};
|
|
347
|
+
|
|
348
|
+
exports.mapToOldKey = mapToOldKey;
|
|
349
|
+
/**
|
|
350
|
+
* Helper method to get styled component for ellipse or rectangle
|
|
351
|
+
* @method mapToOldKey
|
|
352
|
+
* @param {Shape} shape
|
|
353
|
+
*/
|
|
354
|
+
|
|
355
|
+
var getStyledShape = function getStyledShape(shape) {
|
|
356
|
+
return (0, styled_components_1.default)(shape)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n fill: ", ";\n stroke: ", ";\n cursor: ", ";\n"])), function (props) {
|
|
357
|
+
return props.fill && (0, propUtils_1.formatColor)(props.fill) || (0, pick_1.default)({
|
|
358
|
+
enterprise: {
|
|
359
|
+
light: variables_1.default.gray80,
|
|
360
|
+
dark: variables_1.default.gray25
|
|
361
|
+
},
|
|
362
|
+
prisma: variables_1.default.backgroundColorSidebar
|
|
363
|
+
})(props);
|
|
364
|
+
}, function (props) {
|
|
365
|
+
return props.stroke && (0, propUtils_1.formatColor)(props.stroke) || (0, pick_1.default)({
|
|
366
|
+
enterprise: {
|
|
367
|
+
dark: variables_1.default.gray80,
|
|
368
|
+
light: variables_1.default.textColor
|
|
369
|
+
},
|
|
370
|
+
prisma: variables_1.default.neutral500
|
|
371
|
+
})(props);
|
|
372
|
+
}, function (props) {
|
|
373
|
+
return props.onClick ? 'pointer' : 'inherit';
|
|
374
|
+
});
|
|
375
|
+
};
|
|
376
|
+
|
|
377
|
+
exports.getStyledShape = getStyledShape;
|
|
378
|
+
|
|
379
|
+
/***/ }),
|
|
380
|
+
|
|
276
381
|
/***/ 14:
|
|
277
382
|
/***/ (function(module, exports, __webpack_require__) {
|
|
278
383
|
|
|
@@ -284,9 +389,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
284
389
|
});
|
|
285
390
|
exports.downsampleDataSources = exports.calculateDownsamplingThreshold = exports.calculateThresholdOnRangeSelect = exports.isDownsamplingEnabledForViz = exports.convertToArrOfObjects = void 0;
|
|
286
391
|
|
|
287
|
-
var numberUtils_1 = __webpack_require__(
|
|
392
|
+
var numberUtils_1 = __webpack_require__(10);
|
|
288
393
|
|
|
289
|
-
var interfaces_1 = __webpack_require__(
|
|
394
|
+
var interfaces_1 = __webpack_require__(39); // TODO: utilize this fn in ParallelCoordinates
|
|
290
395
|
|
|
291
396
|
|
|
292
397
|
var convertToArrOfObjects = function convertToArrOfObjects(columns, fields) {
|
|
@@ -421,19 +526,21 @@ var largestTriangleThreeBuckets = function largestTriangleThreeBuckets(data, thr
|
|
|
421
526
|
*/
|
|
422
527
|
|
|
423
528
|
|
|
424
|
-
var strictlyCoerceYColumn = function strictlyCoerceYColumn(column) {
|
|
425
|
-
// Splunk charting allows for numbers in formats such as negative hex that
|
|
529
|
+
var strictlyCoerceYColumn = function strictlyCoerceYColumn(column, options) {
|
|
530
|
+
var isNullCoercionEnabled = options.nullValueDisplay === 'zero'; // Splunk charting allows for numbers in formats such as negative hex that
|
|
426
531
|
// Number() does not support and also allows loose coercion of hex numbers (but not other formats)
|
|
427
532
|
// We want to identify columns which contain at least one value that can be loosely coerced
|
|
533
|
+
|
|
428
534
|
var canLooselyCoerceSomeValues = column.findIndex(function (value) {
|
|
429
|
-
return (0, numberUtils_1.startsWithNumber)("".concat(value));
|
|
535
|
+
return (0, numberUtils_1.startsWithNumber)("".concat(value)) || isNullCoercionEnabled && value === null;
|
|
430
536
|
}) >= 0; // If not all values in column can be strictly coerced to a number, we do not downsample
|
|
431
537
|
|
|
432
538
|
var coercedColumn = [];
|
|
433
539
|
var canDownsampleColumn = !column.some(function (value) {
|
|
434
|
-
var coercedValue = Number(value);
|
|
540
|
+
var coercedValue = Number(value);
|
|
541
|
+
var coerceValueToZero = isNullCoercionEnabled && value === null; // if it can't be parsed or isn't safe, fail
|
|
435
542
|
|
|
436
|
-
if (Number.isNaN(coercedValue) || coercedValue <= Number.MIN_SAFE_INTEGER || coercedValue >= Number.MAX_SAFE_INTEGER || typeof value !== 'string' && typeof value !== 'number') {
|
|
543
|
+
if (Number.isNaN(coercedValue) || coercedValue <= Number.MIN_SAFE_INTEGER || coercedValue >= Number.MAX_SAFE_INTEGER || typeof value !== 'string' && typeof value !== 'number' && !coerceValueToZero) {
|
|
437
544
|
return true;
|
|
438
545
|
} // save value and continue to next
|
|
439
546
|
|
|
@@ -514,8 +621,7 @@ var calculateDownsamplingThreshold = function calculateDownsamplingThreshold(_re
|
|
|
514
621
|
dataSources = _ref3.dataSources,
|
|
515
622
|
selectChartEvent = _ref3.selectChartEvent,
|
|
516
623
|
width = _ref3.width,
|
|
517
|
-
xField = _ref3.xField
|
|
518
|
-
y2Fields = _ref3.y2Fields;
|
|
624
|
+
xField = _ref3.xField;
|
|
519
625
|
|
|
520
626
|
var _a, _b, _c;
|
|
521
627
|
|
|
@@ -552,14 +658,7 @@ var calculateDownsamplingThreshold = function calculateDownsamplingThreshold(_re
|
|
|
552
658
|
});
|
|
553
659
|
var lastIndex = fullSeries.findIndex(function (x) {
|
|
554
660
|
return downsampledSeries[endXIndex] === x;
|
|
555
|
-
});
|
|
556
|
-
// re-calculating downsampling threshold if the chart is zoomed in until SPL-259458 is fixed
|
|
557
|
-
// Also do not support re-calculating downsampling threshold for zoomed-in charts with y2
|
|
558
|
-
// until SPL-259611 is fixed
|
|
559
|
-
|
|
560
|
-
if (xField !== '_time' || (y2Fields === null || y2Fields === void 0 ? void 0 : y2Fields.length)) {
|
|
561
|
-
return firstIndex === 0 && lastIndex === fullSeries.length - 1 ? width : null;
|
|
562
|
-
}
|
|
661
|
+
});
|
|
563
662
|
|
|
564
663
|
if (firstIndex >= 0 && lastIndex >= 0 && firstIndex <= lastIndex) {
|
|
565
664
|
return (0, exports.calculateThresholdOnRangeSelect)({
|
|
@@ -570,6 +669,7 @@ var calculateDownsamplingThreshold = function calculateDownsamplingThreshold(_re
|
|
|
570
669
|
});
|
|
571
670
|
}
|
|
572
671
|
} catch (e) {
|
|
672
|
+
// eslint-disable-next-line no-console
|
|
573
673
|
console.error('Error occurred while setting downsample threshold on range select event', e);
|
|
574
674
|
}
|
|
575
675
|
|
|
@@ -608,7 +708,7 @@ var isColumnStrictlyIncreasing = function isColumnStrictlyIncreasing(column, fie
|
|
|
608
708
|
*/
|
|
609
709
|
|
|
610
710
|
|
|
611
|
-
var tryToCoerceAllDisplayedFields = function tryToCoerceAllDisplayedFields(ds, xField, yFields, fieldTypes) {
|
|
711
|
+
var tryToCoerceAllDisplayedFields = function tryToCoerceAllDisplayedFields(ds, xField, yFields, fieldTypes, options) {
|
|
612
712
|
var xColumn = [];
|
|
613
713
|
var yColumns = [];
|
|
614
714
|
var canDownsample = !ds.data.fields.some(function (field, index) {
|
|
@@ -622,7 +722,7 @@ var tryToCoerceAllDisplayedFields = function tryToCoerceAllDisplayedFields(ds, x
|
|
|
622
722
|
if (fieldName === xField) {
|
|
623
723
|
xColumn = strictlyCoerceXColumn(column, fieldType);
|
|
624
724
|
} else if (yFields.has(fieldName)) {
|
|
625
|
-
var _strictlyCoerceYColum = strictlyCoerceYColumn(ds.data.columns[index]),
|
|
725
|
+
var _strictlyCoerceYColum = strictlyCoerceYColumn(ds.data.columns[index], options),
|
|
626
726
|
coercedColumn = _strictlyCoerceYColum.coercedColumn,
|
|
627
727
|
canLooselyCoerceSomeValues = _strictlyCoerceYColum.canLooselyCoerceSomeValues,
|
|
628
728
|
canDownsampleColumn = _strictlyCoerceYColum.canDownsampleColumn; // do not perform downsampling if a column can possibly be displayed but cannot
|
|
@@ -712,7 +812,7 @@ var downsampleDataSources = function downsampleDataSources(_ref4) {
|
|
|
712
812
|
return dataSources;
|
|
713
813
|
}
|
|
714
814
|
|
|
715
|
-
var _tryToCoerceAllDispla = tryToCoerceAllDisplayedFields(primaryDS, xField, nonInternalYFields, fieldTypes),
|
|
815
|
+
var _tryToCoerceAllDispla = tryToCoerceAllDisplayedFields(primaryDS, xField, nonInternalYFields, fieldTypes, options),
|
|
716
816
|
xColumn = _tryToCoerceAllDispla.xColumn,
|
|
717
817
|
yColumns = _tryToCoerceAllDispla.yColumns;
|
|
718
818
|
|
|
@@ -736,6 +836,7 @@ var downsampleDataSources = function downsampleDataSources(_ref4) {
|
|
|
736
836
|
return downsampledIndices.add(downsampleIndex);
|
|
737
837
|
});
|
|
738
838
|
} catch (e) {
|
|
839
|
+
// eslint-disable-next-line no-console
|
|
739
840
|
console.error("Error occurred while downsampling column ".concat(columnIndex), e);
|
|
740
841
|
}
|
|
741
842
|
}); // update data columns with downsampled columns
|
|
@@ -748,111 +849,6 @@ exports.downsampleDataSources = downsampleDataSources;
|
|
|
748
849
|
|
|
749
850
|
/***/ }),
|
|
750
851
|
|
|
751
|
-
/***/ 140:
|
|
752
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
753
|
-
|
|
754
|
-
"use strict";
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
Object.defineProperty(exports, "__esModule", {
|
|
758
|
-
value: true
|
|
759
|
-
});
|
|
760
|
-
|
|
761
|
-
var i18n_1 = __webpack_require__(2);
|
|
762
|
-
|
|
763
|
-
var configUtils_1 = __webpack_require__(29);
|
|
764
|
-
|
|
765
|
-
var StaticStrokeColorEditor = {
|
|
766
|
-
label: (0, i18n_1._)('Stroke'),
|
|
767
|
-
option: 'strokeColor',
|
|
768
|
-
editor: 'editor.color',
|
|
769
|
-
showEditor: function showEditor(_ref) {
|
|
770
|
-
var options = _ref.options;
|
|
771
|
-
return !(0, configUtils_1.isDynamicOption)(options.strokeColor);
|
|
772
|
-
}
|
|
773
|
-
};
|
|
774
|
-
exports.default = StaticStrokeColorEditor;
|
|
775
|
-
|
|
776
|
-
/***/ }),
|
|
777
|
-
|
|
778
|
-
/***/ 141:
|
|
779
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
780
|
-
|
|
781
|
-
"use strict";
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
var _taggedTemplateLiteral = __webpack_require__(81);
|
|
785
|
-
|
|
786
|
-
var _templateObject;
|
|
787
|
-
|
|
788
|
-
Object.defineProperty(exports, "__esModule", {
|
|
789
|
-
value: true
|
|
790
|
-
});
|
|
791
|
-
exports.getStyledShape = exports.mapToOldKey = void 0;
|
|
792
|
-
|
|
793
|
-
var lodash_1 = __webpack_require__(3);
|
|
794
|
-
|
|
795
|
-
var styled_components_1 = __webpack_require__(4);
|
|
796
|
-
|
|
797
|
-
var pick_1 = __webpack_require__(30);
|
|
798
|
-
|
|
799
|
-
var variables_1 = __webpack_require__(13);
|
|
800
|
-
|
|
801
|
-
var propUtils_1 = __webpack_require__(36); // map for new options names to old option names
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
var shapeOptionsMapping = {
|
|
805
|
-
fillColor: 'fill',
|
|
806
|
-
strokeColor: 'stroke',
|
|
807
|
-
strokeDashStyle: 'strokeDasharray',
|
|
808
|
-
strokeJoinStyle: 'strokeLinejoin'
|
|
809
|
-
};
|
|
810
|
-
/**
|
|
811
|
-
* Helper method to update the option names to old option names
|
|
812
|
-
* @method mapToOldKey
|
|
813
|
-
* @param {Object} options
|
|
814
|
-
* @returns {Object}
|
|
815
|
-
*/
|
|
816
|
-
|
|
817
|
-
var mapToOldKey = function mapToOldKey(options) {
|
|
818
|
-
return (0, lodash_1.mapKeys)(options, function (val, key) {
|
|
819
|
-
return shapeOptionsMapping[key] ? shapeOptionsMapping[key] : key;
|
|
820
|
-
});
|
|
821
|
-
};
|
|
822
|
-
|
|
823
|
-
exports.mapToOldKey = mapToOldKey;
|
|
824
|
-
/**
|
|
825
|
-
* Helper method to get styled component for ellipse or rectangle
|
|
826
|
-
* @method mapToOldKey
|
|
827
|
-
* @param {Shape} shape
|
|
828
|
-
*/
|
|
829
|
-
|
|
830
|
-
var getStyledShape = function getStyledShape(shape) {
|
|
831
|
-
return (0, styled_components_1.default)(shape)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n fill: ", ";\n stroke: ", ";\n cursor: ", ";\n"])), function (props) {
|
|
832
|
-
return props.fill && (0, propUtils_1.formatColor)(props.fill) || (0, pick_1.default)({
|
|
833
|
-
enterprise: {
|
|
834
|
-
light: variables_1.default.gray80,
|
|
835
|
-
dark: variables_1.default.gray25
|
|
836
|
-
},
|
|
837
|
-
prisma: variables_1.default.backgroundColorSidebar
|
|
838
|
-
})(props);
|
|
839
|
-
}, function (props) {
|
|
840
|
-
return props.stroke && (0, propUtils_1.formatColor)(props.stroke) || (0, pick_1.default)({
|
|
841
|
-
enterprise: {
|
|
842
|
-
dark: variables_1.default.gray80,
|
|
843
|
-
light: variables_1.default.textColor
|
|
844
|
-
},
|
|
845
|
-
prisma: variables_1.default.neutral500
|
|
846
|
-
})(props);
|
|
847
|
-
}, function (props) {
|
|
848
|
-
return props.onClick ? 'pointer' : 'inherit';
|
|
849
|
-
});
|
|
850
|
-
};
|
|
851
|
-
|
|
852
|
-
exports.getStyledShape = getStyledShape;
|
|
853
|
-
|
|
854
|
-
/***/ }),
|
|
855
|
-
|
|
856
852
|
/***/ 15:
|
|
857
853
|
/***/ (function(module, exports) {
|
|
858
854
|
|
|
@@ -873,13 +869,13 @@ module.exports = require("@splunk/visualization-encoding/Options");
|
|
|
873
869
|
"use strict";
|
|
874
870
|
|
|
875
871
|
|
|
876
|
-
var _slicedToArray = __webpack_require__(
|
|
872
|
+
var _slicedToArray = __webpack_require__(5);
|
|
877
873
|
|
|
878
874
|
Object.defineProperty(exports, "__esModule", {
|
|
879
875
|
value: true
|
|
880
876
|
});
|
|
881
877
|
|
|
882
|
-
var React = __webpack_require__(
|
|
878
|
+
var React = __webpack_require__(1);
|
|
883
879
|
|
|
884
880
|
var styled_components_1 = __webpack_require__(4);
|
|
885
881
|
|
|
@@ -887,7 +883,7 @@ var style_1 = __webpack_require__(18);
|
|
|
887
883
|
|
|
888
884
|
var colorUtils_1 = __webpack_require__(15);
|
|
889
885
|
|
|
890
|
-
var SizeAwareWrapper_1 = __webpack_require__(
|
|
886
|
+
var SizeAwareWrapper_1 = __webpack_require__(25);
|
|
891
887
|
|
|
892
888
|
var Item = styled_components_1.default.div.attrs(function (_ref) {
|
|
893
889
|
var width = _ref.width;
|
|
@@ -958,7 +954,7 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
|
|
|
958
954
|
|
|
959
955
|
return React.createElement(FixSizeItem, {
|
|
960
956
|
"data-test": "fix-size-item",
|
|
961
|
-
"data-splunk-visualization-version": "26.
|
|
957
|
+
"data-splunk-visualization-version": "26.4.0 - 04078274d",
|
|
962
958
|
width: width,
|
|
963
959
|
height: height,
|
|
964
960
|
backgroundColor: backgroundColor
|
|
@@ -987,7 +983,7 @@ module.exports = require("@splunk/visualizations-shared/style");
|
|
|
987
983
|
|
|
988
984
|
/***/ }),
|
|
989
985
|
|
|
990
|
-
/***/
|
|
986
|
+
/***/ 183:
|
|
991
987
|
/***/ (function(module, exports, __webpack_require__) {
|
|
992
988
|
|
|
993
989
|
"use strict";
|
|
@@ -1011,25 +1007,25 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1011
1007
|
});
|
|
1012
1008
|
exports.config = exports.computeVizProps = void 0;
|
|
1013
1009
|
|
|
1014
|
-
var React = __webpack_require__(
|
|
1010
|
+
var React = __webpack_require__(1);
|
|
1015
1011
|
|
|
1016
1012
|
var styled_components_1 = __webpack_require__(4);
|
|
1017
1013
|
|
|
1018
|
-
var lodash_1 = __webpack_require__(
|
|
1014
|
+
var lodash_1 = __webpack_require__(2);
|
|
1019
1015
|
|
|
1020
|
-
var T = __webpack_require__(
|
|
1016
|
+
var T = __webpack_require__(0);
|
|
1021
1017
|
|
|
1022
|
-
var withDashboardViz_1 = __webpack_require__(
|
|
1018
|
+
var withDashboardViz_1 = __webpack_require__(54);
|
|
1023
1019
|
|
|
1024
|
-
var config_1 = __webpack_require__(
|
|
1020
|
+
var config_1 = __webpack_require__(466);
|
|
1025
1021
|
|
|
1026
1022
|
exports.config = config_1.default;
|
|
1027
1023
|
|
|
1028
|
-
var shapeUtils_1 = __webpack_require__(
|
|
1024
|
+
var shapeUtils_1 = __webpack_require__(139);
|
|
1029
1025
|
|
|
1030
1026
|
var SVGContainer = styled_components_1.default.svg.withConfig({
|
|
1031
1027
|
displayName: "Rectangle__SVGContainer",
|
|
1032
|
-
componentId: "iwvil2-0"
|
|
1028
|
+
componentId: "sc-iwvil2-0"
|
|
1033
1029
|
})(["width:", "px;height:", "px;"], function (props) {
|
|
1034
1030
|
return props.width;
|
|
1035
1031
|
}, function (props) {
|
|
@@ -1099,7 +1095,14 @@ exports.default = Rectangle;
|
|
|
1099
1095
|
|
|
1100
1096
|
/***/ }),
|
|
1101
1097
|
|
|
1102
|
-
/***/
|
|
1098
|
+
/***/ 2:
|
|
1099
|
+
/***/ (function(module, exports) {
|
|
1100
|
+
|
|
1101
|
+
module.exports = require("lodash");
|
|
1102
|
+
|
|
1103
|
+
/***/ }),
|
|
1104
|
+
|
|
1105
|
+
/***/ 20:
|
|
1103
1106
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1104
1107
|
|
|
1105
1108
|
"use strict";
|
|
@@ -1108,29 +1111,21 @@ exports.default = Rectangle;
|
|
|
1108
1111
|
Object.defineProperty(exports, "__esModule", {
|
|
1109
1112
|
value: true
|
|
1110
1113
|
});
|
|
1111
|
-
exports.validOutputModes = exports.
|
|
1114
|
+
exports.validOutputModes = exports.validSortDirs = void 0;
|
|
1112
1115
|
exports.validSortDirs = ['asc', 'desc', 'none'];
|
|
1113
|
-
exports.validSegmentationModes = ['none', 'inner'];
|
|
1114
1116
|
exports.validOutputModes = ['json_cols', 'json'];
|
|
1115
1117
|
|
|
1116
1118
|
/***/ }),
|
|
1117
1119
|
|
|
1118
|
-
/***/ 2:
|
|
1119
|
-
/***/ (function(module, exports) {
|
|
1120
|
-
|
|
1121
|
-
module.exports = require("@splunk/ui-utils/i18n");
|
|
1122
|
-
|
|
1123
|
-
/***/ }),
|
|
1124
|
-
|
|
1125
1120
|
/***/ 21:
|
|
1126
1121
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1127
1122
|
|
|
1128
1123
|
"use strict";
|
|
1129
1124
|
|
|
1130
1125
|
|
|
1131
|
-
var _classCallCheck = __webpack_require__(
|
|
1126
|
+
var _classCallCheck = __webpack_require__(8);
|
|
1132
1127
|
|
|
1133
|
-
var _createClass = __webpack_require__(
|
|
1128
|
+
var _createClass = __webpack_require__(24);
|
|
1134
1129
|
|
|
1135
1130
|
Object.defineProperty(exports, "__esModule", {
|
|
1136
1131
|
value: true
|
|
@@ -1225,123 +1220,41 @@ exports.extendStaticWrapperProps = extendStaticWrapperProps;
|
|
|
1225
1220
|
/***/ 24:
|
|
1226
1221
|
/***/ (function(module, exports) {
|
|
1227
1222
|
|
|
1228
|
-
module.exports = require("@splunk/visualizations-shared/schemaUtils");
|
|
1229
|
-
|
|
1230
|
-
/***/ }),
|
|
1231
|
-
|
|
1232
|
-
/***/ 25:
|
|
1233
|
-
/***/ (function(module, exports) {
|
|
1234
|
-
|
|
1235
1223
|
module.exports = require("@babel/runtime/helpers/createClass");
|
|
1236
1224
|
|
|
1237
1225
|
/***/ }),
|
|
1238
1226
|
|
|
1239
|
-
/***/
|
|
1227
|
+
/***/ 25:
|
|
1240
1228
|
/***/ (function(module, exports) {
|
|
1241
1229
|
|
|
1242
1230
|
module.exports = require("@splunk/visualizations-shared/SizeAwareWrapper");
|
|
1243
1231
|
|
|
1244
1232
|
/***/ }),
|
|
1245
1233
|
|
|
1246
|
-
/***/
|
|
1234
|
+
/***/ 26:
|
|
1247
1235
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1248
1236
|
|
|
1249
1237
|
"use strict";
|
|
1250
1238
|
|
|
1251
1239
|
|
|
1252
|
-
var _toConsumableArray = __webpack_require__(
|
|
1253
|
-
|
|
1254
|
-
var _defineProperty = __webpack_require__(9);
|
|
1255
|
-
|
|
1256
|
-
var __rest = this && this.__rest || function (s, e) {
|
|
1257
|
-
var t = {};
|
|
1258
|
-
|
|
1259
|
-
for (var p in s) {
|
|
1260
|
-
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
1261
|
-
}
|
|
1262
|
-
|
|
1263
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
1264
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
1265
|
-
}
|
|
1266
|
-
return t;
|
|
1267
|
-
};
|
|
1240
|
+
var _toConsumableArray = __webpack_require__(6);
|
|
1268
1241
|
|
|
1269
1242
|
Object.defineProperty(exports, "__esModule", {
|
|
1270
1243
|
value: true
|
|
1271
1244
|
});
|
|
1272
|
-
exports.insertLayout = exports.isDynamicOption = exports.uncollapseEditorConfig = exports.generatePrecisionValues = exports.getInitialPreset = exports.
|
|
1273
|
-
|
|
1274
|
-
var lodash_1 = __webpack_require__(3);
|
|
1275
|
-
|
|
1276
|
-
var schemaUtils_1 = __webpack_require__(24);
|
|
1277
|
-
|
|
1278
|
-
var VizBehavior_1 = __webpack_require__(6);
|
|
1279
|
-
|
|
1280
|
-
var dynamicOptionsDSLType = {
|
|
1281
|
-
type: 'string',
|
|
1282
|
-
pattern: schemaUtils_1.DYNAMIC_OPTIONS_DSL_PATTERN
|
|
1283
|
-
};
|
|
1284
|
-
/**
|
|
1285
|
-
* Helper function to extend an options schema with dynamic options DSL
|
|
1286
|
-
* @param optionsSchema a visualization's options schema
|
|
1287
|
-
* @returns an updated options schema that additionally allows strings starting with > for each option
|
|
1288
|
-
*/
|
|
1245
|
+
exports.insertLayout = exports.isDynamicOption = exports.uncollapseEditorConfig = exports.generatePrecisionValues = exports.getInitialPreset = exports.enhanceConfig = exports.enhanceOptionsSchemaWithDynamicOptions = void 0;
|
|
1289
1246
|
|
|
1290
|
-
|
|
1291
|
-
var enhancedOptionsSchema = {};
|
|
1292
|
-
Object.keys(optionsSchema).forEach(function (key) {
|
|
1293
|
-
var _a = optionsSchema[key],
|
|
1294
|
-
title = _a.title,
|
|
1295
|
-
description = _a.description,
|
|
1296
|
-
readOnly = _a.readOnly,
|
|
1297
|
-
writeOnly = _a.writeOnly,
|
|
1298
|
-
examples = _a.examples,
|
|
1299
|
-
defaultValue = _a.default,
|
|
1300
|
-
type = _a.type,
|
|
1301
|
-
properties = _a.properties,
|
|
1302
|
-
patternProperties = _a.patternProperties,
|
|
1303
|
-
remainingSchemaEntry = __rest(_a, ["title", "description", "readOnly", "writeOnly", "examples", "default", "type", "properties", "patternProperties"]);
|
|
1304
|
-
|
|
1305
|
-
var annotations = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, title !== undefined && {
|
|
1306
|
-
title: title
|
|
1307
|
-
}), description !== undefined && {
|
|
1308
|
-
description: description
|
|
1309
|
-
}), readOnly !== undefined && {
|
|
1310
|
-
readOnly: readOnly
|
|
1311
|
-
}), writeOnly !== undefined && {
|
|
1312
|
-
writeOnly: writeOnly
|
|
1313
|
-
}), examples !== undefined && {
|
|
1314
|
-
examples: examples
|
|
1315
|
-
}), defaultValue !== undefined && {
|
|
1316
|
-
default: defaultValue
|
|
1317
|
-
});
|
|
1247
|
+
var lodash_1 = __webpack_require__(2); // included for backwards compatibility
|
|
1318
1248
|
|
|
1319
|
-
if (type === 'object') {
|
|
1320
|
-
enhancedOptionsSchema[key] = Object.assign(Object.assign(Object.assign(Object.assign({}, remainingSchemaEntry), annotations), {
|
|
1321
|
-
type: type
|
|
1322
|
-
}), properties && {
|
|
1323
|
-
properties: enhanceOptionsSchemaWithDynamicOptions(properties)
|
|
1324
|
-
});
|
|
1325
1249
|
|
|
1326
|
-
|
|
1327
|
-
var enhancedPatternProperties = {};
|
|
1328
|
-
Object.keys(patternProperties).forEach(function (opt) {
|
|
1329
|
-
enhancedPatternProperties = Object.assign(Object.assign({}, enhancedPatternProperties), enhanceOptionsSchemaWithDynamicOptions(_defineProperty({}, opt, patternProperties[opt])));
|
|
1330
|
-
});
|
|
1331
|
-
enhancedOptionsSchema[key].patternProperties = enhancedPatternProperties;
|
|
1332
|
-
}
|
|
1333
|
-
} else {
|
|
1334
|
-
enhancedOptionsSchema[key] = Object.assign(Object.assign({}, annotations), {
|
|
1335
|
-
anyOf: [Object.assign(Object.assign({}, type !== undefined && {
|
|
1336
|
-
type: type
|
|
1337
|
-
}), remainingSchemaEntry), dynamicOptionsDSLType]
|
|
1338
|
-
});
|
|
1339
|
-
}
|
|
1340
|
-
});
|
|
1341
|
-
return enhancedOptionsSchema;
|
|
1342
|
-
}
|
|
1250
|
+
var visualization_schemas_1 = __webpack_require__(9);
|
|
1343
1251
|
|
|
1344
|
-
exports
|
|
1252
|
+
Object.defineProperty(exports, "enhanceOptionsSchemaWithDynamicOptions", {
|
|
1253
|
+
enumerable: true,
|
|
1254
|
+
get: function get() {
|
|
1255
|
+
return visualization_schemas_1.enhanceOptionsSchemaWithDynamicOptions;
|
|
1256
|
+
}
|
|
1257
|
+
});
|
|
1345
1258
|
/**
|
|
1346
1259
|
* Helper function to enhance a Visualization Config as needed based on behaviors specified in supports block
|
|
1347
1260
|
* this function also collapse all editor panels
|
|
@@ -1352,11 +1265,6 @@ exports.enhanceOptionsSchemaWithDynamicOptions = enhanceOptionsSchemaWithDynamic
|
|
|
1352
1265
|
|
|
1353
1266
|
function enhanceConfig(vizConfig) {
|
|
1354
1267
|
var enhancedConfig = Object.assign({}, vizConfig);
|
|
1355
|
-
|
|
1356
|
-
if (vizConfig.supports.indexOf(VizBehavior_1.VizBehavior.DYNAMIC_OPTIONS) !== -1) {
|
|
1357
|
-
enhancedConfig.optionsSchema = enhanceOptionsSchemaWithDynamicOptions(vizConfig.optionsSchema);
|
|
1358
|
-
}
|
|
1359
|
-
|
|
1360
1268
|
enhancedConfig.editorConfig = vizConfig.editorConfig.map(function (config) {
|
|
1361
1269
|
return Object.assign(Object.assign({}, config), {
|
|
1362
1270
|
open: config.open || false
|
|
@@ -1480,49 +1388,49 @@ exports.insertLayout = insertLayout;
|
|
|
1480
1388
|
|
|
1481
1389
|
/***/ }),
|
|
1482
1390
|
|
|
1483
|
-
/***/
|
|
1391
|
+
/***/ 27:
|
|
1484
1392
|
/***/ (function(module, exports) {
|
|
1485
1393
|
|
|
1486
1394
|
module.exports = require("@splunk/visualization-context/FeatureFlagContext");
|
|
1487
1395
|
|
|
1488
1396
|
/***/ }),
|
|
1489
1397
|
|
|
1490
|
-
/***/
|
|
1398
|
+
/***/ 28:
|
|
1491
1399
|
/***/ (function(module, exports) {
|
|
1492
1400
|
|
|
1493
1401
|
module.exports = require("@splunk/visualizations-shared/configUtils");
|
|
1494
1402
|
|
|
1495
1403
|
/***/ }),
|
|
1496
1404
|
|
|
1497
|
-
/***/
|
|
1405
|
+
/***/ 29:
|
|
1498
1406
|
/***/ (function(module, exports) {
|
|
1499
1407
|
|
|
1500
|
-
module.exports = require("
|
|
1408
|
+
module.exports = require("@splunk/themes/pick");
|
|
1501
1409
|
|
|
1502
1410
|
/***/ }),
|
|
1503
1411
|
|
|
1504
|
-
/***/
|
|
1412
|
+
/***/ 3:
|
|
1505
1413
|
/***/ (function(module, exports) {
|
|
1506
1414
|
|
|
1507
|
-
module.exports = require("@splunk/
|
|
1415
|
+
module.exports = require("@splunk/ui-utils/i18n");
|
|
1508
1416
|
|
|
1509
1417
|
/***/ }),
|
|
1510
1418
|
|
|
1511
|
-
/***/
|
|
1419
|
+
/***/ 30:
|
|
1512
1420
|
/***/ (function(module, exports) {
|
|
1513
1421
|
|
|
1514
1422
|
module.exports = require("@splunk/ui-utils/id");
|
|
1515
1423
|
|
|
1516
1424
|
/***/ }),
|
|
1517
1425
|
|
|
1518
|
-
/***/
|
|
1426
|
+
/***/ 31:
|
|
1519
1427
|
/***/ (function(module, exports) {
|
|
1520
1428
|
|
|
1521
1429
|
module.exports = require("@splunk/visualization-context/TimezoneContext");
|
|
1522
1430
|
|
|
1523
1431
|
/***/ }),
|
|
1524
1432
|
|
|
1525
|
-
/***/
|
|
1433
|
+
/***/ 32:
|
|
1526
1434
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1527
1435
|
|
|
1528
1436
|
"use strict";
|
|
@@ -1532,7 +1440,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1532
1440
|
value: true
|
|
1533
1441
|
});
|
|
1534
1442
|
|
|
1535
|
-
var react_1 = __webpack_require__(
|
|
1443
|
+
var react_1 = __webpack_require__(1);
|
|
1536
1444
|
|
|
1537
1445
|
function usePrevious(value) {
|
|
1538
1446
|
var ref = (0, react_1.useRef)();
|
|
@@ -1546,28 +1454,28 @@ exports.default = usePrevious;
|
|
|
1546
1454
|
|
|
1547
1455
|
/***/ }),
|
|
1548
1456
|
|
|
1549
|
-
/***/
|
|
1457
|
+
/***/ 33:
|
|
1550
1458
|
/***/ (function(module, exports) {
|
|
1551
1459
|
|
|
1552
1460
|
module.exports = require("@splunk/visualizations-shared/hocUtils");
|
|
1553
1461
|
|
|
1554
1462
|
/***/ }),
|
|
1555
1463
|
|
|
1556
|
-
/***/
|
|
1464
|
+
/***/ 34:
|
|
1557
1465
|
/***/ (function(module, exports) {
|
|
1558
1466
|
|
|
1559
1467
|
module.exports = require("@splunk/visualizations-shared/JSONSchemaUtils");
|
|
1560
1468
|
|
|
1561
1469
|
/***/ }),
|
|
1562
1470
|
|
|
1563
|
-
/***/
|
|
1471
|
+
/***/ 35:
|
|
1564
1472
|
/***/ (function(module, exports) {
|
|
1565
1473
|
|
|
1566
1474
|
module.exports = require("@splunk/visualizations-shared/propUtils");
|
|
1567
1475
|
|
|
1568
1476
|
/***/ }),
|
|
1569
1477
|
|
|
1570
|
-
/***/
|
|
1478
|
+
/***/ 36:
|
|
1571
1479
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1572
1480
|
|
|
1573
1481
|
"use strict";
|
|
@@ -1578,15 +1486,15 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1578
1486
|
});
|
|
1579
1487
|
exports.shouldShowIconPlaceholder = void 0;
|
|
1580
1488
|
|
|
1581
|
-
var React = __webpack_require__(
|
|
1489
|
+
var React = __webpack_require__(1);
|
|
1582
1490
|
|
|
1583
|
-
var T = __webpack_require__(
|
|
1491
|
+
var T = __webpack_require__(0);
|
|
1584
1492
|
|
|
1585
|
-
var lodash_1 = __webpack_require__(
|
|
1493
|
+
var lodash_1 = __webpack_require__(2);
|
|
1586
1494
|
|
|
1587
|
-
var i18n_1 = __webpack_require__(
|
|
1495
|
+
var i18n_1 = __webpack_require__(3);
|
|
1588
1496
|
|
|
1589
|
-
var Message_1 = __webpack_require__(
|
|
1497
|
+
var Message_1 = __webpack_require__(11);
|
|
1590
1498
|
|
|
1591
1499
|
var FixedSizeContainer_1 = __webpack_require__(17);
|
|
1592
1500
|
/**
|
|
@@ -1660,24 +1568,24 @@ exports.default = (0, FixedSizeContainer_1.default)(IconPlaceholder);
|
|
|
1660
1568
|
|
|
1661
1569
|
/***/ }),
|
|
1662
1570
|
|
|
1663
|
-
/***/
|
|
1571
|
+
/***/ 37:
|
|
1664
1572
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1665
1573
|
|
|
1666
1574
|
"use strict";
|
|
1667
1575
|
|
|
1668
1576
|
|
|
1669
|
-
var _defineProperty = __webpack_require__(
|
|
1577
|
+
var _defineProperty = __webpack_require__(12);
|
|
1670
1578
|
|
|
1671
1579
|
Object.defineProperty(exports, "__esModule", {
|
|
1672
1580
|
value: true
|
|
1673
1581
|
});
|
|
1674
1582
|
exports.getSortingParams = exports.SortParamsPropTypes = void 0;
|
|
1675
1583
|
|
|
1676
|
-
var T = __webpack_require__(
|
|
1584
|
+
var T = __webpack_require__(0);
|
|
1677
1585
|
|
|
1678
|
-
var lodash_1 = __webpack_require__(
|
|
1586
|
+
var lodash_1 = __webpack_require__(2);
|
|
1679
1587
|
|
|
1680
|
-
var DataSource_1 = __webpack_require__(
|
|
1588
|
+
var DataSource_1 = __webpack_require__(20);
|
|
1681
1589
|
|
|
1682
1590
|
exports.SortParamsPropTypes = T.shape({
|
|
1683
1591
|
currentSortKey: T.string,
|
|
@@ -1731,7 +1639,7 @@ exports.getSortingParams = getSortingParams;
|
|
|
1731
1639
|
|
|
1732
1640
|
/***/ }),
|
|
1733
1641
|
|
|
1734
|
-
/***/
|
|
1642
|
+
/***/ 38:
|
|
1735
1643
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1736
1644
|
|
|
1737
1645
|
"use strict";
|
|
@@ -1742,9 +1650,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1742
1650
|
});
|
|
1743
1651
|
exports.getPaginationParams = exports.PaginatorParamsPropTypes = void 0;
|
|
1744
1652
|
|
|
1745
|
-
var T = __webpack_require__(
|
|
1653
|
+
var T = __webpack_require__(0);
|
|
1746
1654
|
|
|
1747
|
-
var lodash_1 = __webpack_require__(
|
|
1655
|
+
var lodash_1 = __webpack_require__(2);
|
|
1748
1656
|
|
|
1749
1657
|
exports.PaginatorParamsPropTypes = T.shape({
|
|
1750
1658
|
isPaging: T.bool,
|
|
@@ -1796,14 +1704,7 @@ exports.getPaginationParams = getPaginationParams;
|
|
|
1796
1704
|
|
|
1797
1705
|
/***/ }),
|
|
1798
1706
|
|
|
1799
|
-
/***/
|
|
1800
|
-
/***/ (function(module, exports) {
|
|
1801
|
-
|
|
1802
|
-
module.exports = require("styled-components");
|
|
1803
|
-
|
|
1804
|
-
/***/ }),
|
|
1805
|
-
|
|
1806
|
-
/***/ 40:
|
|
1707
|
+
/***/ 39:
|
|
1807
1708
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1808
1709
|
|
|
1809
1710
|
"use strict";
|
|
@@ -1838,11 +1739,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1838
1739
|
value: true
|
|
1839
1740
|
});
|
|
1840
1741
|
|
|
1742
|
+
__exportStar(__webpack_require__(40), exports);
|
|
1743
|
+
|
|
1841
1744
|
__exportStar(__webpack_require__(41), exports);
|
|
1842
1745
|
|
|
1843
|
-
__exportStar(__webpack_require__(
|
|
1746
|
+
__exportStar(__webpack_require__(20), exports);
|
|
1844
1747
|
|
|
1845
|
-
__exportStar(__webpack_require__(
|
|
1748
|
+
__exportStar(__webpack_require__(42), exports);
|
|
1846
1749
|
|
|
1847
1750
|
__exportStar(__webpack_require__(43), exports);
|
|
1848
1751
|
|
|
@@ -1854,16 +1757,16 @@ __exportStar(__webpack_require__(46), exports);
|
|
|
1854
1757
|
|
|
1855
1758
|
__exportStar(__webpack_require__(47), exports);
|
|
1856
1759
|
|
|
1857
|
-
__exportStar(__webpack_require__(48), exports);
|
|
1858
|
-
|
|
1859
|
-
__exportStar(__webpack_require__(49), exports);
|
|
1860
|
-
|
|
1861
1760
|
__exportStar(__webpack_require__(21), exports);
|
|
1862
1761
|
|
|
1863
|
-
__exportStar(__webpack_require__(
|
|
1762
|
+
__exportStar(__webpack_require__(7), exports);
|
|
1864
1763
|
|
|
1865
1764
|
__exportStar(__webpack_require__(22), exports);
|
|
1866
1765
|
|
|
1766
|
+
__exportStar(__webpack_require__(48), exports);
|
|
1767
|
+
|
|
1768
|
+
__exportStar(__webpack_require__(49), exports);
|
|
1769
|
+
|
|
1867
1770
|
__exportStar(__webpack_require__(50), exports);
|
|
1868
1771
|
|
|
1869
1772
|
__exportStar(__webpack_require__(51), exports);
|
|
@@ -1872,13 +1775,16 @@ __exportStar(__webpack_require__(52), exports);
|
|
|
1872
1775
|
|
|
1873
1776
|
__exportStar(__webpack_require__(53), exports);
|
|
1874
1777
|
|
|
1875
|
-
|
|
1778
|
+
/***/ }),
|
|
1779
|
+
|
|
1780
|
+
/***/ 4:
|
|
1781
|
+
/***/ (function(module, exports) {
|
|
1876
1782
|
|
|
1877
|
-
|
|
1783
|
+
module.exports = require("styled-components");
|
|
1878
1784
|
|
|
1879
1785
|
/***/ }),
|
|
1880
1786
|
|
|
1881
|
-
/***/
|
|
1787
|
+
/***/ 40:
|
|
1882
1788
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1883
1789
|
|
|
1884
1790
|
"use strict";
|
|
@@ -1890,7 +1796,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1890
1796
|
|
|
1891
1797
|
/***/ }),
|
|
1892
1798
|
|
|
1893
|
-
/***/
|
|
1799
|
+
/***/ 41:
|
|
1894
1800
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1895
1801
|
|
|
1896
1802
|
"use strict";
|
|
@@ -1905,7 +1811,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1905
1811
|
|
|
1906
1812
|
/***/ }),
|
|
1907
1813
|
|
|
1908
|
-
/***/
|
|
1814
|
+
/***/ 42:
|
|
1909
1815
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1910
1816
|
|
|
1911
1817
|
"use strict";
|
|
@@ -1917,7 +1823,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1917
1823
|
|
|
1918
1824
|
/***/ }),
|
|
1919
1825
|
|
|
1920
|
-
/***/
|
|
1826
|
+
/***/ 43:
|
|
1921
1827
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1922
1828
|
|
|
1923
1829
|
"use strict";
|
|
@@ -1929,7 +1835,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1929
1835
|
|
|
1930
1836
|
/***/ }),
|
|
1931
1837
|
|
|
1932
|
-
/***/
|
|
1838
|
+
/***/ 44:
|
|
1933
1839
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1934
1840
|
|
|
1935
1841
|
"use strict";
|
|
@@ -1941,7 +1847,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1941
1847
|
|
|
1942
1848
|
/***/ }),
|
|
1943
1849
|
|
|
1944
|
-
/***/
|
|
1850
|
+
/***/ 45:
|
|
1945
1851
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1946
1852
|
|
|
1947
1853
|
"use strict";
|
|
@@ -1953,7 +1859,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1953
1859
|
|
|
1954
1860
|
/***/ }),
|
|
1955
1861
|
|
|
1956
|
-
/***/
|
|
1862
|
+
/***/ 46:
|
|
1957
1863
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1958
1864
|
|
|
1959
1865
|
"use strict";
|
|
@@ -1965,7 +1871,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1965
1871
|
|
|
1966
1872
|
/***/ }),
|
|
1967
1873
|
|
|
1968
|
-
/***/
|
|
1874
|
+
/***/ 465:
|
|
1969
1875
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1970
1876
|
|
|
1971
1877
|
"use strict";
|
|
@@ -2001,9 +1907,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2001
1907
|
});
|
|
2002
1908
|
exports.default = void 0;
|
|
2003
1909
|
|
|
2004
|
-
__exportStar(__webpack_require__(
|
|
1910
|
+
__exportStar(__webpack_require__(183), exports);
|
|
2005
1911
|
|
|
2006
|
-
var Rectangle_1 = __webpack_require__(
|
|
1912
|
+
var Rectangle_1 = __webpack_require__(183);
|
|
2007
1913
|
|
|
2008
1914
|
Object.defineProperty(exports, "default", {
|
|
2009
1915
|
enumerable: true,
|
|
@@ -2014,7 +1920,7 @@ Object.defineProperty(exports, "default", {
|
|
|
2014
1920
|
|
|
2015
1921
|
/***/ }),
|
|
2016
1922
|
|
|
2017
|
-
/***/
|
|
1923
|
+
/***/ 466:
|
|
2018
1924
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2019
1925
|
|
|
2020
1926
|
"use strict";
|
|
@@ -2023,31 +1929,30 @@ Object.defineProperty(exports, "default", {
|
|
|
2023
1929
|
Object.defineProperty(exports, "__esModule", {
|
|
2024
1930
|
value: true
|
|
2025
1931
|
});
|
|
2026
|
-
exports.optionsSchema = void 0;
|
|
2027
1932
|
|
|
2028
|
-
var visualization_icons_1 = __webpack_require__(
|
|
1933
|
+
var visualization_icons_1 = __webpack_require__(71);
|
|
2029
1934
|
|
|
2030
|
-
var
|
|
1935
|
+
var visualization_schemas_1 = __webpack_require__(9);
|
|
2031
1936
|
|
|
2032
|
-
var i18n_1 = __webpack_require__(
|
|
1937
|
+
var i18n_1 = __webpack_require__(3);
|
|
2033
1938
|
|
|
2034
|
-
var PresetPalettes_1 = __webpack_require__(
|
|
1939
|
+
var PresetPalettes_1 = __webpack_require__(80);
|
|
2035
1940
|
|
|
2036
|
-
var themes_1 = __webpack_require__(
|
|
1941
|
+
var themes_1 = __webpack_require__(79);
|
|
2037
1942
|
|
|
2038
|
-
var VizBehavior_1 = __webpack_require__(
|
|
1943
|
+
var VizBehavior_1 = __webpack_require__(7);
|
|
2039
1944
|
|
|
2040
1945
|
var VizCategory_1 = __webpack_require__(22);
|
|
2041
1946
|
|
|
2042
|
-
var configUtils_1 = __webpack_require__(
|
|
1947
|
+
var configUtils_1 = __webpack_require__(26);
|
|
2043
1948
|
|
|
2044
|
-
var DynamicFillColorEditor_1 = __webpack_require__(
|
|
1949
|
+
var DynamicFillColorEditor_1 = __webpack_require__(135);
|
|
2045
1950
|
|
|
2046
|
-
var DynamicStrokeColorEditor_1 = __webpack_require__(
|
|
1951
|
+
var DynamicStrokeColorEditor_1 = __webpack_require__(136);
|
|
2047
1952
|
|
|
2048
|
-
var StaticFillColorEditor_1 = __webpack_require__(
|
|
1953
|
+
var StaticFillColorEditor_1 = __webpack_require__(137);
|
|
2049
1954
|
|
|
2050
|
-
var StaticStrokeColorEditor_1 = __webpack_require__(
|
|
1955
|
+
var StaticStrokeColorEditor_1 = __webpack_require__(138);
|
|
2051
1956
|
|
|
2052
1957
|
var dataContract = {
|
|
2053
1958
|
requiredDataSources: [],
|
|
@@ -2130,54 +2035,6 @@ var defaultContext = {
|
|
|
2130
2035
|
value: '#5C33FF'
|
|
2131
2036
|
}]
|
|
2132
2037
|
};
|
|
2133
|
-
exports.optionsSchema = {
|
|
2134
|
-
fillColor: {
|
|
2135
|
-
default: '> themes.defaultFillColor',
|
|
2136
|
-
description: 'Specify the fill color. You may use a dataSource to apply the color. The hex value format should be "#FFFFFF". The default for enterprise light mode is "#C3CBD4". The default for enterprise dark mode is "#31373E". The default for prisma dark mode is "#0B0C0E".',
|
|
2137
|
-
type: 'string'
|
|
2138
|
-
},
|
|
2139
|
-
fillOpacity: {
|
|
2140
|
-
description: 'Specify the opacity of the fill. Choose a number in the range of 0 - 1 (inclusive). You can also express the value as a percentage. For example, "0.80" in source or "80%" in UI.',
|
|
2141
|
-
type: 'number',
|
|
2142
|
-
default: 1
|
|
2143
|
-
},
|
|
2144
|
-
rx: {
|
|
2145
|
-
description: 'Specify the curvature of the horizontal corner (or border) radius with an integer or a percent greater than or equal to zero.',
|
|
2146
|
-
type: 'number',
|
|
2147
|
-
default: 0
|
|
2148
|
-
},
|
|
2149
|
-
ry: {
|
|
2150
|
-
description: 'Specify the curvature of the vertical corner (or border) radius with an integer or a percent greater than or equal to zero.',
|
|
2151
|
-
type: 'number',
|
|
2152
|
-
default: '> rx'
|
|
2153
|
-
},
|
|
2154
|
-
strokeColor: {
|
|
2155
|
-
default: '> themes.defaultStrokeColor',
|
|
2156
|
-
description: 'Specify the stroke color. You may use a dataSource to apply the color. The hex value format should be "#FFFFFF". The default for enterprise light mode is "#3C444D". The default for enterprise dark mode is "#C3CBD4". The default for prisma dark mode is "#ACACAD".',
|
|
2157
|
-
type: 'string'
|
|
2158
|
-
},
|
|
2159
|
-
strokeDashStyle: {
|
|
2160
|
-
description: 'Specify the size, in pixels, of dashes and spaces used to create a custom stitched outline. The value you specify applies to both the dashes and the spaces between them.',
|
|
2161
|
-
type: 'number',
|
|
2162
|
-
default: 0
|
|
2163
|
-
},
|
|
2164
|
-
strokeJoinStyle: {
|
|
2165
|
-
description: 'Specifies the shape to be used at the corners of paths when they are joined.',
|
|
2166
|
-
type: 'string',
|
|
2167
|
-
default: 'miter',
|
|
2168
|
-
pattern: (0, schemaUtils_1.getPattern)(['arcs', 'bevel', 'miter', 'miter-clip', 'round'])
|
|
2169
|
-
},
|
|
2170
|
-
strokeOpacity: {
|
|
2171
|
-
description: 'Specify the opacity of the stroke. Choose a number in the range of 0 - 1 (inclusive). You can also express the value as a percentage. For example, "0.80" in source or "80%" in UI.',
|
|
2172
|
-
type: 'number',
|
|
2173
|
-
default: 1
|
|
2174
|
-
},
|
|
2175
|
-
strokeWidth: {
|
|
2176
|
-
description: 'Specify the width of the stroke, in pixels, in the range of 1 - 25 (inclusive).',
|
|
2177
|
-
type: 'number',
|
|
2178
|
-
default: 1
|
|
2179
|
-
}
|
|
2180
|
-
};
|
|
2181
2038
|
var themes = {
|
|
2182
2039
|
defaultFillColor: function defaultFillColor(props) {
|
|
2183
2040
|
return (0, themes_1.pick)({
|
|
@@ -2343,7 +2200,7 @@ var config = {
|
|
|
2343
2200
|
dataContract: dataContract,
|
|
2344
2201
|
size: size,
|
|
2345
2202
|
defaultContext: defaultContext,
|
|
2346
|
-
optionsSchema:
|
|
2203
|
+
optionsSchema: visualization_schemas_1.rectangleOptionsSchema,
|
|
2347
2204
|
editorConfig: editorConfig,
|
|
2348
2205
|
supports: [VizBehavior_1.VizBehavior.DYNAMIC_OPTIONS, VizBehavior_1.VizBehavior.EVENTS],
|
|
2349
2206
|
themes: themes,
|
|
@@ -2358,7 +2215,7 @@ exports.default = (0, configUtils_1.enhanceConfig)(config);
|
|
|
2358
2215
|
|
|
2359
2216
|
/***/ }),
|
|
2360
2217
|
|
|
2361
|
-
/***/
|
|
2218
|
+
/***/ 47:
|
|
2362
2219
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2363
2220
|
|
|
2364
2221
|
"use strict";
|
|
@@ -2370,7 +2227,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2370
2227
|
|
|
2371
2228
|
/***/ }),
|
|
2372
2229
|
|
|
2373
|
-
/***/
|
|
2230
|
+
/***/ 48:
|
|
2374
2231
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2375
2232
|
|
|
2376
2233
|
"use strict";
|
|
@@ -2382,7 +2239,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2382
2239
|
|
|
2383
2240
|
/***/ }),
|
|
2384
2241
|
|
|
2385
|
-
/***/
|
|
2242
|
+
/***/ 49:
|
|
2386
2243
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2387
2244
|
|
|
2388
2245
|
"use strict";
|
|
@@ -2394,19 +2251,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2394
2251
|
|
|
2395
2252
|
/***/ }),
|
|
2396
2253
|
|
|
2397
|
-
/***/
|
|
2398
|
-
/***/ (function(module, exports
|
|
2399
|
-
|
|
2400
|
-
"use strict";
|
|
2401
|
-
|
|
2254
|
+
/***/ 5:
|
|
2255
|
+
/***/ (function(module, exports) {
|
|
2402
2256
|
|
|
2403
|
-
|
|
2404
|
-
value: true
|
|
2405
|
-
});
|
|
2257
|
+
module.exports = require("@babel/runtime/helpers/slicedToArray");
|
|
2406
2258
|
|
|
2407
2259
|
/***/ }),
|
|
2408
2260
|
|
|
2409
|
-
/***/
|
|
2261
|
+
/***/ 50:
|
|
2410
2262
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2411
2263
|
|
|
2412
2264
|
"use strict";
|
|
@@ -2418,7 +2270,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2418
2270
|
|
|
2419
2271
|
/***/ }),
|
|
2420
2272
|
|
|
2421
|
-
/***/
|
|
2273
|
+
/***/ 51:
|
|
2422
2274
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2423
2275
|
|
|
2424
2276
|
"use strict";
|
|
@@ -2430,7 +2282,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2430
2282
|
|
|
2431
2283
|
/***/ }),
|
|
2432
2284
|
|
|
2433
|
-
/***/
|
|
2285
|
+
/***/ 52:
|
|
2434
2286
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2435
2287
|
|
|
2436
2288
|
"use strict";
|
|
@@ -2442,7 +2294,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2442
2294
|
|
|
2443
2295
|
/***/ }),
|
|
2444
2296
|
|
|
2445
|
-
/***/
|
|
2297
|
+
/***/ 53:
|
|
2446
2298
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2447
2299
|
|
|
2448
2300
|
"use strict";
|
|
@@ -2454,65 +2306,65 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2454
2306
|
|
|
2455
2307
|
/***/ }),
|
|
2456
2308
|
|
|
2457
|
-
/***/
|
|
2309
|
+
/***/ 54:
|
|
2458
2310
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2459
2311
|
|
|
2460
2312
|
"use strict";
|
|
2461
2313
|
|
|
2462
2314
|
|
|
2463
|
-
var _slicedToArray = __webpack_require__(
|
|
2315
|
+
var _slicedToArray = __webpack_require__(5);
|
|
2464
2316
|
|
|
2465
2317
|
Object.defineProperty(exports, "__esModule", {
|
|
2466
2318
|
value: true
|
|
2467
2319
|
});
|
|
2468
2320
|
|
|
2469
|
-
var React = __webpack_require__(
|
|
2321
|
+
var React = __webpack_require__(1);
|
|
2470
2322
|
|
|
2471
|
-
var lodash_1 = __webpack_require__(
|
|
2323
|
+
var lodash_1 = __webpack_require__(2);
|
|
2472
2324
|
|
|
2473
|
-
var getSettingsFromThemedProps_1 = __webpack_require__(
|
|
2325
|
+
var getSettingsFromThemedProps_1 = __webpack_require__(55);
|
|
2474
2326
|
|
|
2475
2327
|
var Options_1 = __webpack_require__(16);
|
|
2476
2328
|
|
|
2477
|
-
var SanitizeProps_1 = __webpack_require__(
|
|
2329
|
+
var SanitizeProps_1 = __webpack_require__(56);
|
|
2478
2330
|
|
|
2479
|
-
var TimezoneContext_1 = __webpack_require__(
|
|
2331
|
+
var TimezoneContext_1 = __webpack_require__(31);
|
|
2480
2332
|
|
|
2481
|
-
var moment_1 = __webpack_require__(
|
|
2333
|
+
var moment_1 = __webpack_require__(57);
|
|
2482
2334
|
|
|
2483
|
-
var FeatureFlagContext_1 = __webpack_require__(
|
|
2335
|
+
var FeatureFlagContext_1 = __webpack_require__(27);
|
|
2484
2336
|
|
|
2485
2337
|
var styled_components_1 = __webpack_require__(4);
|
|
2486
2338
|
|
|
2487
|
-
var hocUtils_1 = __webpack_require__(
|
|
2339
|
+
var hocUtils_1 = __webpack_require__(33);
|
|
2488
2340
|
|
|
2489
|
-
var JSONSchemaUtils_1 = __webpack_require__(
|
|
2341
|
+
var JSONSchemaUtils_1 = __webpack_require__(34);
|
|
2490
2342
|
|
|
2491
|
-
var async_dynamic_options_evaluator_1 = __webpack_require__(
|
|
2343
|
+
var async_dynamic_options_evaluator_1 = __webpack_require__(58);
|
|
2492
2344
|
|
|
2493
|
-
var id_1 = __webpack_require__(
|
|
2345
|
+
var id_1 = __webpack_require__(30);
|
|
2494
2346
|
|
|
2495
|
-
var SplunkVisualization_1 = __webpack_require__(
|
|
2347
|
+
var SplunkVisualization_1 = __webpack_require__(59);
|
|
2496
2348
|
|
|
2497
|
-
var VizBehavior_1 = __webpack_require__(
|
|
2349
|
+
var VizBehavior_1 = __webpack_require__(7);
|
|
2498
2350
|
|
|
2499
|
-
var getSorting_1 = __webpack_require__(
|
|
2351
|
+
var getSorting_1 = __webpack_require__(37);
|
|
2500
2352
|
|
|
2501
|
-
var getPagination_1 = __webpack_require__(
|
|
2353
|
+
var getPagination_1 = __webpack_require__(38);
|
|
2502
2354
|
|
|
2503
|
-
var useDeepMemo_1 = __webpack_require__(
|
|
2355
|
+
var useDeepMemo_1 = __webpack_require__(60);
|
|
2504
2356
|
|
|
2505
|
-
var MissingPropsMessage_1 = __webpack_require__(
|
|
2357
|
+
var MissingPropsMessage_1 = __webpack_require__(61);
|
|
2506
2358
|
|
|
2507
|
-
var withEditModeCover_1 = __webpack_require__(
|
|
2359
|
+
var withEditModeCover_1 = __webpack_require__(62);
|
|
2508
2360
|
|
|
2509
|
-
var withPlaceholder_1 = __webpack_require__(
|
|
2361
|
+
var withPlaceholder_1 = __webpack_require__(63);
|
|
2510
2362
|
|
|
2511
|
-
var useDownsampleDataSources_1 = __webpack_require__(
|
|
2363
|
+
var useDownsampleDataSources_1 = __webpack_require__(64);
|
|
2512
2364
|
|
|
2513
2365
|
var dataUtils_1 = __webpack_require__(14);
|
|
2514
2366
|
|
|
2515
|
-
var featureFlagUtils_1 = __webpack_require__(
|
|
2367
|
+
var featureFlagUtils_1 = __webpack_require__(66);
|
|
2516
2368
|
/**
|
|
2517
2369
|
* hoc that wraps a pure react visualization in a Dashboard visualization
|
|
2518
2370
|
* @param {DashboardVizOpts} opts
|
|
@@ -2845,81 +2697,41 @@ exports.default = withDashboardViz;
|
|
|
2845
2697
|
|
|
2846
2698
|
/***/ }),
|
|
2847
2699
|
|
|
2848
|
-
/***/
|
|
2700
|
+
/***/ 55:
|
|
2849
2701
|
/***/ (function(module, exports) {
|
|
2850
2702
|
|
|
2851
2703
|
module.exports = require("@splunk/themes/getSettingsFromThemedProps");
|
|
2852
2704
|
|
|
2853
2705
|
/***/ }),
|
|
2854
2706
|
|
|
2855
|
-
/***/
|
|
2707
|
+
/***/ 56:
|
|
2856
2708
|
/***/ (function(module, exports) {
|
|
2857
2709
|
|
|
2858
2710
|
module.exports = require("@splunk/visualizations-shared/SanitizeProps");
|
|
2859
2711
|
|
|
2860
2712
|
/***/ }),
|
|
2861
2713
|
|
|
2862
|
-
/***/
|
|
2714
|
+
/***/ 57:
|
|
2863
2715
|
/***/ (function(module, exports) {
|
|
2864
2716
|
|
|
2865
2717
|
module.exports = require("@splunk/moment");
|
|
2866
2718
|
|
|
2867
2719
|
/***/ }),
|
|
2868
2720
|
|
|
2869
|
-
/***/
|
|
2870
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2871
|
-
|
|
2872
|
-
"use strict";
|
|
2873
|
-
|
|
2874
|
-
|
|
2875
|
-
Object.defineProperty(exports, "__esModule", {
|
|
2876
|
-
value: true
|
|
2877
|
-
});
|
|
2878
|
-
exports.VizBehavior = void 0;
|
|
2879
|
-
var VizBehavior;
|
|
2880
|
-
|
|
2881
|
-
(function (VizBehavior) {
|
|
2882
|
-
/**
|
|
2883
|
-
* Dynamic Options Behavior.
|
|
2884
|
-
* This allows visualization options to be powered by data
|
|
2885
|
-
*
|
|
2886
|
-
* **Example**
|
|
2887
|
-
*
|
|
2888
|
-
* sparklineValues: ">primary|seriesByIndex(0)"
|
|
2889
|
-
* would configure sparklineValues with an array of data points
|
|
2890
|
-
* coming from the first series in the primary datasource
|
|
2891
|
-
*
|
|
2892
|
-
*/
|
|
2893
|
-
VizBehavior["DYNAMIC_OPTIONS"] = "dynamic-options";
|
|
2894
|
-
VizBehavior["EVENTS"] = "events";
|
|
2895
|
-
VizBehavior["DOWNSAMPLING"] = "downsampling";
|
|
2896
|
-
/**
|
|
2897
|
-
* Placeholder behavior: visualization will display a placeholder rather than fail if any of the `requiredProps` is
|
|
2898
|
-
* missing.
|
|
2899
|
-
* @type {string}
|
|
2900
|
-
*/
|
|
2901
|
-
|
|
2902
|
-
VizBehavior["PLACEHOLDER"] = "placeholder";
|
|
2903
|
-
VizBehavior["PAGE_AND_SORT"] = "page-and-sort";
|
|
2904
|
-
VizBehavior["TRELLIS"] = "trellis";
|
|
2905
|
-
})(VizBehavior = exports.VizBehavior || (exports.VizBehavior = {}));
|
|
2906
|
-
|
|
2907
|
-
/***/ }),
|
|
2908
|
-
|
|
2909
|
-
/***/ 60:
|
|
2721
|
+
/***/ 58:
|
|
2910
2722
|
/***/ (function(module, exports) {
|
|
2911
2723
|
|
|
2912
2724
|
module.exports = require("@splunk/async-dynamic-options-evaluator");
|
|
2913
2725
|
|
|
2914
2726
|
/***/ }),
|
|
2915
2727
|
|
|
2916
|
-
/***/
|
|
2728
|
+
/***/ 59:
|
|
2917
2729
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2918
2730
|
|
|
2919
2731
|
"use strict";
|
|
2920
2732
|
|
|
2921
2733
|
|
|
2922
|
-
var _classCallCheck = __webpack_require__(
|
|
2734
|
+
var _classCallCheck = __webpack_require__(8);
|
|
2923
2735
|
|
|
2924
2736
|
Object.defineProperty(exports, "__esModule", {
|
|
2925
2737
|
value: true
|
|
@@ -2927,9 +2739,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2927
2739
|
exports.INITIAL_HEIGHT = exports.INITIAL_WIDTH = void 0;
|
|
2928
2740
|
/* eslint-disable react/no-unused-prop-types,react/prefer-stateless-function */
|
|
2929
2741
|
|
|
2930
|
-
var T = __webpack_require__(
|
|
2742
|
+
var T = __webpack_require__(0);
|
|
2931
2743
|
|
|
2932
|
-
var lodash_1 = __webpack_require__(
|
|
2744
|
+
var lodash_1 = __webpack_require__(2);
|
|
2933
2745
|
|
|
2934
2746
|
var VizActionHandler_1 = __webpack_require__(21); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
|
|
2935
2747
|
|
|
@@ -3065,7 +2877,14 @@ exports.default = SplunkVisualization;
|
|
|
3065
2877
|
|
|
3066
2878
|
/***/ }),
|
|
3067
2879
|
|
|
3068
|
-
/***/
|
|
2880
|
+
/***/ 6:
|
|
2881
|
+
/***/ (function(module, exports) {
|
|
2882
|
+
|
|
2883
|
+
module.exports = require("@babel/runtime/helpers/toConsumableArray");
|
|
2884
|
+
|
|
2885
|
+
/***/ }),
|
|
2886
|
+
|
|
2887
|
+
/***/ 60:
|
|
3069
2888
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3070
2889
|
|
|
3071
2890
|
"use strict";
|
|
@@ -3076,9 +2895,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3076
2895
|
});
|
|
3077
2896
|
exports.useDeepMemo = void 0;
|
|
3078
2897
|
|
|
3079
|
-
var react_1 = __webpack_require__(
|
|
2898
|
+
var react_1 = __webpack_require__(1);
|
|
3080
2899
|
|
|
3081
|
-
var lodash_1 = __webpack_require__(
|
|
2900
|
+
var lodash_1 = __webpack_require__(2);
|
|
3082
2901
|
/**
|
|
3083
2902
|
* This hook evaluates and stores the result of a passed function and only
|
|
3084
2903
|
* re-evaluates the function when passed dependencies change.
|
|
@@ -3111,7 +2930,7 @@ exports.useDeepMemo = useDeepMemo;
|
|
|
3111
2930
|
|
|
3112
2931
|
/***/ }),
|
|
3113
2932
|
|
|
3114
|
-
/***/
|
|
2933
|
+
/***/ 61:
|
|
3115
2934
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3116
2935
|
|
|
3117
2936
|
"use strict";
|
|
@@ -3122,13 +2941,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3122
2941
|
});
|
|
3123
2942
|
exports.MissingPropsMessage = exports.missingKeys = exports.isMissing = void 0;
|
|
3124
2943
|
|
|
3125
|
-
var React = __webpack_require__(
|
|
2944
|
+
var React = __webpack_require__(1);
|
|
3126
2945
|
|
|
3127
|
-
var T = __webpack_require__(
|
|
2946
|
+
var T = __webpack_require__(0);
|
|
3128
2947
|
|
|
3129
|
-
var i18n_1 = __webpack_require__(
|
|
2948
|
+
var i18n_1 = __webpack_require__(3);
|
|
3130
2949
|
|
|
3131
|
-
var Message_1 = __webpack_require__(
|
|
2950
|
+
var Message_1 = __webpack_require__(11);
|
|
3132
2951
|
|
|
3133
2952
|
var FixedSizeContainer_1 = __webpack_require__(17);
|
|
3134
2953
|
/**
|
|
@@ -3192,7 +3011,7 @@ exports.default = (0, FixedSizeContainer_1.default)(exports.MissingPropsMessage)
|
|
|
3192
3011
|
|
|
3193
3012
|
/***/ }),
|
|
3194
3013
|
|
|
3195
|
-
/***/
|
|
3014
|
+
/***/ 62:
|
|
3196
3015
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3197
3016
|
|
|
3198
3017
|
"use strict";
|
|
@@ -3202,7 +3021,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3202
3021
|
value: true
|
|
3203
3022
|
});
|
|
3204
3023
|
|
|
3205
|
-
var React = __webpack_require__(
|
|
3024
|
+
var React = __webpack_require__(1);
|
|
3206
3025
|
|
|
3207
3026
|
var styled_components_1 = __webpack_require__(4);
|
|
3208
3027
|
|
|
@@ -3213,7 +3032,7 @@ var Cover = styled_components_1.default.div.withConfig({
|
|
|
3213
3032
|
componentId: "sc-1gsbnxb-0"
|
|
3214
3033
|
})(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
|
|
3215
3034
|
var Blocker = styled_components_1.default.div.attrs({
|
|
3216
|
-
'data-splunk-visualization-version': "26.
|
|
3035
|
+
'data-splunk-visualization-version': "26.4.0 - 04078274d"
|
|
3217
3036
|
}).withConfig({
|
|
3218
3037
|
displayName: "withEditModeCover__Blocker",
|
|
3219
3038
|
componentId: "sc-1gsbnxb-1"
|
|
@@ -3245,7 +3064,7 @@ exports.default = withEditModeCover;
|
|
|
3245
3064
|
|
|
3246
3065
|
/***/ }),
|
|
3247
3066
|
|
|
3248
|
-
/***/
|
|
3067
|
+
/***/ 63:
|
|
3249
3068
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3250
3069
|
|
|
3251
3070
|
"use strict";
|
|
@@ -3255,15 +3074,15 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3255
3074
|
value: true
|
|
3256
3075
|
});
|
|
3257
3076
|
|
|
3258
|
-
var React = __webpack_require__(
|
|
3077
|
+
var React = __webpack_require__(1);
|
|
3259
3078
|
|
|
3260
3079
|
var colorUtils_1 = __webpack_require__(15);
|
|
3261
3080
|
|
|
3262
3081
|
var variables_1 = __webpack_require__(13);
|
|
3263
3082
|
|
|
3264
|
-
var IconPlaceholder_1 = __webpack_require__(
|
|
3083
|
+
var IconPlaceholder_1 = __webpack_require__(36);
|
|
3265
3084
|
|
|
3266
|
-
var VizBehavior_1 = __webpack_require__(
|
|
3085
|
+
var VizBehavior_1 = __webpack_require__(7);
|
|
3267
3086
|
|
|
3268
3087
|
var hocUtils_1 = __webpack_require__(23);
|
|
3269
3088
|
|
|
@@ -3310,27 +3129,30 @@ exports.default = withPlaceholder;
|
|
|
3310
3129
|
|
|
3311
3130
|
/***/ }),
|
|
3312
3131
|
|
|
3313
|
-
/***/
|
|
3132
|
+
/***/ 64:
|
|
3314
3133
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3315
3134
|
|
|
3316
3135
|
"use strict";
|
|
3317
3136
|
|
|
3318
3137
|
|
|
3319
|
-
var _slicedToArray = __webpack_require__(
|
|
3138
|
+
var _slicedToArray = __webpack_require__(5);
|
|
3320
3139
|
|
|
3321
3140
|
Object.defineProperty(exports, "__esModule", {
|
|
3322
3141
|
value: true
|
|
3323
3142
|
});
|
|
3324
3143
|
|
|
3325
|
-
var react_1 = __webpack_require__(
|
|
3144
|
+
var react_1 = __webpack_require__(1);
|
|
3326
3145
|
|
|
3327
|
-
var lodash_1 = __webpack_require__(
|
|
3146
|
+
var lodash_1 = __webpack_require__(2);
|
|
3328
3147
|
|
|
3329
3148
|
var dataUtils_1 = __webpack_require__(14);
|
|
3330
3149
|
|
|
3331
|
-
var usePrevious_1 = __webpack_require__(
|
|
3150
|
+
var usePrevious_1 = __webpack_require__(32);
|
|
3151
|
+
|
|
3152
|
+
var useGetXAndYFields_1 = __webpack_require__(65); // Options properties which impact/require re-downsample on change.
|
|
3332
3153
|
|
|
3333
|
-
|
|
3154
|
+
|
|
3155
|
+
var downsampleVizOptionProperties = ['nullValueDisplay'];
|
|
3334
3156
|
|
|
3335
3157
|
var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
|
|
3336
3158
|
var dataSources = _ref.dataSources,
|
|
@@ -3344,8 +3166,15 @@ var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
|
|
|
3344
3166
|
options: options,
|
|
3345
3167
|
context: context,
|
|
3346
3168
|
dataSources: dataSources
|
|
3347
|
-
});
|
|
3348
|
-
|
|
3169
|
+
}); // Extract viz options that impact downsampling.
|
|
3170
|
+
|
|
3171
|
+
var downsampleVizOptions = (0, react_1.useMemo)(function () {
|
|
3172
|
+
return (0, lodash_1.pick)(options, downsampleVizOptionProperties);
|
|
3173
|
+
}, [options]);
|
|
3174
|
+
var downsampleDSOptions = (0, react_1.useMemo)(function () {
|
|
3175
|
+
return Object.assign(Object.assign({}, downsampleVizOptions), xAndYFieldsWithTypes);
|
|
3176
|
+
}, [xAndYFieldsWithTypes, downsampleVizOptions]);
|
|
3177
|
+
var previousDownsampleDSOptions = (0, usePrevious_1.default)(downsampleDSOptions);
|
|
3349
3178
|
var previousDataSources = (0, usePrevious_1.default)(dataSources);
|
|
3350
3179
|
var previousThreshold = (0, usePrevious_1.default)(threshold);
|
|
3351
3180
|
|
|
@@ -3353,7 +3182,7 @@ var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
|
|
|
3353
3182
|
return isDownsamplingEnabled ? (0, dataUtils_1.downsampleDataSources)({
|
|
3354
3183
|
dataSources: dataSources,
|
|
3355
3184
|
threshold: threshold,
|
|
3356
|
-
options:
|
|
3185
|
+
options: downsampleDSOptions
|
|
3357
3186
|
}) : dataSources;
|
|
3358
3187
|
}),
|
|
3359
3188
|
_ref3 = _slicedToArray(_ref2, 2),
|
|
@@ -3381,7 +3210,7 @@ var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
|
|
|
3381
3210
|
return;
|
|
3382
3211
|
}
|
|
3383
3212
|
|
|
3384
|
-
if ((0, lodash_1.isEqual)(
|
|
3213
|
+
if ((0, lodash_1.isEqual)(previousDownsampleDSOptions, downsampleDSOptions) && previousDataSources === dataSources && previousThreshold === threshold) {
|
|
3385
3214
|
return;
|
|
3386
3215
|
} // Debounce the downsampling so we don't have to downsample and execute DSL multiple times
|
|
3387
3216
|
// while the viz is being resized
|
|
@@ -3389,10 +3218,10 @@ var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
|
|
|
3389
3218
|
|
|
3390
3219
|
debouncedDownsampleDataSources({
|
|
3391
3220
|
dataSources: dataSources,
|
|
3392
|
-
options:
|
|
3221
|
+
options: downsampleDSOptions,
|
|
3393
3222
|
threshold: threshold
|
|
3394
3223
|
}); // need to detect if this runs as part of the initial render
|
|
3395
|
-
}, [dataSources, debouncedDownsampleDataSources, xAndYFieldsWithTypes, threshold, isDownsamplingEnabled,
|
|
3224
|
+
}, [dataSources, downsampleDSOptions, debouncedDownsampleDataSources, xAndYFieldsWithTypes, threshold, isDownsamplingEnabled, previousDataSources, previousThreshold, previousDownsampleDSOptions]);
|
|
3396
3225
|
return downsampledDataSources;
|
|
3397
3226
|
};
|
|
3398
3227
|
|
|
@@ -3400,19 +3229,19 @@ exports.default = useDownsampleDataSources;
|
|
|
3400
3229
|
|
|
3401
3230
|
/***/ }),
|
|
3402
3231
|
|
|
3403
|
-
/***/
|
|
3232
|
+
/***/ 65:
|
|
3404
3233
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3405
3234
|
|
|
3406
3235
|
"use strict";
|
|
3407
3236
|
|
|
3408
3237
|
|
|
3409
|
-
var _toConsumableArray = __webpack_require__(
|
|
3238
|
+
var _toConsumableArray = __webpack_require__(6);
|
|
3410
3239
|
|
|
3411
3240
|
Object.defineProperty(exports, "__esModule", {
|
|
3412
3241
|
value: true
|
|
3413
3242
|
});
|
|
3414
3243
|
|
|
3415
|
-
var react_1 = __webpack_require__(
|
|
3244
|
+
var react_1 = __webpack_require__(1);
|
|
3416
3245
|
|
|
3417
3246
|
var Options_1 = __webpack_require__(16);
|
|
3418
3247
|
/**
|
|
@@ -3515,7 +3344,7 @@ exports.default = useGetXAndYFields;
|
|
|
3515
3344
|
|
|
3516
3345
|
/***/ }),
|
|
3517
3346
|
|
|
3518
|
-
/***/
|
|
3347
|
+
/***/ 66:
|
|
3519
3348
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3520
3349
|
|
|
3521
3350
|
"use strict";
|
|
@@ -3526,7 +3355,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3526
3355
|
});
|
|
3527
3356
|
exports.getFeatureFlag = void 0;
|
|
3528
3357
|
|
|
3529
|
-
var FeatureFlags_1 = __webpack_require__(
|
|
3358
|
+
var FeatureFlags_1 = __webpack_require__(67);
|
|
3530
3359
|
|
|
3531
3360
|
var getFeatureFlag = function getFeatureFlag(context, flagName) {
|
|
3532
3361
|
// look for feature flag in context first
|
|
@@ -3551,7 +3380,7 @@ exports.getFeatureFlag = getFeatureFlag;
|
|
|
3551
3380
|
|
|
3552
3381
|
/***/ }),
|
|
3553
3382
|
|
|
3554
|
-
/***/
|
|
3383
|
+
/***/ 67:
|
|
3555
3384
|
/***/ (function(module, exports) {
|
|
3556
3385
|
|
|
3557
3386
|
module.exports = require("@splunk/visualization-context/FeatureFlags");
|
|
@@ -3559,41 +3388,74 @@ module.exports = require("@splunk/visualization-context/FeatureFlags");
|
|
|
3559
3388
|
/***/ }),
|
|
3560
3389
|
|
|
3561
3390
|
/***/ 7:
|
|
3562
|
-
/***/ (function(module, exports) {
|
|
3391
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
3563
3392
|
|
|
3564
|
-
|
|
3393
|
+
"use strict";
|
|
3394
|
+
|
|
3395
|
+
|
|
3396
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3397
|
+
value: true
|
|
3398
|
+
});
|
|
3399
|
+
exports.VizBehavior = void 0;
|
|
3400
|
+
var VizBehavior;
|
|
3401
|
+
|
|
3402
|
+
(function (VizBehavior) {
|
|
3403
|
+
/**
|
|
3404
|
+
* Dynamic Options Behavior.
|
|
3405
|
+
* This allows visualization options to be powered by data
|
|
3406
|
+
*
|
|
3407
|
+
* **Example**
|
|
3408
|
+
*
|
|
3409
|
+
* sparklineValues: ">primary|seriesByIndex(0)"
|
|
3410
|
+
* would configure sparklineValues with an array of data points
|
|
3411
|
+
* coming from the first series in the primary datasource
|
|
3412
|
+
*
|
|
3413
|
+
*/
|
|
3414
|
+
VizBehavior["DYNAMIC_OPTIONS"] = "dynamic-options";
|
|
3415
|
+
VizBehavior["EVENTS"] = "events";
|
|
3416
|
+
VizBehavior["DOWNSAMPLING"] = "downsampling";
|
|
3417
|
+
/**
|
|
3418
|
+
* Placeholder behavior: visualization will display a placeholder rather than fail if any of the `requiredProps` is
|
|
3419
|
+
* missing.
|
|
3420
|
+
* @type {string}
|
|
3421
|
+
*/
|
|
3422
|
+
|
|
3423
|
+
VizBehavior["PLACEHOLDER"] = "placeholder";
|
|
3424
|
+
VizBehavior["PAGE_AND_SORT"] = "page-and-sort";
|
|
3425
|
+
VizBehavior["TRELLIS"] = "trellis";
|
|
3426
|
+
})(VizBehavior = exports.VizBehavior || (exports.VizBehavior = {}));
|
|
3565
3427
|
|
|
3566
3428
|
/***/ }),
|
|
3567
3429
|
|
|
3568
|
-
/***/
|
|
3430
|
+
/***/ 71:
|
|
3569
3431
|
/***/ (function(module, exports) {
|
|
3570
3432
|
|
|
3571
3433
|
module.exports = require("@splunk/visualization-icons");
|
|
3572
3434
|
|
|
3573
3435
|
/***/ }),
|
|
3574
3436
|
|
|
3575
|
-
/***/
|
|
3437
|
+
/***/ 78:
|
|
3576
3438
|
/***/ (function(module, exports) {
|
|
3577
3439
|
|
|
3578
|
-
module.exports = require("@babel/runtime/helpers/
|
|
3440
|
+
module.exports = require("@babel/runtime/helpers/taggedTemplateLiteral");
|
|
3579
3441
|
|
|
3580
3442
|
/***/ }),
|
|
3581
3443
|
|
|
3582
|
-
/***/
|
|
3444
|
+
/***/ 79:
|
|
3583
3445
|
/***/ (function(module, exports) {
|
|
3584
3446
|
|
|
3585
|
-
module.exports = require("@
|
|
3447
|
+
module.exports = require("@splunk/themes");
|
|
3586
3448
|
|
|
3587
3449
|
/***/ }),
|
|
3588
3450
|
|
|
3589
|
-
/***/
|
|
3451
|
+
/***/ 8:
|
|
3590
3452
|
/***/ (function(module, exports) {
|
|
3591
3453
|
|
|
3592
|
-
module.exports = require("@
|
|
3454
|
+
module.exports = require("@babel/runtime/helpers/classCallCheck");
|
|
3593
3455
|
|
|
3594
3456
|
/***/ }),
|
|
3595
3457
|
|
|
3596
|
-
/***/
|
|
3458
|
+
/***/ 80:
|
|
3597
3459
|
/***/ (function(module, exports) {
|
|
3598
3460
|
|
|
3599
3461
|
module.exports = require("@splunk/visualization-color-palettes/editors/PresetPalettes");
|
|
@@ -3603,7 +3465,7 @@ module.exports = require("@splunk/visualization-color-palettes/editors/PresetPal
|
|
|
3603
3465
|
/***/ 9:
|
|
3604
3466
|
/***/ (function(module, exports) {
|
|
3605
3467
|
|
|
3606
|
-
module.exports = require("@
|
|
3468
|
+
module.exports = require("@splunk/visualization-schemas");
|
|
3607
3469
|
|
|
3608
3470
|
/***/ })
|
|
3609
3471
|
|