@splunk/visualizations 26.2.1 → 26.3.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 +91 -594
- package/Area.config.js.map +1 -1
- package/Area.js +184 -689
- package/Area.js.map +1 -1
- package/Bar.config.js +92 -561
- package/Bar.config.js.map +1 -1
- package/Bar.js +184 -655
- package/Bar.js.map +1 -1
- package/Bubble.config.js +83 -482
- package/Bubble.config.js.map +1 -1
- package/Bubble.js +177 -578
- package/Bubble.js.map +1 -1
- package/ChoroplethSvg.config.js +76 -201
- package/ChoroplethSvg.config.js.map +1 -1
- package/ChoroplethSvg.js +170 -300
- package/ChoroplethSvg.js.map +1 -1
- package/Column.config.js +92 -599
- package/Column.config.js.map +1 -1
- package/Column.js +184 -693
- package/Column.js.map +1 -1
- package/Ellipse.config.js +82 -200
- package/Ellipse.config.js.map +1 -1
- package/Ellipse.js +137 -262
- package/Ellipse.js.map +1 -1
- package/Events.config.js +61 -282
- package/Events.config.js.map +1 -1
- package/Events.js +222 -428
- package/Events.js.map +1 -1
- package/FillerGauge.config.js +90 -219
- package/FillerGauge.config.js.map +1 -1
- package/FillerGauge.js +163 -299
- package/FillerGauge.js.map +1 -1
- package/Image.config.js +61 -157
- package/Image.config.js.map +1 -1
- package/Image.js +130 -242
- package/Image.js.map +1 -1
- package/Line.config.js +91 -606
- package/Line.config.js.map +1 -1
- package/Line.js +184 -701
- package/Line.js.map +1 -1
- package/LinkGraph.config.js +74 -256
- package/LinkGraph.config.js.map +1 -1
- package/LinkGraph.js +545 -729
- package/LinkGraph.js.map +1 -1
- package/Map.config.js +128 -1123
- package/Map.config.js.map +1 -1
- package/Map.js +309 -680
- package/Map.js.map +1 -1
- package/Markdown.config.js +61 -188
- package/Markdown.config.js.map +1 -1
- package/Markdown.js +190 -323
- package/Markdown.js.map +1 -1
- package/MarkerGauge.config.js +137 -297
- package/MarkerGauge.config.js.map +1 -1
- package/MarkerGauge.js +1038 -1203
- package/MarkerGauge.js.map +1 -1
- package/ParallelCoordinates.config.js +71 -191
- package/ParallelCoordinates.config.js.map +1 -1
- package/ParallelCoordinates.js +218 -343
- package/ParallelCoordinates.js.map +1 -1
- package/Pie.config.js +72 -240
- package/Pie.config.js.map +1 -1
- package/Pie.js +214 -381
- package/Pie.js.map +1 -1
- package/Punchcard.config.js +71 -305
- package/Punchcard.config.js.map +1 -1
- package/Punchcard.js +246 -477
- package/Punchcard.js.map +1 -1
- package/Rectangle.config.js +211 -347
- package/Rectangle.config.js.map +1 -1
- package/Rectangle.js +274 -416
- package/Rectangle.js.map +1 -1
- package/Sankey.config.js +71 -213
- package/Sankey.config.js.map +1 -1
- package/Sankey.js +246 -382
- package/Sankey.js.map +1 -1
- package/Scatter.config.js +85 -463
- package/Scatter.config.js.map +1 -1
- package/Scatter.js +825 -1202
- package/Scatter.js.map +1 -1
- package/SingleValue.config.js +114 -409
- package/SingleValue.config.js.map +1 -1
- package/SingleValue.js +287 -582
- package/SingleValue.js.map +1 -1
- package/SingleValueBasic.js +30 -30
- package/SingleValueBasic.js.map +1 -1
- package/SingleValueIcon.config.js +113 -378
- package/SingleValueIcon.config.js.map +1 -1
- package/SingleValueIcon.js +268 -533
- package/SingleValueIcon.js.map +1 -1
- package/SingleValueRadial.config.js +110 -382
- package/SingleValueRadial.config.js.map +1 -1
- package/SingleValueRadial.js +272 -543
- package/SingleValueRadial.js.map +1 -1
- package/SparkLine.js +24 -24
- package/SparkLine.js.map +1 -1
- package/Table.config.js +74 -496
- package/Table.config.js.map +1 -1
- package/Table.js +302 -720
- package/Table.js.map +1 -1
- package/common/Charting.js +22 -34
- 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 +75 -87
- 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 +7 -7
- 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 +65 -77
- package/common/withDashboardViz.js.map +1 -1
- package/package.json +46 -49
- package/common/utils/layoutUtils.js +0 -115
- package/common/utils/layoutUtils.js.map +0 -1
package/Map.js
CHANGED
|
@@ -87,7 +87,7 @@ module.exports =
|
|
|
87
87
|
/******/
|
|
88
88
|
/******/
|
|
89
89
|
/******/ // Load entry module and return exports
|
|
90
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
90
|
+
/******/ return __webpack_require__(__webpack_require__.s = 428);
|
|
91
91
|
/******/ })
|
|
92
92
|
/************************************************************************/
|
|
93
93
|
/******/ ({
|
|
@@ -109,11 +109,11 @@ module.exports = require("prop-types");
|
|
|
109
109
|
/***/ 10:
|
|
110
110
|
/***/ (function(module, exports) {
|
|
111
111
|
|
|
112
|
-
module.exports = require("@
|
|
112
|
+
module.exports = require("@splunk/visualization-schemas");
|
|
113
113
|
|
|
114
114
|
/***/ }),
|
|
115
115
|
|
|
116
|
-
/***/
|
|
116
|
+
/***/ 104:
|
|
117
117
|
/***/ (function(module, exports) {
|
|
118
118
|
|
|
119
119
|
module.exports = require("@splunk/visualization-encoding/utils/types");
|
|
@@ -127,34 +127,43 @@ module.exports = require("@splunk/visualizations-shared/numberUtils");
|
|
|
127
127
|
|
|
128
128
|
/***/ }),
|
|
129
129
|
|
|
130
|
-
/***/
|
|
130
|
+
/***/ 113:
|
|
131
|
+
/***/ (function(module, exports) {
|
|
132
|
+
|
|
133
|
+
module.exports = require("d3-scale");
|
|
134
|
+
|
|
135
|
+
/***/ }),
|
|
136
|
+
|
|
137
|
+
/***/ 119:
|
|
131
138
|
/***/ (function(module, exports, __webpack_require__) {
|
|
132
139
|
|
|
133
140
|
"use strict";
|
|
134
141
|
|
|
135
142
|
|
|
136
|
-
var _defineProperty = __webpack_require__(
|
|
143
|
+
var _defineProperty = __webpack_require__(13);
|
|
137
144
|
|
|
138
|
-
var _slicedToArray = __webpack_require__(
|
|
145
|
+
var _slicedToArray = __webpack_require__(6);
|
|
139
146
|
|
|
140
|
-
var _toConsumableArray = __webpack_require__(
|
|
147
|
+
var _toConsumableArray = __webpack_require__(7);
|
|
141
148
|
|
|
142
149
|
Object.defineProperty(exports, "__esModule", {
|
|
143
150
|
value: true
|
|
144
151
|
});
|
|
145
|
-
exports.formatMetadata = exports.compareBaseStyles = exports.getScaledOpacities = exports.getGlobalLayerBoundaries = exports.isValidLatLon = exports.bakeBubbleData = exports.sanitizeValues = exports.transposeArray = exports.matchBubbleSize = exports.getStaticColors = exports.getZoomLevelFromGeobin = exports.getZoomConstraintsFromTileConfig = exports.getMapStyle = exports.getTilePreset = exports.
|
|
152
|
+
exports.formatMetadata = exports.compareBaseStyles = exports.getScaledOpacities = exports.getGlobalLayerBoundaries = exports.isValidLatLon = exports.bakeBubbleData = exports.sanitizeValues = exports.transposeArray = exports.matchBubbleSize = exports.getStaticColors = exports.getZoomLevelFromGeobin = exports.getZoomConstraintsFromTileConfig = exports.getMapStyle = exports.getTilePreset = exports.DEFAULT_OPACITY = exports.MAX_BUBBLE_RADIUS = exports.MIN_BUBBLE_RADIUS = exports.MAP_STYLE_VERSION_NUMBER = exports.DEFAULT_SERIES_COLORS = exports.DEFAULT_CLUSTER_COLOR = exports.DEFAULT_RESULT_LIMIT = exports.MIN_LONGITUDE = exports.MAX_LONGITUDE = exports.MIN_LATITUDE = exports.MAX_LATITUDE = void 0;
|
|
146
153
|
|
|
147
154
|
var lodash_1 = __webpack_require__(3);
|
|
148
155
|
|
|
149
|
-
var d3_scale_1 = __webpack_require__(
|
|
156
|
+
var d3_scale_1 = __webpack_require__(113);
|
|
150
157
|
|
|
151
|
-
var chroma = __webpack_require__(
|
|
158
|
+
var chroma = __webpack_require__(178);
|
|
152
159
|
|
|
153
|
-
var colorUtils_1 = __webpack_require__(
|
|
160
|
+
var colorUtils_1 = __webpack_require__(16);
|
|
154
161
|
|
|
155
|
-
var visualization_color_palettes_1 = __webpack_require__(
|
|
162
|
+
var visualization_color_palettes_1 = __webpack_require__(75);
|
|
156
163
|
|
|
157
|
-
var types_1 = __webpack_require__(
|
|
164
|
+
var types_1 = __webpack_require__(104);
|
|
165
|
+
|
|
166
|
+
var visualization_schemas_1 = __webpack_require__(10);
|
|
158
167
|
|
|
159
168
|
exports.MAX_LATITUDE = 90;
|
|
160
169
|
exports.MIN_LATITUDE = -90;
|
|
@@ -174,13 +183,6 @@ exports.MAX_BUBBLE_RADIUS = 45.26; // 85px
|
|
|
174
183
|
exports.DEFAULT_OPACITY = 0.8;
|
|
175
184
|
var LONGITUDE = 'longitude';
|
|
176
185
|
var LATITUDE = 'latitude';
|
|
177
|
-
var LAYER_TYPE;
|
|
178
|
-
|
|
179
|
-
(function (LAYER_TYPE) {
|
|
180
|
-
LAYER_TYPE["Marker"] = "marker";
|
|
181
|
-
LAYER_TYPE["Bubble"] = "bubble";
|
|
182
|
-
LAYER_TYPE["Choropleth"] = "choropleth";
|
|
183
|
-
})(LAYER_TYPE = exports.LAYER_TYPE || (exports.LAYER_TYPE = {}));
|
|
184
186
|
/**
|
|
185
187
|
* Construct a tile preset {key: config} by combining the default + custom tile configs
|
|
186
188
|
* Also returns the default tile config for each theme - light/dark
|
|
@@ -190,7 +192,6 @@ var LAYER_TYPE;
|
|
|
190
192
|
* @returns {Object} tile preset
|
|
191
193
|
*/
|
|
192
194
|
|
|
193
|
-
|
|
194
195
|
var getTilePreset = function getTilePreset(_ref) {
|
|
195
196
|
var _ref$defaultTileConfi = _ref.defaultTileConfig,
|
|
196
197
|
defaultTileConfig = _ref$defaultTileConfi === void 0 ? [] : _ref$defaultTileConfi,
|
|
@@ -568,7 +569,7 @@ exports.isValidLatLon = isValidLatLon;
|
|
|
568
569
|
|
|
569
570
|
var getLatOrLonCoordinates = function getLatOrLonCoordinates(layer, field) {
|
|
570
571
|
var getClusterValues = function getClusterValues(clusterLayer) {
|
|
571
|
-
return (0, lodash_1.get)(clusterLayer, field, []).slice(0, clusterLayer.type === LAYER_TYPE.Marker && clusterLayer.resultLimit ? clusterLayer.resultLimit : exports.DEFAULT_RESULT_LIMIT);
|
|
572
|
+
return (0, lodash_1.get)(clusterLayer, field, []).slice(0, clusterLayer.type === visualization_schemas_1.LAYER_TYPE.Marker && clusterLayer.resultLimit ? clusterLayer.resultLimit : exports.DEFAULT_RESULT_LIMIT);
|
|
572
573
|
};
|
|
573
574
|
|
|
574
575
|
var getChoroplethValues = function getChoroplethValues(choroplethLayer) {
|
|
@@ -581,7 +582,7 @@ var getLatOrLonCoordinates = function getLatOrLonCoordinates(layer, field) {
|
|
|
581
582
|
});
|
|
582
583
|
};
|
|
583
584
|
|
|
584
|
-
return layer.type === LAYER_TYPE.Choropleth ? getChoroplethValues(layer) : getClusterValues(layer);
|
|
585
|
+
return layer.type === visualization_schemas_1.LAYER_TYPE.Choropleth ? getChoroplethValues(layer) : getClusterValues(layer);
|
|
585
586
|
};
|
|
586
587
|
/**
|
|
587
588
|
* Returns the min and max LongLat pairs to determine the layer boundaries to fit all markers/bubbles
|
|
@@ -695,28 +696,28 @@ exports.formatMetadata = formatMetadata;
|
|
|
695
696
|
|
|
696
697
|
/***/ }),
|
|
697
698
|
|
|
698
|
-
/***/
|
|
699
|
+
/***/ 12:
|
|
699
700
|
/***/ (function(module, exports) {
|
|
700
701
|
|
|
701
|
-
module.exports = require("
|
|
702
|
+
module.exports = require("@splunk/visualizations-shared/Message");
|
|
702
703
|
|
|
703
704
|
/***/ }),
|
|
704
705
|
|
|
705
|
-
/***/
|
|
706
|
+
/***/ 13:
|
|
706
707
|
/***/ (function(module, exports) {
|
|
707
708
|
|
|
708
|
-
module.exports = require("@
|
|
709
|
+
module.exports = require("@babel/runtime/helpers/defineProperty");
|
|
709
710
|
|
|
710
711
|
/***/ }),
|
|
711
712
|
|
|
712
|
-
/***/
|
|
713
|
+
/***/ 14:
|
|
713
714
|
/***/ (function(module, exports) {
|
|
714
715
|
|
|
715
716
|
module.exports = require("@splunk/themes/variables");
|
|
716
717
|
|
|
717
718
|
/***/ }),
|
|
718
719
|
|
|
719
|
-
/***/
|
|
720
|
+
/***/ 15:
|
|
720
721
|
/***/ (function(module, exports, __webpack_require__) {
|
|
721
722
|
|
|
722
723
|
"use strict";
|
|
@@ -1013,6 +1014,7 @@ var calculateDownsamplingThreshold = function calculateDownsamplingThreshold(_re
|
|
|
1013
1014
|
});
|
|
1014
1015
|
}
|
|
1015
1016
|
} catch (e) {
|
|
1017
|
+
// eslint-disable-next-line no-console
|
|
1016
1018
|
console.error('Error occurred while setting downsample threshold on range select event', e);
|
|
1017
1019
|
}
|
|
1018
1020
|
|
|
@@ -1179,6 +1181,7 @@ var downsampleDataSources = function downsampleDataSources(_ref4) {
|
|
|
1179
1181
|
return downsampledIndices.add(downsampleIndex);
|
|
1180
1182
|
});
|
|
1181
1183
|
} catch (e) {
|
|
1184
|
+
// eslint-disable-next-line no-console
|
|
1182
1185
|
console.error("Error occurred while downsampling column ".concat(columnIndex), e);
|
|
1183
1186
|
}
|
|
1184
1187
|
}); // update data columns with downsampled columns
|
|
@@ -1191,26 +1194,19 @@ exports.downsampleDataSources = downsampleDataSources;
|
|
|
1191
1194
|
|
|
1192
1195
|
/***/ }),
|
|
1193
1196
|
|
|
1194
|
-
/***/
|
|
1195
|
-
/***/ (function(module, exports) {
|
|
1196
|
-
|
|
1197
|
-
module.exports = require("@splunk/visualizations-shared/colorUtils");
|
|
1198
|
-
|
|
1199
|
-
/***/ }),
|
|
1200
|
-
|
|
1201
|
-
/***/ 153:
|
|
1197
|
+
/***/ 151:
|
|
1202
1198
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1203
1199
|
|
|
1204
1200
|
"use strict";
|
|
1205
1201
|
|
|
1206
1202
|
|
|
1207
|
-
var _slicedToArray = __webpack_require__(
|
|
1203
|
+
var _slicedToArray = __webpack_require__(6);
|
|
1208
1204
|
|
|
1209
|
-
var _defineProperty = __webpack_require__(
|
|
1205
|
+
var _defineProperty = __webpack_require__(13);
|
|
1210
1206
|
|
|
1211
|
-
var _toConsumableArray = __webpack_require__(
|
|
1207
|
+
var _toConsumableArray = __webpack_require__(7);
|
|
1212
1208
|
|
|
1213
|
-
var _taggedTemplateLiteral = __webpack_require__(
|
|
1209
|
+
var _taggedTemplateLiteral = __webpack_require__(79);
|
|
1214
1210
|
|
|
1215
1211
|
var _templateObject;
|
|
1216
1212
|
|
|
@@ -1225,11 +1221,11 @@ var styled_components_1 = __webpack_require__(4);
|
|
|
1225
1221
|
|
|
1226
1222
|
var lodash_1 = __webpack_require__(3);
|
|
1227
1223
|
|
|
1228
|
-
var colorUtils_1 = __webpack_require__(
|
|
1224
|
+
var colorUtils_1 = __webpack_require__(16);
|
|
1229
1225
|
|
|
1230
|
-
var MapUtils_1 = __webpack_require__(
|
|
1226
|
+
var MapUtils_1 = __webpack_require__(119);
|
|
1231
1227
|
|
|
1232
|
-
var MarkerWrapper_1 = __webpack_require__(
|
|
1228
|
+
var MarkerWrapper_1 = __webpack_require__(152);
|
|
1233
1229
|
|
|
1234
1230
|
exports.GEO_BOUND_PREFIX = '_geo_bounds_';
|
|
1235
1231
|
exports.GEO_LAT_AND_LONG_FIELD = ['_geo_long_field', '_geo_lat_field'];
|
|
@@ -1470,13 +1466,13 @@ exports.default = BubbleLayer;
|
|
|
1470
1466
|
|
|
1471
1467
|
/***/ }),
|
|
1472
1468
|
|
|
1473
|
-
/***/
|
|
1469
|
+
/***/ 152:
|
|
1474
1470
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1475
1471
|
|
|
1476
1472
|
"use strict";
|
|
1477
1473
|
|
|
1478
1474
|
|
|
1479
|
-
var _slicedToArray = __webpack_require__(
|
|
1475
|
+
var _slicedToArray = __webpack_require__(6);
|
|
1480
1476
|
|
|
1481
1477
|
var __rest = this && this.__rest || function (s, e) {
|
|
1482
1478
|
var t = {};
|
|
@@ -1495,11 +1491,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1495
1491
|
value: true
|
|
1496
1492
|
});
|
|
1497
1493
|
|
|
1498
|
-
var maplibre_gl_1 = __webpack_require__(
|
|
1494
|
+
var maplibre_gl_1 = __webpack_require__(179);
|
|
1499
1495
|
|
|
1500
1496
|
var React = __webpack_require__(0);
|
|
1501
1497
|
|
|
1502
|
-
var Tooltip_1 = __webpack_require__(
|
|
1498
|
+
var Tooltip_1 = __webpack_require__(434);
|
|
1503
1499
|
|
|
1504
1500
|
var MarkerWrapper = function MarkerWrapper(_a) {
|
|
1505
1501
|
var longitude = _a.longitude,
|
|
@@ -1584,7 +1580,7 @@ exports.default = MarkerWrapper;
|
|
|
1584
1580
|
|
|
1585
1581
|
/***/ }),
|
|
1586
1582
|
|
|
1587
|
-
/***/
|
|
1583
|
+
/***/ 153:
|
|
1588
1584
|
/***/ (function(module, exports) {
|
|
1589
1585
|
|
|
1590
1586
|
module.exports = require("@splunk/visualization-encoding/utils/dsl");
|
|
@@ -1594,17 +1590,38 @@ module.exports = require("@splunk/visualization-encoding/utils/dsl");
|
|
|
1594
1590
|
/***/ 16:
|
|
1595
1591
|
/***/ (function(module, exports) {
|
|
1596
1592
|
|
|
1597
|
-
module.exports = require("@splunk/
|
|
1593
|
+
module.exports = require("@splunk/visualizations-shared/colorUtils");
|
|
1598
1594
|
|
|
1599
1595
|
/***/ }),
|
|
1600
1596
|
|
|
1601
1597
|
/***/ 17:
|
|
1598
|
+
/***/ (function(module, exports) {
|
|
1599
|
+
|
|
1600
|
+
module.exports = require("@splunk/visualization-encoding/Options");
|
|
1601
|
+
|
|
1602
|
+
/***/ }),
|
|
1603
|
+
|
|
1604
|
+
/***/ 178:
|
|
1605
|
+
/***/ (function(module, exports) {
|
|
1606
|
+
|
|
1607
|
+
module.exports = require("chroma-js");
|
|
1608
|
+
|
|
1609
|
+
/***/ }),
|
|
1610
|
+
|
|
1611
|
+
/***/ 179:
|
|
1612
|
+
/***/ (function(module, exports) {
|
|
1613
|
+
|
|
1614
|
+
module.exports = require("maplibre-gl");
|
|
1615
|
+
|
|
1616
|
+
/***/ }),
|
|
1617
|
+
|
|
1618
|
+
/***/ 18:
|
|
1602
1619
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1603
1620
|
|
|
1604
1621
|
"use strict";
|
|
1605
1622
|
|
|
1606
1623
|
|
|
1607
|
-
var _slicedToArray = __webpack_require__(
|
|
1624
|
+
var _slicedToArray = __webpack_require__(6);
|
|
1608
1625
|
|
|
1609
1626
|
Object.defineProperty(exports, "__esModule", {
|
|
1610
1627
|
value: true
|
|
@@ -1614,9 +1631,9 @@ var React = __webpack_require__(0);
|
|
|
1614
1631
|
|
|
1615
1632
|
var styled_components_1 = __webpack_require__(4);
|
|
1616
1633
|
|
|
1617
|
-
var style_1 = __webpack_require__(
|
|
1634
|
+
var style_1 = __webpack_require__(19);
|
|
1618
1635
|
|
|
1619
|
-
var colorUtils_1 = __webpack_require__(
|
|
1636
|
+
var colorUtils_1 = __webpack_require__(16);
|
|
1620
1637
|
|
|
1621
1638
|
var SizeAwareWrapper_1 = __webpack_require__(26);
|
|
1622
1639
|
|
|
@@ -1689,7 +1706,7 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
|
|
|
1689
1706
|
|
|
1690
1707
|
return React.createElement(FixSizeItem, {
|
|
1691
1708
|
"data-test": "fix-size-item",
|
|
1692
|
-
"data-splunk-visualization-version": "26.
|
|
1709
|
+
"data-splunk-visualization-version": "26.3.0 - a1ef240a6",
|
|
1693
1710
|
width: width,
|
|
1694
1711
|
height: height,
|
|
1695
1712
|
backgroundColor: backgroundColor
|
|
@@ -1711,34 +1728,13 @@ exports.default = withFixedSizeContainer;
|
|
|
1711
1728
|
|
|
1712
1729
|
/***/ }),
|
|
1713
1730
|
|
|
1714
|
-
/***/
|
|
1715
|
-
/***/ (function(module, exports) {
|
|
1716
|
-
|
|
1717
|
-
module.exports = require("@splunk/visualizations-shared/style");
|
|
1718
|
-
|
|
1719
|
-
/***/ }),
|
|
1720
|
-
|
|
1721
|
-
/***/ 181:
|
|
1722
|
-
/***/ (function(module, exports) {
|
|
1723
|
-
|
|
1724
|
-
module.exports = require("chroma-js");
|
|
1725
|
-
|
|
1726
|
-
/***/ }),
|
|
1727
|
-
|
|
1728
|
-
/***/ 182:
|
|
1729
|
-
/***/ (function(module, exports) {
|
|
1730
|
-
|
|
1731
|
-
module.exports = require("maplibre-gl");
|
|
1732
|
-
|
|
1733
|
-
/***/ }),
|
|
1734
|
-
|
|
1735
|
-
/***/ 183:
|
|
1731
|
+
/***/ 180:
|
|
1736
1732
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1737
1733
|
|
|
1738
1734
|
"use strict";
|
|
1739
1735
|
|
|
1740
1736
|
|
|
1741
|
-
var _slicedToArray = __webpack_require__(
|
|
1737
|
+
var _slicedToArray = __webpack_require__(6);
|
|
1742
1738
|
|
|
1743
1739
|
Object.defineProperty(exports, "__esModule", {
|
|
1744
1740
|
value: true
|
|
@@ -1749,9 +1745,9 @@ var React = __webpack_require__(0);
|
|
|
1749
1745
|
|
|
1750
1746
|
var lodash_1 = __webpack_require__(3);
|
|
1751
1747
|
|
|
1752
|
-
var MapUtils_1 = __webpack_require__(
|
|
1748
|
+
var MapUtils_1 = __webpack_require__(119);
|
|
1753
1749
|
|
|
1754
|
-
var MarkerWrapper_1 = __webpack_require__(
|
|
1750
|
+
var MarkerWrapper_1 = __webpack_require__(152);
|
|
1755
1751
|
|
|
1756
1752
|
var getShapeId = function getShapeId(id) {
|
|
1757
1753
|
return "shape-".concat(id);
|
|
@@ -1871,7 +1867,8 @@ exports.Choropleth = React.memo(function (_ref) {
|
|
|
1871
1867
|
'fill-opacity': opacity,
|
|
1872
1868
|
'fill-color': color
|
|
1873
1869
|
}
|
|
1874
|
-
});
|
|
1870
|
+
}); // needs to add a second layer to adjust the thickness of the line
|
|
1871
|
+
// see https://github.com/mapbox/mapbox-gl-js/issues/3018
|
|
1875
1872
|
|
|
1876
1873
|
if (strokeColor !== 'transparent') {
|
|
1877
1874
|
map.current.addLayer({
|
|
@@ -2006,6 +2003,20 @@ exports.default = ChoroplethLayer;
|
|
|
2006
2003
|
/***/ }),
|
|
2007
2004
|
|
|
2008
2005
|
/***/ 19:
|
|
2006
|
+
/***/ (function(module, exports) {
|
|
2007
|
+
|
|
2008
|
+
module.exports = require("@splunk/visualizations-shared/style");
|
|
2009
|
+
|
|
2010
|
+
/***/ }),
|
|
2011
|
+
|
|
2012
|
+
/***/ 2:
|
|
2013
|
+
/***/ (function(module, exports) {
|
|
2014
|
+
|
|
2015
|
+
module.exports = require("@splunk/ui-utils/i18n");
|
|
2016
|
+
|
|
2017
|
+
/***/ }),
|
|
2018
|
+
|
|
2019
|
+
/***/ 21:
|
|
2009
2020
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2010
2021
|
|
|
2011
2022
|
"use strict";
|
|
@@ -2014,27 +2025,19 @@ exports.default = ChoroplethLayer;
|
|
|
2014
2025
|
Object.defineProperty(exports, "__esModule", {
|
|
2015
2026
|
value: true
|
|
2016
2027
|
});
|
|
2017
|
-
exports.validOutputModes = exports.
|
|
2028
|
+
exports.validOutputModes = exports.validSortDirs = void 0;
|
|
2018
2029
|
exports.validSortDirs = ['asc', 'desc', 'none'];
|
|
2019
|
-
exports.validSegmentationModes = ['none', 'inner'];
|
|
2020
2030
|
exports.validOutputModes = ['json_cols', 'json'];
|
|
2021
2031
|
|
|
2022
2032
|
/***/ }),
|
|
2023
2033
|
|
|
2024
|
-
/***/
|
|
2025
|
-
/***/ (function(module, exports) {
|
|
2026
|
-
|
|
2027
|
-
module.exports = require("@splunk/ui-utils/i18n");
|
|
2028
|
-
|
|
2029
|
-
/***/ }),
|
|
2030
|
-
|
|
2031
|
-
/***/ 21:
|
|
2034
|
+
/***/ 22:
|
|
2032
2035
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2033
2036
|
|
|
2034
2037
|
"use strict";
|
|
2035
2038
|
|
|
2036
2039
|
|
|
2037
|
-
var _classCallCheck = __webpack_require__(
|
|
2040
|
+
var _classCallCheck = __webpack_require__(9);
|
|
2038
2041
|
|
|
2039
2042
|
var _createClass = __webpack_require__(25);
|
|
2040
2043
|
|
|
@@ -2066,7 +2069,7 @@ exports.DefaultVizActionHandler = DefaultVizActionHandler;
|
|
|
2066
2069
|
|
|
2067
2070
|
/***/ }),
|
|
2068
2071
|
|
|
2069
|
-
/***/
|
|
2072
|
+
/***/ 23:
|
|
2070
2073
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2071
2074
|
|
|
2072
2075
|
"use strict";
|
|
@@ -2095,7 +2098,7 @@ var VizCategory;
|
|
|
2095
2098
|
|
|
2096
2099
|
/***/ }),
|
|
2097
2100
|
|
|
2098
|
-
/***/
|
|
2101
|
+
/***/ 24:
|
|
2099
2102
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2100
2103
|
|
|
2101
2104
|
"use strict";
|
|
@@ -2128,13 +2131,6 @@ exports.extendStaticWrapperProps = extendStaticWrapperProps;
|
|
|
2128
2131
|
|
|
2129
2132
|
/***/ }),
|
|
2130
2133
|
|
|
2131
|
-
/***/ 24:
|
|
2132
|
-
/***/ (function(module, exports) {
|
|
2133
|
-
|
|
2134
|
-
module.exports = require("@splunk/visualizations-shared/schemaUtils");
|
|
2135
|
-
|
|
2136
|
-
/***/ }),
|
|
2137
|
-
|
|
2138
2134
|
/***/ 25:
|
|
2139
2135
|
/***/ (function(module, exports) {
|
|
2140
2136
|
|
|
@@ -2155,99 +2151,24 @@ module.exports = require("@splunk/visualizations-shared/SizeAwareWrapper");
|
|
|
2155
2151
|
"use strict";
|
|
2156
2152
|
|
|
2157
2153
|
|
|
2158
|
-
var _toConsumableArray = __webpack_require__(
|
|
2159
|
-
|
|
2160
|
-
var _defineProperty = __webpack_require__(9);
|
|
2161
|
-
|
|
2162
|
-
var __rest = this && this.__rest || function (s, e) {
|
|
2163
|
-
var t = {};
|
|
2164
|
-
|
|
2165
|
-
for (var p in s) {
|
|
2166
|
-
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
2167
|
-
}
|
|
2168
|
-
|
|
2169
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
2170
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
2171
|
-
}
|
|
2172
|
-
return t;
|
|
2173
|
-
};
|
|
2154
|
+
var _toConsumableArray = __webpack_require__(7);
|
|
2174
2155
|
|
|
2175
2156
|
Object.defineProperty(exports, "__esModule", {
|
|
2176
2157
|
value: true
|
|
2177
2158
|
});
|
|
2178
|
-
exports.insertLayout = exports.isDynamicOption = exports.uncollapseEditorConfig = exports.generatePrecisionValues = exports.getInitialPreset = exports.
|
|
2159
|
+
exports.insertLayout = exports.isDynamicOption = exports.uncollapseEditorConfig = exports.generatePrecisionValues = exports.getInitialPreset = exports.enhanceConfig = exports.enhanceOptionsSchemaWithDynamicOptions = void 0;
|
|
2179
2160
|
|
|
2180
|
-
var lodash_1 = __webpack_require__(3);
|
|
2161
|
+
var lodash_1 = __webpack_require__(3); // included for backwards compatibility
|
|
2181
2162
|
|
|
2182
|
-
var schemaUtils_1 = __webpack_require__(24);
|
|
2183
2163
|
|
|
2184
|
-
var
|
|
2164
|
+
var visualization_schemas_1 = __webpack_require__(10);
|
|
2185
2165
|
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
* @param optionsSchema a visualization's options schema
|
|
2193
|
-
* @returns an updated options schema that additionally allows strings starting with > for each option
|
|
2194
|
-
*/
|
|
2195
|
-
|
|
2196
|
-
function enhanceOptionsSchemaWithDynamicOptions(optionsSchema) {
|
|
2197
|
-
var enhancedOptionsSchema = {};
|
|
2198
|
-
Object.keys(optionsSchema).forEach(function (key) {
|
|
2199
|
-
var _a = optionsSchema[key],
|
|
2200
|
-
title = _a.title,
|
|
2201
|
-
description = _a.description,
|
|
2202
|
-
readOnly = _a.readOnly,
|
|
2203
|
-
writeOnly = _a.writeOnly,
|
|
2204
|
-
examples = _a.examples,
|
|
2205
|
-
defaultValue = _a.default,
|
|
2206
|
-
type = _a.type,
|
|
2207
|
-
properties = _a.properties,
|
|
2208
|
-
patternProperties = _a.patternProperties,
|
|
2209
|
-
remainingSchemaEntry = __rest(_a, ["title", "description", "readOnly", "writeOnly", "examples", "default", "type", "properties", "patternProperties"]);
|
|
2210
|
-
|
|
2211
|
-
var annotations = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, title !== undefined && {
|
|
2212
|
-
title: title
|
|
2213
|
-
}), description !== undefined && {
|
|
2214
|
-
description: description
|
|
2215
|
-
}), readOnly !== undefined && {
|
|
2216
|
-
readOnly: readOnly
|
|
2217
|
-
}), writeOnly !== undefined && {
|
|
2218
|
-
writeOnly: writeOnly
|
|
2219
|
-
}), examples !== undefined && {
|
|
2220
|
-
examples: examples
|
|
2221
|
-
}), defaultValue !== undefined && {
|
|
2222
|
-
default: defaultValue
|
|
2223
|
-
});
|
|
2224
|
-
|
|
2225
|
-
if (type === 'object') {
|
|
2226
|
-
enhancedOptionsSchema[key] = Object.assign(Object.assign(Object.assign(Object.assign({}, remainingSchemaEntry), annotations), {
|
|
2227
|
-
type: type
|
|
2228
|
-
}), properties && {
|
|
2229
|
-
properties: enhanceOptionsSchemaWithDynamicOptions(properties)
|
|
2230
|
-
});
|
|
2231
|
-
|
|
2232
|
-
if (patternProperties) {
|
|
2233
|
-
var enhancedPatternProperties = {};
|
|
2234
|
-
Object.keys(patternProperties).forEach(function (opt) {
|
|
2235
|
-
enhancedPatternProperties = Object.assign(Object.assign({}, enhancedPatternProperties), enhanceOptionsSchemaWithDynamicOptions(_defineProperty({}, opt, patternProperties[opt])));
|
|
2236
|
-
});
|
|
2237
|
-
enhancedOptionsSchema[key].patternProperties = enhancedPatternProperties;
|
|
2238
|
-
}
|
|
2239
|
-
} else {
|
|
2240
|
-
enhancedOptionsSchema[key] = Object.assign(Object.assign({}, annotations), {
|
|
2241
|
-
anyOf: [Object.assign(Object.assign({}, type !== undefined && {
|
|
2242
|
-
type: type
|
|
2243
|
-
}), remainingSchemaEntry), dynamicOptionsDSLType]
|
|
2244
|
-
});
|
|
2245
|
-
}
|
|
2246
|
-
});
|
|
2247
|
-
return enhancedOptionsSchema;
|
|
2248
|
-
}
|
|
2249
|
-
|
|
2250
|
-
exports.enhanceOptionsSchemaWithDynamicOptions = enhanceOptionsSchemaWithDynamicOptions;
|
|
2166
|
+
Object.defineProperty(exports, "enhanceOptionsSchemaWithDynamicOptions", {
|
|
2167
|
+
enumerable: true,
|
|
2168
|
+
get: function get() {
|
|
2169
|
+
return visualization_schemas_1.enhanceOptionsSchemaWithDynamicOptions;
|
|
2170
|
+
}
|
|
2171
|
+
});
|
|
2251
2172
|
/**
|
|
2252
2173
|
* Helper function to enhance a Visualization Config as needed based on behaviors specified in supports block
|
|
2253
2174
|
* this function also collapse all editor panels
|
|
@@ -2258,11 +2179,6 @@ exports.enhanceOptionsSchemaWithDynamicOptions = enhanceOptionsSchemaWithDynamic
|
|
|
2258
2179
|
|
|
2259
2180
|
function enhanceConfig(vizConfig) {
|
|
2260
2181
|
var enhancedConfig = Object.assign({}, vizConfig);
|
|
2261
|
-
|
|
2262
|
-
if (vizConfig.supports.indexOf(VizBehavior_1.VizBehavior.DYNAMIC_OPTIONS) !== -1) {
|
|
2263
|
-
enhancedConfig.optionsSchema = enhanceOptionsSchemaWithDynamicOptions(vizConfig.optionsSchema);
|
|
2264
|
-
}
|
|
2265
|
-
|
|
2266
2182
|
enhancedConfig.editorConfig = vizConfig.editorConfig.map(function (config) {
|
|
2267
2183
|
return Object.assign(Object.assign({}, config), {
|
|
2268
2184
|
open: config.open || false
|
|
@@ -2473,7 +2389,7 @@ var i18n_1 = __webpack_require__(2);
|
|
|
2473
2389
|
|
|
2474
2390
|
var Message_1 = __webpack_require__(12);
|
|
2475
2391
|
|
|
2476
|
-
var FixedSizeContainer_1 = __webpack_require__(
|
|
2392
|
+
var FixedSizeContainer_1 = __webpack_require__(18);
|
|
2477
2393
|
/**
|
|
2478
2394
|
* @method shouldShowIconPlaceholder
|
|
2479
2395
|
* @param {object} dataSources
|
|
@@ -2551,7 +2467,7 @@ exports.default = (0, FixedSizeContainer_1.default)(IconPlaceholder);
|
|
|
2551
2467
|
"use strict";
|
|
2552
2468
|
|
|
2553
2469
|
|
|
2554
|
-
var _defineProperty = __webpack_require__(
|
|
2470
|
+
var _defineProperty = __webpack_require__(13);
|
|
2555
2471
|
|
|
2556
2472
|
Object.defineProperty(exports, "__esModule", {
|
|
2557
2473
|
value: true
|
|
@@ -2562,7 +2478,7 @@ var T = __webpack_require__(1);
|
|
|
2562
2478
|
|
|
2563
2479
|
var lodash_1 = __webpack_require__(3);
|
|
2564
2480
|
|
|
2565
|
-
var DataSource_1 = __webpack_require__(
|
|
2481
|
+
var DataSource_1 = __webpack_require__(21);
|
|
2566
2482
|
|
|
2567
2483
|
exports.SortParamsPropTypes = T.shape({
|
|
2568
2484
|
currentSortKey: T.string,
|
|
@@ -2727,7 +2643,7 @@ __exportStar(__webpack_require__(41), exports);
|
|
|
2727
2643
|
|
|
2728
2644
|
__exportStar(__webpack_require__(42), exports);
|
|
2729
2645
|
|
|
2730
|
-
__exportStar(__webpack_require__(
|
|
2646
|
+
__exportStar(__webpack_require__(21), exports);
|
|
2731
2647
|
|
|
2732
2648
|
__exportStar(__webpack_require__(43), exports);
|
|
2733
2649
|
|
|
@@ -2741,13 +2657,13 @@ __exportStar(__webpack_require__(47), exports);
|
|
|
2741
2657
|
|
|
2742
2658
|
__exportStar(__webpack_require__(48), exports);
|
|
2743
2659
|
|
|
2744
|
-
__exportStar(__webpack_require__(
|
|
2660
|
+
__exportStar(__webpack_require__(22), exports);
|
|
2745
2661
|
|
|
2746
|
-
__exportStar(__webpack_require__(
|
|
2662
|
+
__exportStar(__webpack_require__(8), exports);
|
|
2747
2663
|
|
|
2748
|
-
__exportStar(__webpack_require__(
|
|
2664
|
+
__exportStar(__webpack_require__(23), exports);
|
|
2749
2665
|
|
|
2750
|
-
__exportStar(__webpack_require__(
|
|
2666
|
+
__exportStar(__webpack_require__(49), exports);
|
|
2751
2667
|
|
|
2752
2668
|
__exportStar(__webpack_require__(50), exports);
|
|
2753
2669
|
|
|
@@ -2759,8 +2675,6 @@ __exportStar(__webpack_require__(53), exports);
|
|
|
2759
2675
|
|
|
2760
2676
|
__exportStar(__webpack_require__(54), exports);
|
|
2761
2677
|
|
|
2762
|
-
__exportStar(__webpack_require__(55), exports);
|
|
2763
|
-
|
|
2764
2678
|
/***/ }),
|
|
2765
2679
|
|
|
2766
2680
|
/***/ 41:
|
|
@@ -2790,19 +2704,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2790
2704
|
|
|
2791
2705
|
/***/ }),
|
|
2792
2706
|
|
|
2793
|
-
/***/
|
|
2794
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2795
|
-
|
|
2796
|
-
"use strict";
|
|
2797
|
-
|
|
2798
|
-
|
|
2799
|
-
Object.defineProperty(exports, "__esModule", {
|
|
2800
|
-
value: true
|
|
2801
|
-
});
|
|
2802
|
-
|
|
2803
|
-
/***/ }),
|
|
2804
|
-
|
|
2805
|
-
/***/ 432:
|
|
2707
|
+
/***/ 428:
|
|
2806
2708
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2807
2709
|
|
|
2808
2710
|
"use strict";
|
|
@@ -2829,27 +2731,27 @@ exports.PureMap = exports.config = exports.themes = exports.useIconPlaceholder =
|
|
|
2829
2731
|
|
|
2830
2732
|
var React = __webpack_require__(0);
|
|
2831
2733
|
|
|
2832
|
-
var colorUtils_1 = __webpack_require__(
|
|
2734
|
+
var colorUtils_1 = __webpack_require__(16);
|
|
2833
2735
|
|
|
2834
2736
|
var hocUtils_1 = __webpack_require__(34);
|
|
2835
2737
|
|
|
2836
2738
|
var JSONSchemaUtils_1 = __webpack_require__(35);
|
|
2837
2739
|
|
|
2838
|
-
var PureMap_1 = __webpack_require__(
|
|
2740
|
+
var PureMap_1 = __webpack_require__(429);
|
|
2839
2741
|
|
|
2840
2742
|
exports.PureMap = PureMap_1.default;
|
|
2841
2743
|
|
|
2842
|
-
var config_1 = __webpack_require__(
|
|
2744
|
+
var config_1 = __webpack_require__(439);
|
|
2843
2745
|
|
|
2844
2746
|
exports.config = config_1.default;
|
|
2845
2747
|
|
|
2846
|
-
var withDashboardViz_1 = __webpack_require__(
|
|
2748
|
+
var withDashboardViz_1 = __webpack_require__(55);
|
|
2847
2749
|
|
|
2848
|
-
var mapUtils_1 = __webpack_require__(
|
|
2750
|
+
var mapUtils_1 = __webpack_require__(440);
|
|
2849
2751
|
|
|
2850
|
-
var BubbleLayer_1 = __webpack_require__(
|
|
2752
|
+
var BubbleLayer_1 = __webpack_require__(151);
|
|
2851
2753
|
|
|
2852
|
-
var dataUtils_1 = __webpack_require__(
|
|
2754
|
+
var dataUtils_1 = __webpack_require__(15);
|
|
2853
2755
|
|
|
2854
2756
|
var formatLayer = function formatLayer(l, dataFields, dataSourceData, transformedData) {
|
|
2855
2757
|
// add key `geobin` to the layer object if the data is returned from geostats commands
|
|
@@ -3069,13 +2971,13 @@ exports.default = Map;
|
|
|
3069
2971
|
|
|
3070
2972
|
/***/ }),
|
|
3071
2973
|
|
|
3072
|
-
/***/
|
|
2974
|
+
/***/ 429:
|
|
3073
2975
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3074
2976
|
|
|
3075
2977
|
"use strict";
|
|
3076
2978
|
|
|
3077
2979
|
|
|
3078
|
-
var _slicedToArray = __webpack_require__(
|
|
2980
|
+
var _slicedToArray = __webpack_require__(6);
|
|
3079
2981
|
|
|
3080
2982
|
Object.defineProperty(exports, "__esModule", {
|
|
3081
2983
|
value: true
|
|
@@ -3090,23 +2992,25 @@ var react_1 = __webpack_require__(0);
|
|
|
3090
2992
|
|
|
3091
2993
|
var T = __webpack_require__(1);
|
|
3092
2994
|
|
|
3093
|
-
var chroma = __webpack_require__(
|
|
2995
|
+
var chroma = __webpack_require__(178);
|
|
3094
2996
|
|
|
3095
|
-
var maplibre_gl_1 = __webpack_require__(
|
|
2997
|
+
var maplibre_gl_1 = __webpack_require__(179);
|
|
3096
2998
|
|
|
3097
2999
|
var i18n_1 = __webpack_require__(2);
|
|
3098
3000
|
|
|
3099
|
-
var MapContext_1 = __webpack_require__(
|
|
3001
|
+
var MapContext_1 = __webpack_require__(430);
|
|
3100
3002
|
|
|
3101
|
-
var
|
|
3003
|
+
var visualization_schemas_1 = __webpack_require__(10);
|
|
3102
3004
|
|
|
3103
|
-
var
|
|
3005
|
+
var PureMapContainer_1 = __webpack_require__(431);
|
|
3104
3006
|
|
|
3105
|
-
var
|
|
3007
|
+
var MapUtils_1 = __webpack_require__(119);
|
|
3106
3008
|
|
|
3107
|
-
var
|
|
3009
|
+
var ClusterLayer_1 = __webpack_require__(433);
|
|
3108
3010
|
|
|
3109
|
-
var
|
|
3011
|
+
var ChoroplethLayer_1 = __webpack_require__(180);
|
|
3012
|
+
|
|
3013
|
+
var LocalChoroplethLayer_1 = __webpack_require__(436);
|
|
3110
3014
|
|
|
3111
3015
|
exports.DEFAULT_CENTER = [0, 0];
|
|
3112
3016
|
exports.DEFAULT_CONTROL_BACKGROUND_COLOR = '#2b3033';
|
|
@@ -3432,13 +3336,13 @@ var PureMap = function PureMap(props) {
|
|
|
3432
3336
|
ref: basemapContainer,
|
|
3433
3337
|
showScale: showScale,
|
|
3434
3338
|
showZoomControls: showZoomControls
|
|
3435
|
-
}, isMapLoaded && layer && (layer.type ===
|
|
3339
|
+
}, isMapLoaded && layer && (layer.type === visualization_schemas_1.LAYER_TYPE.Bubble || layer.type === visualization_schemas_1.LAYER_TYPE.Marker) && React.createElement(ClusterLayer_1.default, {
|
|
3436
3340
|
clusterLayer: layer,
|
|
3437
3341
|
themeColorScheme: themeColorScheme,
|
|
3438
3342
|
map: map,
|
|
3439
3343
|
zoom: currentZoomLevel,
|
|
3440
3344
|
onMapClick: onMapClick
|
|
3441
|
-
}), isMapLoaded && layer && layer.type ===
|
|
3345
|
+
}), isMapLoaded && layer && layer.type === visualization_schemas_1.LAYER_TYPE.Choropleth && layer.source && React.createElement(LocalChoroplethLayer_1.default, {
|
|
3442
3346
|
width: width,
|
|
3443
3347
|
height: height,
|
|
3444
3348
|
map: map,
|
|
@@ -3446,7 +3350,7 @@ var PureMap = function PureMap(props) {
|
|
|
3446
3350
|
isThemeChanged: isThemeChanged,
|
|
3447
3351
|
setIsThemeChanged: setIsThemeChangedCallback,
|
|
3448
3352
|
onMapClick: onMapClick
|
|
3449
|
-
}), isMapLoaded && layer && layer.type ===
|
|
3353
|
+
}), isMapLoaded && layer && layer.type === visualization_schemas_1.LAYER_TYPE.Choropleth && !layer.source && React.createElement(ChoroplethLayer_1.default, {
|
|
3450
3354
|
map: map,
|
|
3451
3355
|
choroplethLayer: layer,
|
|
3452
3356
|
isThemeChanged: isThemeChanged,
|
|
@@ -3533,14 +3437,26 @@ exports.default = PureMap;
|
|
|
3533
3437
|
|
|
3534
3438
|
/***/ }),
|
|
3535
3439
|
|
|
3536
|
-
/***/
|
|
3440
|
+
/***/ 43:
|
|
3441
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
3442
|
+
|
|
3443
|
+
"use strict";
|
|
3444
|
+
|
|
3445
|
+
|
|
3446
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3447
|
+
value: true
|
|
3448
|
+
});
|
|
3449
|
+
|
|
3450
|
+
/***/ }),
|
|
3451
|
+
|
|
3452
|
+
/***/ 430:
|
|
3537
3453
|
/***/ (function(module, exports) {
|
|
3538
3454
|
|
|
3539
3455
|
module.exports = require("@splunk/visualization-context/MapContext");
|
|
3540
3456
|
|
|
3541
3457
|
/***/ }),
|
|
3542
3458
|
|
|
3543
|
-
/***/
|
|
3459
|
+
/***/ 431:
|
|
3544
3460
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3545
3461
|
|
|
3546
3462
|
"use strict";
|
|
@@ -3554,12 +3470,12 @@ var styled_components_1 = __webpack_require__(4);
|
|
|
3554
3470
|
|
|
3555
3471
|
var lodash_1 = __webpack_require__(3);
|
|
3556
3472
|
|
|
3557
|
-
var style_1 = __webpack_require__(
|
|
3473
|
+
var style_1 = __webpack_require__(19);
|
|
3558
3474
|
|
|
3559
|
-
var maplibre_gl_css_1 = __webpack_require__(
|
|
3475
|
+
var maplibre_gl_css_1 = __webpack_require__(432);
|
|
3560
3476
|
|
|
3561
3477
|
var PureMapContainer = styled_components_1.default.div.attrs({
|
|
3562
|
-
'data-
|
|
3478
|
+
'data-test': 'puremap-container'
|
|
3563
3479
|
}).withConfig({
|
|
3564
3480
|
displayName: "PureMapContainer",
|
|
3565
3481
|
componentId: "sc-1gjwxfv-0"
|
|
@@ -3594,7 +3510,7 @@ exports.default = PureMapContainer;
|
|
|
3594
3510
|
|
|
3595
3511
|
/***/ }),
|
|
3596
3512
|
|
|
3597
|
-
/***/
|
|
3513
|
+
/***/ 432:
|
|
3598
3514
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3599
3515
|
|
|
3600
3516
|
"use strict";
|
|
@@ -3603,7 +3519,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3603
3519
|
|
|
3604
3520
|
/***/ }),
|
|
3605
3521
|
|
|
3606
|
-
/***/
|
|
3522
|
+
/***/ 433:
|
|
3607
3523
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3608
3524
|
|
|
3609
3525
|
"use strict";
|
|
@@ -3615,11 +3531,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3615
3531
|
|
|
3616
3532
|
var React = __webpack_require__(0);
|
|
3617
3533
|
|
|
3618
|
-
var
|
|
3534
|
+
var visualization_schemas_1 = __webpack_require__(10);
|
|
3619
3535
|
|
|
3620
|
-
var
|
|
3536
|
+
var BubbleLayer_1 = __webpack_require__(151);
|
|
3621
3537
|
|
|
3622
|
-
var
|
|
3538
|
+
var MarkerLayer_1 = __webpack_require__(435);
|
|
3623
3539
|
|
|
3624
3540
|
var ClusterLayer = function ClusterLayer(_ref) {
|
|
3625
3541
|
var clusterLayer = _ref.clusterLayer,
|
|
@@ -3631,7 +3547,7 @@ var ClusterLayer = function ClusterLayer(_ref) {
|
|
|
3631
3547
|
var _a;
|
|
3632
3548
|
|
|
3633
3549
|
if (((_a = map === null || map === void 0 ? void 0 : map.current) === null || _a === void 0 ? void 0 : _a.isStyleLoaded) && [clusterLayer.longitude, clusterLayer.latitude].every(Array.isArray)) {
|
|
3634
|
-
if ((clusterLayer === null || clusterLayer === void 0 ? void 0 : clusterLayer.type) ===
|
|
3550
|
+
if ((clusterLayer === null || clusterLayer === void 0 ? void 0 : clusterLayer.type) === visualization_schemas_1.LAYER_TYPE.Marker && !('geobin' in clusterLayer)) {
|
|
3635
3551
|
return React.createElement(MarkerLayer_1.default, {
|
|
3636
3552
|
markerLayer: clusterLayer,
|
|
3637
3553
|
themeColorScheme: themeColorScheme,
|
|
@@ -3640,7 +3556,7 @@ var ClusterLayer = function ClusterLayer(_ref) {
|
|
|
3640
3556
|
});
|
|
3641
3557
|
}
|
|
3642
3558
|
|
|
3643
|
-
if ((clusterLayer === null || clusterLayer === void 0 ? void 0 : clusterLayer.type) ===
|
|
3559
|
+
if ((clusterLayer === null || clusterLayer === void 0 ? void 0 : clusterLayer.type) === visualization_schemas_1.LAYER_TYPE.Bubble && 'geobin' in clusterLayer && 'bubbleSize' in clusterLayer) {
|
|
3644
3560
|
return React.createElement(BubbleLayer_1.default, {
|
|
3645
3561
|
bubbleLayer: clusterLayer,
|
|
3646
3562
|
themeColorScheme: themeColorScheme,
|
|
@@ -3658,13 +3574,13 @@ exports.default = ClusterLayer;
|
|
|
3658
3574
|
|
|
3659
3575
|
/***/ }),
|
|
3660
3576
|
|
|
3661
|
-
/***/
|
|
3577
|
+
/***/ 434:
|
|
3662
3578
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3663
3579
|
|
|
3664
3580
|
"use strict";
|
|
3665
3581
|
|
|
3666
3582
|
|
|
3667
|
-
var _taggedTemplateLiteral = __webpack_require__(
|
|
3583
|
+
var _taggedTemplateLiteral = __webpack_require__(79);
|
|
3668
3584
|
|
|
3669
3585
|
var _templateObject;
|
|
3670
3586
|
|
|
@@ -3677,26 +3593,26 @@ var React = __webpack_require__(0);
|
|
|
3677
3593
|
|
|
3678
3594
|
var styled_components_1 = __webpack_require__(4);
|
|
3679
3595
|
|
|
3680
|
-
var Popover_1 = __webpack_require__(
|
|
3596
|
+
var Popover_1 = __webpack_require__(82);
|
|
3681
3597
|
|
|
3682
3598
|
var i18n_1 = __webpack_require__(2);
|
|
3683
3599
|
|
|
3684
3600
|
var StyledPopover = (0, styled_components_1.default)(Popover_1.default)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n width: 250px;\n font-size: 12px;\n"])));
|
|
3685
3601
|
var StyledTable = styled_components_1.default.table.withConfig({
|
|
3686
3602
|
displayName: "Tooltip__StyledTable",
|
|
3687
|
-
componentId: "xwewsa-0"
|
|
3603
|
+
componentId: "sc-xwewsa-0"
|
|
3688
3604
|
})(["margin:2px 6px 2px 6px;width:calc(100% - 12px);"]);
|
|
3689
3605
|
var StyledTitleColumn = styled_components_1.default.td.withConfig({
|
|
3690
3606
|
displayName: "Tooltip__StyledTitleColumn",
|
|
3691
|
-
componentId: "xwewsa-1"
|
|
3607
|
+
componentId: "sc-xwewsa-1"
|
|
3692
3608
|
})(["opacity:0.85;"]);
|
|
3693
3609
|
var StyledValueColumn = styled_components_1.default.td.withConfig({
|
|
3694
3610
|
displayName: "Tooltip__StyledValueColumn",
|
|
3695
|
-
componentId: "xwewsa-2"
|
|
3611
|
+
componentId: "sc-xwewsa-2"
|
|
3696
3612
|
})(["text-align:right;"]);
|
|
3697
3613
|
var StyledColorBlock = styled_components_1.default.div.withConfig({
|
|
3698
3614
|
displayName: "Tooltip__StyledColorBlock",
|
|
3699
|
-
componentId: "xwewsa-3"
|
|
3615
|
+
componentId: "sc-xwewsa-3"
|
|
3700
3616
|
})(["background-color:", ";display:inline-block;margin-right:4px;border-radius:2px;width:6px;height:11px;transform:translateY(1px);"], function (props) {
|
|
3701
3617
|
return props.color;
|
|
3702
3618
|
});
|
|
@@ -3782,15 +3698,15 @@ exports.default = Tooltip;
|
|
|
3782
3698
|
|
|
3783
3699
|
/***/ }),
|
|
3784
3700
|
|
|
3785
|
-
/***/
|
|
3701
|
+
/***/ 435:
|
|
3786
3702
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3787
3703
|
|
|
3788
3704
|
"use strict";
|
|
3789
3705
|
|
|
3790
3706
|
|
|
3791
|
-
var _defineProperty = __webpack_require__(
|
|
3707
|
+
var _defineProperty = __webpack_require__(13);
|
|
3792
3708
|
|
|
3793
|
-
var _taggedTemplateLiteral = __webpack_require__(
|
|
3709
|
+
var _taggedTemplateLiteral = __webpack_require__(79);
|
|
3794
3710
|
|
|
3795
3711
|
var _templateObject;
|
|
3796
3712
|
|
|
@@ -3816,13 +3732,13 @@ var styled_components_1 = __webpack_require__(4);
|
|
|
3816
3732
|
|
|
3817
3733
|
var React = __webpack_require__(0);
|
|
3818
3734
|
|
|
3819
|
-
var colorUtils_1 = __webpack_require__(
|
|
3735
|
+
var colorUtils_1 = __webpack_require__(16);
|
|
3820
3736
|
|
|
3821
3737
|
var lodash_1 = __webpack_require__(3);
|
|
3822
3738
|
|
|
3823
|
-
var MapUtils_1 = __webpack_require__(
|
|
3739
|
+
var MapUtils_1 = __webpack_require__(119);
|
|
3824
3740
|
|
|
3825
|
-
var MarkerWrapper_1 = __webpack_require__(
|
|
3741
|
+
var MarkerWrapper_1 = __webpack_require__(152);
|
|
3826
3742
|
|
|
3827
3743
|
var MarkerIcon = function MarkerIcon(_a) {
|
|
3828
3744
|
var theme = _a.theme,
|
|
@@ -3948,25 +3864,13 @@ exports.default = MarkerLayer;
|
|
|
3948
3864
|
|
|
3949
3865
|
/***/ }),
|
|
3950
3866
|
|
|
3951
|
-
/***/
|
|
3952
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
3953
|
-
|
|
3954
|
-
"use strict";
|
|
3955
|
-
|
|
3956
|
-
|
|
3957
|
-
Object.defineProperty(exports, "__esModule", {
|
|
3958
|
-
value: true
|
|
3959
|
-
});
|
|
3960
|
-
|
|
3961
|
-
/***/ }),
|
|
3962
|
-
|
|
3963
|
-
/***/ 440:
|
|
3867
|
+
/***/ 436:
|
|
3964
3868
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3965
3869
|
|
|
3966
3870
|
"use strict";
|
|
3967
3871
|
|
|
3968
3872
|
|
|
3969
|
-
var _slicedToArray = __webpack_require__(
|
|
3873
|
+
var _slicedToArray = __webpack_require__(6);
|
|
3970
3874
|
|
|
3971
3875
|
Object.defineProperty(exports, "__esModule", {
|
|
3972
3876
|
value: true
|
|
@@ -3976,13 +3880,13 @@ var React = __webpack_require__(0);
|
|
|
3976
3880
|
|
|
3977
3881
|
var Message_1 = __webpack_require__(12);
|
|
3978
3882
|
|
|
3979
|
-
var GeoRegistry_1 = __webpack_require__(
|
|
3883
|
+
var GeoRegistry_1 = __webpack_require__(437);
|
|
3980
3884
|
|
|
3981
|
-
var GeoJsonProvider_1 = __webpack_require__(
|
|
3885
|
+
var GeoJsonProvider_1 = __webpack_require__(438);
|
|
3982
3886
|
|
|
3983
|
-
var MapUtils_1 = __webpack_require__(
|
|
3887
|
+
var MapUtils_1 = __webpack_require__(119);
|
|
3984
3888
|
|
|
3985
|
-
var ChoroplethLayer_1 = __webpack_require__(
|
|
3889
|
+
var ChoroplethLayer_1 = __webpack_require__(180);
|
|
3986
3890
|
|
|
3987
3891
|
var LocalChoroplethLayer = function LocalChoroplethLayer(props) {
|
|
3988
3892
|
var _a, _b;
|
|
@@ -4172,21 +4076,21 @@ exports.default = LocalChoroplethLayer;
|
|
|
4172
4076
|
|
|
4173
4077
|
/***/ }),
|
|
4174
4078
|
|
|
4175
|
-
/***/
|
|
4079
|
+
/***/ 437:
|
|
4176
4080
|
/***/ (function(module, exports) {
|
|
4177
4081
|
|
|
4178
4082
|
module.exports = require("@splunk/visualization-context/GeoRegistry");
|
|
4179
4083
|
|
|
4180
4084
|
/***/ }),
|
|
4181
4085
|
|
|
4182
|
-
/***/
|
|
4086
|
+
/***/ 438:
|
|
4183
4087
|
/***/ (function(module, exports) {
|
|
4184
4088
|
|
|
4185
4089
|
module.exports = require("@splunk/visualization-context/GeoJsonProvider");
|
|
4186
4090
|
|
|
4187
4091
|
/***/ }),
|
|
4188
4092
|
|
|
4189
|
-
/***/
|
|
4093
|
+
/***/ 439:
|
|
4190
4094
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4191
4095
|
|
|
4192
4096
|
"use strict";
|
|
@@ -4196,27 +4100,23 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4196
4100
|
value: true
|
|
4197
4101
|
});
|
|
4198
4102
|
|
|
4199
|
-
var visualization_icons_1 = __webpack_require__(
|
|
4103
|
+
var visualization_icons_1 = __webpack_require__(72);
|
|
4200
4104
|
|
|
4201
|
-
var placeholders_1 = __webpack_require__(
|
|
4105
|
+
var placeholders_1 = __webpack_require__(71);
|
|
4202
4106
|
|
|
4203
|
-
var
|
|
4107
|
+
var visualization_schemas_1 = __webpack_require__(10);
|
|
4204
4108
|
|
|
4205
|
-
var
|
|
4206
|
-
|
|
4207
|
-
var themes_1 = __webpack_require__(82);
|
|
4109
|
+
var themes_1 = __webpack_require__(80);
|
|
4208
4110
|
|
|
4209
4111
|
var i18n_1 = __webpack_require__(2);
|
|
4210
4112
|
|
|
4211
|
-
var VizBehavior_1 = __webpack_require__(
|
|
4113
|
+
var VizBehavior_1 = __webpack_require__(8);
|
|
4212
4114
|
|
|
4213
|
-
var VizCategory_1 = __webpack_require__(
|
|
4115
|
+
var VizCategory_1 = __webpack_require__(23);
|
|
4214
4116
|
|
|
4215
4117
|
var configUtils_1 = __webpack_require__(27);
|
|
4216
4118
|
|
|
4217
|
-
var
|
|
4218
|
-
|
|
4219
|
-
var BackgroundColor_1 = __webpack_require__(75);
|
|
4119
|
+
var BackgroundColor_1 = __webpack_require__(73);
|
|
4220
4120
|
|
|
4221
4121
|
var defaultContext = {
|
|
4222
4122
|
colorRangeConfig: [{
|
|
@@ -4256,277 +4156,6 @@ var size = {
|
|
|
4256
4156
|
initialWidth: 800,
|
|
4257
4157
|
initialHeight: 600
|
|
4258
4158
|
};
|
|
4259
|
-
var optionsSchema = {
|
|
4260
|
-
backgroundColor: {
|
|
4261
|
-
default: '> themes.defaultBackgroundColor',
|
|
4262
|
-
description: 'Specify a color for the background. You might 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".',
|
|
4263
|
-
pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA,
|
|
4264
|
-
type: 'string'
|
|
4265
|
-
},
|
|
4266
|
-
baseLayerTileServer: {
|
|
4267
|
-
type: 'string',
|
|
4268
|
-
description: 'Specify the URL for the set of tiles that make up the base map.'
|
|
4269
|
-
},
|
|
4270
|
-
baseLayerTileServerType: {
|
|
4271
|
-
type: 'string',
|
|
4272
|
-
description: 'Specify the type of tile set for the base map.',
|
|
4273
|
-
pattern: (0, schemaUtils_1.getPattern)(['vector', 'raster'])
|
|
4274
|
-
},
|
|
4275
|
-
center: {
|
|
4276
|
-
type: 'array',
|
|
4277
|
-
description: 'Specify the center of the map in coordinates, in the form of [latitude, longitude]. If you don’t provide coordinates, the map automatically centers, based on available location data. If there is no available location data, the center of the map defaults to [37.7749, -122.4194].',
|
|
4278
|
-
items: {
|
|
4279
|
-
type: 'number'
|
|
4280
|
-
}
|
|
4281
|
-
},
|
|
4282
|
-
layers: {
|
|
4283
|
-
// The option merging of defaults and data binding with editing UI happens with the default defined below.
|
|
4284
|
-
// The inner defaults for properties within anyOf objects is used only for code intellisense in UDF to populate options.
|
|
4285
|
-
default: [{
|
|
4286
|
-
type: MapUtils_1.LAYER_TYPE.Bubble,
|
|
4287
|
-
latitude: '> primary | seriesByName("latitude")',
|
|
4288
|
-
longitude: '> primary | seriesByName("longitude")',
|
|
4289
|
-
seriesColors: visualization_color_palettes_1.VIZ_CATEGORICAL,
|
|
4290
|
-
bubbleSize: '> primary | frameWithoutSeriesNames("geobin", "latitude", "longitude") | frameBySeriesTypes("number")',
|
|
4291
|
-
additionalTooltipFields: [],
|
|
4292
|
-
resultLimit: 1000
|
|
4293
|
-
}, {
|
|
4294
|
-
type: MapUtils_1.LAYER_TYPE.Marker,
|
|
4295
|
-
latitude: '> primary | seriesByName("latitude")',
|
|
4296
|
-
longitude: '> primary | seriesByName("longitude")',
|
|
4297
|
-
seriesColors: visualization_color_palettes_1.VIZ_CATEGORICAL,
|
|
4298
|
-
additionalTooltipFields: [],
|
|
4299
|
-
resultLimit: 1000
|
|
4300
|
-
}, {
|
|
4301
|
-
type: MapUtils_1.LAYER_TYPE.Choropleth,
|
|
4302
|
-
areaIds: '> primary | seriesByType("string")',
|
|
4303
|
-
areaValues: '> primary | seriesByType("number")',
|
|
4304
|
-
dataColors: '> areaValues | gradient()',
|
|
4305
|
-
additionalTooltipFields: [],
|
|
4306
|
-
resultLimit: 1000,
|
|
4307
|
-
choroplethEmptyAreaColor: '> themes.defaultChoroplethEmptyAreaColor',
|
|
4308
|
-
choroplethStrokeColor: 'transparent',
|
|
4309
|
-
choroplethOpacity: 0.8
|
|
4310
|
-
}],
|
|
4311
|
-
type: 'array',
|
|
4312
|
-
description: 'Specify the optional data visualization layers over the base map. If empty, only the base map appears.',
|
|
4313
|
-
items: {
|
|
4314
|
-
anyOf: [{
|
|
4315
|
-
type: 'object',
|
|
4316
|
-
properties: {
|
|
4317
|
-
type: {
|
|
4318
|
-
description: 'Specify the type of data layer method to display points on the map. For example, “bubble”, “marker”, or "choropleth".',
|
|
4319
|
-
type: 'string',
|
|
4320
|
-
pattern: (0, schemaUtils_1.getPattern)([MapUtils_1.LAYER_TYPE.Marker, MapUtils_1.LAYER_TYPE.Bubble, MapUtils_1.LAYER_TYPE.Choropleth]),
|
|
4321
|
-
default: MapUtils_1.LAYER_TYPE.Marker
|
|
4322
|
-
},
|
|
4323
|
-
latitude: {
|
|
4324
|
-
description: 'Specify a dataSource series to apply latitude coordinates for data points displayed on the map. This applies to layers where type: "bubble" or type: "marker".',
|
|
4325
|
-
type: ['string', 'array'],
|
|
4326
|
-
items: {
|
|
4327
|
-
type: 'number'
|
|
4328
|
-
},
|
|
4329
|
-
default: '> primary | seriesByName("latitude")'
|
|
4330
|
-
},
|
|
4331
|
-
longitude: {
|
|
4332
|
-
description: 'Specify a dataSource series to apply longitude coordinates for data points displayed on the map. This applies to layers where type: "bubble" or type: "marker".',
|
|
4333
|
-
type: ['string', 'array'],
|
|
4334
|
-
items: {
|
|
4335
|
-
type: 'number'
|
|
4336
|
-
},
|
|
4337
|
-
default: '> primary | seriesByName("longitude")'
|
|
4338
|
-
},
|
|
4339
|
-
seriesColors: {
|
|
4340
|
-
description: 'Specify the colors to use for data points. If the dataColors option is specified, the seriesColors option is ignored. The seriesColors option applies to layers where type: "bubble" or type: "marker".',
|
|
4341
|
-
type: 'array',
|
|
4342
|
-
items: {
|
|
4343
|
-
type: 'string',
|
|
4344
|
-
pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA
|
|
4345
|
-
},
|
|
4346
|
-
default: visualization_color_palettes_1.VIZ_CATEGORICAL
|
|
4347
|
-
},
|
|
4348
|
-
dataColors: {
|
|
4349
|
-
description: 'Specify the colors to use for data points. You can use an array of colors to be picked from, or you can use a dataSource to apply dynamic coloring. For example, “> primary | seriesByName("status") | matchValue(colorMatchConfig)”. When type: "choropleth", dataColors is defined by default, and the opacities are shown at 80% of maximum to allow textual information to be visible in the map. By default, the dataColors option is not defined for type "bubble" or "marker". If type: "bubble", dataColors requires bubbleSize to have only a single series configured.',
|
|
4350
|
-
type: ['string', 'array'],
|
|
4351
|
-
items: {
|
|
4352
|
-
type: 'string'
|
|
4353
|
-
}
|
|
4354
|
-
},
|
|
4355
|
-
additionalTooltipFields: {
|
|
4356
|
-
description: 'Specify the fields to add to the default set of tooltips. Tooltips appear when you hover over data points. These fields and their corresponding values are shown in addition to the ones displayed by default.',
|
|
4357
|
-
type: 'array',
|
|
4358
|
-
items: {
|
|
4359
|
-
type: 'string'
|
|
4360
|
-
},
|
|
4361
|
-
default: []
|
|
4362
|
-
},
|
|
4363
|
-
resultLimit: {
|
|
4364
|
-
description: 'Specify the maximum number of data points to render on the map. Adjust the value to improve performance.',
|
|
4365
|
-
type: 'number',
|
|
4366
|
-
default: 1000
|
|
4367
|
-
}
|
|
4368
|
-
}
|
|
4369
|
-
}, {
|
|
4370
|
-
type: 'object',
|
|
4371
|
-
properties: {
|
|
4372
|
-
type: {
|
|
4373
|
-
description: 'Specify the type of data layer method to display points on the map. For example, “bubble”, “marker”, or "choropleth".',
|
|
4374
|
-
type: 'string',
|
|
4375
|
-
pattern: (0, schemaUtils_1.getPattern)([MapUtils_1.LAYER_TYPE.Marker, MapUtils_1.LAYER_TYPE.Bubble, MapUtils_1.LAYER_TYPE.Choropleth]),
|
|
4376
|
-
default: MapUtils_1.LAYER_TYPE.Choropleth
|
|
4377
|
-
},
|
|
4378
|
-
areaIds: {
|
|
4379
|
-
description: 'Specify a dataSource series to identify each area in the choropleth map layer. This applies to layers where type: "choropleth".',
|
|
4380
|
-
type: 'array',
|
|
4381
|
-
items: {
|
|
4382
|
-
type: 'string'
|
|
4383
|
-
},
|
|
4384
|
-
default: '> primary | seriesByType("string")'
|
|
4385
|
-
},
|
|
4386
|
-
areaValues: {
|
|
4387
|
-
description: 'Specify a dataSource series that indicates the values for the choropleth map areas. This applies to layers where type: "choropleth".',
|
|
4388
|
-
type: 'array',
|
|
4389
|
-
items: {
|
|
4390
|
-
type: 'number'
|
|
4391
|
-
},
|
|
4392
|
-
default: '> primary | seriesByType("number")'
|
|
4393
|
-
},
|
|
4394
|
-
dataColors: {
|
|
4395
|
-
description: 'Specify the colors to use for data points. You can use an array of colors to be picked from, or you can use a dataSource to apply dynamic coloring. For example, “> primary | seriesByName("status") | matchValue(colorMatchConfig)”. When type: "choropleth", dataColors is defined by default. By default, the dataColors option is not defined for type "bubble" or "marker".',
|
|
4396
|
-
type: ['string', 'array'],
|
|
4397
|
-
items: {
|
|
4398
|
-
type: 'string'
|
|
4399
|
-
},
|
|
4400
|
-
default: '> areaValues | gradient()'
|
|
4401
|
-
},
|
|
4402
|
-
additionalTooltipFields: {
|
|
4403
|
-
description: 'Specify the fields to add to the default set of tooltips. Tooltips appear when you hover over data points. These fields and their corresponding values are shown in addition to the ones displayed by default.',
|
|
4404
|
-
type: 'array',
|
|
4405
|
-
items: {
|
|
4406
|
-
type: 'string'
|
|
4407
|
-
},
|
|
4408
|
-
default: []
|
|
4409
|
-
},
|
|
4410
|
-
resultLimit: {
|
|
4411
|
-
description: 'Specify the maximum number of data points to render on the map. Adjust the value to improve performance.',
|
|
4412
|
-
type: 'number',
|
|
4413
|
-
default: 1000
|
|
4414
|
-
},
|
|
4415
|
-
source: {
|
|
4416
|
-
description: 'Source for the geodata for choropleth layer: "us" or "world", and will override data specified in the SPL geom command.',
|
|
4417
|
-
pattern: (0, schemaUtils_1.getPattern)(['geo://default/us', 'geo://default/world']),
|
|
4418
|
-
type: 'string'
|
|
4419
|
-
},
|
|
4420
|
-
choroplethEmptyAreaColor: {
|
|
4421
|
-
description: 'Specify the color used for empty choropleth areas when "type": "choropleth", and will only work when "source" option is correctly configured.',
|
|
4422
|
-
pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA,
|
|
4423
|
-
type: 'string',
|
|
4424
|
-
default: '> themes.defaultChoroplethEmptyAreaColor'
|
|
4425
|
-
},
|
|
4426
|
-
choroplethStrokeColor: {
|
|
4427
|
-
description: 'Specify the stroke color for choropleth area outlines. The hex value format should be "#FFFFFF".',
|
|
4428
|
-
pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA,
|
|
4429
|
-
type: 'string',
|
|
4430
|
-
default: 'transparent'
|
|
4431
|
-
},
|
|
4432
|
-
choroplethOpacity: {
|
|
4433
|
-
description: 'Specify the opacity of choropleth areas. Choose a number in the range of 0 - 1 (inclusive). You can also express the value as a percentage. For example, "0.8" in code or "80%" in UI.',
|
|
4434
|
-
type: 'number',
|
|
4435
|
-
default: 0.8
|
|
4436
|
-
}
|
|
4437
|
-
}
|
|
4438
|
-
}, {
|
|
4439
|
-
type: 'object',
|
|
4440
|
-
properties: {
|
|
4441
|
-
type: {
|
|
4442
|
-
description: 'Specify the type of data layer method to display points on the map. For example, “bubble”, “marker”, or "choropleth".',
|
|
4443
|
-
type: 'string',
|
|
4444
|
-
pattern: (0, schemaUtils_1.getPattern)([MapUtils_1.LAYER_TYPE.Marker, MapUtils_1.LAYER_TYPE.Bubble, MapUtils_1.LAYER_TYPE.Choropleth]),
|
|
4445
|
-
default: MapUtils_1.LAYER_TYPE.Bubble
|
|
4446
|
-
},
|
|
4447
|
-
bubbleSize: {
|
|
4448
|
-
description: 'Specify the data column to encode bubble size. This applies to layers where type: "bubble".',
|
|
4449
|
-
type: ['string', 'array'],
|
|
4450
|
-
items: {
|
|
4451
|
-
type: 'number'
|
|
4452
|
-
},
|
|
4453
|
-
default: '> primary | frameWithoutSeriesNames("geobin", "latitude", "longitude") | frameBySeriesTypes("number")'
|
|
4454
|
-
},
|
|
4455
|
-
latitude: {
|
|
4456
|
-
description: 'Specify a dataSource series to apply latitude coordinates for data points displayed on the map. This applies to layers where type: "bubble" or type: "marker".',
|
|
4457
|
-
type: ['string', 'array'],
|
|
4458
|
-
items: {
|
|
4459
|
-
type: 'number'
|
|
4460
|
-
},
|
|
4461
|
-
default: '> primary | seriesByName("latitude")'
|
|
4462
|
-
},
|
|
4463
|
-
longitude: {
|
|
4464
|
-
description: 'Specify a dataSource series to apply longitude coordinates for data points displayed on the map. This applies to layers where type: "bubble" or type: "marker".',
|
|
4465
|
-
type: ['string', 'array'],
|
|
4466
|
-
items: {
|
|
4467
|
-
type: 'number'
|
|
4468
|
-
},
|
|
4469
|
-
default: '> primary | seriesByName("longitude")'
|
|
4470
|
-
},
|
|
4471
|
-
seriesColors: {
|
|
4472
|
-
description: 'Specify the colors to use for data points. If the dataColors option is specified, the seriesColors option is ignored. The seriesColors option applies to layers where type: "bubble" or type: "marker".',
|
|
4473
|
-
type: 'array',
|
|
4474
|
-
items: {
|
|
4475
|
-
type: 'string',
|
|
4476
|
-
pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA
|
|
4477
|
-
},
|
|
4478
|
-
default: visualization_color_palettes_1.VIZ_CATEGORICAL
|
|
4479
|
-
},
|
|
4480
|
-
dataColors: {
|
|
4481
|
-
description: 'Specify the colors to use for data points. You can use an array of colors to be picked from, or you can use a dataSource to apply dynamic coloring. For example, “> primary | seriesByName("status") | matchValue(colorMatchConfig)”. When type: "choropleth", dataColors is defined by default, and the opacities are shown at 80% of maximum to allow textual information to be visible in the map. By default, the dataColors option is not defined for type "bubble" or "marker". If type: "bubble", dataColors requires bubbleSize to have only a single series configured.',
|
|
4482
|
-
type: ['string', 'array'],
|
|
4483
|
-
items: {
|
|
4484
|
-
type: 'string'
|
|
4485
|
-
}
|
|
4486
|
-
},
|
|
4487
|
-
additionalTooltipFields: {
|
|
4488
|
-
description: 'Specify the fields to add to the default set of tooltips. Tooltips appear when you hover over data points. These fields and their corresponding values are shown in addition to the ones displayed by default.',
|
|
4489
|
-
type: 'array',
|
|
4490
|
-
items: {
|
|
4491
|
-
type: 'string'
|
|
4492
|
-
},
|
|
4493
|
-
default: []
|
|
4494
|
-
},
|
|
4495
|
-
resultLimit: {
|
|
4496
|
-
description: 'Specify the maximum number of data points to render on the map. Adjust the value to improve performance.',
|
|
4497
|
-
type: 'number',
|
|
4498
|
-
default: 1000
|
|
4499
|
-
}
|
|
4500
|
-
}
|
|
4501
|
-
}]
|
|
4502
|
-
}
|
|
4503
|
-
},
|
|
4504
|
-
scaleUnit: {
|
|
4505
|
-
default: 'metric',
|
|
4506
|
-
type: 'string',
|
|
4507
|
-
description: 'Specify the scale unit to use.',
|
|
4508
|
-
pattern: (0, schemaUtils_1.getPattern)(['metric', 'imperial'])
|
|
4509
|
-
},
|
|
4510
|
-
showBaseLayer: {
|
|
4511
|
-
default: true,
|
|
4512
|
-
type: 'boolean',
|
|
4513
|
-
description: 'Specify if showing the base map.'
|
|
4514
|
-
},
|
|
4515
|
-
showScale: {
|
|
4516
|
-
default: true,
|
|
4517
|
-
type: 'boolean',
|
|
4518
|
-
description: 'Specify whether to display the scale on the bottom left.'
|
|
4519
|
-
},
|
|
4520
|
-
showZoomControls: {
|
|
4521
|
-
default: true,
|
|
4522
|
-
type: 'boolean',
|
|
4523
|
-
description: 'Specify whether to display the control panel of zoom on the top left.'
|
|
4524
|
-
},
|
|
4525
|
-
zoom: {
|
|
4526
|
-
description: 'Specify the zoom level of the map.',
|
|
4527
|
-
type: 'number'
|
|
4528
|
-
}
|
|
4529
|
-
};
|
|
4530
4159
|
var themes = {
|
|
4531
4160
|
defaultBackgroundColor: function defaultBackgroundColor(props) {
|
|
4532
4161
|
return (0, themes_1.pick)({
|
|
@@ -4579,11 +4208,11 @@ var themes = {
|
|
|
4579
4208
|
};
|
|
4580
4209
|
|
|
4581
4210
|
var checkTypeIsChoropleth = function checkTypeIsChoropleth(options) {
|
|
4582
|
-
return options.layers && options.layers.length && options.layers[0].type ===
|
|
4211
|
+
return options.layers && options.layers.length && options.layers[0].type === visualization_schemas_1.LAYER_TYPE.Choropleth;
|
|
4583
4212
|
};
|
|
4584
4213
|
|
|
4585
4214
|
var checkTypeIsLocalChoropleth = function checkTypeIsLocalChoropleth(options) {
|
|
4586
|
-
return options.layers && options.layers.length && options.layers[0].type ===
|
|
4215
|
+
return options.layers && options.layers.length && options.layers[0].type === visualization_schemas_1.LAYER_TYPE.Choropleth && (options.layers[0].source === 'geo://default/us' || options.layers[0].source === 'geo://default/world');
|
|
4587
4216
|
};
|
|
4588
4217
|
|
|
4589
4218
|
var EDITOR_LABEL_WIDTH = 140;
|
|
@@ -4596,13 +4225,13 @@ var editorConfig = [{
|
|
|
4596
4225
|
editorProps: {
|
|
4597
4226
|
values: [{
|
|
4598
4227
|
label: (0, i18n_1._)('Bubble'),
|
|
4599
|
-
value:
|
|
4228
|
+
value: visualization_schemas_1.LAYER_TYPE.Bubble
|
|
4600
4229
|
}, {
|
|
4601
4230
|
label: (0, i18n_1._)('Marker'),
|
|
4602
|
-
value:
|
|
4231
|
+
value: visualization_schemas_1.LAYER_TYPE.Marker
|
|
4603
4232
|
}, {
|
|
4604
4233
|
label: (0, i18n_1._)('Choropleth'),
|
|
4605
|
-
value:
|
|
4234
|
+
value: visualization_schemas_1.LAYER_TYPE.Choropleth
|
|
4606
4235
|
}]
|
|
4607
4236
|
}
|
|
4608
4237
|
}], [{
|
|
@@ -4887,7 +4516,7 @@ var config = {
|
|
|
4887
4516
|
dataContract: dataContract,
|
|
4888
4517
|
size: size,
|
|
4889
4518
|
defaultContext: defaultContext,
|
|
4890
|
-
optionsSchema:
|
|
4519
|
+
optionsSchema: visualization_schemas_1.mapOptionsSchema,
|
|
4891
4520
|
editorConfig: editorConfig,
|
|
4892
4521
|
events: {
|
|
4893
4522
|
'map.load': {
|
|
@@ -4906,7 +4535,19 @@ exports.default = (0, configUtils_1.enhanceConfig)(config);
|
|
|
4906
4535
|
|
|
4907
4536
|
/***/ }),
|
|
4908
4537
|
|
|
4909
|
-
/***/
|
|
4538
|
+
/***/ 44:
|
|
4539
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4540
|
+
|
|
4541
|
+
"use strict";
|
|
4542
|
+
|
|
4543
|
+
|
|
4544
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4545
|
+
value: true
|
|
4546
|
+
});
|
|
4547
|
+
|
|
4548
|
+
/***/ }),
|
|
4549
|
+
|
|
4550
|
+
/***/ 440:
|
|
4910
4551
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4911
4552
|
|
|
4912
4553
|
"use strict";
|
|
@@ -4917,15 +4558,15 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4917
4558
|
});
|
|
4918
4559
|
exports.columnsNullToZeros = void 0;
|
|
4919
4560
|
|
|
4920
|
-
var types_1 = __webpack_require__(
|
|
4561
|
+
var types_1 = __webpack_require__(104);
|
|
4921
4562
|
|
|
4922
|
-
var dsl_1 = __webpack_require__(
|
|
4563
|
+
var dsl_1 = __webpack_require__(153);
|
|
4923
4564
|
|
|
4924
4565
|
var hocUtils_1 = __webpack_require__(34);
|
|
4925
4566
|
|
|
4926
4567
|
var JSONSchemaUtils_1 = __webpack_require__(35);
|
|
4927
4568
|
|
|
4928
|
-
var BubbleLayer_1 = __webpack_require__(
|
|
4569
|
+
var BubbleLayer_1 = __webpack_require__(151);
|
|
4929
4570
|
|
|
4930
4571
|
var columnsNullToZeros = function columnsNullToZeros(config, dataSources, options) {
|
|
4931
4572
|
var _a, _b;
|
|
@@ -5102,19 +4743,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5102
4743
|
"use strict";
|
|
5103
4744
|
|
|
5104
4745
|
|
|
5105
|
-
|
|
5106
|
-
value: true
|
|
5107
|
-
});
|
|
5108
|
-
|
|
5109
|
-
/***/ }),
|
|
5110
|
-
|
|
5111
|
-
/***/ 56:
|
|
5112
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
5113
|
-
|
|
5114
|
-
"use strict";
|
|
5115
|
-
|
|
5116
|
-
|
|
5117
|
-
var _slicedToArray = __webpack_require__(7);
|
|
4746
|
+
var _slicedToArray = __webpack_require__(6);
|
|
5118
4747
|
|
|
5119
4748
|
Object.defineProperty(exports, "__esModule", {
|
|
5120
4749
|
value: true
|
|
@@ -5124,15 +4753,15 @@ var React = __webpack_require__(0);
|
|
|
5124
4753
|
|
|
5125
4754
|
var lodash_1 = __webpack_require__(3);
|
|
5126
4755
|
|
|
5127
|
-
var getSettingsFromThemedProps_1 = __webpack_require__(
|
|
4756
|
+
var getSettingsFromThemedProps_1 = __webpack_require__(56);
|
|
5128
4757
|
|
|
5129
|
-
var Options_1 = __webpack_require__(
|
|
4758
|
+
var Options_1 = __webpack_require__(17);
|
|
5130
4759
|
|
|
5131
|
-
var SanitizeProps_1 = __webpack_require__(
|
|
4760
|
+
var SanitizeProps_1 = __webpack_require__(57);
|
|
5132
4761
|
|
|
5133
4762
|
var TimezoneContext_1 = __webpack_require__(32);
|
|
5134
4763
|
|
|
5135
|
-
var moment_1 = __webpack_require__(
|
|
4764
|
+
var moment_1 = __webpack_require__(58);
|
|
5136
4765
|
|
|
5137
4766
|
var FeatureFlagContext_1 = __webpack_require__(28);
|
|
5138
4767
|
|
|
@@ -5142,31 +4771,31 @@ var hocUtils_1 = __webpack_require__(34);
|
|
|
5142
4771
|
|
|
5143
4772
|
var JSONSchemaUtils_1 = __webpack_require__(35);
|
|
5144
4773
|
|
|
5145
|
-
var async_dynamic_options_evaluator_1 = __webpack_require__(
|
|
4774
|
+
var async_dynamic_options_evaluator_1 = __webpack_require__(59);
|
|
5146
4775
|
|
|
5147
4776
|
var id_1 = __webpack_require__(31);
|
|
5148
4777
|
|
|
5149
|
-
var SplunkVisualization_1 = __webpack_require__(
|
|
4778
|
+
var SplunkVisualization_1 = __webpack_require__(60);
|
|
5150
4779
|
|
|
5151
|
-
var VizBehavior_1 = __webpack_require__(
|
|
4780
|
+
var VizBehavior_1 = __webpack_require__(8);
|
|
5152
4781
|
|
|
5153
4782
|
var getSorting_1 = __webpack_require__(38);
|
|
5154
4783
|
|
|
5155
4784
|
var getPagination_1 = __webpack_require__(39);
|
|
5156
4785
|
|
|
5157
|
-
var useDeepMemo_1 = __webpack_require__(
|
|
4786
|
+
var useDeepMemo_1 = __webpack_require__(61);
|
|
5158
4787
|
|
|
5159
|
-
var MissingPropsMessage_1 = __webpack_require__(
|
|
4788
|
+
var MissingPropsMessage_1 = __webpack_require__(62);
|
|
5160
4789
|
|
|
5161
|
-
var withEditModeCover_1 = __webpack_require__(
|
|
4790
|
+
var withEditModeCover_1 = __webpack_require__(63);
|
|
5162
4791
|
|
|
5163
|
-
var withPlaceholder_1 = __webpack_require__(
|
|
4792
|
+
var withPlaceholder_1 = __webpack_require__(64);
|
|
5164
4793
|
|
|
5165
|
-
var useDownsampleDataSources_1 = __webpack_require__(
|
|
4794
|
+
var useDownsampleDataSources_1 = __webpack_require__(65);
|
|
5166
4795
|
|
|
5167
|
-
var dataUtils_1 = __webpack_require__(
|
|
4796
|
+
var dataUtils_1 = __webpack_require__(15);
|
|
5168
4797
|
|
|
5169
|
-
var featureFlagUtils_1 = __webpack_require__(
|
|
4798
|
+
var featureFlagUtils_1 = __webpack_require__(67);
|
|
5170
4799
|
/**
|
|
5171
4800
|
* hoc that wraps a pure react visualization in a Dashboard visualization
|
|
5172
4801
|
* @param {DashboardVizOpts} opts
|
|
@@ -5499,81 +5128,48 @@ exports.default = withDashboardViz;
|
|
|
5499
5128
|
|
|
5500
5129
|
/***/ }),
|
|
5501
5130
|
|
|
5502
|
-
/***/
|
|
5131
|
+
/***/ 56:
|
|
5503
5132
|
/***/ (function(module, exports) {
|
|
5504
5133
|
|
|
5505
5134
|
module.exports = require("@splunk/themes/getSettingsFromThemedProps");
|
|
5506
5135
|
|
|
5507
5136
|
/***/ }),
|
|
5508
5137
|
|
|
5509
|
-
/***/
|
|
5138
|
+
/***/ 57:
|
|
5510
5139
|
/***/ (function(module, exports) {
|
|
5511
5140
|
|
|
5512
5141
|
module.exports = require("@splunk/visualizations-shared/SanitizeProps");
|
|
5513
5142
|
|
|
5514
5143
|
/***/ }),
|
|
5515
5144
|
|
|
5516
|
-
/***/
|
|
5145
|
+
/***/ 58:
|
|
5517
5146
|
/***/ (function(module, exports) {
|
|
5518
5147
|
|
|
5519
5148
|
module.exports = require("@splunk/moment");
|
|
5520
5149
|
|
|
5521
5150
|
/***/ }),
|
|
5522
5151
|
|
|
5523
|
-
/***/
|
|
5524
|
-
/***/ (function(module, exports
|
|
5525
|
-
|
|
5526
|
-
"use strict";
|
|
5527
|
-
|
|
5528
|
-
|
|
5529
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5530
|
-
value: true
|
|
5531
|
-
});
|
|
5532
|
-
exports.VizBehavior = void 0;
|
|
5533
|
-
var VizBehavior;
|
|
5534
|
-
|
|
5535
|
-
(function (VizBehavior) {
|
|
5536
|
-
/**
|
|
5537
|
-
* Dynamic Options Behavior.
|
|
5538
|
-
* This allows visualization options to be powered by data
|
|
5539
|
-
*
|
|
5540
|
-
* **Example**
|
|
5541
|
-
*
|
|
5542
|
-
* sparklineValues: ">primary|seriesByIndex(0)"
|
|
5543
|
-
* would configure sparklineValues with an array of data points
|
|
5544
|
-
* coming from the first series in the primary datasource
|
|
5545
|
-
*
|
|
5546
|
-
*/
|
|
5547
|
-
VizBehavior["DYNAMIC_OPTIONS"] = "dynamic-options";
|
|
5548
|
-
VizBehavior["EVENTS"] = "events";
|
|
5549
|
-
VizBehavior["DOWNSAMPLING"] = "downsampling";
|
|
5550
|
-
/**
|
|
5551
|
-
* Placeholder behavior: visualization will display a placeholder rather than fail if any of the `requiredProps` is
|
|
5552
|
-
* missing.
|
|
5553
|
-
* @type {string}
|
|
5554
|
-
*/
|
|
5152
|
+
/***/ 59:
|
|
5153
|
+
/***/ (function(module, exports) {
|
|
5555
5154
|
|
|
5556
|
-
|
|
5557
|
-
VizBehavior["PAGE_AND_SORT"] = "page-and-sort";
|
|
5558
|
-
VizBehavior["TRELLIS"] = "trellis";
|
|
5559
|
-
})(VizBehavior = exports.VizBehavior || (exports.VizBehavior = {}));
|
|
5155
|
+
module.exports = require("@splunk/async-dynamic-options-evaluator");
|
|
5560
5156
|
|
|
5561
5157
|
/***/ }),
|
|
5562
5158
|
|
|
5563
|
-
/***/
|
|
5159
|
+
/***/ 6:
|
|
5564
5160
|
/***/ (function(module, exports) {
|
|
5565
5161
|
|
|
5566
|
-
module.exports = require("@
|
|
5162
|
+
module.exports = require("@babel/runtime/helpers/slicedToArray");
|
|
5567
5163
|
|
|
5568
5164
|
/***/ }),
|
|
5569
5165
|
|
|
5570
|
-
/***/
|
|
5166
|
+
/***/ 60:
|
|
5571
5167
|
/***/ (function(module, exports, __webpack_require__) {
|
|
5572
5168
|
|
|
5573
5169
|
"use strict";
|
|
5574
5170
|
|
|
5575
5171
|
|
|
5576
|
-
var _classCallCheck = __webpack_require__(
|
|
5172
|
+
var _classCallCheck = __webpack_require__(9);
|
|
5577
5173
|
|
|
5578
5174
|
Object.defineProperty(exports, "__esModule", {
|
|
5579
5175
|
value: true
|
|
@@ -5585,7 +5181,7 @@ var T = __webpack_require__(1);
|
|
|
5585
5181
|
|
|
5586
5182
|
var lodash_1 = __webpack_require__(3);
|
|
5587
5183
|
|
|
5588
|
-
var VizActionHandler_1 = __webpack_require__(
|
|
5184
|
+
var VizActionHandler_1 = __webpack_require__(22); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
|
|
5589
5185
|
|
|
5590
5186
|
|
|
5591
5187
|
exports.INITIAL_WIDTH = 250;
|
|
@@ -5719,7 +5315,7 @@ exports.default = SplunkVisualization;
|
|
|
5719
5315
|
|
|
5720
5316
|
/***/ }),
|
|
5721
5317
|
|
|
5722
|
-
/***/
|
|
5318
|
+
/***/ 61:
|
|
5723
5319
|
/***/ (function(module, exports, __webpack_require__) {
|
|
5724
5320
|
|
|
5725
5321
|
"use strict";
|
|
@@ -5765,7 +5361,7 @@ exports.useDeepMemo = useDeepMemo;
|
|
|
5765
5361
|
|
|
5766
5362
|
/***/ }),
|
|
5767
5363
|
|
|
5768
|
-
/***/
|
|
5364
|
+
/***/ 62:
|
|
5769
5365
|
/***/ (function(module, exports, __webpack_require__) {
|
|
5770
5366
|
|
|
5771
5367
|
"use strict";
|
|
@@ -5784,7 +5380,7 @@ var i18n_1 = __webpack_require__(2);
|
|
|
5784
5380
|
|
|
5785
5381
|
var Message_1 = __webpack_require__(12);
|
|
5786
5382
|
|
|
5787
|
-
var FixedSizeContainer_1 = __webpack_require__(
|
|
5383
|
+
var FixedSizeContainer_1 = __webpack_require__(18);
|
|
5788
5384
|
/**
|
|
5789
5385
|
* @method isMissing
|
|
5790
5386
|
* @param {any} v
|
|
@@ -5846,7 +5442,7 @@ exports.default = (0, FixedSizeContainer_1.default)(exports.MissingPropsMessage)
|
|
|
5846
5442
|
|
|
5847
5443
|
/***/ }),
|
|
5848
5444
|
|
|
5849
|
-
/***/
|
|
5445
|
+
/***/ 63:
|
|
5850
5446
|
/***/ (function(module, exports, __webpack_require__) {
|
|
5851
5447
|
|
|
5852
5448
|
"use strict";
|
|
@@ -5860,14 +5456,14 @@ var React = __webpack_require__(0);
|
|
|
5860
5456
|
|
|
5861
5457
|
var styled_components_1 = __webpack_require__(4);
|
|
5862
5458
|
|
|
5863
|
-
var hocUtils_1 = __webpack_require__(
|
|
5459
|
+
var hocUtils_1 = __webpack_require__(24);
|
|
5864
5460
|
|
|
5865
5461
|
var Cover = styled_components_1.default.div.withConfig({
|
|
5866
5462
|
displayName: "withEditModeCover__Cover",
|
|
5867
5463
|
componentId: "sc-1gsbnxb-0"
|
|
5868
5464
|
})(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
|
|
5869
5465
|
var Blocker = styled_components_1.default.div.attrs({
|
|
5870
|
-
'data-splunk-visualization-version': "26.
|
|
5466
|
+
'data-splunk-visualization-version': "26.3.0 - a1ef240a6"
|
|
5871
5467
|
}).withConfig({
|
|
5872
5468
|
displayName: "withEditModeCover__Blocker",
|
|
5873
5469
|
componentId: "sc-1gsbnxb-1"
|
|
@@ -5899,7 +5495,7 @@ exports.default = withEditModeCover;
|
|
|
5899
5495
|
|
|
5900
5496
|
/***/ }),
|
|
5901
5497
|
|
|
5902
|
-
/***/
|
|
5498
|
+
/***/ 64:
|
|
5903
5499
|
/***/ (function(module, exports, __webpack_require__) {
|
|
5904
5500
|
|
|
5905
5501
|
"use strict";
|
|
@@ -5911,15 +5507,15 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5911
5507
|
|
|
5912
5508
|
var React = __webpack_require__(0);
|
|
5913
5509
|
|
|
5914
|
-
var colorUtils_1 = __webpack_require__(
|
|
5510
|
+
var colorUtils_1 = __webpack_require__(16);
|
|
5915
5511
|
|
|
5916
|
-
var variables_1 = __webpack_require__(
|
|
5512
|
+
var variables_1 = __webpack_require__(14);
|
|
5917
5513
|
|
|
5918
5514
|
var IconPlaceholder_1 = __webpack_require__(37);
|
|
5919
5515
|
|
|
5920
|
-
var VizBehavior_1 = __webpack_require__(
|
|
5516
|
+
var VizBehavior_1 = __webpack_require__(8);
|
|
5921
5517
|
|
|
5922
|
-
var hocUtils_1 = __webpack_require__(
|
|
5518
|
+
var hocUtils_1 = __webpack_require__(24);
|
|
5923
5519
|
|
|
5924
5520
|
var withPlaceholder = function withPlaceholder(Visualization) {
|
|
5925
5521
|
var useIconPlaceholder = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : IconPlaceholder_1.shouldShowIconPlaceholder;
|
|
@@ -5964,13 +5560,13 @@ exports.default = withPlaceholder;
|
|
|
5964
5560
|
|
|
5965
5561
|
/***/ }),
|
|
5966
5562
|
|
|
5967
|
-
/***/
|
|
5563
|
+
/***/ 65:
|
|
5968
5564
|
/***/ (function(module, exports, __webpack_require__) {
|
|
5969
5565
|
|
|
5970
5566
|
"use strict";
|
|
5971
5567
|
|
|
5972
5568
|
|
|
5973
|
-
var _slicedToArray = __webpack_require__(
|
|
5569
|
+
var _slicedToArray = __webpack_require__(6);
|
|
5974
5570
|
|
|
5975
5571
|
Object.defineProperty(exports, "__esModule", {
|
|
5976
5572
|
value: true
|
|
@@ -5980,11 +5576,11 @@ var react_1 = __webpack_require__(0);
|
|
|
5980
5576
|
|
|
5981
5577
|
var lodash_1 = __webpack_require__(3);
|
|
5982
5578
|
|
|
5983
|
-
var dataUtils_1 = __webpack_require__(
|
|
5579
|
+
var dataUtils_1 = __webpack_require__(15);
|
|
5984
5580
|
|
|
5985
5581
|
var usePrevious_1 = __webpack_require__(33);
|
|
5986
5582
|
|
|
5987
|
-
var useGetXAndYFields_1 = __webpack_require__(
|
|
5583
|
+
var useGetXAndYFields_1 = __webpack_require__(66);
|
|
5988
5584
|
|
|
5989
5585
|
var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
|
|
5990
5586
|
var dataSources = _ref.dataSources,
|
|
@@ -6054,13 +5650,13 @@ exports.default = useDownsampleDataSources;
|
|
|
6054
5650
|
|
|
6055
5651
|
/***/ }),
|
|
6056
5652
|
|
|
6057
|
-
/***/
|
|
5653
|
+
/***/ 66:
|
|
6058
5654
|
/***/ (function(module, exports, __webpack_require__) {
|
|
6059
5655
|
|
|
6060
5656
|
"use strict";
|
|
6061
5657
|
|
|
6062
5658
|
|
|
6063
|
-
var _toConsumableArray = __webpack_require__(
|
|
5659
|
+
var _toConsumableArray = __webpack_require__(7);
|
|
6064
5660
|
|
|
6065
5661
|
Object.defineProperty(exports, "__esModule", {
|
|
6066
5662
|
value: true
|
|
@@ -6068,7 +5664,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6068
5664
|
|
|
6069
5665
|
var react_1 = __webpack_require__(0);
|
|
6070
5666
|
|
|
6071
|
-
var Options_1 = __webpack_require__(
|
|
5667
|
+
var Options_1 = __webpack_require__(17);
|
|
6072
5668
|
/**
|
|
6073
5669
|
* Hook that evaluates the DSL for subset of a viz's options needed to determine
|
|
6074
5670
|
* its x and y fields as well as the types of all its fields.
|
|
@@ -6169,7 +5765,7 @@ exports.default = useGetXAndYFields;
|
|
|
6169
5765
|
|
|
6170
5766
|
/***/ }),
|
|
6171
5767
|
|
|
6172
|
-
/***/
|
|
5768
|
+
/***/ 67:
|
|
6173
5769
|
/***/ (function(module, exports, __webpack_require__) {
|
|
6174
5770
|
|
|
6175
5771
|
"use strict";
|
|
@@ -6180,7 +5776,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6180
5776
|
});
|
|
6181
5777
|
exports.getFeatureFlag = void 0;
|
|
6182
5778
|
|
|
6183
|
-
var FeatureFlags_1 = __webpack_require__(
|
|
5779
|
+
var FeatureFlags_1 = __webpack_require__(68);
|
|
6184
5780
|
|
|
6185
5781
|
var getFeatureFlag = function getFeatureFlag(context, flagName) {
|
|
6186
5782
|
// look for feature flag in context first
|
|
@@ -6205,7 +5801,7 @@ exports.getFeatureFlag = getFeatureFlag;
|
|
|
6205
5801
|
|
|
6206
5802
|
/***/ }),
|
|
6207
5803
|
|
|
6208
|
-
/***/
|
|
5804
|
+
/***/ 68:
|
|
6209
5805
|
/***/ (function(module, exports) {
|
|
6210
5806
|
|
|
6211
5807
|
module.exports = require("@splunk/visualization-context/FeatureFlags");
|
|
@@ -6215,32 +5811,25 @@ module.exports = require("@splunk/visualization-context/FeatureFlags");
|
|
|
6215
5811
|
/***/ 7:
|
|
6216
5812
|
/***/ (function(module, exports) {
|
|
6217
5813
|
|
|
6218
|
-
module.exports = require("@babel/runtime/helpers/
|
|
5814
|
+
module.exports = require("@babel/runtime/helpers/toConsumableArray");
|
|
6219
5815
|
|
|
6220
5816
|
/***/ }),
|
|
6221
5817
|
|
|
6222
|
-
/***/
|
|
5818
|
+
/***/ 71:
|
|
6223
5819
|
/***/ (function(module, exports) {
|
|
6224
5820
|
|
|
6225
5821
|
module.exports = require("@splunk/visualization-icons/placeholders");
|
|
6226
5822
|
|
|
6227
5823
|
/***/ }),
|
|
6228
5824
|
|
|
6229
|
-
/***/
|
|
6230
|
-
/***/ (function(module, exports) {
|
|
6231
|
-
|
|
6232
|
-
module.exports = require("@splunk/visualization-color-palettes");
|
|
6233
|
-
|
|
6234
|
-
/***/ }),
|
|
6235
|
-
|
|
6236
|
-
/***/ 74:
|
|
5825
|
+
/***/ 72:
|
|
6237
5826
|
/***/ (function(module, exports) {
|
|
6238
5827
|
|
|
6239
5828
|
module.exports = require("@splunk/visualization-icons");
|
|
6240
5829
|
|
|
6241
5830
|
/***/ }),
|
|
6242
5831
|
|
|
6243
|
-
/***/
|
|
5832
|
+
/***/ 73:
|
|
6244
5833
|
/***/ (function(module, exports, __webpack_require__) {
|
|
6245
5834
|
|
|
6246
5835
|
"use strict";
|
|
@@ -6271,28 +5860,68 @@ exports.default = background;
|
|
|
6271
5860
|
|
|
6272
5861
|
/***/ }),
|
|
6273
5862
|
|
|
6274
|
-
/***/
|
|
5863
|
+
/***/ 75:
|
|
6275
5864
|
/***/ (function(module, exports) {
|
|
6276
5865
|
|
|
6277
|
-
module.exports = require("@
|
|
5866
|
+
module.exports = require("@splunk/visualization-color-palettes");
|
|
6278
5867
|
|
|
6279
5868
|
/***/ }),
|
|
6280
5869
|
|
|
6281
|
-
/***/
|
|
5870
|
+
/***/ 79:
|
|
6282
5871
|
/***/ (function(module, exports) {
|
|
6283
5872
|
|
|
6284
5873
|
module.exports = require("@babel/runtime/helpers/taggedTemplateLiteral");
|
|
6285
5874
|
|
|
6286
5875
|
/***/ }),
|
|
6287
5876
|
|
|
6288
|
-
/***/
|
|
5877
|
+
/***/ 8:
|
|
5878
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
5879
|
+
|
|
5880
|
+
"use strict";
|
|
5881
|
+
|
|
5882
|
+
|
|
5883
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5884
|
+
value: true
|
|
5885
|
+
});
|
|
5886
|
+
exports.VizBehavior = void 0;
|
|
5887
|
+
var VizBehavior;
|
|
5888
|
+
|
|
5889
|
+
(function (VizBehavior) {
|
|
5890
|
+
/**
|
|
5891
|
+
* Dynamic Options Behavior.
|
|
5892
|
+
* This allows visualization options to be powered by data
|
|
5893
|
+
*
|
|
5894
|
+
* **Example**
|
|
5895
|
+
*
|
|
5896
|
+
* sparklineValues: ">primary|seriesByIndex(0)"
|
|
5897
|
+
* would configure sparklineValues with an array of data points
|
|
5898
|
+
* coming from the first series in the primary datasource
|
|
5899
|
+
*
|
|
5900
|
+
*/
|
|
5901
|
+
VizBehavior["DYNAMIC_OPTIONS"] = "dynamic-options";
|
|
5902
|
+
VizBehavior["EVENTS"] = "events";
|
|
5903
|
+
VizBehavior["DOWNSAMPLING"] = "downsampling";
|
|
5904
|
+
/**
|
|
5905
|
+
* Placeholder behavior: visualization will display a placeholder rather than fail if any of the `requiredProps` is
|
|
5906
|
+
* missing.
|
|
5907
|
+
* @type {string}
|
|
5908
|
+
*/
|
|
5909
|
+
|
|
5910
|
+
VizBehavior["PLACEHOLDER"] = "placeholder";
|
|
5911
|
+
VizBehavior["PAGE_AND_SORT"] = "page-and-sort";
|
|
5912
|
+
VizBehavior["TRELLIS"] = "trellis";
|
|
5913
|
+
})(VizBehavior = exports.VizBehavior || (exports.VizBehavior = {}));
|
|
5914
|
+
|
|
5915
|
+
/***/ }),
|
|
5916
|
+
|
|
5917
|
+
/***/ 80:
|
|
6289
5918
|
/***/ (function(module, exports) {
|
|
6290
5919
|
|
|
6291
5920
|
module.exports = require("@splunk/themes");
|
|
6292
5921
|
|
|
6293
5922
|
/***/ }),
|
|
6294
5923
|
|
|
6295
|
-
/***/
|
|
5924
|
+
/***/ 82:
|
|
6296
5925
|
/***/ (function(module, exports) {
|
|
6297
5926
|
|
|
6298
5927
|
module.exports = require("@splunk/react-ui/Popover");
|
|
@@ -6302,7 +5931,7 @@ module.exports = require("@splunk/react-ui/Popover");
|
|
|
6302
5931
|
/***/ 9:
|
|
6303
5932
|
/***/ (function(module, exports) {
|
|
6304
5933
|
|
|
6305
|
-
module.exports = require("@babel/runtime/helpers/
|
|
5934
|
+
module.exports = require("@babel/runtime/helpers/classCallCheck");
|
|
6306
5935
|
|
|
6307
5936
|
/***/ })
|
|
6308
5937
|
|