@splunk/visualizations 25.5.0 → 25.6.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/.loki/reference/chrome_docker_PureVisualizations_PureEvents_TimeControlsPopover_Dark.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureEvents_TimeControlsPopover_DarkPrisma.png +0 -0
- package/.loki/reference/chrome_docker_PureVisualizations_PureEvents_TimeControlsPopover_Light.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Events_Events_Background_Color_Light_Blue.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Events_Events_Basic_Events.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Events_Events_Event_Actions.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Events_Events_Field_Actions.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Events_Events_Field_Summary.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Events_Events_Field_Summary_Simulated_Instance.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Events_Events_Footer_Fields.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Events_Events_Value_Highlighting.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Events_Events_Width_Height.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Events_Events_Width_Percentage_50.png +0 -0
- package/Area.js +226 -143
- package/Area.js.map +1 -1
- package/Bar.js +226 -143
- package/Bar.js.map +1 -1
- package/Bubble.js +218 -135
- package/Bubble.js.map +1 -1
- package/ChoroplethSvg.js +217 -139
- package/ChoroplethSvg.js.map +1 -1
- package/Column.js +226 -143
- package/Column.js.map +1 -1
- package/Ellipse.js +188 -105
- package/Ellipse.js.map +1 -1
- package/Events.config.js +3 -0
- package/Events.config.js.map +1 -1
- package/Events.js +967 -267
- package/Events.js.map +1 -1
- package/FillerGauge.js +214 -126
- package/FillerGauge.js.map +1 -1
- package/Image.js +210 -125
- package/Image.js.map +1 -1
- package/Line.js +231 -143
- package/Line.js.map +1 -1
- package/LinkGraph.js +601 -524
- package/LinkGraph.js.map +1 -1
- package/Map.js +484 -406
- package/Map.js.map +1 -1
- package/Markdown.js +295 -210
- package/Markdown.js.map +1 -1
- package/MarkerGauge.js +388 -310
- package/MarkerGauge.js.map +1 -1
- package/ParallelCoordinates.js +469 -391
- package/ParallelCoordinates.js.map +1 -1
- package/Pie.js +428 -343
- package/Pie.js.map +1 -1
- package/Punchcard.js +480 -402
- package/Punchcard.js.map +1 -1
- package/Rectangle.js +437 -352
- package/Rectangle.js.map +1 -1
- package/Sankey.js +497 -419
- package/Sankey.js.map +1 -1
- package/Scatter.js +361 -276
- package/Scatter.js.map +1 -1
- package/SingleValue.js +386 -301
- package/SingleValue.js.map +1 -1
- package/SingleValueBasic.js +23 -23
- package/SingleValueBasic.js.map +1 -1
- package/SingleValueIcon.js +385 -300
- package/SingleValueIcon.js.map +1 -1
- package/SingleValueRadial.js +319 -234
- package/SingleValueRadial.js.map +1 -1
- package/Table.js +309 -231
- package/Table.js.map +1 -1
- package/common/EventsDoc.js +3 -3
- package/common/EventsDoc.js.map +1 -1
- package/common/GaugeMajorTicks.js +2 -2
- package/common/GaugeValueMarker.js +2 -2
- package/common/OptionsDoc.js +14 -14
- package/common/OptionsDoc.js.map +1 -1
- package/common/ThemesDoc.js +10 -10
- package/common/ThemesDoc.js.map +1 -1
- package/common/withDashboardViz.js +122 -42
- package/common/withDashboardViz.js.map +1 -1
- package/package.json +13 -11
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 = 399);
|
|
91
91
|
/******/ })
|
|
92
92
|
/************************************************************************/
|
|
93
93
|
/******/ ({
|
|
@@ -120,7 +120,7 @@ module.exports = require("@babel/runtime/helpers/classCallCheck");
|
|
|
120
120
|
|
|
121
121
|
/***/ }),
|
|
122
122
|
|
|
123
|
-
/***/
|
|
123
|
+
/***/ 113:
|
|
124
124
|
/***/ (function(module, exports, __webpack_require__) {
|
|
125
125
|
|
|
126
126
|
"use strict";
|
|
@@ -160,13 +160,20 @@ exports.convertToArrOfObjects = convertToArrOfObjects;
|
|
|
160
160
|
|
|
161
161
|
/***/ }),
|
|
162
162
|
|
|
163
|
-
/***/
|
|
163
|
+
/***/ 12:
|
|
164
|
+
/***/ (function(module, exports) {
|
|
165
|
+
|
|
166
|
+
module.exports = require("@splunk/visualizations-shared/colorUtils");
|
|
167
|
+
|
|
168
|
+
/***/ }),
|
|
169
|
+
|
|
170
|
+
/***/ 123:
|
|
164
171
|
/***/ (function(module, exports, __webpack_require__) {
|
|
165
172
|
|
|
166
173
|
"use strict";
|
|
167
174
|
|
|
168
175
|
|
|
169
|
-
var _slicedToArray = __webpack_require__(
|
|
176
|
+
var _slicedToArray = __webpack_require__(17);
|
|
170
177
|
|
|
171
178
|
var __rest = this && this.__rest || function (s, e) {
|
|
172
179
|
var t = {};
|
|
@@ -185,11 +192,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
185
192
|
value: true
|
|
186
193
|
});
|
|
187
194
|
|
|
188
|
-
var maplibre_gl_1 = __webpack_require__(
|
|
195
|
+
var maplibre_gl_1 = __webpack_require__(147);
|
|
189
196
|
|
|
190
197
|
var React = __webpack_require__(1);
|
|
191
198
|
|
|
192
|
-
var Tooltip_1 = __webpack_require__(
|
|
199
|
+
var Tooltip_1 = __webpack_require__(405);
|
|
193
200
|
|
|
194
201
|
var MarkerWrapper = function MarkerWrapper(_a) {
|
|
195
202
|
var longitude = _a.longitude,
|
|
@@ -272,13 +279,6 @@ exports.default = MarkerWrapper;
|
|
|
272
279
|
|
|
273
280
|
/***/ }),
|
|
274
281
|
|
|
275
|
-
/***/ 12:
|
|
276
|
-
/***/ (function(module, exports) {
|
|
277
|
-
|
|
278
|
-
module.exports = require("@splunk/visualizations-shared/colorUtils");
|
|
279
|
-
|
|
280
|
-
/***/ }),
|
|
281
|
-
|
|
282
282
|
/***/ 13:
|
|
283
283
|
/***/ (function(module, exports, __webpack_require__) {
|
|
284
284
|
|
|
@@ -293,7 +293,7 @@ var React = __webpack_require__(1);
|
|
|
293
293
|
|
|
294
294
|
var styled_components_1 = __webpack_require__(4);
|
|
295
295
|
|
|
296
|
-
var SizeAwareWrapper_1 = __webpack_require__(
|
|
296
|
+
var SizeAwareWrapper_1 = __webpack_require__(21);
|
|
297
297
|
|
|
298
298
|
var style_1 = __webpack_require__(15);
|
|
299
299
|
|
|
@@ -354,7 +354,7 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
|
|
|
354
354
|
|
|
355
355
|
return React.createElement(FixSizeItem, {
|
|
356
356
|
"data-test": "fix-size-item",
|
|
357
|
-
"data-splunk-visualization-version": "25.
|
|
357
|
+
"data-splunk-visualization-version": "25.6.0 - f5eb3abf9",
|
|
358
358
|
width: width,
|
|
359
359
|
height: height,
|
|
360
360
|
backgroundColor: backgroundColor
|
|
@@ -409,27 +409,27 @@ exports.extendStaticWrapperProps = extendStaticWrapperProps;
|
|
|
409
409
|
|
|
410
410
|
/***/ }),
|
|
411
411
|
|
|
412
|
-
/***/
|
|
412
|
+
/***/ 146:
|
|
413
413
|
/***/ (function(module, exports) {
|
|
414
414
|
|
|
415
415
|
module.exports = require("chroma-js");
|
|
416
416
|
|
|
417
417
|
/***/ }),
|
|
418
418
|
|
|
419
|
-
/***/
|
|
419
|
+
/***/ 147:
|
|
420
420
|
/***/ (function(module, exports) {
|
|
421
421
|
|
|
422
422
|
module.exports = require("maplibre-gl");
|
|
423
423
|
|
|
424
424
|
/***/ }),
|
|
425
425
|
|
|
426
|
-
/***/
|
|
426
|
+
/***/ 148:
|
|
427
427
|
/***/ (function(module, exports, __webpack_require__) {
|
|
428
428
|
|
|
429
429
|
"use strict";
|
|
430
430
|
|
|
431
431
|
|
|
432
|
-
var _slicedToArray = __webpack_require__(
|
|
432
|
+
var _slicedToArray = __webpack_require__(17);
|
|
433
433
|
|
|
434
434
|
var _defineProperty = __webpack_require__(7);
|
|
435
435
|
|
|
@@ -448,9 +448,9 @@ var lodash_1 = __webpack_require__(3);
|
|
|
448
448
|
|
|
449
449
|
var colorUtils_1 = __webpack_require__(12);
|
|
450
450
|
|
|
451
|
-
var MapUtils_1 = __webpack_require__(
|
|
451
|
+
var MapUtils_1 = __webpack_require__(82);
|
|
452
452
|
|
|
453
|
-
var MarkerWrapper_1 = __webpack_require__(
|
|
453
|
+
var MarkerWrapper_1 = __webpack_require__(123);
|
|
454
454
|
|
|
455
455
|
exports.GEO_BOUND_PREFIX = '_geo_bounds_';
|
|
456
456
|
exports.PieSegment = React.memo(function (_ref) {
|
|
@@ -693,13 +693,13 @@ exports.default = BubbleLayer;
|
|
|
693
693
|
|
|
694
694
|
/***/ }),
|
|
695
695
|
|
|
696
|
-
/***/
|
|
696
|
+
/***/ 149:
|
|
697
697
|
/***/ (function(module, exports, __webpack_require__) {
|
|
698
698
|
|
|
699
699
|
"use strict";
|
|
700
700
|
|
|
701
701
|
|
|
702
|
-
var _slicedToArray = __webpack_require__(
|
|
702
|
+
var _slicedToArray = __webpack_require__(17);
|
|
703
703
|
|
|
704
704
|
Object.defineProperty(exports, "__esModule", {
|
|
705
705
|
value: true
|
|
@@ -710,9 +710,9 @@ var React = __webpack_require__(1);
|
|
|
710
710
|
|
|
711
711
|
var lodash_1 = __webpack_require__(3);
|
|
712
712
|
|
|
713
|
-
var MapUtils_1 = __webpack_require__(
|
|
713
|
+
var MapUtils_1 = __webpack_require__(82);
|
|
714
714
|
|
|
715
|
-
var MarkerWrapper_1 = __webpack_require__(
|
|
715
|
+
var MarkerWrapper_1 = __webpack_require__(123);
|
|
716
716
|
|
|
717
717
|
var getShapeId = function getShapeId(id) {
|
|
718
718
|
return "shape-".concat(id);
|
|
@@ -981,6 +981,13 @@ module.exports = require("@splunk/visualizations-shared/schemaUtils");
|
|
|
981
981
|
/***/ }),
|
|
982
982
|
|
|
983
983
|
/***/ 17:
|
|
984
|
+
/***/ (function(module, exports) {
|
|
985
|
+
|
|
986
|
+
module.exports = require("@babel/runtime/helpers/slicedToArray");
|
|
987
|
+
|
|
988
|
+
/***/ }),
|
|
989
|
+
|
|
990
|
+
/***/ 18:
|
|
984
991
|
/***/ (function(module, exports, __webpack_require__) {
|
|
985
992
|
|
|
986
993
|
"use strict";
|
|
@@ -1217,49 +1224,63 @@ exports.insertLayout = insertLayout;
|
|
|
1217
1224
|
|
|
1218
1225
|
/***/ }),
|
|
1219
1226
|
|
|
1220
|
-
/***/
|
|
1227
|
+
/***/ 2:
|
|
1221
1228
|
/***/ (function(module, exports) {
|
|
1222
1229
|
|
|
1223
|
-
module.exports = require("@
|
|
1230
|
+
module.exports = require("@splunk/ui-utils/i18n");
|
|
1224
1231
|
|
|
1225
1232
|
/***/ }),
|
|
1226
1233
|
|
|
1227
|
-
/***/
|
|
1234
|
+
/***/ 20:
|
|
1228
1235
|
/***/ (function(module, exports) {
|
|
1229
1236
|
|
|
1230
|
-
module.exports = require("@
|
|
1237
|
+
module.exports = require("@babel/runtime/helpers/createClass");
|
|
1231
1238
|
|
|
1232
1239
|
/***/ }),
|
|
1233
1240
|
|
|
1234
|
-
/***/
|
|
1241
|
+
/***/ 21:
|
|
1235
1242
|
/***/ (function(module, exports) {
|
|
1236
1243
|
|
|
1237
1244
|
module.exports = require("@splunk/visualizations-shared/SizeAwareWrapper");
|
|
1238
1245
|
|
|
1239
1246
|
/***/ }),
|
|
1240
1247
|
|
|
1241
|
-
/***/
|
|
1248
|
+
/***/ 24:
|
|
1242
1249
|
/***/ (function(module, exports) {
|
|
1243
1250
|
|
|
1244
1251
|
module.exports = require("@splunk/visualization-context/TimezoneContext");
|
|
1245
1252
|
|
|
1246
1253
|
/***/ }),
|
|
1247
1254
|
|
|
1248
|
-
/***/
|
|
1255
|
+
/***/ 26:
|
|
1256
|
+
/***/ (function(module, exports) {
|
|
1257
|
+
|
|
1258
|
+
module.exports = require("@splunk/visualization-context/FeatureFlagContext");
|
|
1259
|
+
|
|
1260
|
+
/***/ }),
|
|
1261
|
+
|
|
1262
|
+
/***/ 27:
|
|
1249
1263
|
/***/ (function(module, exports) {
|
|
1250
1264
|
|
|
1251
1265
|
module.exports = require("@splunk/visualizations-shared/hocUtils");
|
|
1252
1266
|
|
|
1253
1267
|
/***/ }),
|
|
1254
1268
|
|
|
1255
|
-
/***/
|
|
1269
|
+
/***/ 28:
|
|
1256
1270
|
/***/ (function(module, exports) {
|
|
1257
1271
|
|
|
1258
1272
|
module.exports = require("@splunk/visualizations-shared/JSONSchemaUtils");
|
|
1259
1273
|
|
|
1260
1274
|
/***/ }),
|
|
1261
1275
|
|
|
1262
|
-
/***/
|
|
1276
|
+
/***/ 3:
|
|
1277
|
+
/***/ (function(module, exports) {
|
|
1278
|
+
|
|
1279
|
+
module.exports = require("lodash");
|
|
1280
|
+
|
|
1281
|
+
/***/ }),
|
|
1282
|
+
|
|
1283
|
+
/***/ 30:
|
|
1263
1284
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1264
1285
|
|
|
1265
1286
|
"use strict";
|
|
@@ -1351,7 +1372,14 @@ exports.default = FixedSizeContainer_1.default(IconPlaceholder);
|
|
|
1351
1372
|
|
|
1352
1373
|
/***/ }),
|
|
1353
1374
|
|
|
1354
|
-
/***/
|
|
1375
|
+
/***/ 31:
|
|
1376
|
+
/***/ (function(module, exports) {
|
|
1377
|
+
|
|
1378
|
+
module.exports = require("@splunk/ui-utils/id");
|
|
1379
|
+
|
|
1380
|
+
/***/ }),
|
|
1381
|
+
|
|
1382
|
+
/***/ 32:
|
|
1355
1383
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1356
1384
|
|
|
1357
1385
|
"use strict";
|
|
@@ -1368,7 +1396,7 @@ var T = __webpack_require__(0);
|
|
|
1368
1396
|
|
|
1369
1397
|
var lodash_1 = __webpack_require__(3);
|
|
1370
1398
|
|
|
1371
|
-
var DataSource_1 = __webpack_require__(
|
|
1399
|
+
var DataSource_1 = __webpack_require__(43);
|
|
1372
1400
|
|
|
1373
1401
|
exports.SortParamsPropTypes = T.shape({
|
|
1374
1402
|
currentSortKey: T.string,
|
|
@@ -1422,7 +1450,7 @@ exports.getSortingParams = getSortingParams;
|
|
|
1422
1450
|
|
|
1423
1451
|
/***/ }),
|
|
1424
1452
|
|
|
1425
|
-
/***/
|
|
1453
|
+
/***/ 33:
|
|
1426
1454
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1427
1455
|
|
|
1428
1456
|
"use strict";
|
|
@@ -1487,14 +1515,7 @@ exports.getPaginationParams = getPaginationParams;
|
|
|
1487
1515
|
|
|
1488
1516
|
/***/ }),
|
|
1489
1517
|
|
|
1490
|
-
/***/
|
|
1491
|
-
/***/ (function(module, exports) {
|
|
1492
|
-
|
|
1493
|
-
module.exports = require("lodash");
|
|
1494
|
-
|
|
1495
|
-
/***/ }),
|
|
1496
|
-
|
|
1497
|
-
/***/ 31:
|
|
1518
|
+
/***/ 34:
|
|
1498
1519
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1499
1520
|
|
|
1500
1521
|
"use strict";
|
|
@@ -1523,12 +1544,14 @@ var VizCategory;
|
|
|
1523
1544
|
|
|
1524
1545
|
/***/ }),
|
|
1525
1546
|
|
|
1526
|
-
/***/
|
|
1547
|
+
/***/ 35:
|
|
1527
1548
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1528
1549
|
|
|
1529
1550
|
"use strict";
|
|
1530
1551
|
|
|
1531
1552
|
|
|
1553
|
+
var _slicedToArray = __webpack_require__(17);
|
|
1554
|
+
|
|
1532
1555
|
Object.defineProperty(exports, "__esModule", {
|
|
1533
1556
|
value: true
|
|
1534
1557
|
});
|
|
@@ -1537,44 +1560,51 @@ var React = __webpack_require__(1);
|
|
|
1537
1560
|
|
|
1538
1561
|
var lodash_1 = __webpack_require__(3);
|
|
1539
1562
|
|
|
1540
|
-
var getSettingsFromThemedProps_1 = __webpack_require__(
|
|
1563
|
+
var getSettingsFromThemedProps_1 = __webpack_require__(36);
|
|
1564
|
+
|
|
1565
|
+
var Options_1 = __webpack_require__(37);
|
|
1541
1566
|
|
|
1542
|
-
var
|
|
1567
|
+
var SanitizeProps_1 = __webpack_require__(38);
|
|
1543
1568
|
|
|
1544
|
-
var
|
|
1569
|
+
var TimezoneContext_1 = __webpack_require__(24);
|
|
1545
1570
|
|
|
1546
|
-
var
|
|
1571
|
+
var moment_1 = __webpack_require__(39);
|
|
1547
1572
|
|
|
1548
|
-
var
|
|
1573
|
+
var FeatureFlagContext_1 = __webpack_require__(26);
|
|
1549
1574
|
|
|
1550
1575
|
var styled_components_1 = __webpack_require__(4);
|
|
1551
1576
|
|
|
1552
|
-
var hocUtils_1 = __webpack_require__(
|
|
1577
|
+
var hocUtils_1 = __webpack_require__(27);
|
|
1553
1578
|
|
|
1554
|
-
var JSONSchemaUtils_1 = __webpack_require__(
|
|
1579
|
+
var JSONSchemaUtils_1 = __webpack_require__(28);
|
|
1555
1580
|
|
|
1556
|
-
var
|
|
1581
|
+
var async_dynamic_options_evaluator_1 = __webpack_require__(40);
|
|
1582
|
+
|
|
1583
|
+
var id_1 = __webpack_require__(31);
|
|
1584
|
+
|
|
1585
|
+
var SplunkVisualization_1 = __webpack_require__(41);
|
|
1557
1586
|
|
|
1558
1587
|
var VizBehavior_1 = __webpack_require__(6);
|
|
1559
1588
|
|
|
1560
|
-
var getSorting_1 = __webpack_require__(
|
|
1589
|
+
var getSorting_1 = __webpack_require__(32);
|
|
1590
|
+
|
|
1591
|
+
var getPagination_1 = __webpack_require__(33);
|
|
1561
1592
|
|
|
1562
|
-
var
|
|
1593
|
+
var useDeepMemo_1 = __webpack_require__(44);
|
|
1563
1594
|
|
|
1564
|
-
var
|
|
1595
|
+
var MissingPropsMessage_1 = __webpack_require__(45);
|
|
1565
1596
|
|
|
1566
|
-
var
|
|
1597
|
+
var withEditModeCover_1 = __webpack_require__(46);
|
|
1567
1598
|
|
|
1568
|
-
var
|
|
1599
|
+
var withPlaceholder_1 = __webpack_require__(47);
|
|
1569
1600
|
|
|
1570
|
-
var
|
|
1601
|
+
var UUID = id_1.createGUID();
|
|
1571
1602
|
/**
|
|
1572
1603
|
* hoc that wraps a pure react visualization in a Dashboard visualization
|
|
1573
1604
|
* @param {DashboardVizOpts} opts
|
|
1574
1605
|
* @returns {HOC}
|
|
1575
1606
|
*/
|
|
1576
1607
|
|
|
1577
|
-
|
|
1578
1608
|
var withDashboardViz = function withDashboardViz(opts) {
|
|
1579
1609
|
var ReactViz = opts.ReactViz,
|
|
1580
1610
|
vizConfig = opts.vizConfig,
|
|
@@ -1634,28 +1664,76 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
1634
1664
|
|
|
1635
1665
|
var evaluatedOptions = {}; // evaluatedOptions need to be initialized as an empty object
|
|
1636
1666
|
|
|
1667
|
+
var _React$useState = React.useState({}),
|
|
1668
|
+
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
1669
|
+
evaluatedOptionsAsync = _React$useState2[0],
|
|
1670
|
+
setEvaluatedOptionsAsync = _React$useState2[1]; // evaluatedOptions need to be initialized as an empty object
|
|
1671
|
+
|
|
1672
|
+
|
|
1673
|
+
var featureFlagContext = React.useContext(FeatureFlagContext_1.default);
|
|
1674
|
+
|
|
1675
|
+
var _React$useState3 = React.useState("".concat(vizConfig.name, " - ").concat(UUID)),
|
|
1676
|
+
_React$useState4 = _slicedToArray(_React$useState3, 1),
|
|
1677
|
+
visualizationID = _React$useState4[0];
|
|
1678
|
+
|
|
1679
|
+
var _React$useState5 = React.useState(Boolean(featureFlagContext && featureFlagContext['visualizations.useWebWorkersForDSL'] && typeof Worker !== 'undefined')),
|
|
1680
|
+
_React$useState6 = _slicedToArray(_React$useState5, 2),
|
|
1681
|
+
useAsyncEvaluatedOptions = _React$useState6[0],
|
|
1682
|
+
setUseAsyncEvaluatedOptions = _React$useState6[1];
|
|
1683
|
+
|
|
1637
1684
|
evaluatedOptions = useDeepMemo_1.useDeepMemo(function () {
|
|
1638
1685
|
try {
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1686
|
+
if (useAsyncEvaluatedOptions) {
|
|
1687
|
+
var optionsToEvaluate = {
|
|
1688
|
+
context: lodash_1.defaultsDeep({}, context, vizConfig.defaultContext),
|
|
1689
|
+
options: hocUtils_1.deepMergeWithArrayPrimitiveOverrides({}, options, defaultOptions)
|
|
1690
|
+
};
|
|
1691
|
+
var asyncDynamicOptionsEvaluatorParams = {
|
|
1692
|
+
visualizationID: visualizationID,
|
|
1693
|
+
props: props,
|
|
1694
|
+
options: optionsToEvaluate,
|
|
1695
|
+
dataSources: dataSources,
|
|
1696
|
+
theme: vizConfig.themes
|
|
1697
|
+
};
|
|
1698
|
+
async_dynamic_options_evaluator_1.default.evaluate(asyncDynamicOptionsEvaluatorParams).then(function (results) {
|
|
1699
|
+
setEvaluatedOptionsAsync(results.results);
|
|
1700
|
+
}).catch(function (e) {
|
|
1701
|
+
// eslint-disable-next-line no-console
|
|
1702
|
+
console.error("unexpected error evaluating options - async: ".concat(e.message));
|
|
1703
|
+
setUseAsyncEvaluatedOptions(false);
|
|
1704
|
+
});
|
|
1705
|
+
} else {
|
|
1706
|
+
return Options_1.Options.evaluate({
|
|
1707
|
+
context: lodash_1.defaultsDeep({}, context, vizConfig.defaultContext),
|
|
1708
|
+
options: hocUtils_1.deepMergeWithArrayPrimitiveOverrides({}, options, defaultOptions)
|
|
1709
|
+
}, dataSources, themeFunc);
|
|
1710
|
+
}
|
|
1643
1711
|
} catch (e) {
|
|
1644
1712
|
// eslint-disable-next-line no-console
|
|
1645
|
-
console.error("unexpected error evaluating options:
|
|
1713
|
+
console.error("unexpected error evaluating options: ".concat(e.message));
|
|
1646
1714
|
return {};
|
|
1647
1715
|
}
|
|
1648
|
-
|
|
1716
|
+
|
|
1717
|
+
return {};
|
|
1718
|
+
}, [currentThemeFamily, currentThemeColorScheme, currentThemeDensity, options, context, dataSources, serializedTimezone, useAsyncEvaluatedOptions]);
|
|
1719
|
+
var evaluatedOptionsToUse = !useAsyncEvaluatedOptions ? evaluatedOptions : evaluatedOptionsAsync; // useEffect hook needs to be initialized before any early returns
|
|
1649
1720
|
// this is in accordance with the order of hook calls being the same on each render https://reactjs.org/docs/hooks-rules.html#explanation
|
|
1650
1721
|
|
|
1651
1722
|
React.useEffect(function () {
|
|
1652
|
-
onComputedProps(
|
|
1653
|
-
});
|
|
1723
|
+
onComputedProps(evaluatedOptionsToUse);
|
|
1724
|
+
});
|
|
1725
|
+
React.useEffect(function () {
|
|
1726
|
+
return function () {
|
|
1727
|
+
if (useAsyncEvaluatedOptions) {
|
|
1728
|
+
async_dynamic_options_evaluator_1.default.reset(visualizationID);
|
|
1729
|
+
}
|
|
1730
|
+
}; // eslint-disable-next-line react-hooks/exhaustive-deps
|
|
1731
|
+
}, []); // present warning message if any required props are missing
|
|
1654
1732
|
|
|
1655
1733
|
var _vizConfig$requiredPr = vizConfig.requiredProps,
|
|
1656
1734
|
requiredProps = _vizConfig$requiredPr === void 0 ? [] : _vizConfig$requiredPr,
|
|
1657
1735
|
supports = vizConfig.supports;
|
|
1658
|
-
var missing = MissingPropsMessage_1.missingKeys(requiredProps,
|
|
1736
|
+
var missing = MissingPropsMessage_1.missingKeys(requiredProps, evaluatedOptionsToUse);
|
|
1659
1737
|
|
|
1660
1738
|
if (missing.length > 0 && supports.includes(VizBehavior_1.VizBehavior.PLACEHOLDER)) {
|
|
1661
1739
|
return React.createElement(MissingPropsMessage_1.default, {
|
|
@@ -1682,7 +1760,7 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
1682
1760
|
|
|
1683
1761
|
if (Array.isArray(payloadKeys) && payloadKeys.length) {
|
|
1684
1762
|
payloadKeys.forEach(function (p) {
|
|
1685
|
-
payload[p] =
|
|
1763
|
+
payload[p] = evaluatedOptionsToUse[p];
|
|
1686
1764
|
});
|
|
1687
1765
|
}
|
|
1688
1766
|
|
|
@@ -1701,7 +1779,7 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
1701
1779
|
} // compute pure viz props which are not from options
|
|
1702
1780
|
|
|
1703
1781
|
|
|
1704
|
-
var computedVizProps = computeVizProps(Object.assign(Object.assign(Object.assign(Object.assign({}, props),
|
|
1782
|
+
var computedVizProps = computeVizProps(Object.assign(Object.assign(Object.assign(Object.assign({}, props), evaluatedOptionsToUse), eventCallbackProps), {
|
|
1705
1783
|
themeFunc: themeFunc
|
|
1706
1784
|
}));
|
|
1707
1785
|
/**
|
|
@@ -1721,7 +1799,7 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
1721
1799
|
|
|
1722
1800
|
var dataSourceMetadata = {};
|
|
1723
1801
|
var OptionKey = 'paginateDataSourceKey';
|
|
1724
|
-
var paginateDataSourceKey = lodash_1.has(
|
|
1802
|
+
var paginateDataSourceKey = lodash_1.has(evaluatedOptionsToUse, OptionKey) && evaluatedOptionsToUse[OptionKey] || 'primary';
|
|
1725
1803
|
|
|
1726
1804
|
if (vizConfig.supports.indexOf(VizBehavior_1.VizBehavior.PAGE_AND_SORT) > -1 && lodash_1.has(dataSources, paginateDataSourceKey)) {
|
|
1727
1805
|
var requestParams = lodash_1.get(dataSources, [paginateDataSourceKey, 'requestParams'], {});
|
|
@@ -1751,7 +1829,7 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
1751
1829
|
mode: mode,
|
|
1752
1830
|
width: width,
|
|
1753
1831
|
height: height
|
|
1754
|
-
},
|
|
1832
|
+
}, evaluatedOptionsToUse, computedVizProps, eventCallbackProps, dataSourceMetadata));
|
|
1755
1833
|
};
|
|
1756
1834
|
|
|
1757
1835
|
DashboardViz.propTypes = Object.assign(Object.assign({}, SplunkVisualization_1.default.propTypes), ReactViz.propTypes);
|
|
@@ -1769,225 +1847,35 @@ exports.default = withDashboardViz;
|
|
|
1769
1847
|
|
|
1770
1848
|
/***/ }),
|
|
1771
1849
|
|
|
1772
|
-
/***/
|
|
1850
|
+
/***/ 36:
|
|
1773
1851
|
/***/ (function(module, exports) {
|
|
1774
1852
|
|
|
1775
1853
|
module.exports = require("@splunk/themes/getSettingsFromThemedProps");
|
|
1776
1854
|
|
|
1777
1855
|
/***/ }),
|
|
1778
1856
|
|
|
1779
|
-
/***/
|
|
1857
|
+
/***/ 37:
|
|
1780
1858
|
/***/ (function(module, exports) {
|
|
1781
1859
|
|
|
1782
1860
|
module.exports = require("@splunk/visualization-encoding/Options");
|
|
1783
1861
|
|
|
1784
1862
|
/***/ }),
|
|
1785
1863
|
|
|
1786
|
-
/***/
|
|
1864
|
+
/***/ 38:
|
|
1787
1865
|
/***/ (function(module, exports) {
|
|
1788
1866
|
|
|
1789
1867
|
module.exports = require("@splunk/visualizations-shared/SanitizeProps");
|
|
1790
1868
|
|
|
1791
1869
|
/***/ }),
|
|
1792
1870
|
|
|
1793
|
-
/***/
|
|
1871
|
+
/***/ 39:
|
|
1794
1872
|
/***/ (function(module, exports) {
|
|
1795
1873
|
|
|
1796
1874
|
module.exports = require("@splunk/moment");
|
|
1797
1875
|
|
|
1798
1876
|
/***/ }),
|
|
1799
1877
|
|
|
1800
|
-
/***/
|
|
1801
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1802
|
-
|
|
1803
|
-
"use strict";
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
var _classCallCheck = __webpack_require__(11);
|
|
1807
|
-
|
|
1808
|
-
Object.defineProperty(exports, "__esModule", {
|
|
1809
|
-
value: true
|
|
1810
|
-
});
|
|
1811
|
-
exports.INITIAL_HEIGHT = exports.INITIAL_WIDTH = void 0;
|
|
1812
|
-
/* eslint-disable react/no-unused-prop-types,react/prefer-stateless-function */
|
|
1813
|
-
|
|
1814
|
-
var T = __webpack_require__(0);
|
|
1815
|
-
|
|
1816
|
-
var lodash_1 = __webpack_require__(3);
|
|
1817
|
-
|
|
1818
|
-
var VizActionHandler_1 = __webpack_require__(38); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
exports.INITIAL_WIDTH = 250;
|
|
1822
|
-
exports.INITIAL_HEIGHT = 250;
|
|
1823
|
-
/**
|
|
1824
|
-
* A Splunk visualization
|
|
1825
|
-
*/
|
|
1826
|
-
|
|
1827
|
-
var SplunkVisualization = function SplunkVisualization() {
|
|
1828
|
-
_classCallCheck(this, SplunkVisualization);
|
|
1829
|
-
};
|
|
1830
|
-
|
|
1831
|
-
SplunkVisualization.propTypes = {
|
|
1832
|
-
/**
|
|
1833
|
-
* display mode
|
|
1834
|
-
*/
|
|
1835
|
-
mode: T.oneOf(['view', 'edit', 'export']).isRequired,
|
|
1836
|
-
|
|
1837
|
-
/**
|
|
1838
|
-
* width in pixel or string, defaults to 100%
|
|
1839
|
-
*/
|
|
1840
|
-
width: T.oneOfType([T.string, T.number]).isRequired,
|
|
1841
|
-
|
|
1842
|
-
/**
|
|
1843
|
-
* height in pixel or string
|
|
1844
|
-
*/
|
|
1845
|
-
height: T.oneOfType([T.string, T.number]).isRequired,
|
|
1846
|
-
|
|
1847
|
-
/**
|
|
1848
|
-
* visualization context used for dynamic option evaluation
|
|
1849
|
-
*/
|
|
1850
|
-
context: T.object,
|
|
1851
|
-
|
|
1852
|
-
/**
|
|
1853
|
-
* visualization formatting options
|
|
1854
|
-
*/
|
|
1855
|
-
options: T.object,
|
|
1856
|
-
|
|
1857
|
-
/**
|
|
1858
|
-
* A callback to update formatting options
|
|
1859
|
-
*/
|
|
1860
|
-
onOptionsChange: T.func,
|
|
1861
|
-
|
|
1862
|
-
/**
|
|
1863
|
-
* datasource state which include data and request params, object key indicate the datasource type.
|
|
1864
|
-
*/
|
|
1865
|
-
dataSources: T.objectOf(T.shape({
|
|
1866
|
-
/**
|
|
1867
|
-
* current request params
|
|
1868
|
-
*/
|
|
1869
|
-
requestParams: T.object,
|
|
1870
|
-
|
|
1871
|
-
/**
|
|
1872
|
-
* current dataset
|
|
1873
|
-
*/
|
|
1874
|
-
data: T.shape({
|
|
1875
|
-
fields: T.array,
|
|
1876
|
-
columns: T.array
|
|
1877
|
-
}),
|
|
1878
|
-
|
|
1879
|
-
/**
|
|
1880
|
-
* error
|
|
1881
|
-
*/
|
|
1882
|
-
error: T.shape({
|
|
1883
|
-
level: T.string,
|
|
1884
|
-
message: T.string
|
|
1885
|
-
}),
|
|
1886
|
-
|
|
1887
|
-
/**
|
|
1888
|
-
* meta data that came with the dataset
|
|
1889
|
-
*/
|
|
1890
|
-
meta: T.object
|
|
1891
|
-
})),
|
|
1892
|
-
|
|
1893
|
-
/**
|
|
1894
|
-
* A callback to trigger event
|
|
1895
|
-
*/
|
|
1896
|
-
onEventTrigger: T.func,
|
|
1897
|
-
|
|
1898
|
-
/**
|
|
1899
|
-
* Inform viz if there are handlers listening to events
|
|
1900
|
-
*/
|
|
1901
|
-
hasEventHandlers: T.bool,
|
|
1902
|
-
|
|
1903
|
-
/**
|
|
1904
|
-
* A callback to communicate computed props to a consumer
|
|
1905
|
-
*/
|
|
1906
|
-
onComputedProps: T.func,
|
|
1907
|
-
|
|
1908
|
-
/**
|
|
1909
|
-
* A callback to obtain visualization api
|
|
1910
|
-
*/
|
|
1911
|
-
vizActionHandlerRef: T.func,
|
|
1912
|
-
loading: T.bool,
|
|
1913
|
-
theme: T.object,
|
|
1914
|
-
|
|
1915
|
-
/**
|
|
1916
|
-
* A callback to request new data with updated request params
|
|
1917
|
-
*/
|
|
1918
|
-
onRequestParamsChange: T.func
|
|
1919
|
-
};
|
|
1920
|
-
/**
|
|
1921
|
-
*
|
|
1922
|
-
*/
|
|
1923
|
-
|
|
1924
|
-
SplunkVisualization.defaultProps = {
|
|
1925
|
-
// BaseVisualization in dashboard-visualizations uses 100% for width but 250 for height
|
|
1926
|
-
width: '100%',
|
|
1927
|
-
height: exports.INITIAL_HEIGHT,
|
|
1928
|
-
dataSources: {},
|
|
1929
|
-
onEventTrigger: function onEventTrigger() {
|
|
1930
|
-
return {};
|
|
1931
|
-
},
|
|
1932
|
-
mode: 'view',
|
|
1933
|
-
hasEventHandlers: false,
|
|
1934
|
-
options: {},
|
|
1935
|
-
context: {},
|
|
1936
|
-
onOptionsChange: function onOptionsChange() {
|
|
1937
|
-
return {};
|
|
1938
|
-
},
|
|
1939
|
-
vizActionHandlerRef: function vizActionHandlerRef() {
|
|
1940
|
-
return new VizActionHandler_1.DefaultVizActionHandler();
|
|
1941
|
-
},
|
|
1942
|
-
onComputedProps: function onComputedProps() {
|
|
1943
|
-
return {};
|
|
1944
|
-
},
|
|
1945
|
-
loading: false,
|
|
1946
|
-
onRequestParamsChange: lodash_1.noop
|
|
1947
|
-
};
|
|
1948
|
-
exports.default = SplunkVisualization;
|
|
1949
|
-
|
|
1950
|
-
/***/ }),
|
|
1951
|
-
|
|
1952
|
-
/***/ 38:
|
|
1953
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1954
|
-
|
|
1955
|
-
"use strict";
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
var _classCallCheck = __webpack_require__(11);
|
|
1959
|
-
|
|
1960
|
-
var _createClass = __webpack_require__(19);
|
|
1961
|
-
|
|
1962
|
-
Object.defineProperty(exports, "__esModule", {
|
|
1963
|
-
value: true
|
|
1964
|
-
});
|
|
1965
|
-
exports.DefaultVizActionHandler = void 0;
|
|
1966
|
-
|
|
1967
|
-
var DefaultVizActionHandler = /*#__PURE__*/function () {
|
|
1968
|
-
function DefaultVizActionHandler() {
|
|
1969
|
-
_classCallCheck(this, DefaultVizActionHandler);
|
|
1970
|
-
}
|
|
1971
|
-
|
|
1972
|
-
_createClass(DefaultVizActionHandler, [{
|
|
1973
|
-
key: "focus",
|
|
1974
|
-
value: function focus() {// noop
|
|
1975
|
-
}
|
|
1976
|
-
}, {
|
|
1977
|
-
key: "snapshot",
|
|
1978
|
-
value: function snapshot() {
|
|
1979
|
-
return null; // noop
|
|
1980
|
-
}
|
|
1981
|
-
}]);
|
|
1982
|
-
|
|
1983
|
-
return DefaultVizActionHandler;
|
|
1984
|
-
}();
|
|
1985
|
-
|
|
1986
|
-
exports.DefaultVizActionHandler = DefaultVizActionHandler;
|
|
1987
|
-
|
|
1988
|
-
/***/ }),
|
|
1989
|
-
|
|
1990
|
-
/***/ 389:
|
|
1878
|
+
/***/ 399:
|
|
1991
1879
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1992
1880
|
|
|
1993
1881
|
"use strict";
|
|
@@ -2016,27 +1904,27 @@ var React = __webpack_require__(1);
|
|
|
2016
1904
|
|
|
2017
1905
|
var colorUtils_1 = __webpack_require__(12);
|
|
2018
1906
|
|
|
2019
|
-
var dsl_1 = __webpack_require__(
|
|
1907
|
+
var dsl_1 = __webpack_require__(98);
|
|
2020
1908
|
|
|
2021
|
-
var hocUtils_1 = __webpack_require__(
|
|
1909
|
+
var hocUtils_1 = __webpack_require__(27);
|
|
2022
1910
|
|
|
2023
|
-
var JSONSchemaUtils_1 = __webpack_require__(
|
|
1911
|
+
var JSONSchemaUtils_1 = __webpack_require__(28);
|
|
2024
1912
|
|
|
2025
|
-
var PureMap_1 = __webpack_require__(
|
|
1913
|
+
var PureMap_1 = __webpack_require__(400);
|
|
2026
1914
|
|
|
2027
1915
|
exports.PureMap = PureMap_1.default;
|
|
2028
1916
|
|
|
2029
|
-
var config_1 = __webpack_require__(
|
|
1917
|
+
var config_1 = __webpack_require__(410);
|
|
2030
1918
|
|
|
2031
1919
|
exports.config = config_1.default;
|
|
2032
1920
|
|
|
2033
|
-
var withDashboardViz_1 = __webpack_require__(
|
|
1921
|
+
var withDashboardViz_1 = __webpack_require__(35);
|
|
2034
1922
|
|
|
2035
|
-
var mapUtils_1 = __webpack_require__(
|
|
1923
|
+
var mapUtils_1 = __webpack_require__(411);
|
|
2036
1924
|
|
|
2037
|
-
var BubbleLayer_1 = __webpack_require__(
|
|
1925
|
+
var BubbleLayer_1 = __webpack_require__(148);
|
|
2038
1926
|
|
|
2039
|
-
var dataUtils_1 = __webpack_require__(
|
|
1927
|
+
var dataUtils_1 = __webpack_require__(113);
|
|
2040
1928
|
|
|
2041
1929
|
var formatLayer = function formatLayer(l, dataFields, dataSourceData, transformedData) {
|
|
2042
1930
|
// add key `geobin` to the layer object if the data is returned from geostats commands
|
|
@@ -2252,27 +2140,27 @@ exports.default = Map;
|
|
|
2252
2140
|
|
|
2253
2141
|
/***/ }),
|
|
2254
2142
|
|
|
2255
|
-
/***/
|
|
2256
|
-
/***/ (function(module, exports
|
|
2143
|
+
/***/ 4:
|
|
2144
|
+
/***/ (function(module, exports) {
|
|
2257
2145
|
|
|
2258
|
-
|
|
2146
|
+
module.exports = require("styled-components");
|
|
2259
2147
|
|
|
2148
|
+
/***/ }),
|
|
2260
2149
|
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
exports
|
|
2265
|
-
exports.validSortDirs = ['asc', 'desc', 'none'];
|
|
2150
|
+
/***/ 40:
|
|
2151
|
+
/***/ (function(module, exports) {
|
|
2152
|
+
|
|
2153
|
+
module.exports = require("@splunk/async-dynamic-options-evaluator");
|
|
2266
2154
|
|
|
2267
2155
|
/***/ }),
|
|
2268
2156
|
|
|
2269
|
-
/***/
|
|
2157
|
+
/***/ 400:
|
|
2270
2158
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2271
2159
|
|
|
2272
2160
|
"use strict";
|
|
2273
2161
|
|
|
2274
2162
|
|
|
2275
|
-
var _slicedToArray = __webpack_require__(
|
|
2163
|
+
var _slicedToArray = __webpack_require__(17);
|
|
2276
2164
|
|
|
2277
2165
|
Object.defineProperty(exports, "__esModule", {
|
|
2278
2166
|
value: true
|
|
@@ -2287,21 +2175,21 @@ var react_1 = __webpack_require__(1);
|
|
|
2287
2175
|
|
|
2288
2176
|
var T = __webpack_require__(0);
|
|
2289
2177
|
|
|
2290
|
-
var chroma = __webpack_require__(
|
|
2178
|
+
var chroma = __webpack_require__(146);
|
|
2291
2179
|
|
|
2292
|
-
var maplibre_gl_1 = __webpack_require__(
|
|
2180
|
+
var maplibre_gl_1 = __webpack_require__(147);
|
|
2293
2181
|
|
|
2294
|
-
var MapContext_1 = __webpack_require__(
|
|
2182
|
+
var MapContext_1 = __webpack_require__(401);
|
|
2295
2183
|
|
|
2296
|
-
var PureMapContainer_1 = __webpack_require__(
|
|
2184
|
+
var PureMapContainer_1 = __webpack_require__(402);
|
|
2297
2185
|
|
|
2298
|
-
var MapUtils_1 = __webpack_require__(
|
|
2186
|
+
var MapUtils_1 = __webpack_require__(82);
|
|
2299
2187
|
|
|
2300
|
-
var ClusterLayer_1 = __webpack_require__(
|
|
2188
|
+
var ClusterLayer_1 = __webpack_require__(404);
|
|
2301
2189
|
|
|
2302
|
-
var ChoroplethLayer_1 = __webpack_require__(
|
|
2190
|
+
var ChoroplethLayer_1 = __webpack_require__(149);
|
|
2303
2191
|
|
|
2304
|
-
var LocalChoroplethLayer_1 = __webpack_require__(
|
|
2192
|
+
var LocalChoroplethLayer_1 = __webpack_require__(407);
|
|
2305
2193
|
|
|
2306
2194
|
exports.DEFAULT_CENTER = [0, 0];
|
|
2307
2195
|
exports.DEFAULT_CONTROL_BACKGROUND_COLOR = '#2b3033';
|
|
@@ -2652,14 +2540,14 @@ exports.default = PureMap;
|
|
|
2652
2540
|
|
|
2653
2541
|
/***/ }),
|
|
2654
2542
|
|
|
2655
|
-
/***/
|
|
2543
|
+
/***/ 401:
|
|
2656
2544
|
/***/ (function(module, exports) {
|
|
2657
2545
|
|
|
2658
2546
|
module.exports = require("@splunk/visualization-context/MapContext");
|
|
2659
2547
|
|
|
2660
2548
|
/***/ }),
|
|
2661
2549
|
|
|
2662
|
-
/***/
|
|
2550
|
+
/***/ 402:
|
|
2663
2551
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2664
2552
|
|
|
2665
2553
|
"use strict";
|
|
@@ -2675,7 +2563,7 @@ var lodash_1 = __webpack_require__(3);
|
|
|
2675
2563
|
|
|
2676
2564
|
var style_1 = __webpack_require__(15);
|
|
2677
2565
|
|
|
2678
|
-
var maplibre_gl_css_1 = __webpack_require__(
|
|
2566
|
+
var maplibre_gl_css_1 = __webpack_require__(403);
|
|
2679
2567
|
|
|
2680
2568
|
var PureMapContainer = styled_components_1.default.div.withConfig({
|
|
2681
2569
|
displayName: "PureMapContainer",
|
|
@@ -2711,7 +2599,7 @@ exports.default = PureMapContainer;
|
|
|
2711
2599
|
|
|
2712
2600
|
/***/ }),
|
|
2713
2601
|
|
|
2714
|
-
/***/
|
|
2602
|
+
/***/ 403:
|
|
2715
2603
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2716
2604
|
|
|
2717
2605
|
"use strict";
|
|
@@ -2720,7 +2608,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2720
2608
|
|
|
2721
2609
|
/***/ }),
|
|
2722
2610
|
|
|
2723
|
-
/***/
|
|
2611
|
+
/***/ 404:
|
|
2724
2612
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2725
2613
|
|
|
2726
2614
|
"use strict";
|
|
@@ -2732,11 +2620,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2732
2620
|
|
|
2733
2621
|
var React = __webpack_require__(1);
|
|
2734
2622
|
|
|
2735
|
-
var BubbleLayer_1 = __webpack_require__(
|
|
2623
|
+
var BubbleLayer_1 = __webpack_require__(148);
|
|
2736
2624
|
|
|
2737
|
-
var MarkerLayer_1 = __webpack_require__(
|
|
2625
|
+
var MarkerLayer_1 = __webpack_require__(406);
|
|
2738
2626
|
|
|
2739
|
-
var MapUtils_1 = __webpack_require__(
|
|
2627
|
+
var MapUtils_1 = __webpack_require__(82);
|
|
2740
2628
|
|
|
2741
2629
|
var ClusterLayer = function ClusterLayer(_ref) {
|
|
2742
2630
|
var clusterLayer = _ref.clusterLayer,
|
|
@@ -2775,7 +2663,7 @@ exports.default = ClusterLayer;
|
|
|
2775
2663
|
|
|
2776
2664
|
/***/ }),
|
|
2777
2665
|
|
|
2778
|
-
/***/
|
|
2666
|
+
/***/ 405:
|
|
2779
2667
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2780
2668
|
|
|
2781
2669
|
"use strict";
|
|
@@ -2894,7 +2782,7 @@ exports.default = Tooltip;
|
|
|
2894
2782
|
|
|
2895
2783
|
/***/ }),
|
|
2896
2784
|
|
|
2897
|
-
/***/
|
|
2785
|
+
/***/ 406:
|
|
2898
2786
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2899
2787
|
|
|
2900
2788
|
"use strict";
|
|
@@ -2928,9 +2816,9 @@ var colorUtils_1 = __webpack_require__(12);
|
|
|
2928
2816
|
|
|
2929
2817
|
var lodash_1 = __webpack_require__(3);
|
|
2930
2818
|
|
|
2931
|
-
var MapUtils_1 = __webpack_require__(
|
|
2819
|
+
var MapUtils_1 = __webpack_require__(82);
|
|
2932
2820
|
|
|
2933
|
-
var MarkerWrapper_1 = __webpack_require__(
|
|
2821
|
+
var MarkerWrapper_1 = __webpack_require__(123);
|
|
2934
2822
|
|
|
2935
2823
|
var MarkerIcon = function MarkerIcon(_a) {
|
|
2936
2824
|
var theme = _a.theme,
|
|
@@ -3059,13 +2947,13 @@ exports.default = MarkerLayer;
|
|
|
3059
2947
|
|
|
3060
2948
|
/***/ }),
|
|
3061
2949
|
|
|
3062
|
-
/***/
|
|
2950
|
+
/***/ 407:
|
|
3063
2951
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3064
2952
|
|
|
3065
2953
|
"use strict";
|
|
3066
2954
|
|
|
3067
2955
|
|
|
3068
|
-
var _slicedToArray = __webpack_require__(
|
|
2956
|
+
var _slicedToArray = __webpack_require__(17);
|
|
3069
2957
|
|
|
3070
2958
|
Object.defineProperty(exports, "__esModule", {
|
|
3071
2959
|
value: true
|
|
@@ -3075,13 +2963,13 @@ var React = __webpack_require__(1);
|
|
|
3075
2963
|
|
|
3076
2964
|
var Message_1 = __webpack_require__(10);
|
|
3077
2965
|
|
|
3078
|
-
var GeoRegistry_1 = __webpack_require__(
|
|
2966
|
+
var GeoRegistry_1 = __webpack_require__(408);
|
|
3079
2967
|
|
|
3080
|
-
var GeoJsonProvider_1 = __webpack_require__(
|
|
2968
|
+
var GeoJsonProvider_1 = __webpack_require__(409);
|
|
3081
2969
|
|
|
3082
|
-
var MapUtils_1 = __webpack_require__(
|
|
2970
|
+
var MapUtils_1 = __webpack_require__(82);
|
|
3083
2971
|
|
|
3084
|
-
var ChoroplethLayer_1 = __webpack_require__(
|
|
2972
|
+
var ChoroplethLayer_1 = __webpack_require__(149);
|
|
3085
2973
|
|
|
3086
2974
|
var LocalChoroplethLayer = function LocalChoroplethLayer(props) {
|
|
3087
2975
|
var _a, _b;
|
|
@@ -3271,74 +3159,173 @@ exports.default = LocalChoroplethLayer;
|
|
|
3271
3159
|
|
|
3272
3160
|
/***/ }),
|
|
3273
3161
|
|
|
3274
|
-
/***/
|
|
3162
|
+
/***/ 408:
|
|
3275
3163
|
/***/ (function(module, exports) {
|
|
3276
3164
|
|
|
3277
3165
|
module.exports = require("@splunk/visualization-context/GeoRegistry");
|
|
3278
3166
|
|
|
3279
3167
|
/***/ }),
|
|
3280
3168
|
|
|
3281
|
-
/***/
|
|
3169
|
+
/***/ 409:
|
|
3282
3170
|
/***/ (function(module, exports) {
|
|
3283
3171
|
|
|
3284
3172
|
module.exports = require("@splunk/visualization-context/GeoJsonProvider");
|
|
3285
3173
|
|
|
3286
|
-
/***/ }),
|
|
3174
|
+
/***/ }),
|
|
3175
|
+
|
|
3176
|
+
/***/ 41:
|
|
3177
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
3178
|
+
|
|
3179
|
+
"use strict";
|
|
3180
|
+
|
|
3181
|
+
|
|
3182
|
+
var _classCallCheck = __webpack_require__(11);
|
|
3183
|
+
|
|
3184
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3185
|
+
value: true
|
|
3186
|
+
});
|
|
3187
|
+
exports.INITIAL_HEIGHT = exports.INITIAL_WIDTH = void 0;
|
|
3188
|
+
/* eslint-disable react/no-unused-prop-types,react/prefer-stateless-function */
|
|
3189
|
+
|
|
3190
|
+
var T = __webpack_require__(0);
|
|
3191
|
+
|
|
3192
|
+
var lodash_1 = __webpack_require__(3);
|
|
3193
|
+
|
|
3194
|
+
var VizActionHandler_1 = __webpack_require__(42); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
|
|
3195
|
+
|
|
3196
|
+
|
|
3197
|
+
exports.INITIAL_WIDTH = 250;
|
|
3198
|
+
exports.INITIAL_HEIGHT = 250;
|
|
3199
|
+
/**
|
|
3200
|
+
* A Splunk visualization
|
|
3201
|
+
*/
|
|
3202
|
+
|
|
3203
|
+
var SplunkVisualization = function SplunkVisualization() {
|
|
3204
|
+
_classCallCheck(this, SplunkVisualization);
|
|
3205
|
+
};
|
|
3206
|
+
|
|
3207
|
+
SplunkVisualization.propTypes = {
|
|
3208
|
+
/**
|
|
3209
|
+
* display mode
|
|
3210
|
+
*/
|
|
3211
|
+
mode: T.oneOf(['view', 'edit', 'export']).isRequired,
|
|
3212
|
+
|
|
3213
|
+
/**
|
|
3214
|
+
* width in pixel or string, defaults to 100%
|
|
3215
|
+
*/
|
|
3216
|
+
width: T.oneOfType([T.string, T.number]).isRequired,
|
|
3217
|
+
|
|
3218
|
+
/**
|
|
3219
|
+
* height in pixel or string
|
|
3220
|
+
*/
|
|
3221
|
+
height: T.oneOfType([T.string, T.number]).isRequired,
|
|
3222
|
+
|
|
3223
|
+
/**
|
|
3224
|
+
* visualization context used for dynamic option evaluation
|
|
3225
|
+
*/
|
|
3226
|
+
context: T.object,
|
|
3227
|
+
|
|
3228
|
+
/**
|
|
3229
|
+
* visualization formatting options
|
|
3230
|
+
*/
|
|
3231
|
+
options: T.object,
|
|
3232
|
+
|
|
3233
|
+
/**
|
|
3234
|
+
* A callback to update formatting options
|
|
3235
|
+
*/
|
|
3236
|
+
onOptionsChange: T.func,
|
|
3287
3237
|
|
|
3288
|
-
|
|
3289
|
-
|
|
3238
|
+
/**
|
|
3239
|
+
* datasource state which include data and request params, object key indicate the datasource type.
|
|
3240
|
+
*/
|
|
3241
|
+
dataSources: T.objectOf(T.shape({
|
|
3242
|
+
/**
|
|
3243
|
+
* current request params
|
|
3244
|
+
*/
|
|
3245
|
+
requestParams: T.object,
|
|
3290
3246
|
|
|
3291
|
-
|
|
3247
|
+
/**
|
|
3248
|
+
* current dataset
|
|
3249
|
+
*/
|
|
3250
|
+
data: T.shape({
|
|
3251
|
+
fields: T.array,
|
|
3252
|
+
columns: T.array
|
|
3253
|
+
}),
|
|
3292
3254
|
|
|
3293
|
-
|
|
3255
|
+
/**
|
|
3256
|
+
* error
|
|
3257
|
+
*/
|
|
3258
|
+
error: T.shape({
|
|
3259
|
+
level: T.string,
|
|
3260
|
+
message: T.string
|
|
3261
|
+
}),
|
|
3294
3262
|
|
|
3295
|
-
|
|
3296
|
-
|
|
3263
|
+
/**
|
|
3264
|
+
* meta data that came with the dataset
|
|
3265
|
+
*/
|
|
3266
|
+
meta: T.object
|
|
3267
|
+
})),
|
|
3297
3268
|
|
|
3298
|
-
|
|
3269
|
+
/**
|
|
3270
|
+
* A callback to trigger event
|
|
3271
|
+
*/
|
|
3272
|
+
onEventTrigger: T.func,
|
|
3299
3273
|
|
|
3274
|
+
/**
|
|
3275
|
+
* Inform viz if there are handlers listening to events
|
|
3276
|
+
*/
|
|
3277
|
+
hasEventHandlers: T.bool,
|
|
3300
3278
|
|
|
3301
|
-
|
|
3302
|
-
|
|
3303
|
-
|
|
3304
|
-
|
|
3279
|
+
/**
|
|
3280
|
+
* A callback to communicate computed props to a consumer
|
|
3281
|
+
*/
|
|
3282
|
+
onComputedProps: T.func,
|
|
3305
3283
|
|
|
3306
|
-
|
|
3284
|
+
/**
|
|
3285
|
+
* A callback to obtain visualization api
|
|
3286
|
+
*/
|
|
3287
|
+
vizActionHandlerRef: T.func,
|
|
3288
|
+
loading: T.bool,
|
|
3289
|
+
theme: T.object,
|
|
3307
3290
|
|
|
3308
|
-
|
|
3291
|
+
/**
|
|
3292
|
+
* A callback to request new data with updated request params
|
|
3293
|
+
*/
|
|
3294
|
+
onRequestParamsChange: T.func
|
|
3295
|
+
};
|
|
3309
3296
|
/**
|
|
3310
|
-
* This hook evaluates and stores the result of a passed function and only
|
|
3311
|
-
* re-evaluates the function when passed dependencies change.
|
|
3312
|
-
*
|
|
3313
|
-
* It is different from the internal React useMemo in the following aspects:
|
|
3314
|
-
* - it only stores the last evaluated result
|
|
3315
|
-
* - it uses a deep equality check to determine if dependencies have changed
|
|
3316
|
-
*
|
|
3317
|
-
* Inspired by apollo-client's useDeepMemo
|
|
3318
3297
|
*
|
|
3319
|
-
* @param fn the function to be executed and
|
|
3320
|
-
* @param dependencies an array of dependencies
|
|
3321
3298
|
*/
|
|
3322
3299
|
|
|
3323
|
-
|
|
3324
|
-
|
|
3325
|
-
|
|
3326
|
-
|
|
3327
|
-
|
|
3328
|
-
|
|
3329
|
-
|
|
3330
|
-
|
|
3331
|
-
|
|
3332
|
-
|
|
3333
|
-
|
|
3334
|
-
|
|
3300
|
+
SplunkVisualization.defaultProps = {
|
|
3301
|
+
// BaseVisualization in dashboard-visualizations uses 100% for width but 250 for height
|
|
3302
|
+
width: '100%',
|
|
3303
|
+
height: exports.INITIAL_HEIGHT,
|
|
3304
|
+
dataSources: {},
|
|
3305
|
+
onEventTrigger: function onEventTrigger() {
|
|
3306
|
+
return {};
|
|
3307
|
+
},
|
|
3308
|
+
mode: 'view',
|
|
3309
|
+
hasEventHandlers: false,
|
|
3310
|
+
options: {},
|
|
3311
|
+
context: {},
|
|
3312
|
+
onOptionsChange: function onOptionsChange() {
|
|
3313
|
+
return {};
|
|
3314
|
+
},
|
|
3315
|
+
vizActionHandlerRef: function vizActionHandlerRef() {
|
|
3316
|
+
return new VizActionHandler_1.DefaultVizActionHandler();
|
|
3317
|
+
},
|
|
3318
|
+
onComputedProps: function onComputedProps() {
|
|
3319
|
+
return {};
|
|
3320
|
+
},
|
|
3321
|
+
loading: false,
|
|
3322
|
+
onRequestParamsChange: lodash_1.noop
|
|
3335
3323
|
};
|
|
3336
|
-
|
|
3337
|
-
exports.useDeepMemo = useDeepMemo;
|
|
3324
|
+
exports.default = SplunkVisualization;
|
|
3338
3325
|
|
|
3339
3326
|
/***/ }),
|
|
3340
3327
|
|
|
3341
|
-
/***/
|
|
3328
|
+
/***/ 410:
|
|
3342
3329
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3343
3330
|
|
|
3344
3331
|
"use strict";
|
|
@@ -3348,27 +3335,27 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3348
3335
|
value: true
|
|
3349
3336
|
});
|
|
3350
3337
|
|
|
3351
|
-
var visualization_icons_1 = __webpack_require__(
|
|
3338
|
+
var visualization_icons_1 = __webpack_require__(51);
|
|
3352
3339
|
|
|
3353
|
-
var placeholders_1 = __webpack_require__(
|
|
3340
|
+
var placeholders_1 = __webpack_require__(48);
|
|
3354
3341
|
|
|
3355
3342
|
var schemaUtils_1 = __webpack_require__(16);
|
|
3356
3343
|
|
|
3357
|
-
var visualization_color_palettes_1 = __webpack_require__(
|
|
3344
|
+
var visualization_color_palettes_1 = __webpack_require__(50);
|
|
3358
3345
|
|
|
3359
|
-
var themes_1 = __webpack_require__(
|
|
3346
|
+
var themes_1 = __webpack_require__(72);
|
|
3360
3347
|
|
|
3361
3348
|
var i18n_1 = __webpack_require__(2);
|
|
3362
3349
|
|
|
3363
3350
|
var VizBehavior_1 = __webpack_require__(6);
|
|
3364
3351
|
|
|
3365
|
-
var VizCategory_1 = __webpack_require__(
|
|
3352
|
+
var VizCategory_1 = __webpack_require__(34);
|
|
3366
3353
|
|
|
3367
|
-
var configUtils_1 = __webpack_require__(
|
|
3354
|
+
var configUtils_1 = __webpack_require__(18);
|
|
3368
3355
|
|
|
3369
|
-
var MapUtils_1 = __webpack_require__(
|
|
3356
|
+
var MapUtils_1 = __webpack_require__(82);
|
|
3370
3357
|
|
|
3371
|
-
var BackgroundColor_1 = __webpack_require__(
|
|
3358
|
+
var BackgroundColor_1 = __webpack_require__(53);
|
|
3372
3359
|
|
|
3373
3360
|
var defaultContext = {
|
|
3374
3361
|
colorRangeConfig: [{
|
|
@@ -4061,7 +4048,7 @@ exports.default = configUtils_1.enhanceConfig(config);
|
|
|
4061
4048
|
|
|
4062
4049
|
/***/ }),
|
|
4063
4050
|
|
|
4064
|
-
/***/
|
|
4051
|
+
/***/ 411:
|
|
4065
4052
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4066
4053
|
|
|
4067
4054
|
"use strict";
|
|
@@ -4072,13 +4059,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4072
4059
|
});
|
|
4073
4060
|
exports.columnsNullToZeros = void 0;
|
|
4074
4061
|
|
|
4075
|
-
var types_1 = __webpack_require__(
|
|
4062
|
+
var types_1 = __webpack_require__(85);
|
|
4076
4063
|
|
|
4077
|
-
var dsl_1 = __webpack_require__(
|
|
4064
|
+
var dsl_1 = __webpack_require__(98);
|
|
4078
4065
|
|
|
4079
|
-
var hocUtils_1 = __webpack_require__(
|
|
4066
|
+
var hocUtils_1 = __webpack_require__(27);
|
|
4080
4067
|
|
|
4081
|
-
var JSONSchemaUtils_1 = __webpack_require__(
|
|
4068
|
+
var JSONSchemaUtils_1 = __webpack_require__(28);
|
|
4082
4069
|
|
|
4083
4070
|
var columnsNullToZeros = function columnsNullToZeros(config, dataSources, options) {
|
|
4084
4071
|
var _a, _b;
|
|
@@ -4129,7 +4116,105 @@ exports.columnsNullToZeros = columnsNullToZeros;
|
|
|
4129
4116
|
|
|
4130
4117
|
/***/ }),
|
|
4131
4118
|
|
|
4132
|
-
/***/
|
|
4119
|
+
/***/ 42:
|
|
4120
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4121
|
+
|
|
4122
|
+
"use strict";
|
|
4123
|
+
|
|
4124
|
+
|
|
4125
|
+
var _classCallCheck = __webpack_require__(11);
|
|
4126
|
+
|
|
4127
|
+
var _createClass = __webpack_require__(20);
|
|
4128
|
+
|
|
4129
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4130
|
+
value: true
|
|
4131
|
+
});
|
|
4132
|
+
exports.DefaultVizActionHandler = void 0;
|
|
4133
|
+
|
|
4134
|
+
var DefaultVizActionHandler = /*#__PURE__*/function () {
|
|
4135
|
+
function DefaultVizActionHandler() {
|
|
4136
|
+
_classCallCheck(this, DefaultVizActionHandler);
|
|
4137
|
+
}
|
|
4138
|
+
|
|
4139
|
+
_createClass(DefaultVizActionHandler, [{
|
|
4140
|
+
key: "focus",
|
|
4141
|
+
value: function focus() {// noop
|
|
4142
|
+
}
|
|
4143
|
+
}, {
|
|
4144
|
+
key: "snapshot",
|
|
4145
|
+
value: function snapshot() {
|
|
4146
|
+
return null; // noop
|
|
4147
|
+
}
|
|
4148
|
+
}]);
|
|
4149
|
+
|
|
4150
|
+
return DefaultVizActionHandler;
|
|
4151
|
+
}();
|
|
4152
|
+
|
|
4153
|
+
exports.DefaultVizActionHandler = DefaultVizActionHandler;
|
|
4154
|
+
|
|
4155
|
+
/***/ }),
|
|
4156
|
+
|
|
4157
|
+
/***/ 43:
|
|
4158
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4159
|
+
|
|
4160
|
+
"use strict";
|
|
4161
|
+
|
|
4162
|
+
|
|
4163
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4164
|
+
value: true
|
|
4165
|
+
});
|
|
4166
|
+
exports.validSortDirs = void 0;
|
|
4167
|
+
exports.validSortDirs = ['asc', 'desc', 'none'];
|
|
4168
|
+
|
|
4169
|
+
/***/ }),
|
|
4170
|
+
|
|
4171
|
+
/***/ 44:
|
|
4172
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4173
|
+
|
|
4174
|
+
"use strict";
|
|
4175
|
+
|
|
4176
|
+
|
|
4177
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4178
|
+
value: true
|
|
4179
|
+
});
|
|
4180
|
+
exports.useDeepMemo = void 0;
|
|
4181
|
+
|
|
4182
|
+
var react_1 = __webpack_require__(1);
|
|
4183
|
+
|
|
4184
|
+
var lodash_1 = __webpack_require__(3);
|
|
4185
|
+
/**
|
|
4186
|
+
* This hook evaluates and stores the result of a passed function and only
|
|
4187
|
+
* re-evaluates the function when passed dependencies change.
|
|
4188
|
+
*
|
|
4189
|
+
* It is different from the internal React useMemo in the following aspects:
|
|
4190
|
+
* - it only stores the last evaluated result
|
|
4191
|
+
* - it uses a deep equality check to determine if dependencies have changed
|
|
4192
|
+
*
|
|
4193
|
+
* Inspired by apollo-client's useDeepMemo
|
|
4194
|
+
*
|
|
4195
|
+
* @param fn the function to be executed and
|
|
4196
|
+
* @param dependencies an array of dependencies
|
|
4197
|
+
*/
|
|
4198
|
+
|
|
4199
|
+
|
|
4200
|
+
var useDeepMemo = function useDeepMemo(fn, dependencies) {
|
|
4201
|
+
var ref = react_1.useRef();
|
|
4202
|
+
|
|
4203
|
+
if (!ref.current || !lodash_1.isEqual(dependencies, ref.current.dependencies)) {
|
|
4204
|
+
ref.current = {
|
|
4205
|
+
dependencies: dependencies,
|
|
4206
|
+
value: fn()
|
|
4207
|
+
};
|
|
4208
|
+
}
|
|
4209
|
+
|
|
4210
|
+
return ref.current.value;
|
|
4211
|
+
};
|
|
4212
|
+
|
|
4213
|
+
exports.useDeepMemo = useDeepMemo;
|
|
4214
|
+
|
|
4215
|
+
/***/ }),
|
|
4216
|
+
|
|
4217
|
+
/***/ 45:
|
|
4133
4218
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4134
4219
|
|
|
4135
4220
|
"use strict";
|
|
@@ -4210,7 +4295,7 @@ exports.default = FixedSizeContainer_1.default(exports.MissingPropsMessage);
|
|
|
4210
4295
|
|
|
4211
4296
|
/***/ }),
|
|
4212
4297
|
|
|
4213
|
-
/***/
|
|
4298
|
+
/***/ 46:
|
|
4214
4299
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4215
4300
|
|
|
4216
4301
|
"use strict";
|
|
@@ -4231,7 +4316,7 @@ var Cover = styled_components_1.default.div.withConfig({
|
|
|
4231
4316
|
componentId: "sc-1gsbnxb-0"
|
|
4232
4317
|
})(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
|
|
4233
4318
|
var Blocker = styled_components_1.default.div.attrs({
|
|
4234
|
-
'data-splunk-visualization-version': "25.
|
|
4319
|
+
'data-splunk-visualization-version': "25.6.0 - f5eb3abf9"
|
|
4235
4320
|
}).withConfig({
|
|
4236
4321
|
displayName: "withEditModeCover__Blocker",
|
|
4237
4322
|
componentId: "sc-1gsbnxb-1"
|
|
@@ -4263,7 +4348,7 @@ exports.default = withEditModeCover;
|
|
|
4263
4348
|
|
|
4264
4349
|
/***/ }),
|
|
4265
4350
|
|
|
4266
|
-
/***/
|
|
4351
|
+
/***/ 47:
|
|
4267
4352
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4268
4353
|
|
|
4269
4354
|
"use strict";
|
|
@@ -4279,7 +4364,7 @@ var colorUtils_1 = __webpack_require__(12);
|
|
|
4279
4364
|
|
|
4280
4365
|
var variables_1 = __webpack_require__(9);
|
|
4281
4366
|
|
|
4282
|
-
var IconPlaceholder_1 = __webpack_require__(
|
|
4367
|
+
var IconPlaceholder_1 = __webpack_require__(30);
|
|
4283
4368
|
|
|
4284
4369
|
var VizBehavior_1 = __webpack_require__(6);
|
|
4285
4370
|
|
|
@@ -4328,28 +4413,28 @@ exports.default = withPlaceholder;
|
|
|
4328
4413
|
|
|
4329
4414
|
/***/ }),
|
|
4330
4415
|
|
|
4331
|
-
/***/
|
|
4416
|
+
/***/ 48:
|
|
4332
4417
|
/***/ (function(module, exports) {
|
|
4333
4418
|
|
|
4334
4419
|
module.exports = require("@splunk/visualization-icons/placeholders");
|
|
4335
4420
|
|
|
4336
4421
|
/***/ }),
|
|
4337
4422
|
|
|
4338
|
-
/***/
|
|
4423
|
+
/***/ 50:
|
|
4339
4424
|
/***/ (function(module, exports) {
|
|
4340
4425
|
|
|
4341
4426
|
module.exports = require("@splunk/visualization-color-palettes");
|
|
4342
4427
|
|
|
4343
4428
|
/***/ }),
|
|
4344
4429
|
|
|
4345
|
-
/***/
|
|
4430
|
+
/***/ 51:
|
|
4346
4431
|
/***/ (function(module, exports) {
|
|
4347
4432
|
|
|
4348
4433
|
module.exports = require("@splunk/visualization-icons");
|
|
4349
4434
|
|
|
4350
4435
|
/***/ }),
|
|
4351
4436
|
|
|
4352
|
-
/***/
|
|
4437
|
+
/***/ 53:
|
|
4353
4438
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4354
4439
|
|
|
4355
4440
|
"use strict";
|
|
@@ -4380,13 +4465,6 @@ exports.default = background;
|
|
|
4380
4465
|
|
|
4381
4466
|
/***/ }),
|
|
4382
4467
|
|
|
4383
|
-
/***/ 51:
|
|
4384
|
-
/***/ (function(module, exports) {
|
|
4385
|
-
|
|
4386
|
-
module.exports = require("@babel/runtime/helpers/slicedToArray");
|
|
4387
|
-
|
|
4388
|
-
/***/ }),
|
|
4389
|
-
|
|
4390
4468
|
/***/ 6:
|
|
4391
4469
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4392
4470
|
|
|
@@ -4425,21 +4503,28 @@ var VizBehavior;
|
|
|
4425
4503
|
|
|
4426
4504
|
/***/ }),
|
|
4427
4505
|
|
|
4428
|
-
/***/
|
|
4506
|
+
/***/ 7:
|
|
4507
|
+
/***/ (function(module, exports) {
|
|
4508
|
+
|
|
4509
|
+
module.exports = require("@babel/runtime/helpers/defineProperty");
|
|
4510
|
+
|
|
4511
|
+
/***/ }),
|
|
4512
|
+
|
|
4513
|
+
/***/ 72:
|
|
4429
4514
|
/***/ (function(module, exports) {
|
|
4430
4515
|
|
|
4431
4516
|
module.exports = require("@splunk/themes");
|
|
4432
4517
|
|
|
4433
4518
|
/***/ }),
|
|
4434
4519
|
|
|
4435
|
-
/***/
|
|
4520
|
+
/***/ 8:
|
|
4436
4521
|
/***/ (function(module, exports) {
|
|
4437
4522
|
|
|
4438
|
-
module.exports = require("@babel/runtime/helpers/
|
|
4523
|
+
module.exports = require("@babel/runtime/helpers/toConsumableArray");
|
|
4439
4524
|
|
|
4440
4525
|
/***/ }),
|
|
4441
4526
|
|
|
4442
|
-
/***/
|
|
4527
|
+
/***/ 82:
|
|
4443
4528
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4444
4529
|
|
|
4445
4530
|
"use strict";
|
|
@@ -4447,7 +4532,7 @@ module.exports = require("@babel/runtime/helpers/defineProperty");
|
|
|
4447
4532
|
|
|
4448
4533
|
var _defineProperty = __webpack_require__(7);
|
|
4449
4534
|
|
|
4450
|
-
var _slicedToArray = __webpack_require__(
|
|
4535
|
+
var _slicedToArray = __webpack_require__(17);
|
|
4451
4536
|
|
|
4452
4537
|
var _toConsumableArray = __webpack_require__(8);
|
|
4453
4538
|
|
|
@@ -4458,15 +4543,15 @@ exports.formatMetadata = exports.compareBaseStyles = exports.getScaledOpacities
|
|
|
4458
4543
|
|
|
4459
4544
|
var lodash_1 = __webpack_require__(3);
|
|
4460
4545
|
|
|
4461
|
-
var d3_scale_1 = __webpack_require__(
|
|
4546
|
+
var d3_scale_1 = __webpack_require__(83);
|
|
4462
4547
|
|
|
4463
|
-
var chroma = __webpack_require__(
|
|
4548
|
+
var chroma = __webpack_require__(146);
|
|
4464
4549
|
|
|
4465
4550
|
var colorUtils_1 = __webpack_require__(12);
|
|
4466
4551
|
|
|
4467
|
-
var visualization_color_palettes_1 = __webpack_require__(
|
|
4552
|
+
var visualization_color_palettes_1 = __webpack_require__(50);
|
|
4468
4553
|
|
|
4469
|
-
var types_1 = __webpack_require__(
|
|
4554
|
+
var types_1 = __webpack_require__(85);
|
|
4470
4555
|
|
|
4471
4556
|
exports.MAX_LATITUDE = 90;
|
|
4472
4557
|
exports.MIN_LATITUDE = -90;
|
|
@@ -5006,31 +5091,24 @@ exports.formatMetadata = formatMetadata;
|
|
|
5006
5091
|
|
|
5007
5092
|
/***/ }),
|
|
5008
5093
|
|
|
5009
|
-
/***/
|
|
5010
|
-
/***/ (function(module, exports) {
|
|
5011
|
-
|
|
5012
|
-
module.exports = require("@babel/runtime/helpers/toConsumableArray");
|
|
5013
|
-
|
|
5014
|
-
/***/ }),
|
|
5015
|
-
|
|
5016
|
-
/***/ 80:
|
|
5094
|
+
/***/ 83:
|
|
5017
5095
|
/***/ (function(module, exports) {
|
|
5018
5096
|
|
|
5019
5097
|
module.exports = require("d3-scale");
|
|
5020
5098
|
|
|
5021
5099
|
/***/ }),
|
|
5022
5100
|
|
|
5023
|
-
/***/
|
|
5101
|
+
/***/ 84:
|
|
5024
5102
|
/***/ (function(module, exports) {
|
|
5025
5103
|
|
|
5026
|
-
module.exports = require("@splunk/
|
|
5104
|
+
module.exports = require("@splunk/react-ui/Popover");
|
|
5027
5105
|
|
|
5028
5106
|
/***/ }),
|
|
5029
5107
|
|
|
5030
|
-
/***/
|
|
5108
|
+
/***/ 85:
|
|
5031
5109
|
/***/ (function(module, exports) {
|
|
5032
5110
|
|
|
5033
|
-
module.exports = require("@splunk/
|
|
5111
|
+
module.exports = require("@splunk/visualization-encoding/utils/types");
|
|
5034
5112
|
|
|
5035
5113
|
/***/ }),
|
|
5036
5114
|
|
|
@@ -5041,7 +5119,7 @@ module.exports = require("@splunk/themes/variables");
|
|
|
5041
5119
|
|
|
5042
5120
|
/***/ }),
|
|
5043
5121
|
|
|
5044
|
-
/***/
|
|
5122
|
+
/***/ 98:
|
|
5045
5123
|
/***/ (function(module, exports) {
|
|
5046
5124
|
|
|
5047
5125
|
module.exports = require("@splunk/visualization-encoding/utils/dsl");
|