@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/Ellipse.js
CHANGED
|
@@ -87,32 +87,32 @@ module.exports =
|
|
|
87
87
|
/******/
|
|
88
88
|
/******/
|
|
89
89
|
/******/ // Load entry module and return exports
|
|
90
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
90
|
+
/******/ return __webpack_require__(__webpack_require__.s = 217);
|
|
91
91
|
/******/ })
|
|
92
92
|
/************************************************************************/
|
|
93
93
|
/******/ ([
|
|
94
94
|
/* 0 */
|
|
95
95
|
/***/ (function(module, exports) {
|
|
96
96
|
|
|
97
|
-
module.exports = require("
|
|
97
|
+
module.exports = require("prop-types");
|
|
98
98
|
|
|
99
99
|
/***/ }),
|
|
100
100
|
/* 1 */
|
|
101
101
|
/***/ (function(module, exports) {
|
|
102
102
|
|
|
103
|
-
module.exports = require("
|
|
103
|
+
module.exports = require("react");
|
|
104
104
|
|
|
105
105
|
/***/ }),
|
|
106
106
|
/* 2 */
|
|
107
107
|
/***/ (function(module, exports) {
|
|
108
108
|
|
|
109
|
-
module.exports = require("
|
|
109
|
+
module.exports = require("lodash");
|
|
110
110
|
|
|
111
111
|
/***/ }),
|
|
112
112
|
/* 3 */
|
|
113
113
|
/***/ (function(module, exports) {
|
|
114
114
|
|
|
115
|
-
module.exports = require("
|
|
115
|
+
module.exports = require("@splunk/ui-utils/i18n");
|
|
116
116
|
|
|
117
117
|
/***/ }),
|
|
118
118
|
/* 4 */
|
|
@@ -121,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);
|
|
970
|
-
|
|
971
|
-
var schemaUtils_1 = __webpack_require__(24);
|
|
972
|
-
|
|
973
|
-
var VizBehavior_1 = __webpack_require__(6);
|
|
974
|
-
|
|
975
|
-
var dynamicOptionsDSLType = {
|
|
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
|
-
*/
|
|
946
|
+
exports.insertLayout = exports.isDynamicOption = exports.uncollapseEditorConfig = exports.generatePrecisionValues = exports.getInitialPreset = exports.enhanceConfig = exports.enhanceOptionsSchemaWithDynamicOptions = void 0;
|
|
984
947
|
|
|
985
|
-
|
|
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
|
-
});
|
|
948
|
+
var lodash_1 = __webpack_require__(2); // included for backwards compatibility
|
|
1013
949
|
|
|
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
950
|
|
|
1021
|
-
|
|
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,37 +1088,37 @@ 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
|
-
/*
|
|
1097
|
+
/* 28 */
|
|
1184
1098
|
/***/ (function(module, exports) {
|
|
1185
1099
|
|
|
1186
1100
|
module.exports = require("@splunk/visualizations-shared/configUtils");
|
|
1187
1101
|
|
|
1188
1102
|
/***/ }),
|
|
1189
|
-
/*
|
|
1103
|
+
/* 29 */
|
|
1190
1104
|
/***/ (function(module, exports) {
|
|
1191
1105
|
|
|
1192
1106
|
module.exports = require("@splunk/themes/pick");
|
|
1193
1107
|
|
|
1194
1108
|
/***/ }),
|
|
1195
|
-
/*
|
|
1109
|
+
/* 30 */
|
|
1196
1110
|
/***/ (function(module, exports) {
|
|
1197
1111
|
|
|
1198
1112
|
module.exports = require("@splunk/ui-utils/id");
|
|
1199
1113
|
|
|
1200
1114
|
/***/ }),
|
|
1201
|
-
/*
|
|
1115
|
+
/* 31 */
|
|
1202
1116
|
/***/ (function(module, exports) {
|
|
1203
1117
|
|
|
1204
1118
|
module.exports = require("@splunk/visualization-context/TimezoneContext");
|
|
1205
1119
|
|
|
1206
1120
|
/***/ }),
|
|
1207
|
-
/*
|
|
1121
|
+
/* 32 */
|
|
1208
1122
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1209
1123
|
|
|
1210
1124
|
"use strict";
|
|
@@ -1214,7 +1128,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1214
1128
|
value: true
|
|
1215
1129
|
});
|
|
1216
1130
|
|
|
1217
|
-
var react_1 = __webpack_require__(
|
|
1131
|
+
var react_1 = __webpack_require__(1);
|
|
1218
1132
|
|
|
1219
1133
|
function usePrevious(value) {
|
|
1220
1134
|
var ref = (0, react_1.useRef)();
|
|
@@ -1227,25 +1141,25 @@ function usePrevious(value) {
|
|
|
1227
1141
|
exports.default = usePrevious;
|
|
1228
1142
|
|
|
1229
1143
|
/***/ }),
|
|
1230
|
-
/*
|
|
1144
|
+
/* 33 */
|
|
1231
1145
|
/***/ (function(module, exports) {
|
|
1232
1146
|
|
|
1233
1147
|
module.exports = require("@splunk/visualizations-shared/hocUtils");
|
|
1234
1148
|
|
|
1235
1149
|
/***/ }),
|
|
1236
|
-
/*
|
|
1150
|
+
/* 34 */
|
|
1237
1151
|
/***/ (function(module, exports) {
|
|
1238
1152
|
|
|
1239
1153
|
module.exports = require("@splunk/visualizations-shared/JSONSchemaUtils");
|
|
1240
1154
|
|
|
1241
1155
|
/***/ }),
|
|
1242
|
-
/*
|
|
1156
|
+
/* 35 */
|
|
1243
1157
|
/***/ (function(module, exports) {
|
|
1244
1158
|
|
|
1245
1159
|
module.exports = require("@splunk/visualizations-shared/propUtils");
|
|
1246
1160
|
|
|
1247
1161
|
/***/ }),
|
|
1248
|
-
/*
|
|
1162
|
+
/* 36 */
|
|
1249
1163
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1250
1164
|
|
|
1251
1165
|
"use strict";
|
|
@@ -1256,15 +1170,15 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1256
1170
|
});
|
|
1257
1171
|
exports.shouldShowIconPlaceholder = void 0;
|
|
1258
1172
|
|
|
1259
|
-
var React = __webpack_require__(
|
|
1173
|
+
var React = __webpack_require__(1);
|
|
1260
1174
|
|
|
1261
|
-
var T = __webpack_require__(
|
|
1175
|
+
var T = __webpack_require__(0);
|
|
1262
1176
|
|
|
1263
|
-
var lodash_1 = __webpack_require__(
|
|
1177
|
+
var lodash_1 = __webpack_require__(2);
|
|
1264
1178
|
|
|
1265
|
-
var i18n_1 = __webpack_require__(
|
|
1179
|
+
var i18n_1 = __webpack_require__(3);
|
|
1266
1180
|
|
|
1267
|
-
var Message_1 = __webpack_require__(
|
|
1181
|
+
var Message_1 = __webpack_require__(11);
|
|
1268
1182
|
|
|
1269
1183
|
var FixedSizeContainer_1 = __webpack_require__(17);
|
|
1270
1184
|
/**
|
|
@@ -1337,24 +1251,24 @@ IconPlaceholder.defaultProps = {
|
|
|
1337
1251
|
exports.default = (0, FixedSizeContainer_1.default)(IconPlaceholder);
|
|
1338
1252
|
|
|
1339
1253
|
/***/ }),
|
|
1340
|
-
/*
|
|
1254
|
+
/* 37 */
|
|
1341
1255
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1342
1256
|
|
|
1343
1257
|
"use strict";
|
|
1344
1258
|
|
|
1345
1259
|
|
|
1346
|
-
var _defineProperty = __webpack_require__(
|
|
1260
|
+
var _defineProperty = __webpack_require__(12);
|
|
1347
1261
|
|
|
1348
1262
|
Object.defineProperty(exports, "__esModule", {
|
|
1349
1263
|
value: true
|
|
1350
1264
|
});
|
|
1351
1265
|
exports.getSortingParams = exports.SortParamsPropTypes = void 0;
|
|
1352
1266
|
|
|
1353
|
-
var T = __webpack_require__(
|
|
1267
|
+
var T = __webpack_require__(0);
|
|
1354
1268
|
|
|
1355
|
-
var lodash_1 = __webpack_require__(
|
|
1269
|
+
var lodash_1 = __webpack_require__(2);
|
|
1356
1270
|
|
|
1357
|
-
var DataSource_1 = __webpack_require__(
|
|
1271
|
+
var DataSource_1 = __webpack_require__(20);
|
|
1358
1272
|
|
|
1359
1273
|
exports.SortParamsPropTypes = T.shape({
|
|
1360
1274
|
currentSortKey: T.string,
|
|
@@ -1407,7 +1321,7 @@ var getSortingParams = function getSortingParams(_ref) {
|
|
|
1407
1321
|
exports.getSortingParams = getSortingParams;
|
|
1408
1322
|
|
|
1409
1323
|
/***/ }),
|
|
1410
|
-
/*
|
|
1324
|
+
/* 38 */
|
|
1411
1325
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1412
1326
|
|
|
1413
1327
|
"use strict";
|
|
@@ -1418,9 +1332,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1418
1332
|
});
|
|
1419
1333
|
exports.getPaginationParams = exports.PaginatorParamsPropTypes = void 0;
|
|
1420
1334
|
|
|
1421
|
-
var T = __webpack_require__(
|
|
1335
|
+
var T = __webpack_require__(0);
|
|
1422
1336
|
|
|
1423
|
-
var lodash_1 = __webpack_require__(
|
|
1337
|
+
var lodash_1 = __webpack_require__(2);
|
|
1424
1338
|
|
|
1425
1339
|
exports.PaginatorParamsPropTypes = T.shape({
|
|
1426
1340
|
isPaging: T.bool,
|
|
@@ -1471,7 +1385,7 @@ var getPaginationParams = function getPaginationParams(_ref) {
|
|
|
1471
1385
|
exports.getPaginationParams = getPaginationParams;
|
|
1472
1386
|
|
|
1473
1387
|
/***/ }),
|
|
1474
|
-
/*
|
|
1388
|
+
/* 39 */
|
|
1475
1389
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1476
1390
|
|
|
1477
1391
|
"use strict";
|
|
@@ -1506,11 +1420,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1506
1420
|
value: true
|
|
1507
1421
|
});
|
|
1508
1422
|
|
|
1423
|
+
__exportStar(__webpack_require__(40), exports);
|
|
1424
|
+
|
|
1509
1425
|
__exportStar(__webpack_require__(41), exports);
|
|
1510
1426
|
|
|
1511
|
-
__exportStar(__webpack_require__(
|
|
1427
|
+
__exportStar(__webpack_require__(20), exports);
|
|
1512
1428
|
|
|
1513
|
-
__exportStar(__webpack_require__(
|
|
1429
|
+
__exportStar(__webpack_require__(42), exports);
|
|
1514
1430
|
|
|
1515
1431
|
__exportStar(__webpack_require__(43), exports);
|
|
1516
1432
|
|
|
@@ -1522,16 +1438,16 @@ __exportStar(__webpack_require__(46), exports);
|
|
|
1522
1438
|
|
|
1523
1439
|
__exportStar(__webpack_require__(47), exports);
|
|
1524
1440
|
|
|
1525
|
-
__exportStar(__webpack_require__(48), exports);
|
|
1526
|
-
|
|
1527
|
-
__exportStar(__webpack_require__(49), exports);
|
|
1528
|
-
|
|
1529
1441
|
__exportStar(__webpack_require__(21), exports);
|
|
1530
1442
|
|
|
1531
|
-
__exportStar(__webpack_require__(
|
|
1443
|
+
__exportStar(__webpack_require__(7), exports);
|
|
1532
1444
|
|
|
1533
1445
|
__exportStar(__webpack_require__(22), exports);
|
|
1534
1446
|
|
|
1447
|
+
__exportStar(__webpack_require__(48), exports);
|
|
1448
|
+
|
|
1449
|
+
__exportStar(__webpack_require__(49), exports);
|
|
1450
|
+
|
|
1535
1451
|
__exportStar(__webpack_require__(50), exports);
|
|
1536
1452
|
|
|
1537
1453
|
__exportStar(__webpack_require__(51), exports);
|
|
@@ -1540,9 +1456,16 @@ __exportStar(__webpack_require__(52), exports);
|
|
|
1540
1456
|
|
|
1541
1457
|
__exportStar(__webpack_require__(53), exports);
|
|
1542
1458
|
|
|
1543
|
-
|
|
1459
|
+
/***/ }),
|
|
1460
|
+
/* 40 */
|
|
1461
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1462
|
+
|
|
1463
|
+
"use strict";
|
|
1544
1464
|
|
|
1545
|
-
|
|
1465
|
+
|
|
1466
|
+
Object.defineProperty(exports, "__esModule", {
|
|
1467
|
+
value: true
|
|
1468
|
+
});
|
|
1546
1469
|
|
|
1547
1470
|
/***/ }),
|
|
1548
1471
|
/* 41 */
|
|
@@ -1550,6 +1473,9 @@ __exportStar(__webpack_require__(55), exports);
|
|
|
1550
1473
|
|
|
1551
1474
|
"use strict";
|
|
1552
1475
|
|
|
1476
|
+
/**
|
|
1477
|
+
* A data structure used at runtime to wire up a visualization.
|
|
1478
|
+
*/
|
|
1553
1479
|
|
|
1554
1480
|
Object.defineProperty(exports, "__esModule", {
|
|
1555
1481
|
value: true
|
|
@@ -1561,9 +1487,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1561
1487
|
|
|
1562
1488
|
"use strict";
|
|
1563
1489
|
|
|
1564
|
-
/**
|
|
1565
|
-
* A data structure used at runtime to wire up a visualization.
|
|
1566
|
-
*/
|
|
1567
1490
|
|
|
1568
1491
|
Object.defineProperty(exports, "__esModule", {
|
|
1569
1492
|
value: true
|
|
@@ -1697,81 +1620,59 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1697
1620
|
"use strict";
|
|
1698
1621
|
|
|
1699
1622
|
|
|
1700
|
-
|
|
1701
|
-
value: true
|
|
1702
|
-
});
|
|
1703
|
-
|
|
1704
|
-
/***/ }),
|
|
1705
|
-
/* 55 */
|
|
1706
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1707
|
-
|
|
1708
|
-
"use strict";
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
Object.defineProperty(exports, "__esModule", {
|
|
1712
|
-
value: true
|
|
1713
|
-
});
|
|
1714
|
-
|
|
1715
|
-
/***/ }),
|
|
1716
|
-
/* 56 */
|
|
1717
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1718
|
-
|
|
1719
|
-
"use strict";
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
var _slicedToArray = __webpack_require__(7);
|
|
1623
|
+
var _slicedToArray = __webpack_require__(5);
|
|
1723
1624
|
|
|
1724
1625
|
Object.defineProperty(exports, "__esModule", {
|
|
1725
1626
|
value: true
|
|
1726
1627
|
});
|
|
1727
1628
|
|
|
1728
|
-
var React = __webpack_require__(
|
|
1629
|
+
var React = __webpack_require__(1);
|
|
1729
1630
|
|
|
1730
|
-
var lodash_1 = __webpack_require__(
|
|
1631
|
+
var lodash_1 = __webpack_require__(2);
|
|
1731
1632
|
|
|
1732
|
-
var getSettingsFromThemedProps_1 = __webpack_require__(
|
|
1633
|
+
var getSettingsFromThemedProps_1 = __webpack_require__(55);
|
|
1733
1634
|
|
|
1734
1635
|
var Options_1 = __webpack_require__(16);
|
|
1735
1636
|
|
|
1736
|
-
var SanitizeProps_1 = __webpack_require__(
|
|
1637
|
+
var SanitizeProps_1 = __webpack_require__(56);
|
|
1737
1638
|
|
|
1738
|
-
var TimezoneContext_1 = __webpack_require__(
|
|
1639
|
+
var TimezoneContext_1 = __webpack_require__(31);
|
|
1739
1640
|
|
|
1740
|
-
var moment_1 = __webpack_require__(
|
|
1641
|
+
var moment_1 = __webpack_require__(57);
|
|
1741
1642
|
|
|
1742
|
-
var FeatureFlagContext_1 = __webpack_require__(
|
|
1643
|
+
var FeatureFlagContext_1 = __webpack_require__(27);
|
|
1743
1644
|
|
|
1744
1645
|
var styled_components_1 = __webpack_require__(4);
|
|
1745
1646
|
|
|
1746
|
-
var hocUtils_1 = __webpack_require__(
|
|
1647
|
+
var hocUtils_1 = __webpack_require__(33);
|
|
1747
1648
|
|
|
1748
|
-
var JSONSchemaUtils_1 = __webpack_require__(
|
|
1649
|
+
var JSONSchemaUtils_1 = __webpack_require__(34);
|
|
1749
1650
|
|
|
1750
|
-
var async_dynamic_options_evaluator_1 = __webpack_require__(
|
|
1651
|
+
var async_dynamic_options_evaluator_1 = __webpack_require__(58);
|
|
1751
1652
|
|
|
1752
|
-
var id_1 = __webpack_require__(
|
|
1653
|
+
var id_1 = __webpack_require__(30);
|
|
1753
1654
|
|
|
1754
|
-
var SplunkVisualization_1 = __webpack_require__(
|
|
1655
|
+
var SplunkVisualization_1 = __webpack_require__(59);
|
|
1755
1656
|
|
|
1756
|
-
var VizBehavior_1 = __webpack_require__(
|
|
1657
|
+
var VizBehavior_1 = __webpack_require__(7);
|
|
1757
1658
|
|
|
1758
|
-
var getSorting_1 = __webpack_require__(
|
|
1659
|
+
var getSorting_1 = __webpack_require__(37);
|
|
1759
1660
|
|
|
1760
|
-
var getPagination_1 = __webpack_require__(
|
|
1661
|
+
var getPagination_1 = __webpack_require__(38);
|
|
1761
1662
|
|
|
1762
|
-
var useDeepMemo_1 = __webpack_require__(
|
|
1663
|
+
var useDeepMemo_1 = __webpack_require__(60);
|
|
1763
1664
|
|
|
1764
|
-
var MissingPropsMessage_1 = __webpack_require__(
|
|
1665
|
+
var MissingPropsMessage_1 = __webpack_require__(61);
|
|
1765
1666
|
|
|
1766
|
-
var withEditModeCover_1 = __webpack_require__(
|
|
1667
|
+
var withEditModeCover_1 = __webpack_require__(62);
|
|
1767
1668
|
|
|
1768
|
-
var withPlaceholder_1 = __webpack_require__(
|
|
1669
|
+
var withPlaceholder_1 = __webpack_require__(63);
|
|
1769
1670
|
|
|
1770
|
-
var useDownsampleDataSources_1 = __webpack_require__(
|
|
1671
|
+
var useDownsampleDataSources_1 = __webpack_require__(64);
|
|
1771
1672
|
|
|
1772
1673
|
var dataUtils_1 = __webpack_require__(14);
|
|
1773
1674
|
|
|
1774
|
-
var featureFlagUtils_1 = __webpack_require__(
|
|
1675
|
+
var featureFlagUtils_1 = __webpack_require__(66);
|
|
1775
1676
|
/**
|
|
1776
1677
|
* hoc that wraps a pure react visualization in a Dashboard visualization
|
|
1777
1678
|
* @param {DashboardVizOpts} opts
|
|
@@ -2103,37 +2004,37 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
2103
2004
|
exports.default = withDashboardViz;
|
|
2104
2005
|
|
|
2105
2006
|
/***/ }),
|
|
2106
|
-
/*
|
|
2007
|
+
/* 55 */
|
|
2107
2008
|
/***/ (function(module, exports) {
|
|
2108
2009
|
|
|
2109
2010
|
module.exports = require("@splunk/themes/getSettingsFromThemedProps");
|
|
2110
2011
|
|
|
2111
2012
|
/***/ }),
|
|
2112
|
-
/*
|
|
2013
|
+
/* 56 */
|
|
2113
2014
|
/***/ (function(module, exports) {
|
|
2114
2015
|
|
|
2115
2016
|
module.exports = require("@splunk/visualizations-shared/SanitizeProps");
|
|
2116
2017
|
|
|
2117
2018
|
/***/ }),
|
|
2118
|
-
/*
|
|
2019
|
+
/* 57 */
|
|
2119
2020
|
/***/ (function(module, exports) {
|
|
2120
2021
|
|
|
2121
2022
|
module.exports = require("@splunk/moment");
|
|
2122
2023
|
|
|
2123
2024
|
/***/ }),
|
|
2124
|
-
/*
|
|
2025
|
+
/* 58 */
|
|
2125
2026
|
/***/ (function(module, exports) {
|
|
2126
2027
|
|
|
2127
2028
|
module.exports = require("@splunk/async-dynamic-options-evaluator");
|
|
2128
2029
|
|
|
2129
2030
|
/***/ }),
|
|
2130
|
-
/*
|
|
2031
|
+
/* 59 */
|
|
2131
2032
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2132
2033
|
|
|
2133
2034
|
"use strict";
|
|
2134
2035
|
|
|
2135
2036
|
|
|
2136
|
-
var _classCallCheck = __webpack_require__(
|
|
2037
|
+
var _classCallCheck = __webpack_require__(8);
|
|
2137
2038
|
|
|
2138
2039
|
Object.defineProperty(exports, "__esModule", {
|
|
2139
2040
|
value: true
|
|
@@ -2141,9 +2042,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2141
2042
|
exports.INITIAL_HEIGHT = exports.INITIAL_WIDTH = void 0;
|
|
2142
2043
|
/* eslint-disable react/no-unused-prop-types,react/prefer-stateless-function */
|
|
2143
2044
|
|
|
2144
|
-
var T = __webpack_require__(
|
|
2045
|
+
var T = __webpack_require__(0);
|
|
2145
2046
|
|
|
2146
|
-
var lodash_1 = __webpack_require__(
|
|
2047
|
+
var lodash_1 = __webpack_require__(2);
|
|
2147
2048
|
|
|
2148
2049
|
var VizActionHandler_1 = __webpack_require__(21); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
|
|
2149
2050
|
|
|
@@ -2278,7 +2179,7 @@ SplunkVisualization.defaultProps = {
|
|
|
2278
2179
|
exports.default = SplunkVisualization;
|
|
2279
2180
|
|
|
2280
2181
|
/***/ }),
|
|
2281
|
-
/*
|
|
2182
|
+
/* 60 */
|
|
2282
2183
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2283
2184
|
|
|
2284
2185
|
"use strict";
|
|
@@ -2289,9 +2190,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2289
2190
|
});
|
|
2290
2191
|
exports.useDeepMemo = void 0;
|
|
2291
2192
|
|
|
2292
|
-
var react_1 = __webpack_require__(
|
|
2193
|
+
var react_1 = __webpack_require__(1);
|
|
2293
2194
|
|
|
2294
|
-
var lodash_1 = __webpack_require__(
|
|
2195
|
+
var lodash_1 = __webpack_require__(2);
|
|
2295
2196
|
/**
|
|
2296
2197
|
* This hook evaluates and stores the result of a passed function and only
|
|
2297
2198
|
* re-evaluates the function when passed dependencies change.
|
|
@@ -2323,7 +2224,7 @@ var useDeepMemo = function useDeepMemo(fn, dependencies) {
|
|
|
2323
2224
|
exports.useDeepMemo = useDeepMemo;
|
|
2324
2225
|
|
|
2325
2226
|
/***/ }),
|
|
2326
|
-
/*
|
|
2227
|
+
/* 61 */
|
|
2327
2228
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2328
2229
|
|
|
2329
2230
|
"use strict";
|
|
@@ -2334,13 +2235,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2334
2235
|
});
|
|
2335
2236
|
exports.MissingPropsMessage = exports.missingKeys = exports.isMissing = void 0;
|
|
2336
2237
|
|
|
2337
|
-
var React = __webpack_require__(
|
|
2238
|
+
var React = __webpack_require__(1);
|
|
2338
2239
|
|
|
2339
|
-
var T = __webpack_require__(
|
|
2240
|
+
var T = __webpack_require__(0);
|
|
2340
2241
|
|
|
2341
|
-
var i18n_1 = __webpack_require__(
|
|
2242
|
+
var i18n_1 = __webpack_require__(3);
|
|
2342
2243
|
|
|
2343
|
-
var Message_1 = __webpack_require__(
|
|
2244
|
+
var Message_1 = __webpack_require__(11);
|
|
2344
2245
|
|
|
2345
2246
|
var FixedSizeContainer_1 = __webpack_require__(17);
|
|
2346
2247
|
/**
|
|
@@ -2403,7 +2304,7 @@ exports.MissingPropsMessage.defaultProps = {
|
|
|
2403
2304
|
exports.default = (0, FixedSizeContainer_1.default)(exports.MissingPropsMessage);
|
|
2404
2305
|
|
|
2405
2306
|
/***/ }),
|
|
2406
|
-
/*
|
|
2307
|
+
/* 62 */
|
|
2407
2308
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2408
2309
|
|
|
2409
2310
|
"use strict";
|
|
@@ -2413,7 +2314,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2413
2314
|
value: true
|
|
2414
2315
|
});
|
|
2415
2316
|
|
|
2416
|
-
var React = __webpack_require__(
|
|
2317
|
+
var React = __webpack_require__(1);
|
|
2417
2318
|
|
|
2418
2319
|
var styled_components_1 = __webpack_require__(4);
|
|
2419
2320
|
|
|
@@ -2424,7 +2325,7 @@ var Cover = styled_components_1.default.div.withConfig({
|
|
|
2424
2325
|
componentId: "sc-1gsbnxb-0"
|
|
2425
2326
|
})(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
|
|
2426
2327
|
var Blocker = styled_components_1.default.div.attrs({
|
|
2427
|
-
'data-splunk-visualization-version': "26.
|
|
2328
|
+
'data-splunk-visualization-version': "26.4.0 - 04078274d"
|
|
2428
2329
|
}).withConfig({
|
|
2429
2330
|
displayName: "withEditModeCover__Blocker",
|
|
2430
2331
|
componentId: "sc-1gsbnxb-1"
|
|
@@ -2455,7 +2356,7 @@ var withEditModeCover = function withEditModeCover(Visualization, disableEditMod
|
|
|
2455
2356
|
exports.default = withEditModeCover;
|
|
2456
2357
|
|
|
2457
2358
|
/***/ }),
|
|
2458
|
-
/*
|
|
2359
|
+
/* 63 */
|
|
2459
2360
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2460
2361
|
|
|
2461
2362
|
"use strict";
|
|
@@ -2465,15 +2366,15 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2465
2366
|
value: true
|
|
2466
2367
|
});
|
|
2467
2368
|
|
|
2468
|
-
var React = __webpack_require__(
|
|
2369
|
+
var React = __webpack_require__(1);
|
|
2469
2370
|
|
|
2470
2371
|
var colorUtils_1 = __webpack_require__(15);
|
|
2471
2372
|
|
|
2472
2373
|
var variables_1 = __webpack_require__(13);
|
|
2473
2374
|
|
|
2474
|
-
var IconPlaceholder_1 = __webpack_require__(
|
|
2375
|
+
var IconPlaceholder_1 = __webpack_require__(36);
|
|
2475
2376
|
|
|
2476
|
-
var VizBehavior_1 = __webpack_require__(
|
|
2377
|
+
var VizBehavior_1 = __webpack_require__(7);
|
|
2477
2378
|
|
|
2478
2379
|
var hocUtils_1 = __webpack_require__(23);
|
|
2479
2380
|
|
|
@@ -2519,27 +2420,30 @@ var withPlaceholder = function withPlaceholder(Visualization) {
|
|
|
2519
2420
|
exports.default = withPlaceholder;
|
|
2520
2421
|
|
|
2521
2422
|
/***/ }),
|
|
2522
|
-
/*
|
|
2423
|
+
/* 64 */
|
|
2523
2424
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2524
2425
|
|
|
2525
2426
|
"use strict";
|
|
2526
2427
|
|
|
2527
2428
|
|
|
2528
|
-
var _slicedToArray = __webpack_require__(
|
|
2429
|
+
var _slicedToArray = __webpack_require__(5);
|
|
2529
2430
|
|
|
2530
2431
|
Object.defineProperty(exports, "__esModule", {
|
|
2531
2432
|
value: true
|
|
2532
2433
|
});
|
|
2533
2434
|
|
|
2534
|
-
var react_1 = __webpack_require__(
|
|
2435
|
+
var react_1 = __webpack_require__(1);
|
|
2535
2436
|
|
|
2536
|
-
var lodash_1 = __webpack_require__(
|
|
2437
|
+
var lodash_1 = __webpack_require__(2);
|
|
2537
2438
|
|
|
2538
2439
|
var dataUtils_1 = __webpack_require__(14);
|
|
2539
2440
|
|
|
2540
|
-
var usePrevious_1 = __webpack_require__(
|
|
2441
|
+
var usePrevious_1 = __webpack_require__(32);
|
|
2442
|
+
|
|
2443
|
+
var useGetXAndYFields_1 = __webpack_require__(65); // Options properties which impact/require re-downsample on change.
|
|
2541
2444
|
|
|
2542
|
-
|
|
2445
|
+
|
|
2446
|
+
var downsampleVizOptionProperties = ['nullValueDisplay'];
|
|
2543
2447
|
|
|
2544
2448
|
var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
|
|
2545
2449
|
var dataSources = _ref.dataSources,
|
|
@@ -2553,8 +2457,15 @@ var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
|
|
|
2553
2457
|
options: options,
|
|
2554
2458
|
context: context,
|
|
2555
2459
|
dataSources: dataSources
|
|
2556
|
-
});
|
|
2557
|
-
|
|
2460
|
+
}); // Extract viz options that impact downsampling.
|
|
2461
|
+
|
|
2462
|
+
var downsampleVizOptions = (0, react_1.useMemo)(function () {
|
|
2463
|
+
return (0, lodash_1.pick)(options, downsampleVizOptionProperties);
|
|
2464
|
+
}, [options]);
|
|
2465
|
+
var downsampleDSOptions = (0, react_1.useMemo)(function () {
|
|
2466
|
+
return Object.assign(Object.assign({}, downsampleVizOptions), xAndYFieldsWithTypes);
|
|
2467
|
+
}, [xAndYFieldsWithTypes, downsampleVizOptions]);
|
|
2468
|
+
var previousDownsampleDSOptions = (0, usePrevious_1.default)(downsampleDSOptions);
|
|
2558
2469
|
var previousDataSources = (0, usePrevious_1.default)(dataSources);
|
|
2559
2470
|
var previousThreshold = (0, usePrevious_1.default)(threshold);
|
|
2560
2471
|
|
|
@@ -2562,7 +2473,7 @@ var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
|
|
|
2562
2473
|
return isDownsamplingEnabled ? (0, dataUtils_1.downsampleDataSources)({
|
|
2563
2474
|
dataSources: dataSources,
|
|
2564
2475
|
threshold: threshold,
|
|
2565
|
-
options:
|
|
2476
|
+
options: downsampleDSOptions
|
|
2566
2477
|
}) : dataSources;
|
|
2567
2478
|
}),
|
|
2568
2479
|
_ref3 = _slicedToArray(_ref2, 2),
|
|
@@ -2590,7 +2501,7 @@ var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
|
|
|
2590
2501
|
return;
|
|
2591
2502
|
}
|
|
2592
2503
|
|
|
2593
|
-
if ((0, lodash_1.isEqual)(
|
|
2504
|
+
if ((0, lodash_1.isEqual)(previousDownsampleDSOptions, downsampleDSOptions) && previousDataSources === dataSources && previousThreshold === threshold) {
|
|
2594
2505
|
return;
|
|
2595
2506
|
} // Debounce the downsampling so we don't have to downsample and execute DSL multiple times
|
|
2596
2507
|
// while the viz is being resized
|
|
@@ -2598,29 +2509,29 @@ var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
|
|
|
2598
2509
|
|
|
2599
2510
|
debouncedDownsampleDataSources({
|
|
2600
2511
|
dataSources: dataSources,
|
|
2601
|
-
options:
|
|
2512
|
+
options: downsampleDSOptions,
|
|
2602
2513
|
threshold: threshold
|
|
2603
2514
|
}); // need to detect if this runs as part of the initial render
|
|
2604
|
-
}, [dataSources, debouncedDownsampleDataSources, xAndYFieldsWithTypes, threshold, isDownsamplingEnabled,
|
|
2515
|
+
}, [dataSources, downsampleDSOptions, debouncedDownsampleDataSources, xAndYFieldsWithTypes, threshold, isDownsamplingEnabled, previousDataSources, previousThreshold, previousDownsampleDSOptions]);
|
|
2605
2516
|
return downsampledDataSources;
|
|
2606
2517
|
};
|
|
2607
2518
|
|
|
2608
2519
|
exports.default = useDownsampleDataSources;
|
|
2609
2520
|
|
|
2610
2521
|
/***/ }),
|
|
2611
|
-
/*
|
|
2522
|
+
/* 65 */
|
|
2612
2523
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2613
2524
|
|
|
2614
2525
|
"use strict";
|
|
2615
2526
|
|
|
2616
2527
|
|
|
2617
|
-
var _toConsumableArray = __webpack_require__(
|
|
2528
|
+
var _toConsumableArray = __webpack_require__(6);
|
|
2618
2529
|
|
|
2619
2530
|
Object.defineProperty(exports, "__esModule", {
|
|
2620
2531
|
value: true
|
|
2621
2532
|
});
|
|
2622
2533
|
|
|
2623
|
-
var react_1 = __webpack_require__(
|
|
2534
|
+
var react_1 = __webpack_require__(1);
|
|
2624
2535
|
|
|
2625
2536
|
var Options_1 = __webpack_require__(16);
|
|
2626
2537
|
/**
|
|
@@ -2722,7 +2633,7 @@ var useGetXAndYFields = function useGetXAndYFields(_ref) {
|
|
|
2722
2633
|
exports.default = useGetXAndYFields;
|
|
2723
2634
|
|
|
2724
2635
|
/***/ }),
|
|
2725
|
-
/*
|
|
2636
|
+
/* 66 */
|
|
2726
2637
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2727
2638
|
|
|
2728
2639
|
"use strict";
|
|
@@ -2733,7 +2644,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2733
2644
|
});
|
|
2734
2645
|
exports.getFeatureFlag = void 0;
|
|
2735
2646
|
|
|
2736
|
-
var FeatureFlags_1 = __webpack_require__(
|
|
2647
|
+
var FeatureFlags_1 = __webpack_require__(67);
|
|
2737
2648
|
|
|
2738
2649
|
var getFeatureFlag = function getFeatureFlag(context, flagName) {
|
|
2739
2650
|
// look for feature flag in context first
|
|
@@ -2757,12 +2668,14 @@ var getFeatureFlag = function getFeatureFlag(context, flagName) {
|
|
|
2757
2668
|
exports.getFeatureFlag = getFeatureFlag;
|
|
2758
2669
|
|
|
2759
2670
|
/***/ }),
|
|
2760
|
-
/*
|
|
2671
|
+
/* 67 */
|
|
2761
2672
|
/***/ (function(module, exports) {
|
|
2762
2673
|
|
|
2763
2674
|
module.exports = require("@splunk/visualization-context/FeatureFlags");
|
|
2764
2675
|
|
|
2765
2676
|
/***/ }),
|
|
2677
|
+
/* 68 */,
|
|
2678
|
+
/* 69 */,
|
|
2766
2679
|
/* 70 */,
|
|
2767
2680
|
/* 71 */,
|
|
2768
2681
|
/* 72 */,
|
|
@@ -2771,22 +2684,22 @@ module.exports = require("@splunk/visualization-context/FeatureFlags");
|
|
|
2771
2684
|
/* 75 */,
|
|
2772
2685
|
/* 76 */,
|
|
2773
2686
|
/* 77 */,
|
|
2774
|
-
/* 78
|
|
2775
|
-
/* 79 */,
|
|
2776
|
-
/* 80 */,
|
|
2777
|
-
/* 81 */
|
|
2687
|
+
/* 78 */
|
|
2778
2688
|
/***/ (function(module, exports) {
|
|
2779
2689
|
|
|
2780
2690
|
module.exports = require("@babel/runtime/helpers/taggedTemplateLiteral");
|
|
2781
2691
|
|
|
2782
2692
|
/***/ }),
|
|
2783
|
-
/*
|
|
2784
|
-
/*
|
|
2693
|
+
/* 79 */,
|
|
2694
|
+
/* 80 */
|
|
2785
2695
|
/***/ (function(module, exports) {
|
|
2786
2696
|
|
|
2787
2697
|
module.exports = require("@splunk/visualization-color-palettes/editors/PresetPalettes");
|
|
2788
2698
|
|
|
2789
2699
|
/***/ }),
|
|
2700
|
+
/* 81 */,
|
|
2701
|
+
/* 82 */,
|
|
2702
|
+
/* 83 */,
|
|
2790
2703
|
/* 84 */,
|
|
2791
2704
|
/* 85 */,
|
|
2792
2705
|
/* 86 */,
|
|
@@ -2838,9 +2751,7 @@ module.exports = require("@splunk/visualization-color-palettes/editors/PresetPal
|
|
|
2838
2751
|
/* 132 */,
|
|
2839
2752
|
/* 133 */,
|
|
2840
2753
|
/* 134 */,
|
|
2841
|
-
/* 135
|
|
2842
|
-
/* 136 */,
|
|
2843
|
-
/* 137 */
|
|
2754
|
+
/* 135 */
|
|
2844
2755
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2845
2756
|
|
|
2846
2757
|
"use strict";
|
|
@@ -2851,9 +2762,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2851
2762
|
});
|
|
2852
2763
|
exports.getDynamicFillColorEditor = void 0;
|
|
2853
2764
|
|
|
2854
|
-
var i18n_1 = __webpack_require__(
|
|
2765
|
+
var i18n_1 = __webpack_require__(3);
|
|
2855
2766
|
|
|
2856
|
-
var configUtils_1 = __webpack_require__(
|
|
2767
|
+
var configUtils_1 = __webpack_require__(28);
|
|
2857
2768
|
|
|
2858
2769
|
var getDynamicFillColorEditor = function getDynamicFillColorEditor(_ref) {
|
|
2859
2770
|
var defaultContext = _ref.defaultContext,
|
|
@@ -2895,7 +2806,7 @@ var getDynamicFillColorEditor = function getDynamicFillColorEditor(_ref) {
|
|
|
2895
2806
|
exports.getDynamicFillColorEditor = getDynamicFillColorEditor;
|
|
2896
2807
|
|
|
2897
2808
|
/***/ }),
|
|
2898
|
-
/*
|
|
2809
|
+
/* 136 */
|
|
2899
2810
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2900
2811
|
|
|
2901
2812
|
"use strict";
|
|
@@ -2906,9 +2817,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2906
2817
|
});
|
|
2907
2818
|
exports.getDynamicStrokeColorEditor = void 0;
|
|
2908
2819
|
|
|
2909
|
-
var i18n_1 = __webpack_require__(
|
|
2820
|
+
var i18n_1 = __webpack_require__(3);
|
|
2910
2821
|
|
|
2911
|
-
var configUtils_1 = __webpack_require__(
|
|
2822
|
+
var configUtils_1 = __webpack_require__(28);
|
|
2912
2823
|
|
|
2913
2824
|
var getDynamicStrokeColorEditor = function getDynamicStrokeColorEditor(_ref) {
|
|
2914
2825
|
var defaultContext = _ref.defaultContext,
|
|
@@ -2950,7 +2861,7 @@ var getDynamicStrokeColorEditor = function getDynamicStrokeColorEditor(_ref) {
|
|
|
2950
2861
|
exports.getDynamicStrokeColorEditor = getDynamicStrokeColorEditor;
|
|
2951
2862
|
|
|
2952
2863
|
/***/ }),
|
|
2953
|
-
/*
|
|
2864
|
+
/* 137 */
|
|
2954
2865
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2955
2866
|
|
|
2956
2867
|
"use strict";
|
|
@@ -2960,9 +2871,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2960
2871
|
value: true
|
|
2961
2872
|
});
|
|
2962
2873
|
|
|
2963
|
-
var i18n_1 = __webpack_require__(
|
|
2874
|
+
var i18n_1 = __webpack_require__(3);
|
|
2964
2875
|
|
|
2965
|
-
var configUtils_1 = __webpack_require__(
|
|
2876
|
+
var configUtils_1 = __webpack_require__(28);
|
|
2966
2877
|
|
|
2967
2878
|
var StaticFillColorEditor = {
|
|
2968
2879
|
label: (0, i18n_1._)('Fill'),
|
|
@@ -2976,7 +2887,7 @@ var StaticFillColorEditor = {
|
|
|
2976
2887
|
exports.default = StaticFillColorEditor;
|
|
2977
2888
|
|
|
2978
2889
|
/***/ }),
|
|
2979
|
-
/*
|
|
2890
|
+
/* 138 */
|
|
2980
2891
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2981
2892
|
|
|
2982
2893
|
"use strict";
|
|
@@ -2986,9 +2897,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2986
2897
|
value: true
|
|
2987
2898
|
});
|
|
2988
2899
|
|
|
2989
|
-
var i18n_1 = __webpack_require__(
|
|
2900
|
+
var i18n_1 = __webpack_require__(3);
|
|
2990
2901
|
|
|
2991
|
-
var configUtils_1 = __webpack_require__(
|
|
2902
|
+
var configUtils_1 = __webpack_require__(28);
|
|
2992
2903
|
|
|
2993
2904
|
var StaticStrokeColorEditor = {
|
|
2994
2905
|
label: (0, i18n_1._)('Stroke'),
|
|
@@ -3002,13 +2913,13 @@ var StaticStrokeColorEditor = {
|
|
|
3002
2913
|
exports.default = StaticStrokeColorEditor;
|
|
3003
2914
|
|
|
3004
2915
|
/***/ }),
|
|
3005
|
-
/*
|
|
2916
|
+
/* 139 */
|
|
3006
2917
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3007
2918
|
|
|
3008
2919
|
"use strict";
|
|
3009
2920
|
|
|
3010
2921
|
|
|
3011
|
-
var _taggedTemplateLiteral = __webpack_require__(
|
|
2922
|
+
var _taggedTemplateLiteral = __webpack_require__(78);
|
|
3012
2923
|
|
|
3013
2924
|
var _templateObject;
|
|
3014
2925
|
|
|
@@ -3017,15 +2928,15 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3017
2928
|
});
|
|
3018
2929
|
exports.getStyledShape = exports.mapToOldKey = void 0;
|
|
3019
2930
|
|
|
3020
|
-
var lodash_1 = __webpack_require__(
|
|
2931
|
+
var lodash_1 = __webpack_require__(2);
|
|
3021
2932
|
|
|
3022
2933
|
var styled_components_1 = __webpack_require__(4);
|
|
3023
2934
|
|
|
3024
|
-
var pick_1 = __webpack_require__(
|
|
2935
|
+
var pick_1 = __webpack_require__(29);
|
|
3025
2936
|
|
|
3026
2937
|
var variables_1 = __webpack_require__(13);
|
|
3027
2938
|
|
|
3028
|
-
var propUtils_1 = __webpack_require__(
|
|
2939
|
+
var propUtils_1 = __webpack_require__(35); // map for new options names to old option names
|
|
3029
2940
|
|
|
3030
2941
|
|
|
3031
2942
|
var shapeOptionsMapping = {
|
|
@@ -3079,6 +2990,8 @@ var getStyledShape = function getStyledShape(shape) {
|
|
|
3079
2990
|
exports.getStyledShape = getStyledShape;
|
|
3080
2991
|
|
|
3081
2992
|
/***/ }),
|
|
2993
|
+
/* 140 */,
|
|
2994
|
+
/* 141 */,
|
|
3082
2995
|
/* 142 */,
|
|
3083
2996
|
/* 143 */,
|
|
3084
2997
|
/* 144 */,
|
|
@@ -3103,12 +3016,7 @@ exports.getStyledShape = getStyledShape;
|
|
|
3103
3016
|
/* 163 */,
|
|
3104
3017
|
/* 164 */,
|
|
3105
3018
|
/* 165 */,
|
|
3106
|
-
/* 166
|
|
3107
|
-
/* 167 */,
|
|
3108
|
-
/* 168 */,
|
|
3109
|
-
/* 169 */,
|
|
3110
|
-
/* 170 */,
|
|
3111
|
-
/* 171 */
|
|
3019
|
+
/* 166 */
|
|
3112
3020
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3113
3021
|
|
|
3114
3022
|
"use strict";
|
|
@@ -3132,21 +3040,21 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3132
3040
|
});
|
|
3133
3041
|
exports.config = exports.themes = void 0;
|
|
3134
3042
|
|
|
3135
|
-
var React = __webpack_require__(
|
|
3043
|
+
var React = __webpack_require__(1);
|
|
3136
3044
|
|
|
3137
|
-
var lodash_1 = __webpack_require__(
|
|
3045
|
+
var lodash_1 = __webpack_require__(2);
|
|
3138
3046
|
|
|
3139
3047
|
var styled_components_1 = __webpack_require__(4);
|
|
3140
3048
|
|
|
3141
|
-
var T = __webpack_require__(
|
|
3049
|
+
var T = __webpack_require__(0);
|
|
3142
3050
|
|
|
3143
|
-
var config_1 = __webpack_require__(
|
|
3051
|
+
var config_1 = __webpack_require__(218);
|
|
3144
3052
|
|
|
3145
3053
|
exports.config = config_1.default;
|
|
3146
3054
|
|
|
3147
|
-
var withDashboardViz_1 = __webpack_require__(
|
|
3055
|
+
var withDashboardViz_1 = __webpack_require__(54);
|
|
3148
3056
|
|
|
3149
|
-
var shapeUtils_1 = __webpack_require__(
|
|
3057
|
+
var shapeUtils_1 = __webpack_require__(139);
|
|
3150
3058
|
|
|
3151
3059
|
var validOptions = Object.keys(config_1.default.optionsSchema);
|
|
3152
3060
|
var SVGContainer = styled_components_1.default.svg.withConfig({
|
|
@@ -3215,6 +3123,11 @@ exports.themes = themes;
|
|
|
3215
3123
|
exports.default = Ellipse;
|
|
3216
3124
|
|
|
3217
3125
|
/***/ }),
|
|
3126
|
+
/* 167 */,
|
|
3127
|
+
/* 168 */,
|
|
3128
|
+
/* 169 */,
|
|
3129
|
+
/* 170 */,
|
|
3130
|
+
/* 171 */,
|
|
3218
3131
|
/* 172 */,
|
|
3219
3132
|
/* 173 */,
|
|
3220
3133
|
/* 174 */,
|
|
@@ -3260,13 +3173,7 @@ exports.default = Ellipse;
|
|
|
3260
3173
|
/* 214 */,
|
|
3261
3174
|
/* 215 */,
|
|
3262
3175
|
/* 216 */,
|
|
3263
|
-
/* 217
|
|
3264
|
-
/* 218 */,
|
|
3265
|
-
/* 219 */,
|
|
3266
|
-
/* 220 */,
|
|
3267
|
-
/* 221 */,
|
|
3268
|
-
/* 222 */,
|
|
3269
|
-
/* 223 */
|
|
3176
|
+
/* 217 */
|
|
3270
3177
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3271
3178
|
|
|
3272
3179
|
"use strict";
|
|
@@ -3302,9 +3209,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3302
3209
|
});
|
|
3303
3210
|
exports.default = void 0;
|
|
3304
3211
|
|
|
3305
|
-
__exportStar(__webpack_require__(
|
|
3212
|
+
__exportStar(__webpack_require__(166), exports);
|
|
3306
3213
|
|
|
3307
|
-
var Ellipse_1 = __webpack_require__(
|
|
3214
|
+
var Ellipse_1 = __webpack_require__(166);
|
|
3308
3215
|
|
|
3309
3216
|
Object.defineProperty(exports, "default", {
|
|
3310
3217
|
enumerable: true,
|
|
@@ -3314,7 +3221,7 @@ Object.defineProperty(exports, "default", {
|
|
|
3314
3221
|
});
|
|
3315
3222
|
|
|
3316
3223
|
/***/ }),
|
|
3317
|
-
/*
|
|
3224
|
+
/* 218 */
|
|
3318
3225
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3319
3226
|
|
|
3320
3227
|
"use strict";
|
|
@@ -3324,27 +3231,29 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3324
3231
|
value: true
|
|
3325
3232
|
});
|
|
3326
3233
|
|
|
3327
|
-
var i18n_1 = __webpack_require__(
|
|
3234
|
+
var i18n_1 = __webpack_require__(3);
|
|
3235
|
+
|
|
3236
|
+
var PresetPalettes_1 = __webpack_require__(80);
|
|
3328
3237
|
|
|
3329
|
-
var
|
|
3238
|
+
var visualization_schemas_1 = __webpack_require__(9);
|
|
3330
3239
|
|
|
3331
|
-
var pick_1 = __webpack_require__(
|
|
3240
|
+
var pick_1 = __webpack_require__(29);
|
|
3332
3241
|
|
|
3333
3242
|
var variables_1 = __webpack_require__(13);
|
|
3334
3243
|
|
|
3335
|
-
var VizBehavior_1 = __webpack_require__(
|
|
3244
|
+
var VizBehavior_1 = __webpack_require__(7);
|
|
3336
3245
|
|
|
3337
3246
|
var VizCategory_1 = __webpack_require__(22);
|
|
3338
3247
|
|
|
3339
|
-
var configUtils_1 = __webpack_require__(
|
|
3248
|
+
var configUtils_1 = __webpack_require__(26);
|
|
3340
3249
|
|
|
3341
|
-
var DynamicFillColorEditor_1 = __webpack_require__(
|
|
3250
|
+
var DynamicFillColorEditor_1 = __webpack_require__(135);
|
|
3342
3251
|
|
|
3343
|
-
var DynamicStrokeColorEditor_1 = __webpack_require__(
|
|
3252
|
+
var DynamicStrokeColorEditor_1 = __webpack_require__(136);
|
|
3344
3253
|
|
|
3345
|
-
var StaticFillColorEditor_1 = __webpack_require__(
|
|
3254
|
+
var StaticFillColorEditor_1 = __webpack_require__(137);
|
|
3346
3255
|
|
|
3347
|
-
var StaticStrokeColorEditor_1 = __webpack_require__(
|
|
3256
|
+
var StaticStrokeColorEditor_1 = __webpack_require__(138);
|
|
3348
3257
|
|
|
3349
3258
|
var dataContract = {
|
|
3350
3259
|
requiredDataSources: [],
|
|
@@ -3427,38 +3336,6 @@ var defaultContext = {
|
|
|
3427
3336
|
value: '#5C33FF'
|
|
3428
3337
|
}]
|
|
3429
3338
|
};
|
|
3430
|
-
var optionsSchema = {
|
|
3431
|
-
fillColor: {
|
|
3432
|
-
default: '> themes.defaultFillColor',
|
|
3433
|
-
description: 'Specify the fill color. You may use a dataSource to apply the color. The hex value format should be "#FFFFFF". The default for enterprise light is "#C3CBD4". The default for enterprise dark is "#31373E". The default for prisma dark is "#0B0C0E".',
|
|
3434
|
-
type: 'string'
|
|
3435
|
-
},
|
|
3436
|
-
fillOpacity: {
|
|
3437
|
-
default: 1,
|
|
3438
|
-
description: 'Specify the opacity of the fill. Choose a number in the range of 0 - 1 (inclusive). You can also express the value as a percentage. For example, "0.80" in source or "80%" in UI.',
|
|
3439
|
-
type: 'number'
|
|
3440
|
-
},
|
|
3441
|
-
strokeColor: {
|
|
3442
|
-
default: '> themes.defaultStrokeColor',
|
|
3443
|
-
description: 'Specify the stroke color. You may use a dataSource to apply the color. The hex value format should be "#FFFFFF". The default for enterprise light is "#3C444D". The default for enterprise dark is "#C3CBD4". The default for prisma dark is "#ACACAD".',
|
|
3444
|
-
type: 'string'
|
|
3445
|
-
},
|
|
3446
|
-
strokeDashStyle: {
|
|
3447
|
-
default: 0,
|
|
3448
|
-
description: 'Specify the size, in pixels, of dashes and spaces used to create a custom stitched outline. The value you specify applies to both the dashes and the spaces between them.',
|
|
3449
|
-
type: 'number'
|
|
3450
|
-
},
|
|
3451
|
-
strokeOpacity: {
|
|
3452
|
-
default: 1,
|
|
3453
|
-
description: 'Specify the opacity of the stroke. Choose a number in the range of 0 - 1 (inclusive). You can also express the value as a percentage. For example, "0.80" in source or "80%" in UI.',
|
|
3454
|
-
type: 'number'
|
|
3455
|
-
},
|
|
3456
|
-
strokeWidth: {
|
|
3457
|
-
default: 1,
|
|
3458
|
-
description: 'Specify the width of the stroke, in pixels, in the range of 1 - 25 (inclusive).',
|
|
3459
|
-
type: 'number'
|
|
3460
|
-
}
|
|
3461
|
-
};
|
|
3462
3339
|
var themes = {
|
|
3463
3340
|
defaultFillColor: function defaultFillColor(props) {
|
|
3464
3341
|
return (0, pick_1.default)({
|
|
@@ -3617,7 +3494,7 @@ var config = {
|
|
|
3617
3494
|
dataContract: dataContract,
|
|
3618
3495
|
size: size,
|
|
3619
3496
|
defaultContext: defaultContext,
|
|
3620
|
-
optionsSchema:
|
|
3497
|
+
optionsSchema: visualization_schemas_1.ellipseOptionsSchema,
|
|
3621
3498
|
editorConfig: editorConfig,
|
|
3622
3499
|
events: {
|
|
3623
3500
|
'ellipse.click': {
|