@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/Line.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 = 240);
|
|
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,8 +121,19 @@ module.exports = require("lodash");
|
|
|
121
121
|
module.exports = require("styled-components");
|
|
122
122
|
|
|
123
123
|
/***/ }),
|
|
124
|
-
/* 5
|
|
124
|
+
/* 5 */
|
|
125
|
+
/***/ (function(module, exports) {
|
|
126
|
+
|
|
127
|
+
module.exports = require("@babel/runtime/helpers/slicedToArray");
|
|
128
|
+
|
|
129
|
+
/***/ }),
|
|
125
130
|
/* 6 */
|
|
131
|
+
/***/ (function(module, exports) {
|
|
132
|
+
|
|
133
|
+
module.exports = require("@babel/runtime/helpers/toConsumableArray");
|
|
134
|
+
|
|
135
|
+
/***/ }),
|
|
136
|
+
/* 7 */
|
|
126
137
|
/***/ (function(module, exports, __webpack_require__) {
|
|
127
138
|
|
|
128
139
|
"use strict";
|
|
@@ -160,41 +171,35 @@ var VizBehavior;
|
|
|
160
171
|
VizBehavior["TRELLIS"] = "trellis";
|
|
161
172
|
})(VizBehavior = exports.VizBehavior || (exports.VizBehavior = {}));
|
|
162
173
|
|
|
163
|
-
/***/ }),
|
|
164
|
-
/* 7 */
|
|
165
|
-
/***/ (function(module, exports) {
|
|
166
|
-
|
|
167
|
-
module.exports = require("@babel/runtime/helpers/slicedToArray");
|
|
168
|
-
|
|
169
174
|
/***/ }),
|
|
170
175
|
/* 8 */
|
|
171
176
|
/***/ (function(module, exports) {
|
|
172
177
|
|
|
173
|
-
module.exports = require("@babel/runtime/helpers/
|
|
178
|
+
module.exports = require("@babel/runtime/helpers/classCallCheck");
|
|
174
179
|
|
|
175
180
|
/***/ }),
|
|
176
181
|
/* 9 */
|
|
177
182
|
/***/ (function(module, exports) {
|
|
178
183
|
|
|
179
|
-
module.exports = require("@
|
|
184
|
+
module.exports = require("@splunk/visualization-schemas");
|
|
180
185
|
|
|
181
186
|
/***/ }),
|
|
182
187
|
/* 10 */
|
|
183
188
|
/***/ (function(module, exports) {
|
|
184
189
|
|
|
185
|
-
module.exports = require("@
|
|
190
|
+
module.exports = require("@splunk/visualizations-shared/numberUtils");
|
|
186
191
|
|
|
187
192
|
/***/ }),
|
|
188
193
|
/* 11 */
|
|
189
194
|
/***/ (function(module, exports) {
|
|
190
195
|
|
|
191
|
-
module.exports = require("@splunk/visualizations-shared/
|
|
196
|
+
module.exports = require("@splunk/visualizations-shared/Message");
|
|
192
197
|
|
|
193
198
|
/***/ }),
|
|
194
199
|
/* 12 */
|
|
195
200
|
/***/ (function(module, exports) {
|
|
196
201
|
|
|
197
|
-
module.exports = require("@
|
|
202
|
+
module.exports = require("@babel/runtime/helpers/defineProperty");
|
|
198
203
|
|
|
199
204
|
/***/ }),
|
|
200
205
|
/* 13 */
|
|
@@ -214,9 +219,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
214
219
|
});
|
|
215
220
|
exports.downsampleDataSources = exports.calculateDownsamplingThreshold = exports.calculateThresholdOnRangeSelect = exports.isDownsamplingEnabledForViz = exports.convertToArrOfObjects = void 0;
|
|
216
221
|
|
|
217
|
-
var numberUtils_1 = __webpack_require__(
|
|
222
|
+
var numberUtils_1 = __webpack_require__(10);
|
|
218
223
|
|
|
219
|
-
var interfaces_1 = __webpack_require__(
|
|
224
|
+
var interfaces_1 = __webpack_require__(39); // TODO: utilize this fn in ParallelCoordinates
|
|
220
225
|
|
|
221
226
|
|
|
222
227
|
var convertToArrOfObjects = function convertToArrOfObjects(columns, fields) {
|
|
@@ -351,19 +356,21 @@ var largestTriangleThreeBuckets = function largestTriangleThreeBuckets(data, thr
|
|
|
351
356
|
*/
|
|
352
357
|
|
|
353
358
|
|
|
354
|
-
var strictlyCoerceYColumn = function strictlyCoerceYColumn(column) {
|
|
355
|
-
// 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
|
|
356
361
|
// Number() does not support and also allows loose coercion of hex numbers (but not other formats)
|
|
357
362
|
// We want to identify columns which contain at least one value that can be loosely coerced
|
|
363
|
+
|
|
358
364
|
var canLooselyCoerceSomeValues = column.findIndex(function (value) {
|
|
359
|
-
return (0, numberUtils_1.startsWithNumber)("".concat(value));
|
|
365
|
+
return (0, numberUtils_1.startsWithNumber)("".concat(value)) || isNullCoercionEnabled && value === null;
|
|
360
366
|
}) >= 0; // If not all values in column can be strictly coerced to a number, we do not downsample
|
|
361
367
|
|
|
362
368
|
var coercedColumn = [];
|
|
363
369
|
var canDownsampleColumn = !column.some(function (value) {
|
|
364
|
-
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
|
|
365
372
|
|
|
366
|
-
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) {
|
|
367
374
|
return true;
|
|
368
375
|
} // save value and continue to next
|
|
369
376
|
|
|
@@ -444,8 +451,7 @@ var calculateDownsamplingThreshold = function calculateDownsamplingThreshold(_re
|
|
|
444
451
|
dataSources = _ref3.dataSources,
|
|
445
452
|
selectChartEvent = _ref3.selectChartEvent,
|
|
446
453
|
width = _ref3.width,
|
|
447
|
-
xField = _ref3.xField
|
|
448
|
-
y2Fields = _ref3.y2Fields;
|
|
454
|
+
xField = _ref3.xField;
|
|
449
455
|
|
|
450
456
|
var _a, _b, _c;
|
|
451
457
|
|
|
@@ -482,14 +488,7 @@ var calculateDownsamplingThreshold = function calculateDownsamplingThreshold(_re
|
|
|
482
488
|
});
|
|
483
489
|
var lastIndex = fullSeries.findIndex(function (x) {
|
|
484
490
|
return downsampledSeries[endXIndex] === x;
|
|
485
|
-
});
|
|
486
|
-
// re-calculating downsampling threshold if the chart is zoomed in until SPL-259458 is fixed
|
|
487
|
-
// Also do not support re-calculating downsampling threshold for zoomed-in charts with y2
|
|
488
|
-
// until SPL-259611 is fixed
|
|
489
|
-
|
|
490
|
-
if (xField !== '_time' || (y2Fields === null || y2Fields === void 0 ? void 0 : y2Fields.length)) {
|
|
491
|
-
return firstIndex === 0 && lastIndex === fullSeries.length - 1 ? width : null;
|
|
492
|
-
}
|
|
491
|
+
});
|
|
493
492
|
|
|
494
493
|
if (firstIndex >= 0 && lastIndex >= 0 && firstIndex <= lastIndex) {
|
|
495
494
|
return (0, exports.calculateThresholdOnRangeSelect)({
|
|
@@ -500,6 +499,7 @@ var calculateDownsamplingThreshold = function calculateDownsamplingThreshold(_re
|
|
|
500
499
|
});
|
|
501
500
|
}
|
|
502
501
|
} catch (e) {
|
|
502
|
+
// eslint-disable-next-line no-console
|
|
503
503
|
console.error('Error occurred while setting downsample threshold on range select event', e);
|
|
504
504
|
}
|
|
505
505
|
|
|
@@ -538,7 +538,7 @@ var isColumnStrictlyIncreasing = function isColumnStrictlyIncreasing(column, fie
|
|
|
538
538
|
*/
|
|
539
539
|
|
|
540
540
|
|
|
541
|
-
var tryToCoerceAllDisplayedFields = function tryToCoerceAllDisplayedFields(ds, xField, yFields, fieldTypes) {
|
|
541
|
+
var tryToCoerceAllDisplayedFields = function tryToCoerceAllDisplayedFields(ds, xField, yFields, fieldTypes, options) {
|
|
542
542
|
var xColumn = [];
|
|
543
543
|
var yColumns = [];
|
|
544
544
|
var canDownsample = !ds.data.fields.some(function (field, index) {
|
|
@@ -552,7 +552,7 @@ var tryToCoerceAllDisplayedFields = function tryToCoerceAllDisplayedFields(ds, x
|
|
|
552
552
|
if (fieldName === xField) {
|
|
553
553
|
xColumn = strictlyCoerceXColumn(column, fieldType);
|
|
554
554
|
} else if (yFields.has(fieldName)) {
|
|
555
|
-
var _strictlyCoerceYColum = strictlyCoerceYColumn(ds.data.columns[index]),
|
|
555
|
+
var _strictlyCoerceYColum = strictlyCoerceYColumn(ds.data.columns[index], options),
|
|
556
556
|
coercedColumn = _strictlyCoerceYColum.coercedColumn,
|
|
557
557
|
canLooselyCoerceSomeValues = _strictlyCoerceYColum.canLooselyCoerceSomeValues,
|
|
558
558
|
canDownsampleColumn = _strictlyCoerceYColum.canDownsampleColumn; // do not perform downsampling if a column can possibly be displayed but cannot
|
|
@@ -642,7 +642,7 @@ var downsampleDataSources = function downsampleDataSources(_ref4) {
|
|
|
642
642
|
return dataSources;
|
|
643
643
|
}
|
|
644
644
|
|
|
645
|
-
var _tryToCoerceAllDispla = tryToCoerceAllDisplayedFields(primaryDS, xField, nonInternalYFields, fieldTypes),
|
|
645
|
+
var _tryToCoerceAllDispla = tryToCoerceAllDisplayedFields(primaryDS, xField, nonInternalYFields, fieldTypes, options),
|
|
646
646
|
xColumn = _tryToCoerceAllDispla.xColumn,
|
|
647
647
|
yColumns = _tryToCoerceAllDispla.yColumns;
|
|
648
648
|
|
|
@@ -666,6 +666,7 @@ var downsampleDataSources = function downsampleDataSources(_ref4) {
|
|
|
666
666
|
return downsampledIndices.add(downsampleIndex);
|
|
667
667
|
});
|
|
668
668
|
} catch (e) {
|
|
669
|
+
// eslint-disable-next-line no-console
|
|
669
670
|
console.error("Error occurred while downsampling column ".concat(columnIndex), e);
|
|
670
671
|
}
|
|
671
672
|
}); // update data columns with downsampled columns
|
|
@@ -695,13 +696,13 @@ module.exports = require("@splunk/visualization-encoding/Options");
|
|
|
695
696
|
"use strict";
|
|
696
697
|
|
|
697
698
|
|
|
698
|
-
var _slicedToArray = __webpack_require__(
|
|
699
|
+
var _slicedToArray = __webpack_require__(5);
|
|
699
700
|
|
|
700
701
|
Object.defineProperty(exports, "__esModule", {
|
|
701
702
|
value: true
|
|
702
703
|
});
|
|
703
704
|
|
|
704
|
-
var React = __webpack_require__(
|
|
705
|
+
var React = __webpack_require__(1);
|
|
705
706
|
|
|
706
707
|
var styled_components_1 = __webpack_require__(4);
|
|
707
708
|
|
|
@@ -709,7 +710,7 @@ var style_1 = __webpack_require__(18);
|
|
|
709
710
|
|
|
710
711
|
var colorUtils_1 = __webpack_require__(15);
|
|
711
712
|
|
|
712
|
-
var SizeAwareWrapper_1 = __webpack_require__(
|
|
713
|
+
var SizeAwareWrapper_1 = __webpack_require__(25);
|
|
713
714
|
|
|
714
715
|
var Item = styled_components_1.default.div.attrs(function (_ref) {
|
|
715
716
|
var width = _ref.width;
|
|
@@ -780,7 +781,7 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
|
|
|
780
781
|
|
|
781
782
|
return React.createElement(FixSizeItem, {
|
|
782
783
|
"data-test": "fix-size-item",
|
|
783
|
-
"data-splunk-visualization-version": "26.
|
|
784
|
+
"data-splunk-visualization-version": "26.4.0 - 04078274d",
|
|
784
785
|
width: width,
|
|
785
786
|
height: height,
|
|
786
787
|
backgroundColor: backgroundColor
|
|
@@ -807,7 +808,8 @@ exports.default = withFixedSizeContainer;
|
|
|
807
808
|
module.exports = require("@splunk/visualizations-shared/style");
|
|
808
809
|
|
|
809
810
|
/***/ }),
|
|
810
|
-
/* 19
|
|
811
|
+
/* 19 */,
|
|
812
|
+
/* 20 */
|
|
811
813
|
/***/ (function(module, exports, __webpack_require__) {
|
|
812
814
|
|
|
813
815
|
"use strict";
|
|
@@ -816,22 +818,20 @@ module.exports = require("@splunk/visualizations-shared/style");
|
|
|
816
818
|
Object.defineProperty(exports, "__esModule", {
|
|
817
819
|
value: true
|
|
818
820
|
});
|
|
819
|
-
exports.validOutputModes = exports.
|
|
821
|
+
exports.validOutputModes = exports.validSortDirs = void 0;
|
|
820
822
|
exports.validSortDirs = ['asc', 'desc', 'none'];
|
|
821
|
-
exports.validSegmentationModes = ['none', 'inner'];
|
|
822
823
|
exports.validOutputModes = ['json_cols', 'json'];
|
|
823
824
|
|
|
824
825
|
/***/ }),
|
|
825
|
-
/* 20 */,
|
|
826
826
|
/* 21 */
|
|
827
827
|
/***/ (function(module, exports, __webpack_require__) {
|
|
828
828
|
|
|
829
829
|
"use strict";
|
|
830
830
|
|
|
831
831
|
|
|
832
|
-
var _classCallCheck = __webpack_require__(
|
|
832
|
+
var _classCallCheck = __webpack_require__(8);
|
|
833
833
|
|
|
834
|
-
var _createClass = __webpack_require__(
|
|
834
|
+
var _createClass = __webpack_require__(24);
|
|
835
835
|
|
|
836
836
|
Object.defineProperty(exports, "__esModule", {
|
|
837
837
|
value: true
|
|
@@ -923,120 +923,39 @@ exports.extendStaticWrapperProps = extendStaticWrapperProps;
|
|
|
923
923
|
/* 24 */
|
|
924
924
|
/***/ (function(module, exports) {
|
|
925
925
|
|
|
926
|
-
module.exports = require("@splunk/visualizations-shared/schemaUtils");
|
|
927
|
-
|
|
928
|
-
/***/ }),
|
|
929
|
-
/* 25 */
|
|
930
|
-
/***/ (function(module, exports) {
|
|
931
|
-
|
|
932
926
|
module.exports = require("@babel/runtime/helpers/createClass");
|
|
933
927
|
|
|
934
928
|
/***/ }),
|
|
935
|
-
/*
|
|
929
|
+
/* 25 */
|
|
936
930
|
/***/ (function(module, exports) {
|
|
937
931
|
|
|
938
932
|
module.exports = require("@splunk/visualizations-shared/SizeAwareWrapper");
|
|
939
933
|
|
|
940
934
|
/***/ }),
|
|
941
|
-
/*
|
|
935
|
+
/* 26 */
|
|
942
936
|
/***/ (function(module, exports, __webpack_require__) {
|
|
943
937
|
|
|
944
938
|
"use strict";
|
|
945
939
|
|
|
946
940
|
|
|
947
|
-
var _toConsumableArray = __webpack_require__(
|
|
948
|
-
|
|
949
|
-
var _defineProperty = __webpack_require__(9);
|
|
950
|
-
|
|
951
|
-
var __rest = this && this.__rest || function (s, e) {
|
|
952
|
-
var t = {};
|
|
953
|
-
|
|
954
|
-
for (var p in s) {
|
|
955
|
-
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
956
|
-
}
|
|
957
|
-
|
|
958
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
959
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
960
|
-
}
|
|
961
|
-
return t;
|
|
962
|
-
};
|
|
941
|
+
var _toConsumableArray = __webpack_require__(6);
|
|
963
942
|
|
|
964
943
|
Object.defineProperty(exports, "__esModule", {
|
|
965
944
|
value: true
|
|
966
945
|
});
|
|
967
|
-
exports.insertLayout = exports.isDynamicOption = exports.uncollapseEditorConfig = exports.generatePrecisionValues = exports.getInitialPreset = exports.
|
|
968
|
-
|
|
969
|
-
var lodash_1 = __webpack_require__(3);
|
|
946
|
+
exports.insertLayout = exports.isDynamicOption = exports.uncollapseEditorConfig = exports.generatePrecisionValues = exports.getInitialPreset = exports.enhanceConfig = exports.enhanceOptionsSchemaWithDynamicOptions = void 0;
|
|
970
947
|
|
|
971
|
-
var
|
|
948
|
+
var lodash_1 = __webpack_require__(2); // included for backwards compatibility
|
|
972
949
|
|
|
973
|
-
var VizBehavior_1 = __webpack_require__(6);
|
|
974
950
|
|
|
975
|
-
var
|
|
976
|
-
type: 'string',
|
|
977
|
-
pattern: schemaUtils_1.DYNAMIC_OPTIONS_DSL_PATTERN
|
|
978
|
-
};
|
|
979
|
-
/**
|
|
980
|
-
* Helper function to extend an options schema with dynamic options DSL
|
|
981
|
-
* @param optionsSchema a visualization's options schema
|
|
982
|
-
* @returns an updated options schema that additionally allows strings starting with > for each option
|
|
983
|
-
*/
|
|
984
|
-
|
|
985
|
-
function enhanceOptionsSchemaWithDynamicOptions(optionsSchema) {
|
|
986
|
-
var enhancedOptionsSchema = {};
|
|
987
|
-
Object.keys(optionsSchema).forEach(function (key) {
|
|
988
|
-
var _a = optionsSchema[key],
|
|
989
|
-
title = _a.title,
|
|
990
|
-
description = _a.description,
|
|
991
|
-
readOnly = _a.readOnly,
|
|
992
|
-
writeOnly = _a.writeOnly,
|
|
993
|
-
examples = _a.examples,
|
|
994
|
-
defaultValue = _a.default,
|
|
995
|
-
type = _a.type,
|
|
996
|
-
properties = _a.properties,
|
|
997
|
-
patternProperties = _a.patternProperties,
|
|
998
|
-
remainingSchemaEntry = __rest(_a, ["title", "description", "readOnly", "writeOnly", "examples", "default", "type", "properties", "patternProperties"]);
|
|
999
|
-
|
|
1000
|
-
var annotations = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, title !== undefined && {
|
|
1001
|
-
title: title
|
|
1002
|
-
}), description !== undefined && {
|
|
1003
|
-
description: description
|
|
1004
|
-
}), readOnly !== undefined && {
|
|
1005
|
-
readOnly: readOnly
|
|
1006
|
-
}), writeOnly !== undefined && {
|
|
1007
|
-
writeOnly: writeOnly
|
|
1008
|
-
}), examples !== undefined && {
|
|
1009
|
-
examples: examples
|
|
1010
|
-
}), defaultValue !== undefined && {
|
|
1011
|
-
default: defaultValue
|
|
1012
|
-
});
|
|
1013
|
-
|
|
1014
|
-
if (type === 'object') {
|
|
1015
|
-
enhancedOptionsSchema[key] = Object.assign(Object.assign(Object.assign(Object.assign({}, remainingSchemaEntry), annotations), {
|
|
1016
|
-
type: type
|
|
1017
|
-
}), properties && {
|
|
1018
|
-
properties: enhanceOptionsSchemaWithDynamicOptions(properties)
|
|
1019
|
-
});
|
|
1020
|
-
|
|
1021
|
-
if (patternProperties) {
|
|
1022
|
-
var enhancedPatternProperties = {};
|
|
1023
|
-
Object.keys(patternProperties).forEach(function (opt) {
|
|
1024
|
-
enhancedPatternProperties = Object.assign(Object.assign({}, enhancedPatternProperties), enhanceOptionsSchemaWithDynamicOptions(_defineProperty({}, opt, patternProperties[opt])));
|
|
1025
|
-
});
|
|
1026
|
-
enhancedOptionsSchema[key].patternProperties = enhancedPatternProperties;
|
|
1027
|
-
}
|
|
1028
|
-
} else {
|
|
1029
|
-
enhancedOptionsSchema[key] = Object.assign(Object.assign({}, annotations), {
|
|
1030
|
-
anyOf: [Object.assign(Object.assign({}, type !== undefined && {
|
|
1031
|
-
type: type
|
|
1032
|
-
}), remainingSchemaEntry), dynamicOptionsDSLType]
|
|
1033
|
-
});
|
|
1034
|
-
}
|
|
1035
|
-
});
|
|
1036
|
-
return enhancedOptionsSchema;
|
|
1037
|
-
}
|
|
951
|
+
var visualization_schemas_1 = __webpack_require__(9);
|
|
1038
952
|
|
|
1039
|
-
exports
|
|
953
|
+
Object.defineProperty(exports, "enhanceOptionsSchemaWithDynamicOptions", {
|
|
954
|
+
enumerable: true,
|
|
955
|
+
get: function get() {
|
|
956
|
+
return visualization_schemas_1.enhanceOptionsSchemaWithDynamicOptions;
|
|
957
|
+
}
|
|
958
|
+
});
|
|
1040
959
|
/**
|
|
1041
960
|
* Helper function to enhance a Visualization Config as needed based on behaviors specified in supports block
|
|
1042
961
|
* this function also collapse all editor panels
|
|
@@ -1047,11 +966,6 @@ exports.enhanceOptionsSchemaWithDynamicOptions = enhanceOptionsSchemaWithDynamic
|
|
|
1047
966
|
|
|
1048
967
|
function enhanceConfig(vizConfig) {
|
|
1049
968
|
var enhancedConfig = Object.assign({}, vizConfig);
|
|
1050
|
-
|
|
1051
|
-
if (vizConfig.supports.indexOf(VizBehavior_1.VizBehavior.DYNAMIC_OPTIONS) !== -1) {
|
|
1052
|
-
enhancedConfig.optionsSchema = enhanceOptionsSchemaWithDynamicOptions(vizConfig.optionsSchema);
|
|
1053
|
-
}
|
|
1054
|
-
|
|
1055
969
|
enhancedConfig.editorConfig = vizConfig.editorConfig.map(function (config) {
|
|
1056
970
|
return Object.assign(Object.assign({}, config), {
|
|
1057
971
|
open: config.open || false
|
|
@@ -1174,32 +1088,32 @@ var insertLayout = function insertLayout(layout, index) {
|
|
|
1174
1088
|
exports.insertLayout = insertLayout;
|
|
1175
1089
|
|
|
1176
1090
|
/***/ }),
|
|
1177
|
-
/*
|
|
1091
|
+
/* 27 */
|
|
1178
1092
|
/***/ (function(module, exports) {
|
|
1179
1093
|
|
|
1180
1094
|
module.exports = require("@splunk/visualization-context/FeatureFlagContext");
|
|
1181
1095
|
|
|
1182
1096
|
/***/ }),
|
|
1183
|
-
/*
|
|
1184
|
-
/*
|
|
1097
|
+
/* 28 */,
|
|
1098
|
+
/* 29 */
|
|
1185
1099
|
/***/ (function(module, exports) {
|
|
1186
1100
|
|
|
1187
1101
|
module.exports = require("@splunk/themes/pick");
|
|
1188
1102
|
|
|
1189
1103
|
/***/ }),
|
|
1190
|
-
/*
|
|
1104
|
+
/* 30 */
|
|
1191
1105
|
/***/ (function(module, exports) {
|
|
1192
1106
|
|
|
1193
1107
|
module.exports = require("@splunk/ui-utils/id");
|
|
1194
1108
|
|
|
1195
1109
|
/***/ }),
|
|
1196
|
-
/*
|
|
1110
|
+
/* 31 */
|
|
1197
1111
|
/***/ (function(module, exports) {
|
|
1198
1112
|
|
|
1199
1113
|
module.exports = require("@splunk/visualization-context/TimezoneContext");
|
|
1200
1114
|
|
|
1201
1115
|
/***/ }),
|
|
1202
|
-
/*
|
|
1116
|
+
/* 32 */
|
|
1203
1117
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1204
1118
|
|
|
1205
1119
|
"use strict";
|
|
@@ -1209,7 +1123,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1209
1123
|
value: true
|
|
1210
1124
|
});
|
|
1211
1125
|
|
|
1212
|
-
var react_1 = __webpack_require__(
|
|
1126
|
+
var react_1 = __webpack_require__(1);
|
|
1213
1127
|
|
|
1214
1128
|
function usePrevious(value) {
|
|
1215
1129
|
var ref = (0, react_1.useRef)();
|
|
@@ -1222,25 +1136,25 @@ function usePrevious(value) {
|
|
|
1222
1136
|
exports.default = usePrevious;
|
|
1223
1137
|
|
|
1224
1138
|
/***/ }),
|
|
1225
|
-
/*
|
|
1139
|
+
/* 33 */
|
|
1226
1140
|
/***/ (function(module, exports) {
|
|
1227
1141
|
|
|
1228
1142
|
module.exports = require("@splunk/visualizations-shared/hocUtils");
|
|
1229
1143
|
|
|
1230
1144
|
/***/ }),
|
|
1231
|
-
/*
|
|
1145
|
+
/* 34 */
|
|
1232
1146
|
/***/ (function(module, exports) {
|
|
1233
1147
|
|
|
1234
1148
|
module.exports = require("@splunk/visualizations-shared/JSONSchemaUtils");
|
|
1235
1149
|
|
|
1236
1150
|
/***/ }),
|
|
1237
|
-
/*
|
|
1151
|
+
/* 35 */
|
|
1238
1152
|
/***/ (function(module, exports) {
|
|
1239
1153
|
|
|
1240
1154
|
module.exports = require("@splunk/visualizations-shared/propUtils");
|
|
1241
1155
|
|
|
1242
1156
|
/***/ }),
|
|
1243
|
-
/*
|
|
1157
|
+
/* 36 */
|
|
1244
1158
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1245
1159
|
|
|
1246
1160
|
"use strict";
|
|
@@ -1251,15 +1165,15 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1251
1165
|
});
|
|
1252
1166
|
exports.shouldShowIconPlaceholder = void 0;
|
|
1253
1167
|
|
|
1254
|
-
var React = __webpack_require__(
|
|
1168
|
+
var React = __webpack_require__(1);
|
|
1255
1169
|
|
|
1256
|
-
var T = __webpack_require__(
|
|
1170
|
+
var T = __webpack_require__(0);
|
|
1257
1171
|
|
|
1258
|
-
var lodash_1 = __webpack_require__(
|
|
1172
|
+
var lodash_1 = __webpack_require__(2);
|
|
1259
1173
|
|
|
1260
|
-
var i18n_1 = __webpack_require__(
|
|
1174
|
+
var i18n_1 = __webpack_require__(3);
|
|
1261
1175
|
|
|
1262
|
-
var Message_1 = __webpack_require__(
|
|
1176
|
+
var Message_1 = __webpack_require__(11);
|
|
1263
1177
|
|
|
1264
1178
|
var FixedSizeContainer_1 = __webpack_require__(17);
|
|
1265
1179
|
/**
|
|
@@ -1332,24 +1246,24 @@ IconPlaceholder.defaultProps = {
|
|
|
1332
1246
|
exports.default = (0, FixedSizeContainer_1.default)(IconPlaceholder);
|
|
1333
1247
|
|
|
1334
1248
|
/***/ }),
|
|
1335
|
-
/*
|
|
1249
|
+
/* 37 */
|
|
1336
1250
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1337
1251
|
|
|
1338
1252
|
"use strict";
|
|
1339
1253
|
|
|
1340
1254
|
|
|
1341
|
-
var _defineProperty = __webpack_require__(
|
|
1255
|
+
var _defineProperty = __webpack_require__(12);
|
|
1342
1256
|
|
|
1343
1257
|
Object.defineProperty(exports, "__esModule", {
|
|
1344
1258
|
value: true
|
|
1345
1259
|
});
|
|
1346
1260
|
exports.getSortingParams = exports.SortParamsPropTypes = void 0;
|
|
1347
1261
|
|
|
1348
|
-
var T = __webpack_require__(
|
|
1262
|
+
var T = __webpack_require__(0);
|
|
1349
1263
|
|
|
1350
|
-
var lodash_1 = __webpack_require__(
|
|
1264
|
+
var lodash_1 = __webpack_require__(2);
|
|
1351
1265
|
|
|
1352
|
-
var DataSource_1 = __webpack_require__(
|
|
1266
|
+
var DataSource_1 = __webpack_require__(20);
|
|
1353
1267
|
|
|
1354
1268
|
exports.SortParamsPropTypes = T.shape({
|
|
1355
1269
|
currentSortKey: T.string,
|
|
@@ -1402,7 +1316,7 @@ var getSortingParams = function getSortingParams(_ref) {
|
|
|
1402
1316
|
exports.getSortingParams = getSortingParams;
|
|
1403
1317
|
|
|
1404
1318
|
/***/ }),
|
|
1405
|
-
/*
|
|
1319
|
+
/* 38 */
|
|
1406
1320
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1407
1321
|
|
|
1408
1322
|
"use strict";
|
|
@@ -1413,9 +1327,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1413
1327
|
});
|
|
1414
1328
|
exports.getPaginationParams = exports.PaginatorParamsPropTypes = void 0;
|
|
1415
1329
|
|
|
1416
|
-
var T = __webpack_require__(
|
|
1330
|
+
var T = __webpack_require__(0);
|
|
1417
1331
|
|
|
1418
|
-
var lodash_1 = __webpack_require__(
|
|
1332
|
+
var lodash_1 = __webpack_require__(2);
|
|
1419
1333
|
|
|
1420
1334
|
exports.PaginatorParamsPropTypes = T.shape({
|
|
1421
1335
|
isPaging: T.bool,
|
|
@@ -1466,7 +1380,7 @@ var getPaginationParams = function getPaginationParams(_ref) {
|
|
|
1466
1380
|
exports.getPaginationParams = getPaginationParams;
|
|
1467
1381
|
|
|
1468
1382
|
/***/ }),
|
|
1469
|
-
/*
|
|
1383
|
+
/* 39 */
|
|
1470
1384
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1471
1385
|
|
|
1472
1386
|
"use strict";
|
|
@@ -1501,11 +1415,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1501
1415
|
value: true
|
|
1502
1416
|
});
|
|
1503
1417
|
|
|
1418
|
+
__exportStar(__webpack_require__(40), exports);
|
|
1419
|
+
|
|
1504
1420
|
__exportStar(__webpack_require__(41), exports);
|
|
1505
1421
|
|
|
1506
|
-
__exportStar(__webpack_require__(
|
|
1422
|
+
__exportStar(__webpack_require__(20), exports);
|
|
1507
1423
|
|
|
1508
|
-
__exportStar(__webpack_require__(
|
|
1424
|
+
__exportStar(__webpack_require__(42), exports);
|
|
1509
1425
|
|
|
1510
1426
|
__exportStar(__webpack_require__(43), exports);
|
|
1511
1427
|
|
|
@@ -1517,16 +1433,16 @@ __exportStar(__webpack_require__(46), exports);
|
|
|
1517
1433
|
|
|
1518
1434
|
__exportStar(__webpack_require__(47), exports);
|
|
1519
1435
|
|
|
1520
|
-
__exportStar(__webpack_require__(48), exports);
|
|
1521
|
-
|
|
1522
|
-
__exportStar(__webpack_require__(49), exports);
|
|
1523
|
-
|
|
1524
1436
|
__exportStar(__webpack_require__(21), exports);
|
|
1525
1437
|
|
|
1526
|
-
__exportStar(__webpack_require__(
|
|
1438
|
+
__exportStar(__webpack_require__(7), exports);
|
|
1527
1439
|
|
|
1528
1440
|
__exportStar(__webpack_require__(22), exports);
|
|
1529
1441
|
|
|
1442
|
+
__exportStar(__webpack_require__(48), exports);
|
|
1443
|
+
|
|
1444
|
+
__exportStar(__webpack_require__(49), exports);
|
|
1445
|
+
|
|
1530
1446
|
__exportStar(__webpack_require__(50), exports);
|
|
1531
1447
|
|
|
1532
1448
|
__exportStar(__webpack_require__(51), exports);
|
|
@@ -1535,9 +1451,16 @@ __exportStar(__webpack_require__(52), exports);
|
|
|
1535
1451
|
|
|
1536
1452
|
__exportStar(__webpack_require__(53), exports);
|
|
1537
1453
|
|
|
1538
|
-
|
|
1454
|
+
/***/ }),
|
|
1455
|
+
/* 40 */
|
|
1456
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1457
|
+
|
|
1458
|
+
"use strict";
|
|
1539
1459
|
|
|
1540
|
-
|
|
1460
|
+
|
|
1461
|
+
Object.defineProperty(exports, "__esModule", {
|
|
1462
|
+
value: true
|
|
1463
|
+
});
|
|
1541
1464
|
|
|
1542
1465
|
/***/ }),
|
|
1543
1466
|
/* 41 */
|
|
@@ -1545,6 +1468,9 @@ __exportStar(__webpack_require__(55), exports);
|
|
|
1545
1468
|
|
|
1546
1469
|
"use strict";
|
|
1547
1470
|
|
|
1471
|
+
/**
|
|
1472
|
+
* A data structure used at runtime to wire up a visualization.
|
|
1473
|
+
*/
|
|
1548
1474
|
|
|
1549
1475
|
Object.defineProperty(exports, "__esModule", {
|
|
1550
1476
|
value: true
|
|
@@ -1556,9 +1482,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1556
1482
|
|
|
1557
1483
|
"use strict";
|
|
1558
1484
|
|
|
1559
|
-
/**
|
|
1560
|
-
* A data structure used at runtime to wire up a visualization.
|
|
1561
|
-
*/
|
|
1562
1485
|
|
|
1563
1486
|
Object.defineProperty(exports, "__esModule", {
|
|
1564
1487
|
value: true
|
|
@@ -1692,81 +1615,59 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1692
1615
|
"use strict";
|
|
1693
1616
|
|
|
1694
1617
|
|
|
1695
|
-
|
|
1696
|
-
value: true
|
|
1697
|
-
});
|
|
1698
|
-
|
|
1699
|
-
/***/ }),
|
|
1700
|
-
/* 55 */
|
|
1701
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1702
|
-
|
|
1703
|
-
"use strict";
|
|
1704
|
-
|
|
1618
|
+
var _slicedToArray = __webpack_require__(5);
|
|
1705
1619
|
|
|
1706
1620
|
Object.defineProperty(exports, "__esModule", {
|
|
1707
1621
|
value: true
|
|
1708
1622
|
});
|
|
1709
1623
|
|
|
1710
|
-
|
|
1711
|
-
/* 56 */
|
|
1712
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1713
|
-
|
|
1714
|
-
"use strict";
|
|
1715
|
-
|
|
1624
|
+
var React = __webpack_require__(1);
|
|
1716
1625
|
|
|
1717
|
-
var
|
|
1718
|
-
|
|
1719
|
-
Object.defineProperty(exports, "__esModule", {
|
|
1720
|
-
value: true
|
|
1721
|
-
});
|
|
1626
|
+
var lodash_1 = __webpack_require__(2);
|
|
1722
1627
|
|
|
1723
|
-
var
|
|
1724
|
-
|
|
1725
|
-
var lodash_1 = __webpack_require__(3);
|
|
1726
|
-
|
|
1727
|
-
var getSettingsFromThemedProps_1 = __webpack_require__(57);
|
|
1628
|
+
var getSettingsFromThemedProps_1 = __webpack_require__(55);
|
|
1728
1629
|
|
|
1729
1630
|
var Options_1 = __webpack_require__(16);
|
|
1730
1631
|
|
|
1731
|
-
var SanitizeProps_1 = __webpack_require__(
|
|
1632
|
+
var SanitizeProps_1 = __webpack_require__(56);
|
|
1732
1633
|
|
|
1733
|
-
var TimezoneContext_1 = __webpack_require__(
|
|
1634
|
+
var TimezoneContext_1 = __webpack_require__(31);
|
|
1734
1635
|
|
|
1735
|
-
var moment_1 = __webpack_require__(
|
|
1636
|
+
var moment_1 = __webpack_require__(57);
|
|
1736
1637
|
|
|
1737
|
-
var FeatureFlagContext_1 = __webpack_require__(
|
|
1638
|
+
var FeatureFlagContext_1 = __webpack_require__(27);
|
|
1738
1639
|
|
|
1739
1640
|
var styled_components_1 = __webpack_require__(4);
|
|
1740
1641
|
|
|
1741
|
-
var hocUtils_1 = __webpack_require__(
|
|
1642
|
+
var hocUtils_1 = __webpack_require__(33);
|
|
1742
1643
|
|
|
1743
|
-
var JSONSchemaUtils_1 = __webpack_require__(
|
|
1644
|
+
var JSONSchemaUtils_1 = __webpack_require__(34);
|
|
1744
1645
|
|
|
1745
|
-
var async_dynamic_options_evaluator_1 = __webpack_require__(
|
|
1646
|
+
var async_dynamic_options_evaluator_1 = __webpack_require__(58);
|
|
1746
1647
|
|
|
1747
|
-
var id_1 = __webpack_require__(
|
|
1648
|
+
var id_1 = __webpack_require__(30);
|
|
1748
1649
|
|
|
1749
|
-
var SplunkVisualization_1 = __webpack_require__(
|
|
1650
|
+
var SplunkVisualization_1 = __webpack_require__(59);
|
|
1750
1651
|
|
|
1751
|
-
var VizBehavior_1 = __webpack_require__(
|
|
1652
|
+
var VizBehavior_1 = __webpack_require__(7);
|
|
1752
1653
|
|
|
1753
|
-
var getSorting_1 = __webpack_require__(
|
|
1654
|
+
var getSorting_1 = __webpack_require__(37);
|
|
1754
1655
|
|
|
1755
|
-
var getPagination_1 = __webpack_require__(
|
|
1656
|
+
var getPagination_1 = __webpack_require__(38);
|
|
1756
1657
|
|
|
1757
|
-
var useDeepMemo_1 = __webpack_require__(
|
|
1658
|
+
var useDeepMemo_1 = __webpack_require__(60);
|
|
1758
1659
|
|
|
1759
|
-
var MissingPropsMessage_1 = __webpack_require__(
|
|
1660
|
+
var MissingPropsMessage_1 = __webpack_require__(61);
|
|
1760
1661
|
|
|
1761
|
-
var withEditModeCover_1 = __webpack_require__(
|
|
1662
|
+
var withEditModeCover_1 = __webpack_require__(62);
|
|
1762
1663
|
|
|
1763
|
-
var withPlaceholder_1 = __webpack_require__(
|
|
1664
|
+
var withPlaceholder_1 = __webpack_require__(63);
|
|
1764
1665
|
|
|
1765
|
-
var useDownsampleDataSources_1 = __webpack_require__(
|
|
1666
|
+
var useDownsampleDataSources_1 = __webpack_require__(64);
|
|
1766
1667
|
|
|
1767
1668
|
var dataUtils_1 = __webpack_require__(14);
|
|
1768
1669
|
|
|
1769
|
-
var featureFlagUtils_1 = __webpack_require__(
|
|
1670
|
+
var featureFlagUtils_1 = __webpack_require__(66);
|
|
1770
1671
|
/**
|
|
1771
1672
|
* hoc that wraps a pure react visualization in a Dashboard visualization
|
|
1772
1673
|
* @param {DashboardVizOpts} opts
|
|
@@ -2098,37 +1999,37 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
2098
1999
|
exports.default = withDashboardViz;
|
|
2099
2000
|
|
|
2100
2001
|
/***/ }),
|
|
2101
|
-
/*
|
|
2002
|
+
/* 55 */
|
|
2102
2003
|
/***/ (function(module, exports) {
|
|
2103
2004
|
|
|
2104
2005
|
module.exports = require("@splunk/themes/getSettingsFromThemedProps");
|
|
2105
2006
|
|
|
2106
2007
|
/***/ }),
|
|
2107
|
-
/*
|
|
2008
|
+
/* 56 */
|
|
2108
2009
|
/***/ (function(module, exports) {
|
|
2109
2010
|
|
|
2110
2011
|
module.exports = require("@splunk/visualizations-shared/SanitizeProps");
|
|
2111
2012
|
|
|
2112
2013
|
/***/ }),
|
|
2113
|
-
/*
|
|
2014
|
+
/* 57 */
|
|
2114
2015
|
/***/ (function(module, exports) {
|
|
2115
2016
|
|
|
2116
2017
|
module.exports = require("@splunk/moment");
|
|
2117
2018
|
|
|
2118
2019
|
/***/ }),
|
|
2119
|
-
/*
|
|
2020
|
+
/* 58 */
|
|
2120
2021
|
/***/ (function(module, exports) {
|
|
2121
2022
|
|
|
2122
2023
|
module.exports = require("@splunk/async-dynamic-options-evaluator");
|
|
2123
2024
|
|
|
2124
2025
|
/***/ }),
|
|
2125
|
-
/*
|
|
2026
|
+
/* 59 */
|
|
2126
2027
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2127
2028
|
|
|
2128
2029
|
"use strict";
|
|
2129
2030
|
|
|
2130
2031
|
|
|
2131
|
-
var _classCallCheck = __webpack_require__(
|
|
2032
|
+
var _classCallCheck = __webpack_require__(8);
|
|
2132
2033
|
|
|
2133
2034
|
Object.defineProperty(exports, "__esModule", {
|
|
2134
2035
|
value: true
|
|
@@ -2136,9 +2037,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2136
2037
|
exports.INITIAL_HEIGHT = exports.INITIAL_WIDTH = void 0;
|
|
2137
2038
|
/* eslint-disable react/no-unused-prop-types,react/prefer-stateless-function */
|
|
2138
2039
|
|
|
2139
|
-
var T = __webpack_require__(
|
|
2040
|
+
var T = __webpack_require__(0);
|
|
2140
2041
|
|
|
2141
|
-
var lodash_1 = __webpack_require__(
|
|
2042
|
+
var lodash_1 = __webpack_require__(2);
|
|
2142
2043
|
|
|
2143
2044
|
var VizActionHandler_1 = __webpack_require__(21); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
|
|
2144
2045
|
|
|
@@ -2273,7 +2174,7 @@ SplunkVisualization.defaultProps = {
|
|
|
2273
2174
|
exports.default = SplunkVisualization;
|
|
2274
2175
|
|
|
2275
2176
|
/***/ }),
|
|
2276
|
-
/*
|
|
2177
|
+
/* 60 */
|
|
2277
2178
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2278
2179
|
|
|
2279
2180
|
"use strict";
|
|
@@ -2284,9 +2185,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2284
2185
|
});
|
|
2285
2186
|
exports.useDeepMemo = void 0;
|
|
2286
2187
|
|
|
2287
|
-
var react_1 = __webpack_require__(
|
|
2188
|
+
var react_1 = __webpack_require__(1);
|
|
2288
2189
|
|
|
2289
|
-
var lodash_1 = __webpack_require__(
|
|
2190
|
+
var lodash_1 = __webpack_require__(2);
|
|
2290
2191
|
/**
|
|
2291
2192
|
* This hook evaluates and stores the result of a passed function and only
|
|
2292
2193
|
* re-evaluates the function when passed dependencies change.
|
|
@@ -2318,7 +2219,7 @@ var useDeepMemo = function useDeepMemo(fn, dependencies) {
|
|
|
2318
2219
|
exports.useDeepMemo = useDeepMemo;
|
|
2319
2220
|
|
|
2320
2221
|
/***/ }),
|
|
2321
|
-
/*
|
|
2222
|
+
/* 61 */
|
|
2322
2223
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2323
2224
|
|
|
2324
2225
|
"use strict";
|
|
@@ -2329,13 +2230,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2329
2230
|
});
|
|
2330
2231
|
exports.MissingPropsMessage = exports.missingKeys = exports.isMissing = void 0;
|
|
2331
2232
|
|
|
2332
|
-
var React = __webpack_require__(
|
|
2233
|
+
var React = __webpack_require__(1);
|
|
2333
2234
|
|
|
2334
|
-
var T = __webpack_require__(
|
|
2235
|
+
var T = __webpack_require__(0);
|
|
2335
2236
|
|
|
2336
|
-
var i18n_1 = __webpack_require__(
|
|
2237
|
+
var i18n_1 = __webpack_require__(3);
|
|
2337
2238
|
|
|
2338
|
-
var Message_1 = __webpack_require__(
|
|
2239
|
+
var Message_1 = __webpack_require__(11);
|
|
2339
2240
|
|
|
2340
2241
|
var FixedSizeContainer_1 = __webpack_require__(17);
|
|
2341
2242
|
/**
|
|
@@ -2398,7 +2299,7 @@ exports.MissingPropsMessage.defaultProps = {
|
|
|
2398
2299
|
exports.default = (0, FixedSizeContainer_1.default)(exports.MissingPropsMessage);
|
|
2399
2300
|
|
|
2400
2301
|
/***/ }),
|
|
2401
|
-
/*
|
|
2302
|
+
/* 62 */
|
|
2402
2303
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2403
2304
|
|
|
2404
2305
|
"use strict";
|
|
@@ -2408,7 +2309,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2408
2309
|
value: true
|
|
2409
2310
|
});
|
|
2410
2311
|
|
|
2411
|
-
var React = __webpack_require__(
|
|
2312
|
+
var React = __webpack_require__(1);
|
|
2412
2313
|
|
|
2413
2314
|
var styled_components_1 = __webpack_require__(4);
|
|
2414
2315
|
|
|
@@ -2419,7 +2320,7 @@ var Cover = styled_components_1.default.div.withConfig({
|
|
|
2419
2320
|
componentId: "sc-1gsbnxb-0"
|
|
2420
2321
|
})(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
|
|
2421
2322
|
var Blocker = styled_components_1.default.div.attrs({
|
|
2422
|
-
'data-splunk-visualization-version': "26.
|
|
2323
|
+
'data-splunk-visualization-version': "26.4.0 - 04078274d"
|
|
2423
2324
|
}).withConfig({
|
|
2424
2325
|
displayName: "withEditModeCover__Blocker",
|
|
2425
2326
|
componentId: "sc-1gsbnxb-1"
|
|
@@ -2450,7 +2351,7 @@ var withEditModeCover = function withEditModeCover(Visualization, disableEditMod
|
|
|
2450
2351
|
exports.default = withEditModeCover;
|
|
2451
2352
|
|
|
2452
2353
|
/***/ }),
|
|
2453
|
-
/*
|
|
2354
|
+
/* 63 */
|
|
2454
2355
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2455
2356
|
|
|
2456
2357
|
"use strict";
|
|
@@ -2460,15 +2361,15 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2460
2361
|
value: true
|
|
2461
2362
|
});
|
|
2462
2363
|
|
|
2463
|
-
var React = __webpack_require__(
|
|
2364
|
+
var React = __webpack_require__(1);
|
|
2464
2365
|
|
|
2465
2366
|
var colorUtils_1 = __webpack_require__(15);
|
|
2466
2367
|
|
|
2467
2368
|
var variables_1 = __webpack_require__(13);
|
|
2468
2369
|
|
|
2469
|
-
var IconPlaceholder_1 = __webpack_require__(
|
|
2370
|
+
var IconPlaceholder_1 = __webpack_require__(36);
|
|
2470
2371
|
|
|
2471
|
-
var VizBehavior_1 = __webpack_require__(
|
|
2372
|
+
var VizBehavior_1 = __webpack_require__(7);
|
|
2472
2373
|
|
|
2473
2374
|
var hocUtils_1 = __webpack_require__(23);
|
|
2474
2375
|
|
|
@@ -2514,27 +2415,30 @@ var withPlaceholder = function withPlaceholder(Visualization) {
|
|
|
2514
2415
|
exports.default = withPlaceholder;
|
|
2515
2416
|
|
|
2516
2417
|
/***/ }),
|
|
2517
|
-
/*
|
|
2418
|
+
/* 64 */
|
|
2518
2419
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2519
2420
|
|
|
2520
2421
|
"use strict";
|
|
2521
2422
|
|
|
2522
2423
|
|
|
2523
|
-
var _slicedToArray = __webpack_require__(
|
|
2424
|
+
var _slicedToArray = __webpack_require__(5);
|
|
2524
2425
|
|
|
2525
2426
|
Object.defineProperty(exports, "__esModule", {
|
|
2526
2427
|
value: true
|
|
2527
2428
|
});
|
|
2528
2429
|
|
|
2529
|
-
var react_1 = __webpack_require__(
|
|
2430
|
+
var react_1 = __webpack_require__(1);
|
|
2530
2431
|
|
|
2531
|
-
var lodash_1 = __webpack_require__(
|
|
2432
|
+
var lodash_1 = __webpack_require__(2);
|
|
2532
2433
|
|
|
2533
2434
|
var dataUtils_1 = __webpack_require__(14);
|
|
2534
2435
|
|
|
2535
|
-
var usePrevious_1 = __webpack_require__(
|
|
2436
|
+
var usePrevious_1 = __webpack_require__(32);
|
|
2437
|
+
|
|
2438
|
+
var useGetXAndYFields_1 = __webpack_require__(65); // Options properties which impact/require re-downsample on change.
|
|
2439
|
+
|
|
2536
2440
|
|
|
2537
|
-
var
|
|
2441
|
+
var downsampleVizOptionProperties = ['nullValueDisplay'];
|
|
2538
2442
|
|
|
2539
2443
|
var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
|
|
2540
2444
|
var dataSources = _ref.dataSources,
|
|
@@ -2548,8 +2452,15 @@ var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
|
|
|
2548
2452
|
options: options,
|
|
2549
2453
|
context: context,
|
|
2550
2454
|
dataSources: dataSources
|
|
2551
|
-
});
|
|
2552
|
-
|
|
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);
|
|
2553
2464
|
var previousDataSources = (0, usePrevious_1.default)(dataSources);
|
|
2554
2465
|
var previousThreshold = (0, usePrevious_1.default)(threshold);
|
|
2555
2466
|
|
|
@@ -2557,7 +2468,7 @@ var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
|
|
|
2557
2468
|
return isDownsamplingEnabled ? (0, dataUtils_1.downsampleDataSources)({
|
|
2558
2469
|
dataSources: dataSources,
|
|
2559
2470
|
threshold: threshold,
|
|
2560
|
-
options:
|
|
2471
|
+
options: downsampleDSOptions
|
|
2561
2472
|
}) : dataSources;
|
|
2562
2473
|
}),
|
|
2563
2474
|
_ref3 = _slicedToArray(_ref2, 2),
|
|
@@ -2585,7 +2496,7 @@ var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
|
|
|
2585
2496
|
return;
|
|
2586
2497
|
}
|
|
2587
2498
|
|
|
2588
|
-
if ((0, lodash_1.isEqual)(
|
|
2499
|
+
if ((0, lodash_1.isEqual)(previousDownsampleDSOptions, downsampleDSOptions) && previousDataSources === dataSources && previousThreshold === threshold) {
|
|
2589
2500
|
return;
|
|
2590
2501
|
} // Debounce the downsampling so we don't have to downsample and execute DSL multiple times
|
|
2591
2502
|
// while the viz is being resized
|
|
@@ -2593,29 +2504,29 @@ var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
|
|
|
2593
2504
|
|
|
2594
2505
|
debouncedDownsampleDataSources({
|
|
2595
2506
|
dataSources: dataSources,
|
|
2596
|
-
options:
|
|
2507
|
+
options: downsampleDSOptions,
|
|
2597
2508
|
threshold: threshold
|
|
2598
2509
|
}); // need to detect if this runs as part of the initial render
|
|
2599
|
-
}, [dataSources, debouncedDownsampleDataSources, xAndYFieldsWithTypes, threshold, isDownsamplingEnabled,
|
|
2510
|
+
}, [dataSources, downsampleDSOptions, debouncedDownsampleDataSources, xAndYFieldsWithTypes, threshold, isDownsamplingEnabled, previousDataSources, previousThreshold, previousDownsampleDSOptions]);
|
|
2600
2511
|
return downsampledDataSources;
|
|
2601
2512
|
};
|
|
2602
2513
|
|
|
2603
2514
|
exports.default = useDownsampleDataSources;
|
|
2604
2515
|
|
|
2605
2516
|
/***/ }),
|
|
2606
|
-
/*
|
|
2517
|
+
/* 65 */
|
|
2607
2518
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2608
2519
|
|
|
2609
2520
|
"use strict";
|
|
2610
2521
|
|
|
2611
2522
|
|
|
2612
|
-
var _toConsumableArray = __webpack_require__(
|
|
2523
|
+
var _toConsumableArray = __webpack_require__(6);
|
|
2613
2524
|
|
|
2614
2525
|
Object.defineProperty(exports, "__esModule", {
|
|
2615
2526
|
value: true
|
|
2616
2527
|
});
|
|
2617
2528
|
|
|
2618
|
-
var react_1 = __webpack_require__(
|
|
2529
|
+
var react_1 = __webpack_require__(1);
|
|
2619
2530
|
|
|
2620
2531
|
var Options_1 = __webpack_require__(16);
|
|
2621
2532
|
/**
|
|
@@ -2717,7 +2628,7 @@ var useGetXAndYFields = function useGetXAndYFields(_ref) {
|
|
|
2717
2628
|
exports.default = useGetXAndYFields;
|
|
2718
2629
|
|
|
2719
2630
|
/***/ }),
|
|
2720
|
-
/*
|
|
2631
|
+
/* 66 */
|
|
2721
2632
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2722
2633
|
|
|
2723
2634
|
"use strict";
|
|
@@ -2728,7 +2639,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2728
2639
|
});
|
|
2729
2640
|
exports.getFeatureFlag = void 0;
|
|
2730
2641
|
|
|
2731
|
-
var FeatureFlags_1 = __webpack_require__(
|
|
2642
|
+
var FeatureFlags_1 = __webpack_require__(67);
|
|
2732
2643
|
|
|
2733
2644
|
var getFeatureFlag = function getFeatureFlag(context, flagName) {
|
|
2734
2645
|
// look for feature flag in context first
|
|
@@ -2752,33 +2663,27 @@ var getFeatureFlag = function getFeatureFlag(context, flagName) {
|
|
|
2752
2663
|
exports.getFeatureFlag = getFeatureFlag;
|
|
2753
2664
|
|
|
2754
2665
|
/***/ }),
|
|
2755
|
-
/*
|
|
2666
|
+
/* 67 */
|
|
2756
2667
|
/***/ (function(module, exports) {
|
|
2757
2668
|
|
|
2758
2669
|
module.exports = require("@splunk/visualization-context/FeatureFlags");
|
|
2759
2670
|
|
|
2760
2671
|
/***/ }),
|
|
2761
|
-
/*
|
|
2762
|
-
/*
|
|
2763
|
-
/*
|
|
2672
|
+
/* 68 */,
|
|
2673
|
+
/* 69 */,
|
|
2674
|
+
/* 70 */
|
|
2764
2675
|
/***/ (function(module, exports) {
|
|
2765
2676
|
|
|
2766
2677
|
module.exports = require("@splunk/visualization-icons/placeholders");
|
|
2767
2678
|
|
|
2768
2679
|
/***/ }),
|
|
2769
|
-
/*
|
|
2770
|
-
/***/ (function(module, exports) {
|
|
2771
|
-
|
|
2772
|
-
module.exports = require("@splunk/visualization-color-palettes");
|
|
2773
|
-
|
|
2774
|
-
/***/ }),
|
|
2775
|
-
/* 74 */
|
|
2680
|
+
/* 71 */
|
|
2776
2681
|
/***/ (function(module, exports) {
|
|
2777
2682
|
|
|
2778
2683
|
module.exports = require("@splunk/visualization-icons");
|
|
2779
2684
|
|
|
2780
2685
|
/***/ }),
|
|
2781
|
-
/*
|
|
2686
|
+
/* 72 */
|
|
2782
2687
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2783
2688
|
|
|
2784
2689
|
"use strict";
|
|
@@ -2788,14 +2693,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2788
2693
|
value: true
|
|
2789
2694
|
});
|
|
2790
2695
|
|
|
2791
|
-
var i18n_1 = __webpack_require__(
|
|
2696
|
+
var i18n_1 = __webpack_require__(3);
|
|
2792
2697
|
|
|
2793
2698
|
var background = function background(_ref) {
|
|
2794
2699
|
var label = _ref.label,
|
|
2795
2700
|
themes = _ref.themes,
|
|
2796
2701
|
labelPosition = _ref.labelPosition;
|
|
2797
2702
|
return [{
|
|
2798
|
-
label: (0, i18n_1._)(label || 'Background'),
|
|
2703
|
+
label: (0, i18n_1._)(label || 'Background color'),
|
|
2799
2704
|
option: 'backgroundColor',
|
|
2800
2705
|
editor: 'editor.color',
|
|
2801
2706
|
editorProps: {
|
|
@@ -2808,26 +2713,32 @@ var background = function background(_ref) {
|
|
|
2808
2713
|
exports.default = background;
|
|
2809
2714
|
|
|
2810
2715
|
/***/ }),
|
|
2811
|
-
/*
|
|
2812
|
-
/*
|
|
2716
|
+
/* 73 */,
|
|
2717
|
+
/* 74 */
|
|
2718
|
+
/***/ (function(module, exports) {
|
|
2719
|
+
|
|
2720
|
+
module.exports = require("@splunk/visualization-color-palettes");
|
|
2721
|
+
|
|
2722
|
+
/***/ }),
|
|
2723
|
+
/* 75 */
|
|
2813
2724
|
/***/ (function(module, exports) {
|
|
2814
2725
|
|
|
2815
2726
|
module.exports = require("@splunk/charting-bundle");
|
|
2816
2727
|
|
|
2817
2728
|
/***/ }),
|
|
2818
|
-
/*
|
|
2729
|
+
/* 76 */
|
|
2819
2730
|
/***/ (function(module, exports) {
|
|
2820
2731
|
|
|
2821
2732
|
module.exports = require("@splunk/themes/useSplunkTheme");
|
|
2822
2733
|
|
|
2823
2734
|
/***/ }),
|
|
2824
|
-
/*
|
|
2735
|
+
/* 77 */
|
|
2825
2736
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2826
2737
|
|
|
2827
2738
|
"use strict";
|
|
2828
2739
|
|
|
2829
2740
|
|
|
2830
|
-
var _toConsumableArray = __webpack_require__(
|
|
2741
|
+
var _toConsumableArray = __webpack_require__(6);
|
|
2831
2742
|
|
|
2832
2743
|
var __rest = this && this.__rest || function (s, e) {
|
|
2833
2744
|
var t = {};
|
|
@@ -2847,7 +2758,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2847
2758
|
});
|
|
2848
2759
|
exports.shouldEnableSearchZoom = exports.constructFieldsAndColumns = exports.toArrayForSeries = exports.isMultiSeriesData = exports.convertOverlayFields = exports.convertY2AxisOptions = exports.mapToValues = exports.truncateData = exports.getAnnotations = void 0;
|
|
2849
2760
|
|
|
2850
|
-
var lodash_1 = __webpack_require__(
|
|
2761
|
+
var lodash_1 = __webpack_require__(2);
|
|
2851
2762
|
/**
|
|
2852
2763
|
* Get formatted annotations
|
|
2853
2764
|
* @method getAnnotations
|
|
@@ -3058,14 +2969,13 @@ var shouldEnableSearchZoom = function shouldEnableSearchZoom() {
|
|
|
3058
2969
|
exports.shouldEnableSearchZoom = shouldEnableSearchZoom;
|
|
3059
2970
|
|
|
3060
2971
|
/***/ }),
|
|
2972
|
+
/* 78 */,
|
|
2973
|
+
/* 79 */,
|
|
3061
2974
|
/* 80 */,
|
|
3062
2975
|
/* 81 */,
|
|
3063
2976
|
/* 82 */,
|
|
3064
2977
|
/* 83 */,
|
|
3065
|
-
/* 84
|
|
3066
|
-
/* 85 */,
|
|
3067
|
-
/* 86 */,
|
|
3068
|
-
/* 87 */
|
|
2978
|
+
/* 84 */
|
|
3069
2979
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3070
2980
|
|
|
3071
2981
|
"use strict";
|
|
@@ -3077,42 +2987,42 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3077
2987
|
exports.updateRowPayload = exports.canUpdateInPlace = exports.changedOptions = exports.NO_INPLACE_PROPS = void 0;
|
|
3078
2988
|
/* eslint-disable react/no-unused-prop-types */
|
|
3079
2989
|
|
|
3080
|
-
var lodash_1 = __webpack_require__(
|
|
2990
|
+
var lodash_1 = __webpack_require__(2);
|
|
3081
2991
|
|
|
3082
|
-
var i18n_1 = __webpack_require__(
|
|
2992
|
+
var i18n_1 = __webpack_require__(3);
|
|
3083
2993
|
|
|
3084
|
-
var visualization_color_palettes_1 = __webpack_require__(
|
|
2994
|
+
var visualization_color_palettes_1 = __webpack_require__(74);
|
|
3085
2995
|
|
|
3086
|
-
var react_1 = __webpack_require__(
|
|
2996
|
+
var react_1 = __webpack_require__(1);
|
|
3087
2997
|
|
|
3088
|
-
var React = __webpack_require__(
|
|
2998
|
+
var React = __webpack_require__(1);
|
|
3089
2999
|
|
|
3090
|
-
var T = __webpack_require__(
|
|
3000
|
+
var T = __webpack_require__(0);
|
|
3091
3001
|
|
|
3092
|
-
var react_event_listener_1 = __webpack_require__(
|
|
3002
|
+
var react_event_listener_1 = __webpack_require__(85);
|
|
3093
3003
|
|
|
3094
|
-
__webpack_require__(
|
|
3004
|
+
__webpack_require__(86); // fixme, @splunk/charting should be refactor to use locale & timezone instead of i18n functions
|
|
3095
3005
|
|
|
3096
3006
|
|
|
3097
|
-
var charting_bundle_1 = __webpack_require__(
|
|
3007
|
+
var charting_bundle_1 = __webpack_require__(75);
|
|
3098
3008
|
|
|
3099
|
-
var TimezoneContext_1 = __webpack_require__(
|
|
3009
|
+
var TimezoneContext_1 = __webpack_require__(31);
|
|
3100
3010
|
|
|
3101
3011
|
var style_1 = __webpack_require__(18);
|
|
3102
3012
|
|
|
3103
3013
|
var styled_components_1 = __webpack_require__(4);
|
|
3104
3014
|
|
|
3105
|
-
var Message_1 = __webpack_require__(
|
|
3015
|
+
var Message_1 = __webpack_require__(11);
|
|
3106
3016
|
|
|
3107
|
-
var useSplunkTheme_1 = __webpack_require__(
|
|
3017
|
+
var useSplunkTheme_1 = __webpack_require__(76);
|
|
3108
3018
|
|
|
3109
|
-
var themeUtils_1 = __webpack_require__(
|
|
3019
|
+
var themeUtils_1 = __webpack_require__(87);
|
|
3110
3020
|
|
|
3111
|
-
var ChartingApi_1 = __webpack_require__(
|
|
3021
|
+
var ChartingApi_1 = __webpack_require__(88);
|
|
3112
3022
|
|
|
3113
|
-
var usePrevious_1 = __webpack_require__(
|
|
3023
|
+
var usePrevious_1 = __webpack_require__(32);
|
|
3114
3024
|
|
|
3115
|
-
var useEventCallback_1 = __webpack_require__(
|
|
3025
|
+
var useEventCallback_1 = __webpack_require__(89);
|
|
3116
3026
|
|
|
3117
3027
|
var dataUtils_1 = __webpack_require__(14);
|
|
3118
3028
|
|
|
@@ -3239,8 +3149,7 @@ var Charting = function Charting(props) {
|
|
|
3239
3149
|
onEventTrigger = props.onEventTrigger,
|
|
3240
3150
|
originalDataSources = props.originalDataSources,
|
|
3241
3151
|
onDownsamplingThresholdChange = props.onDownsamplingThresholdChange,
|
|
3242
|
-
xField = props.xField
|
|
3243
|
-
y2Fields = props.y2Fields;
|
|
3152
|
+
xField = props.xField;
|
|
3244
3153
|
var prevOptions = (0, usePrevious_1.default)(options);
|
|
3245
3154
|
var prevTimezone = (0, usePrevious_1.default)(timezone);
|
|
3246
3155
|
|
|
@@ -3283,14 +3192,13 @@ var Charting = function Charting(props) {
|
|
|
3283
3192
|
dataSources: originalDataSources,
|
|
3284
3193
|
width: Number(width),
|
|
3285
3194
|
selectChartEvent: selectChartEvent.current,
|
|
3286
|
-
xField: xField
|
|
3287
|
-
y2Fields: y2Fields
|
|
3195
|
+
xField: xField
|
|
3288
3196
|
});
|
|
3289
3197
|
|
|
3290
3198
|
if (Number.isFinite(newThreshold)) {
|
|
3291
3199
|
onDownsamplingThresholdChange(newThreshold);
|
|
3292
3200
|
}
|
|
3293
|
-
}, [enableSearchZoom, originalDataSources, onDownsamplingThresholdChange, width, xField
|
|
3201
|
+
}, [enableSearchZoom, originalDataSources, onDownsamplingThresholdChange, width, xField]);
|
|
3294
3202
|
React.useEffect(function () {
|
|
3295
3203
|
recalculateDownsamplingThreshold();
|
|
3296
3204
|
}, [recalculateDownsamplingThreshold]); // useEventCallback is used for these handlers to make sure that they are a stable reference and
|
|
@@ -3528,33 +3436,33 @@ var withEmptyChartMessage = function withEmptyChartMessage(Chart) {
|
|
|
3528
3436
|
exports.default = withEmptyChartMessage(Charting);
|
|
3529
3437
|
|
|
3530
3438
|
/***/ }),
|
|
3531
|
-
/*
|
|
3439
|
+
/* 85 */
|
|
3532
3440
|
/***/ (function(module, exports) {
|
|
3533
3441
|
|
|
3534
3442
|
module.exports = require("react-event-listener");
|
|
3535
3443
|
|
|
3536
3444
|
/***/ }),
|
|
3537
|
-
/*
|
|
3445
|
+
/* 86 */
|
|
3538
3446
|
/***/ (function(module, exports) {
|
|
3539
3447
|
|
|
3540
3448
|
module.exports = require("@splunk/visualizations-shared/i18n");
|
|
3541
3449
|
|
|
3542
3450
|
/***/ }),
|
|
3543
|
-
/*
|
|
3451
|
+
/* 87 */
|
|
3544
3452
|
/***/ (function(module, exports) {
|
|
3545
3453
|
|
|
3546
3454
|
module.exports = require("@splunk/visualizations-shared/themeUtils");
|
|
3547
3455
|
|
|
3548
3456
|
/***/ }),
|
|
3549
|
-
/*
|
|
3457
|
+
/* 88 */
|
|
3550
3458
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3551
3459
|
|
|
3552
3460
|
"use strict";
|
|
3553
3461
|
|
|
3554
3462
|
|
|
3555
|
-
var _classCallCheck = __webpack_require__(
|
|
3463
|
+
var _classCallCheck = __webpack_require__(8);
|
|
3556
3464
|
|
|
3557
|
-
var _createClass = __webpack_require__(
|
|
3465
|
+
var _createClass = __webpack_require__(24);
|
|
3558
3466
|
|
|
3559
3467
|
Object.defineProperty(exports, "__esModule", {
|
|
3560
3468
|
value: true
|
|
@@ -3614,7 +3522,7 @@ var ChartingApiFunctional = /*#__PURE__*/function () {
|
|
|
3614
3522
|
exports.ChartingApiFunctional = ChartingApiFunctional;
|
|
3615
3523
|
|
|
3616
3524
|
/***/ }),
|
|
3617
|
-
/*
|
|
3525
|
+
/* 89 */
|
|
3618
3526
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3619
3527
|
|
|
3620
3528
|
"use strict";
|
|
@@ -3624,7 +3532,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3624
3532
|
value: true
|
|
3625
3533
|
});
|
|
3626
3534
|
|
|
3627
|
-
var react_1 = __webpack_require__(
|
|
3535
|
+
var react_1 = __webpack_require__(1);
|
|
3628
3536
|
|
|
3629
3537
|
var useEventCallback = function useEventCallback(fn) {
|
|
3630
3538
|
var ref = (0, react_1.useRef)(fn);
|
|
@@ -3639,31 +3547,31 @@ var useEventCallback = function useEventCallback(fn) {
|
|
|
3639
3547
|
exports.default = useEventCallback;
|
|
3640
3548
|
|
|
3641
3549
|
/***/ }),
|
|
3642
|
-
/*
|
|
3550
|
+
/* 90 */
|
|
3643
3551
|
/***/ (function(module, exports) {
|
|
3644
3552
|
|
|
3645
3553
|
module.exports = require("@splunk/visualizations-shared/simpleXMLOptions");
|
|
3646
3554
|
|
|
3647
3555
|
/***/ }),
|
|
3648
|
-
/*
|
|
3649
|
-
/*
|
|
3650
|
-
/*
|
|
3651
|
-
/*
|
|
3556
|
+
/* 91 */,
|
|
3557
|
+
/* 92 */,
|
|
3558
|
+
/* 93 */,
|
|
3559
|
+
/* 94 */
|
|
3652
3560
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3653
3561
|
|
|
3654
3562
|
"use strict";
|
|
3655
3563
|
|
|
3656
3564
|
|
|
3657
|
-
var _toConsumableArray = __webpack_require__(
|
|
3565
|
+
var _toConsumableArray = __webpack_require__(6);
|
|
3658
3566
|
|
|
3659
3567
|
Object.defineProperty(exports, "__esModule", {
|
|
3660
3568
|
value: true
|
|
3661
3569
|
});
|
|
3662
3570
|
exports.AxesChartDataConfigAreaColumnLine = exports.AxesChartDataConfigBubble = exports.AxesChartDataConfigScatter = exports.AxesChartDataConfigBar = void 0;
|
|
3663
3571
|
|
|
3664
|
-
var i18n_1 = __webpack_require__(
|
|
3572
|
+
var i18n_1 = __webpack_require__(3);
|
|
3665
3573
|
|
|
3666
|
-
var configUtils_1 = __webpack_require__(
|
|
3574
|
+
var configUtils_1 = __webpack_require__(26);
|
|
3667
3575
|
|
|
3668
3576
|
var AxesChartDataConfig = {
|
|
3669
3577
|
label: (0, i18n_1._)('Data configurations'),
|
|
@@ -3788,7 +3696,7 @@ exports.AxesChartDataConfigAreaColumnLine = {
|
|
|
3788
3696
|
exports.default = AxesChartDataConfig;
|
|
3789
3697
|
|
|
3790
3698
|
/***/ }),
|
|
3791
|
-
/*
|
|
3699
|
+
/* 95 */
|
|
3792
3700
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3793
3701
|
|
|
3794
3702
|
"use strict";
|
|
@@ -3798,13 +3706,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3798
3706
|
value: true
|
|
3799
3707
|
});
|
|
3800
3708
|
|
|
3801
|
-
var i18n_1 = __webpack_require__(
|
|
3709
|
+
var i18n_1 = __webpack_require__(3);
|
|
3802
3710
|
|
|
3803
|
-
var pick_1 = __webpack_require__(
|
|
3711
|
+
var pick_1 = __webpack_require__(29);
|
|
3804
3712
|
|
|
3805
3713
|
var variables_1 = __webpack_require__(13);
|
|
3806
3714
|
|
|
3807
|
-
var BackgroundColor_1 = __webpack_require__(
|
|
3715
|
+
var BackgroundColor_1 = __webpack_require__(72);
|
|
3808
3716
|
|
|
3809
3717
|
var themes = {
|
|
3810
3718
|
defaultBackgroundColor: function defaultBackgroundColor(props) {
|
|
@@ -3834,7 +3742,7 @@ var AxesChartColorAndStyle = {
|
|
|
3834
3742
|
exports.default = AxesChartColorAndStyle;
|
|
3835
3743
|
|
|
3836
3744
|
/***/ }),
|
|
3837
|
-
/*
|
|
3745
|
+
/* 96 */
|
|
3838
3746
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3839
3747
|
|
|
3840
3748
|
"use strict";
|
|
@@ -3844,7 +3752,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3844
3752
|
value: true
|
|
3845
3753
|
});
|
|
3846
3754
|
|
|
3847
|
-
var i18n_1 = __webpack_require__(
|
|
3755
|
+
var i18n_1 = __webpack_require__(3);
|
|
3848
3756
|
|
|
3849
3757
|
var AxesChartLegend = {
|
|
3850
3758
|
label: (0, i18n_1._)('Legend'),
|
|
@@ -3898,22 +3806,22 @@ var AxesChartLegend = {
|
|
|
3898
3806
|
exports.default = AxesChartLegend;
|
|
3899
3807
|
|
|
3900
3808
|
/***/ }),
|
|
3901
|
-
/*
|
|
3809
|
+
/* 97 */
|
|
3902
3810
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3903
3811
|
|
|
3904
3812
|
"use strict";
|
|
3905
3813
|
|
|
3906
3814
|
|
|
3907
|
-
var _toConsumableArray = __webpack_require__(
|
|
3815
|
+
var _toConsumableArray = __webpack_require__(6);
|
|
3908
3816
|
|
|
3909
3817
|
Object.defineProperty(exports, "__esModule", {
|
|
3910
3818
|
value: true
|
|
3911
3819
|
});
|
|
3912
3820
|
exports.AxesChartXGridAndLabelsBubbleScatter = exports.AxesChartXGridAndLabelsCommon = void 0;
|
|
3913
3821
|
|
|
3914
|
-
var i18n_1 = __webpack_require__(
|
|
3822
|
+
var i18n_1 = __webpack_require__(3);
|
|
3915
3823
|
|
|
3916
|
-
var configUtils_1 = __webpack_require__(
|
|
3824
|
+
var configUtils_1 = __webpack_require__(26);
|
|
3917
3825
|
|
|
3918
3826
|
exports.AxesChartXGridAndLabelsCommon = {
|
|
3919
3827
|
label: (0, i18n_1._)('X-axis grid and labels'),
|
|
@@ -4186,7 +4094,7 @@ exports.AxesChartXGridAndLabelsBubbleScatter = {
|
|
|
4186
4094
|
exports.default = AxesChartXGridAndLabels;
|
|
4187
4095
|
|
|
4188
4096
|
/***/ }),
|
|
4189
|
-
/*
|
|
4097
|
+
/* 98 */
|
|
4190
4098
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4191
4099
|
|
|
4192
4100
|
"use strict";
|
|
@@ -4196,7 +4104,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4196
4104
|
value: true
|
|
4197
4105
|
});
|
|
4198
4106
|
|
|
4199
|
-
var i18n_1 = __webpack_require__(
|
|
4107
|
+
var i18n_1 = __webpack_require__(3);
|
|
4200
4108
|
|
|
4201
4109
|
var AxesChartYGridAndLabels = {
|
|
4202
4110
|
label: (0, i18n_1._)('Y-axis grid and labels'),
|
|
@@ -4348,6 +4256,9 @@ var AxesChartYGridAndLabels = {
|
|
|
4348
4256
|
exports.default = AxesChartYGridAndLabels;
|
|
4349
4257
|
|
|
4350
4258
|
/***/ }),
|
|
4259
|
+
/* 99 */,
|
|
4260
|
+
/* 100 */,
|
|
4261
|
+
/* 101 */,
|
|
4351
4262
|
/* 102 */,
|
|
4352
4263
|
/* 103 */,
|
|
4353
4264
|
/* 104 */,
|
|
@@ -4355,27 +4266,24 @@ exports.default = AxesChartYGridAndLabels;
|
|
|
4355
4266
|
/* 106 */,
|
|
4356
4267
|
/* 107 */,
|
|
4357
4268
|
/* 108 */,
|
|
4358
|
-
/* 109
|
|
4359
|
-
/* 110 */,
|
|
4360
|
-
/* 111 */,
|
|
4361
|
-
/* 112 */
|
|
4269
|
+
/* 109 */
|
|
4362
4270
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4363
4271
|
|
|
4364
4272
|
"use strict";
|
|
4365
4273
|
|
|
4366
4274
|
|
|
4367
|
-
var _toConsumableArray = __webpack_require__(
|
|
4275
|
+
var _toConsumableArray = __webpack_require__(6);
|
|
4368
4276
|
|
|
4369
4277
|
Object.defineProperty(exports, "__esModule", {
|
|
4370
4278
|
value: true
|
|
4371
4279
|
});
|
|
4372
4280
|
exports.AxesChartDataDisplayColumn = exports.AxesChartDataDisplayBar = exports.AxesChartDataDisplayLine = void 0;
|
|
4373
4281
|
|
|
4374
|
-
var i18n_1 = __webpack_require__(
|
|
4282
|
+
var i18n_1 = __webpack_require__(3);
|
|
4375
4283
|
|
|
4376
|
-
var lodash_1 = __webpack_require__(
|
|
4284
|
+
var lodash_1 = __webpack_require__(2);
|
|
4377
4285
|
|
|
4378
|
-
var configUtils_1 = __webpack_require__(
|
|
4286
|
+
var configUtils_1 = __webpack_require__(26);
|
|
4379
4287
|
|
|
4380
4288
|
exports.AxesChartDataDisplayLine = {
|
|
4381
4289
|
label: (0, i18n_1._)('Data display'),
|
|
@@ -4496,7 +4404,7 @@ exports.AxesChartDataDisplayColumn = {
|
|
|
4496
4404
|
exports.default = AxesChartDataDisplay;
|
|
4497
4405
|
|
|
4498
4406
|
/***/ }),
|
|
4499
|
-
/*
|
|
4407
|
+
/* 110 */
|
|
4500
4408
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4501
4409
|
|
|
4502
4410
|
"use strict";
|
|
@@ -4506,7 +4414,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4506
4414
|
value: true
|
|
4507
4415
|
});
|
|
4508
4416
|
|
|
4509
|
-
var i18n_1 = __webpack_require__(
|
|
4417
|
+
var i18n_1 = __webpack_require__(3);
|
|
4510
4418
|
|
|
4511
4419
|
var axesChartY2GridAndLabels = {
|
|
4512
4420
|
label: (0, i18n_1._)('Y2-axis grid and labels'),
|
|
@@ -4670,6 +4578,9 @@ var axesChartY2GridAndLabels = {
|
|
|
4670
4578
|
exports.default = axesChartY2GridAndLabels;
|
|
4671
4579
|
|
|
4672
4580
|
/***/ }),
|
|
4581
|
+
/* 111 */,
|
|
4582
|
+
/* 112 */,
|
|
4583
|
+
/* 113 */,
|
|
4673
4584
|
/* 114 */,
|
|
4674
4585
|
/* 115 */,
|
|
4675
4586
|
/* 116 */,
|
|
@@ -4728,12 +4639,7 @@ exports.default = axesChartY2GridAndLabels;
|
|
|
4728
4639
|
/* 169 */,
|
|
4729
4640
|
/* 170 */,
|
|
4730
4641
|
/* 171 */,
|
|
4731
|
-
/* 172
|
|
4732
|
-
/* 173 */,
|
|
4733
|
-
/* 174 */,
|
|
4734
|
-
/* 175 */,
|
|
4735
|
-
/* 176 */,
|
|
4736
|
-
/* 177 */
|
|
4642
|
+
/* 172 */
|
|
4737
4643
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4738
4644
|
|
|
4739
4645
|
"use strict";
|
|
@@ -4757,20 +4663,20 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4757
4663
|
});
|
|
4758
4664
|
exports.config = exports.themes = exports.computeVizProps = void 0; // Charting imports i18n which needs to be run to instantiate window globals in the tests
|
|
4759
4665
|
|
|
4760
|
-
var Charting_1 = __webpack_require__(
|
|
4666
|
+
var Charting_1 = __webpack_require__(84); // eslint-disable-next-line import/order
|
|
4761
4667
|
|
|
4762
4668
|
|
|
4763
|
-
var charting_bundle_1 = __webpack_require__(
|
|
4669
|
+
var charting_bundle_1 = __webpack_require__(75);
|
|
4764
4670
|
|
|
4765
|
-
var config_1 = __webpack_require__(
|
|
4671
|
+
var config_1 = __webpack_require__(173);
|
|
4766
4672
|
|
|
4767
4673
|
exports.config = config_1.default;
|
|
4768
4674
|
|
|
4769
|
-
var withDashboardViz_1 = __webpack_require__(
|
|
4675
|
+
var withDashboardViz_1 = __webpack_require__(54);
|
|
4770
4676
|
|
|
4771
|
-
var chartingUtils_1 = __webpack_require__(
|
|
4677
|
+
var chartingUtils_1 = __webpack_require__(77);
|
|
4772
4678
|
|
|
4773
|
-
var lineUtils_1 = __webpack_require__(
|
|
4679
|
+
var lineUtils_1 = __webpack_require__(241);
|
|
4774
4680
|
|
|
4775
4681
|
var computeVizProps = function computeVizProps(_a) {
|
|
4776
4682
|
var dataSources = _a.dataSources,
|
|
@@ -4848,51 +4754,49 @@ exports.themes = themes;
|
|
|
4848
4754
|
exports.default = Line;
|
|
4849
4755
|
|
|
4850
4756
|
/***/ }),
|
|
4851
|
-
/*
|
|
4757
|
+
/* 173 */
|
|
4852
4758
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4853
4759
|
|
|
4854
4760
|
"use strict";
|
|
4855
4761
|
|
|
4856
4762
|
|
|
4857
|
-
var _toConsumableArray = __webpack_require__(
|
|
4763
|
+
var _toConsumableArray = __webpack_require__(6);
|
|
4858
4764
|
|
|
4859
4765
|
Object.defineProperty(exports, "__esModule", {
|
|
4860
4766
|
value: true
|
|
4861
4767
|
});
|
|
4862
4768
|
|
|
4863
|
-
var
|
|
4769
|
+
var visualization_schemas_1 = __webpack_require__(9);
|
|
4864
4770
|
|
|
4865
|
-
var
|
|
4771
|
+
var visualization_icons_1 = __webpack_require__(71);
|
|
4866
4772
|
|
|
4867
|
-
var
|
|
4773
|
+
var placeholders_1 = __webpack_require__(70);
|
|
4868
4774
|
|
|
4869
|
-
var
|
|
4775
|
+
var i18n_1 = __webpack_require__(3);
|
|
4870
4776
|
|
|
4871
|
-
var
|
|
4872
|
-
|
|
4873
|
-
var pick_1 = __webpack_require__(30);
|
|
4777
|
+
var pick_1 = __webpack_require__(29);
|
|
4874
4778
|
|
|
4875
4779
|
var variables_1 = __webpack_require__(13);
|
|
4876
4780
|
|
|
4877
|
-
var AxesChartDataConfig_1 = __webpack_require__(
|
|
4781
|
+
var AxesChartDataConfig_1 = __webpack_require__(94);
|
|
4878
4782
|
|
|
4879
|
-
var AxesChartDataDisplay_1 = __webpack_require__(
|
|
4783
|
+
var AxesChartDataDisplay_1 = __webpack_require__(109);
|
|
4880
4784
|
|
|
4881
|
-
var AxesChartColorAndStyle_1 = __webpack_require__(
|
|
4785
|
+
var AxesChartColorAndStyle_1 = __webpack_require__(95);
|
|
4882
4786
|
|
|
4883
|
-
var AxesChartLegend_1 = __webpack_require__(
|
|
4787
|
+
var AxesChartLegend_1 = __webpack_require__(96);
|
|
4884
4788
|
|
|
4885
|
-
var AxesChartXGridAndLabels_1 = __webpack_require__(
|
|
4789
|
+
var AxesChartXGridAndLabels_1 = __webpack_require__(97);
|
|
4886
4790
|
|
|
4887
|
-
var AxesChartYGridAndLabels_1 = __webpack_require__(
|
|
4791
|
+
var AxesChartYGridAndLabels_1 = __webpack_require__(98);
|
|
4888
4792
|
|
|
4889
|
-
var AxesChartY2GridAndLabels_1 = __webpack_require__(
|
|
4793
|
+
var AxesChartY2GridAndLabels_1 = __webpack_require__(110);
|
|
4890
4794
|
|
|
4891
|
-
var VizBehavior_1 = __webpack_require__(
|
|
4795
|
+
var VizBehavior_1 = __webpack_require__(7);
|
|
4892
4796
|
|
|
4893
4797
|
var VizCategory_1 = __webpack_require__(22);
|
|
4894
4798
|
|
|
4895
|
-
var configUtils_1 = __webpack_require__(
|
|
4799
|
+
var configUtils_1 = __webpack_require__(26);
|
|
4896
4800
|
|
|
4897
4801
|
var dataContract = {
|
|
4898
4802
|
requiredDataSources: [{
|
|
@@ -4919,426 +4823,6 @@ var size = {
|
|
|
4919
4823
|
initialHeight: 300
|
|
4920
4824
|
};
|
|
4921
4825
|
var defaultContext = {};
|
|
4922
|
-
var optionsSchema = {
|
|
4923
|
-
x: {
|
|
4924
|
-
default: '> primary | seriesByIndex(0)',
|
|
4925
|
-
description: 'Specify the dataSource applied to the x-axis.',
|
|
4926
|
-
type: 'array',
|
|
4927
|
-
items: {
|
|
4928
|
-
type: ['string', 'number']
|
|
4929
|
-
}
|
|
4930
|
-
},
|
|
4931
|
-
y: {
|
|
4932
|
-
default: '> primary | frameBySeriesIndexRange(1)',
|
|
4933
|
-
description: 'Specify the dataSource applied to the y-axis.',
|
|
4934
|
-
type: 'array',
|
|
4935
|
-
items: {
|
|
4936
|
-
type: ['string', 'number']
|
|
4937
|
-
}
|
|
4938
|
-
},
|
|
4939
|
-
y2: {
|
|
4940
|
-
description: 'Specify the dataSource applied to the y2-axis',
|
|
4941
|
-
type: 'array',
|
|
4942
|
-
items: {
|
|
4943
|
-
type: ['string', 'number']
|
|
4944
|
-
}
|
|
4945
|
-
},
|
|
4946
|
-
xField: {
|
|
4947
|
-
default: '> x | getField()',
|
|
4948
|
-
description: 'Specify the field that should be mapped to the x-axis.',
|
|
4949
|
-
type: 'string'
|
|
4950
|
-
},
|
|
4951
|
-
yFields: {
|
|
4952
|
-
default: '> y | getField()',
|
|
4953
|
-
description: 'Specify the field that should be mapped to the y-axis.',
|
|
4954
|
-
type: 'string'
|
|
4955
|
-
},
|
|
4956
|
-
annotationColor: {
|
|
4957
|
-
description: "Specify the annotation colors. You may use a dataSource to apply the color. For example, [\u201C#FF0000\u201D, \u201C#0000FF\", \u201C#008000\u201D].",
|
|
4958
|
-
type: 'array',
|
|
4959
|
-
items: {
|
|
4960
|
-
type: 'string'
|
|
4961
|
-
}
|
|
4962
|
-
},
|
|
4963
|
-
annotationLabel: {
|
|
4964
|
-
description: "Specify a list of labels used for the annotations. You may use a dataSource to apply the labels. For example, [\u201Chouston, we have a problem\u201D, \u201Cjust close the jira\u201D, \u201Clooking good now\u201D].",
|
|
4965
|
-
type: 'array',
|
|
4966
|
-
items: {
|
|
4967
|
-
type: 'string'
|
|
4968
|
-
}
|
|
4969
|
-
},
|
|
4970
|
-
annotationX: {
|
|
4971
|
-
description: 'Specify the dataSource field applied to the event annotation on the x-axis.',
|
|
4972
|
-
type: 'array',
|
|
4973
|
-
items: {
|
|
4974
|
-
type: ['string', 'number']
|
|
4975
|
-
}
|
|
4976
|
-
},
|
|
4977
|
-
backgroundColor: {
|
|
4978
|
-
default: '> themes.defaultBackgroundColor',
|
|
4979
|
-
description: 'Specify the color for the background. You may use a dataSource to apply the color. The default for enterprise light is "#ffffff". The default for enterprise dark is "#000000". The default for prisma dark is "#0b0c0e".',
|
|
4980
|
-
pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA,
|
|
4981
|
-
type: 'string'
|
|
4982
|
-
},
|
|
4983
|
-
dataValuesDisplay: {
|
|
4984
|
-
default: 'off',
|
|
4985
|
-
description: 'Specify whether chart should display no labels, all labels, or only the min and max labels.',
|
|
4986
|
-
pattern: (0, schemaUtils_1.getPattern)(['off', 'all', 'minmax']),
|
|
4987
|
-
type: 'string'
|
|
4988
|
-
},
|
|
4989
|
-
legendDisplay: {
|
|
4990
|
-
default: 'right',
|
|
4991
|
-
description: 'Specify the location of the legend on the panel. You must select the Standard legend mode to make this change.',
|
|
4992
|
-
pattern: (0, schemaUtils_1.getPattern)(['right', 'left', 'top', 'bottom', 'off']),
|
|
4993
|
-
type: 'string'
|
|
4994
|
-
},
|
|
4995
|
-
legendLabels: {
|
|
4996
|
-
description: "Specify a list of labels to pre-populate the legend. For example, [\"percent\", \"count\"].",
|
|
4997
|
-
type: 'array',
|
|
4998
|
-
items: {
|
|
4999
|
-
type: 'string'
|
|
5000
|
-
}
|
|
5001
|
-
},
|
|
5002
|
-
legendMode: {
|
|
5003
|
-
default: 'standard',
|
|
5004
|
-
description: 'Specify visual and behavioral settings for the tooltip and legend. "seriesCompare" is useful when comparing series.',
|
|
5005
|
-
pattern: (0, schemaUtils_1.getPattern)(['standard', 'seriesCompare']),
|
|
5006
|
-
type: 'string'
|
|
5007
|
-
},
|
|
5008
|
-
legendTruncation: {
|
|
5009
|
-
default: 'ellipsisEnd',
|
|
5010
|
-
description: 'Specify how to display legend labels when they overflow the layout boundaries by replacing overflow text with an ellipsis.',
|
|
5011
|
-
pattern: (0, schemaUtils_1.getPattern)(['ellipsisEnd', 'ellipsisMiddle', 'ellipsisStart', 'ellipsisOff']),
|
|
5012
|
-
type: 'string'
|
|
5013
|
-
},
|
|
5014
|
-
lineDashStyle: {
|
|
5015
|
-
default: 'solid',
|
|
5016
|
-
description: 'Specify a dash style for all line series in the chart.',
|
|
5017
|
-
pattern: (0, schemaUtils_1.getPattern)(['solid', 'shortDash', 'shortDot', 'shortDashDot', 'shortDashDotDot', 'dot', 'dash', 'longDash', 'dashDot', 'longDashDot', 'longDashDotDot']),
|
|
5018
|
-
type: 'string'
|
|
5019
|
-
},
|
|
5020
|
-
lineDashStylesByField: {
|
|
5021
|
-
description: "Specify a dash style to use for each field. For example, {\"count\": \"longDashDot\", \"percent\": \"longDashDotDot\"}.\n Valid values: \"solid\", \"shortDash\", \"shortDot\", \"shortDashDot\", \"shortDashDotDot\", \"dot\", \"dash\",\n \"longDash\", \"dashDot\", \"longDashDot\", \"longDashDotDot\".",
|
|
5022
|
-
type: 'object'
|
|
5023
|
-
},
|
|
5024
|
-
lineWidth: {
|
|
5025
|
-
default: 2,
|
|
5026
|
-
description: 'Specify the line width (px), for all line series.',
|
|
5027
|
-
type: 'number'
|
|
5028
|
-
},
|
|
5029
|
-
markerDisplay: {
|
|
5030
|
-
default: 'off',
|
|
5031
|
-
description: "Specify the marker display style for data points.",
|
|
5032
|
-
pattern: (0, schemaUtils_1.getPattern)(['off', 'filled', 'outlined']),
|
|
5033
|
-
enum: ['off', 'filled', 'outlined'],
|
|
5034
|
-
type: 'string'
|
|
5035
|
-
},
|
|
5036
|
-
nullValueDisplay: {
|
|
5037
|
-
default: 'gaps',
|
|
5038
|
-
description: 'Specify how area and line charts handle null values.',
|
|
5039
|
-
pattern: (0, schemaUtils_1.getPattern)(['gaps', 'zero', 'connect']),
|
|
5040
|
-
type: 'string'
|
|
5041
|
-
},
|
|
5042
|
-
resultLimit: {
|
|
5043
|
-
default: 50000,
|
|
5044
|
-
description: 'Specify the number of data points rendered in a chart.',
|
|
5045
|
-
type: 'number'
|
|
5046
|
-
},
|
|
5047
|
-
seriesColors: {
|
|
5048
|
-
default: visualization_color_palettes_1.VIZ_CATEGORICAL,
|
|
5049
|
-
description: 'Specify the colors used for a series. For example, ["#FF0000", "#0000FF", "#008000"].',
|
|
5050
|
-
type: 'array',
|
|
5051
|
-
items: {
|
|
5052
|
-
type: 'string'
|
|
5053
|
-
}
|
|
5054
|
-
},
|
|
5055
|
-
seriesColorsByField: {
|
|
5056
|
-
description: 'Specify the colors used for specific fields in a series. For example, {“count”: “#008000”, “percent”: “#FFA500”}.',
|
|
5057
|
-
type: 'object'
|
|
5058
|
-
},
|
|
5059
|
-
showLineSmoothing: {
|
|
5060
|
-
default: false,
|
|
5061
|
-
description: 'Specify whether lines are straight or smoothed using curves.',
|
|
5062
|
-
type: 'boolean'
|
|
5063
|
-
},
|
|
5064
|
-
showIndependentYRanges: {
|
|
5065
|
-
default: false,
|
|
5066
|
-
description: 'Specify whether split series charts have independent y-ranges.',
|
|
5067
|
-
type: 'boolean'
|
|
5068
|
-
},
|
|
5069
|
-
showSplitSeries: {
|
|
5070
|
-
default: false,
|
|
5071
|
-
description: 'Set to "true" to split a multi-series chart into separate charts that are stacked from top to bottom; one for each series.',
|
|
5072
|
-
type: 'boolean'
|
|
5073
|
-
},
|
|
5074
|
-
showXMajorGridLines: {
|
|
5075
|
-
default: false,
|
|
5076
|
-
description: 'Specify whether major grid lines are visible on the x-axis.',
|
|
5077
|
-
type: 'boolean'
|
|
5078
|
-
},
|
|
5079
|
-
showYMajorGridLines: {
|
|
5080
|
-
default: true,
|
|
5081
|
-
description: 'Specify whether major grid lines are visible on the y-axis.',
|
|
5082
|
-
type: 'boolean'
|
|
5083
|
-
},
|
|
5084
|
-
showY2MajorGridLines: {
|
|
5085
|
-
default: false,
|
|
5086
|
-
description: 'Specify whether major grid lines are visible on the y2-axis.',
|
|
5087
|
-
type: 'boolean'
|
|
5088
|
-
},
|
|
5089
|
-
showYMinorGridLines: {
|
|
5090
|
-
default: false,
|
|
5091
|
-
description: 'Specify whether minor grid lines are visible on the y-axis.',
|
|
5092
|
-
type: 'boolean'
|
|
5093
|
-
},
|
|
5094
|
-
showY2MinorGridLines: {
|
|
5095
|
-
default: false,
|
|
5096
|
-
description: 'Specify whether minor grid lines are visible on y2-axis.',
|
|
5097
|
-
type: 'boolean'
|
|
5098
|
-
},
|
|
5099
|
-
showYAxisExtendedRange: {
|
|
5100
|
-
default: true,
|
|
5101
|
-
description: 'Specify whether the y-axis should be extended to include whole major tick marks.',
|
|
5102
|
-
type: 'boolean'
|
|
5103
|
-
},
|
|
5104
|
-
showYAxisWithZero: {
|
|
5105
|
-
default: false,
|
|
5106
|
-
description: 'Specify whether the y-axis range includes zero.',
|
|
5107
|
-
type: 'boolean'
|
|
5108
|
-
},
|
|
5109
|
-
showY2AxisWithZero: {
|
|
5110
|
-
default: false,
|
|
5111
|
-
description: 'Specify whether the y2-axis range includes zero.',
|
|
5112
|
-
type: 'boolean'
|
|
5113
|
-
},
|
|
5114
|
-
xAxisLabelRotation: {
|
|
5115
|
-
default: 0,
|
|
5116
|
-
description: 'Specify the rotation of the x-axis label in degrees.',
|
|
5117
|
-
enum: [-90, -45, 0, 45, 90],
|
|
5118
|
-
type: 'number'
|
|
5119
|
-
},
|
|
5120
|
-
xAxisLabelVisibility: {
|
|
5121
|
-
default: 'auto',
|
|
5122
|
-
description: 'Specify whether to show or hide labels on the x-axis.',
|
|
5123
|
-
pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
|
|
5124
|
-
type: 'string'
|
|
5125
|
-
},
|
|
5126
|
-
yAxisLabelVisibility: {
|
|
5127
|
-
default: 'auto',
|
|
5128
|
-
description: 'Specify whether to show or hide labels on the y-axis.',
|
|
5129
|
-
pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
|
|
5130
|
-
type: 'string'
|
|
5131
|
-
},
|
|
5132
|
-
y2AxisLabelVisibility: {
|
|
5133
|
-
default: 'auto',
|
|
5134
|
-
description: 'Specify whether to show or hide labels on the y2-axis.',
|
|
5135
|
-
pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
|
|
5136
|
-
type: 'string'
|
|
5137
|
-
},
|
|
5138
|
-
xAxisLineVisibility: {
|
|
5139
|
-
default: 'hide',
|
|
5140
|
-
enum: ['hide', 'show'],
|
|
5141
|
-
description: 'Specify whether to show or hide the x-axis line.',
|
|
5142
|
-
pattern: (0, schemaUtils_1.getPattern)(['show', 'hide']),
|
|
5143
|
-
type: 'string'
|
|
5144
|
-
},
|
|
5145
|
-
yAxisLineVisibility: {
|
|
5146
|
-
default: 'hide',
|
|
5147
|
-
description: 'Specify whether to show or hide the y-axis line.',
|
|
5148
|
-
enum: ['hide', 'show'],
|
|
5149
|
-
pattern: (0, schemaUtils_1.getPattern)(['show', 'hide']),
|
|
5150
|
-
type: 'string'
|
|
5151
|
-
},
|
|
5152
|
-
y2AxisLineVisibility: {
|
|
5153
|
-
default: 'hide',
|
|
5154
|
-
description: 'Specify whether to show or hide the y2-axis line.',
|
|
5155
|
-
enum: ['hide', 'show'],
|
|
5156
|
-
pattern: (0, schemaUtils_1.getPattern)(['show', 'hide']),
|
|
5157
|
-
type: 'string'
|
|
5158
|
-
},
|
|
5159
|
-
xAxisMajorTickSize: {
|
|
5160
|
-
default: 6,
|
|
5161
|
-
description: 'Specify the size, in pixels, of major tick marks on the x-axis.',
|
|
5162
|
-
type: 'number'
|
|
5163
|
-
},
|
|
5164
|
-
yAxisMajorTickSize: {
|
|
5165
|
-
default: 6,
|
|
5166
|
-
description: 'Specify the size, in pixels, of major tick marks on the y-axis.',
|
|
5167
|
-
type: 'number'
|
|
5168
|
-
},
|
|
5169
|
-
y2AxisMajorTickSize: {
|
|
5170
|
-
default: 6,
|
|
5171
|
-
description: 'Specify the size, in pixels, of major tick marks on the y2-axis.',
|
|
5172
|
-
type: 'number'
|
|
5173
|
-
},
|
|
5174
|
-
yAxisMinorTickSize: {
|
|
5175
|
-
default: 6,
|
|
5176
|
-
description: 'Specify the size, in pixels, of minor tick marks on the y-axis.',
|
|
5177
|
-
type: 'number'
|
|
5178
|
-
},
|
|
5179
|
-
y2AxisMinorTickSize: {
|
|
5180
|
-
default: 6,
|
|
5181
|
-
description: 'Specify the size, in pixels, of minor tick marks on the y2-axis.',
|
|
5182
|
-
type: 'number'
|
|
5183
|
-
},
|
|
5184
|
-
xAxisMajorTickVisibility: {
|
|
5185
|
-
default: 'auto',
|
|
5186
|
-
description: 'Specify whether to show or hide major tick marks on the x-axis.',
|
|
5187
|
-
pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
|
|
5188
|
-
type: 'string'
|
|
5189
|
-
},
|
|
5190
|
-
yAxisMajorTickVisibility: {
|
|
5191
|
-
default: 'auto',
|
|
5192
|
-
description: 'Specify whether to show or hide major tick marks on the y-axis.',
|
|
5193
|
-
pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
|
|
5194
|
-
type: 'string'
|
|
5195
|
-
},
|
|
5196
|
-
y2AxisMajorTickVisibility: {
|
|
5197
|
-
default: 'auto',
|
|
5198
|
-
description: 'Specify whether to show or hide major tick marks on the y2-axis.',
|
|
5199
|
-
pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
|
|
5200
|
-
type: 'string'
|
|
5201
|
-
},
|
|
5202
|
-
yAxisMinorTickVisibility: {
|
|
5203
|
-
default: 'auto',
|
|
5204
|
-
description: 'Specify whether to show or hide minor tick marks on the y-axis.',
|
|
5205
|
-
pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
|
|
5206
|
-
type: 'string'
|
|
5207
|
-
},
|
|
5208
|
-
y2AxisMinorTickVisibility: {
|
|
5209
|
-
default: 'auto',
|
|
5210
|
-
description: 'Specify whether to show or hide minor tick marks on the y2-axis.',
|
|
5211
|
-
pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
|
|
5212
|
-
type: 'string'
|
|
5213
|
-
},
|
|
5214
|
-
xAxisMaxLabelParts: {
|
|
5215
|
-
default: 3,
|
|
5216
|
-
minimum: 1,
|
|
5217
|
-
maximum: 3,
|
|
5218
|
-
description: 'Specify the maximum number of time-parts for a tick label. The 3 possible parts are year, month, and time. Values can range from 1 to 3.',
|
|
5219
|
-
type: 'number'
|
|
5220
|
-
},
|
|
5221
|
-
xAxisTitleText: {
|
|
5222
|
-
description: 'Specify the title of the x-axis.',
|
|
5223
|
-
type: 'string'
|
|
5224
|
-
},
|
|
5225
|
-
yAxisTitleText: {
|
|
5226
|
-
description: 'Specify the title of the y-axis.',
|
|
5227
|
-
type: 'string'
|
|
5228
|
-
},
|
|
5229
|
-
y2AxisTitleText: {
|
|
5230
|
-
description: 'Specify the title of the y2-axis.',
|
|
5231
|
-
type: 'string'
|
|
5232
|
-
},
|
|
5233
|
-
xAxisTitleVisibility: {
|
|
5234
|
-
default: 'show',
|
|
5235
|
-
description: 'Specify whether to show or hide the title of the x-axis.',
|
|
5236
|
-
enum: ['hide', 'show'],
|
|
5237
|
-
pattern: (0, schemaUtils_1.getPattern)(['show', 'hide']),
|
|
5238
|
-
type: 'string'
|
|
5239
|
-
},
|
|
5240
|
-
yAxisTitleVisibility: {
|
|
5241
|
-
default: 'show',
|
|
5242
|
-
description: 'Specify whether to show or hide the title of the y-axis.',
|
|
5243
|
-
enum: ['hide', 'show'],
|
|
5244
|
-
pattern: (0, schemaUtils_1.getPattern)(['show', 'hide']),
|
|
5245
|
-
type: 'string'
|
|
5246
|
-
},
|
|
5247
|
-
y2AxisTitleVisibility: {
|
|
5248
|
-
default: 'show',
|
|
5249
|
-
description: 'Specify whether to show or hide the title of the y2-axis.',
|
|
5250
|
-
enum: ['hide', 'show'],
|
|
5251
|
-
pattern: (0, schemaUtils_1.getPattern)(['show', 'hide']),
|
|
5252
|
-
type: 'string'
|
|
5253
|
-
},
|
|
5254
|
-
yAxisAbbreviation: {
|
|
5255
|
-
default: 'auto',
|
|
5256
|
-
description: 'Specify whether to abbreviate large y-axis values with the closest SI prefix.',
|
|
5257
|
-
enum: ['off', 'auto'],
|
|
5258
|
-
pattern: (0, schemaUtils_1.getPattern)(['off', 'auto']),
|
|
5259
|
-
type: 'string'
|
|
5260
|
-
},
|
|
5261
|
-
y2AxisAbbreviation: {
|
|
5262
|
-
default: 'auto',
|
|
5263
|
-
description: 'Specify whether to abbreviate large y2-axis values with the closest SI prefix.',
|
|
5264
|
-
enum: ['off', 'auto'],
|
|
5265
|
-
pattern: (0, schemaUtils_1.getPattern)(['off', 'auto']),
|
|
5266
|
-
type: 'string'
|
|
5267
|
-
},
|
|
5268
|
-
yAxisMajorTickInterval: {
|
|
5269
|
-
default: 'auto',
|
|
5270
|
-
description: 'Specify the spacing unit between major tick marks along the numeric y-axis.',
|
|
5271
|
-
type: ['string', 'number']
|
|
5272
|
-
},
|
|
5273
|
-
y2AxisMajorTickInterval: {
|
|
5274
|
-
default: 'auto',
|
|
5275
|
-
description: 'Specify the spacing unit between major tick marks along the numeric y2-axis.',
|
|
5276
|
-
type: ['string', 'number']
|
|
5277
|
-
},
|
|
5278
|
-
// TODO(SCP-40274): Restrict string value to only 'auto' to achieve precise schema validation
|
|
5279
|
-
yAxisMax: {
|
|
5280
|
-
default: 'auto',
|
|
5281
|
-
description: 'Specify the maximum number for the visible y-axis range.',
|
|
5282
|
-
type: ['string', 'number']
|
|
5283
|
-
},
|
|
5284
|
-
// TODO(SCP-40274): Restrict string value to only 'auto' to achieve precise schema validation
|
|
5285
|
-
y2AxisMax: {
|
|
5286
|
-
default: 'auto',
|
|
5287
|
-
description: 'Specify the maximum number for the visible y2-axis range.',
|
|
5288
|
-
type: ['string', 'number']
|
|
5289
|
-
},
|
|
5290
|
-
// TODO(SCP-40274): Restrict string value to only 'auto' to achieve precise schema validation
|
|
5291
|
-
yAxisMin: {
|
|
5292
|
-
default: 'auto',
|
|
5293
|
-
description: 'Specify the minimum number for the visible y-axis range.',
|
|
5294
|
-
type: ['string', 'number']
|
|
5295
|
-
},
|
|
5296
|
-
// TODO(SCP-40274): Restrict string value to only 'auto' to achieve precise schema validation
|
|
5297
|
-
y2AxisMin: {
|
|
5298
|
-
default: 'auto',
|
|
5299
|
-
description: 'Specify the minimum number for the visible y2-axis range.',
|
|
5300
|
-
type: ['string', 'number']
|
|
5301
|
-
},
|
|
5302
|
-
yAxisScale: {
|
|
5303
|
-
default: 'linear',
|
|
5304
|
-
description: 'Specify the type of scale that applies to a numerical y-axis.',
|
|
5305
|
-
pattern: (0, schemaUtils_1.getPattern)(['linear', 'log']),
|
|
5306
|
-
type: 'string'
|
|
5307
|
-
},
|
|
5308
|
-
y2AxisScale: {
|
|
5309
|
-
default: 'linear',
|
|
5310
|
-
description: 'Specify the type of scale that applies to a numerical y2-axis.',
|
|
5311
|
-
pattern: (0, schemaUtils_1.getPattern)(['linear', 'log']),
|
|
5312
|
-
type: 'string'
|
|
5313
|
-
},
|
|
5314
|
-
// TODO: Figure out a way to explicitly support string value in addition to an array of strings
|
|
5315
|
-
// as UDF won't allow users to proceed if a string value is entered due to schema validation
|
|
5316
|
-
overlayFields: {
|
|
5317
|
-
description: 'Specify field(s) that should be differentiated on the chart and displayed as chart overlays.',
|
|
5318
|
-
type: ['array', 'string'],
|
|
5319
|
-
items: {
|
|
5320
|
-
type: 'string'
|
|
5321
|
-
}
|
|
5322
|
-
},
|
|
5323
|
-
showOverlayY2Axis: {
|
|
5324
|
-
default: false,
|
|
5325
|
-
description: 'Enable a y2-axis for chart overlays. All overlay fields will be mapped to a second y-axis.',
|
|
5326
|
-
type: 'boolean'
|
|
5327
|
-
},
|
|
5328
|
-
showRoundedY2AxisLabels: {
|
|
5329
|
-
default: true,
|
|
5330
|
-
description: 'Specify whether to round y2-axis values to the nearest integer.',
|
|
5331
|
-
type: 'boolean'
|
|
5332
|
-
},
|
|
5333
|
-
y2Fields: {
|
|
5334
|
-
default: '> y2 | getField()',
|
|
5335
|
-
description: 'Specify field(s) that should be mapped to a second y-axis.',
|
|
5336
|
-
type: ['array', 'string'],
|
|
5337
|
-
items: {
|
|
5338
|
-
type: 'string'
|
|
5339
|
-
}
|
|
5340
|
-
}
|
|
5341
|
-
};
|
|
5342
4826
|
var themes = {
|
|
5343
4827
|
defaultBackgroundColor: function defaultBackgroundColor(props) {
|
|
5344
4828
|
return (0, pick_1.default)({
|
|
@@ -5496,7 +4980,7 @@ var config = {
|
|
|
5496
4980
|
dataContract: dataContract,
|
|
5497
4981
|
size: size,
|
|
5498
4982
|
defaultContext: defaultContext,
|
|
5499
|
-
optionsSchema:
|
|
4983
|
+
optionsSchema: visualization_schemas_1.lineOptionsSchema,
|
|
5500
4984
|
editorConfig: editorConfig,
|
|
5501
4985
|
events: {
|
|
5502
4986
|
'legend.click': {
|
|
@@ -5521,6 +5005,11 @@ var config = {
|
|
|
5521
5005
|
exports.default = (0, configUtils_1.enhanceConfig)(config);
|
|
5522
5006
|
|
|
5523
5007
|
/***/ }),
|
|
5008
|
+
/* 174 */,
|
|
5009
|
+
/* 175 */,
|
|
5010
|
+
/* 176 */,
|
|
5011
|
+
/* 177 */,
|
|
5012
|
+
/* 178 */,
|
|
5524
5013
|
/* 179 */,
|
|
5525
5014
|
/* 180 */,
|
|
5526
5015
|
/* 181 */,
|
|
@@ -5582,13 +5071,7 @@ exports.default = (0, configUtils_1.enhanceConfig)(config);
|
|
|
5582
5071
|
/* 237 */,
|
|
5583
5072
|
/* 238 */,
|
|
5584
5073
|
/* 239 */,
|
|
5585
|
-
/* 240
|
|
5586
|
-
/* 241 */,
|
|
5587
|
-
/* 242 */,
|
|
5588
|
-
/* 243 */,
|
|
5589
|
-
/* 244 */,
|
|
5590
|
-
/* 245 */,
|
|
5591
|
-
/* 246 */
|
|
5074
|
+
/* 240 */
|
|
5592
5075
|
/***/ (function(module, exports, __webpack_require__) {
|
|
5593
5076
|
|
|
5594
5077
|
"use strict";
|
|
@@ -5624,9 +5107,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5624
5107
|
});
|
|
5625
5108
|
exports.default = void 0;
|
|
5626
5109
|
|
|
5627
|
-
__exportStar(__webpack_require__(
|
|
5110
|
+
__exportStar(__webpack_require__(172), exports);
|
|
5628
5111
|
|
|
5629
|
-
var Line_1 = __webpack_require__(
|
|
5112
|
+
var Line_1 = __webpack_require__(172);
|
|
5630
5113
|
|
|
5631
5114
|
Object.defineProperty(exports, "default", {
|
|
5632
5115
|
enumerable: true,
|
|
@@ -5636,7 +5119,7 @@ Object.defineProperty(exports, "default", {
|
|
|
5636
5119
|
});
|
|
5637
5120
|
|
|
5638
5121
|
/***/ }),
|
|
5639
|
-
/*
|
|
5122
|
+
/* 241 */
|
|
5640
5123
|
/***/ (function(module, exports, __webpack_require__) {
|
|
5641
5124
|
|
|
5642
5125
|
"use strict";
|
|
@@ -5647,13 +5130,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5647
5130
|
});
|
|
5648
5131
|
exports.convertToLineSCProperties = exports.convertMarkerOptions = exports.transformOptions = void 0;
|
|
5649
5132
|
|
|
5650
|
-
var propUtils_1 = __webpack_require__(
|
|
5133
|
+
var propUtils_1 = __webpack_require__(35);
|
|
5651
5134
|
|
|
5652
|
-
var simpleXMLOptions_1 = __webpack_require__(
|
|
5135
|
+
var simpleXMLOptions_1 = __webpack_require__(90);
|
|
5653
5136
|
|
|
5654
|
-
var lodash_1 = __webpack_require__(
|
|
5137
|
+
var lodash_1 = __webpack_require__(2);
|
|
5655
5138
|
|
|
5656
|
-
var config_1 = __webpack_require__(
|
|
5139
|
+
var config_1 = __webpack_require__(173);
|
|
5657
5140
|
|
|
5658
5141
|
var transformOptions = function transformOptions(originalOptions) {
|
|
5659
5142
|
var returnOptions = (0, propUtils_1.adjustOptionsToSchema)(originalOptions, config_1.default.optionsSchema);
|