@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/Sankey.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 = 475);
|
|
91
91
|
/******/ })
|
|
92
92
|
/************************************************************************/
|
|
93
93
|
/******/ ({
|
|
@@ -109,18 +109,18 @@ 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
|
+
/***/ 103:
|
|
117
117
|
/***/ (function(module, exports) {
|
|
118
118
|
|
|
119
119
|
module.exports = require("@babel/runtime/helpers/typeof");
|
|
120
120
|
|
|
121
121
|
/***/ }),
|
|
122
122
|
|
|
123
|
-
/***/
|
|
123
|
+
/***/ 104:
|
|
124
124
|
/***/ (function(module, exports) {
|
|
125
125
|
|
|
126
126
|
module.exports = require("@splunk/visualization-encoding/utils/types");
|
|
@@ -134,43 +134,43 @@ module.exports = require("@splunk/visualizations-shared/numberUtils");
|
|
|
134
134
|
|
|
135
135
|
/***/ }),
|
|
136
136
|
|
|
137
|
-
/***/
|
|
137
|
+
/***/ 113:
|
|
138
138
|
/***/ (function(module, exports) {
|
|
139
139
|
|
|
140
140
|
module.exports = require("d3-scale");
|
|
141
141
|
|
|
142
142
|
/***/ }),
|
|
143
143
|
|
|
144
|
-
/***/
|
|
144
|
+
/***/ 117:
|
|
145
145
|
/***/ (function(module, exports) {
|
|
146
146
|
|
|
147
|
-
module.exports = require("@splunk/visualizations-shared/
|
|
147
|
+
module.exports = require("@splunk/visualizations-shared/dataSourceUtils");
|
|
148
148
|
|
|
149
149
|
/***/ }),
|
|
150
150
|
|
|
151
|
-
/***/
|
|
151
|
+
/***/ 12:
|
|
152
152
|
/***/ (function(module, exports) {
|
|
153
153
|
|
|
154
|
-
module.exports = require("@splunk/visualizations-shared/
|
|
154
|
+
module.exports = require("@splunk/visualizations-shared/Message");
|
|
155
155
|
|
|
156
156
|
/***/ }),
|
|
157
157
|
|
|
158
158
|
/***/ 13:
|
|
159
159
|
/***/ (function(module, exports) {
|
|
160
160
|
|
|
161
|
-
module.exports = require("@
|
|
161
|
+
module.exports = require("@babel/runtime/helpers/defineProperty");
|
|
162
162
|
|
|
163
163
|
/***/ }),
|
|
164
164
|
|
|
165
|
-
/***/
|
|
165
|
+
/***/ 132:
|
|
166
166
|
/***/ (function(module, exports, __webpack_require__) {
|
|
167
167
|
|
|
168
168
|
"use strict";
|
|
169
169
|
|
|
170
170
|
|
|
171
|
-
var _toConsumableArray = __webpack_require__(
|
|
171
|
+
var _toConsumableArray = __webpack_require__(7);
|
|
172
172
|
|
|
173
|
-
var _slicedToArray = __webpack_require__(
|
|
173
|
+
var _slicedToArray = __webpack_require__(6);
|
|
174
174
|
|
|
175
175
|
Object.defineProperty(exports, "__esModule", {
|
|
176
176
|
value: true
|
|
@@ -193,22 +193,22 @@ var i18n_1 = __webpack_require__(2);
|
|
|
193
193
|
|
|
194
194
|
var SizeAwareWrapper_1 = __webpack_require__(26);
|
|
195
195
|
|
|
196
|
-
var style_1 = __webpack_require__(
|
|
196
|
+
var style_1 = __webpack_require__(19);
|
|
197
197
|
|
|
198
|
-
var visualization_color_palettes_1 = __webpack_require__(
|
|
198
|
+
var visualization_color_palettes_1 = __webpack_require__(75); // eslint-disable-next-line camelcase
|
|
199
199
|
|
|
200
200
|
|
|
201
|
-
var sankey_1 = __webpack_require__(
|
|
201
|
+
var sankey_1 = __webpack_require__(476);
|
|
202
202
|
|
|
203
|
-
var VizStyleWrapper_1 = __webpack_require__(
|
|
203
|
+
var VizStyleWrapper_1 = __webpack_require__(94);
|
|
204
204
|
|
|
205
|
-
var SankeyUtils_1 = __webpack_require__(
|
|
205
|
+
var SankeyUtils_1 = __webpack_require__(154);
|
|
206
206
|
|
|
207
|
-
var SankeyNode_1 = __webpack_require__(
|
|
207
|
+
var SankeyNode_1 = __webpack_require__(477);
|
|
208
208
|
|
|
209
|
-
var SankeyLink_1 = __webpack_require__(
|
|
209
|
+
var SankeyLink_1 = __webpack_require__(478);
|
|
210
210
|
|
|
211
|
-
var SankeyTooltip_1 = __webpack_require__(
|
|
211
|
+
var SankeyTooltip_1 = __webpack_require__(479);
|
|
212
212
|
|
|
213
213
|
exports.DEFAULT_COLORS = {
|
|
214
214
|
backgroundColor: '#ffffff',
|
|
@@ -599,6 +599,13 @@ exports.default = PureSankey;
|
|
|
599
599
|
/***/ }),
|
|
600
600
|
|
|
601
601
|
/***/ 14:
|
|
602
|
+
/***/ (function(module, exports) {
|
|
603
|
+
|
|
604
|
+
module.exports = require("@splunk/themes/variables");
|
|
605
|
+
|
|
606
|
+
/***/ }),
|
|
607
|
+
|
|
608
|
+
/***/ 15:
|
|
602
609
|
/***/ (function(module, exports, __webpack_require__) {
|
|
603
610
|
|
|
604
611
|
"use strict";
|
|
@@ -895,6 +902,7 @@ var calculateDownsamplingThreshold = function calculateDownsamplingThreshold(_re
|
|
|
895
902
|
});
|
|
896
903
|
}
|
|
897
904
|
} catch (e) {
|
|
905
|
+
// eslint-disable-next-line no-console
|
|
898
906
|
console.error('Error occurred while setting downsample threshold on range select event', e);
|
|
899
907
|
}
|
|
900
908
|
|
|
@@ -1061,6 +1069,7 @@ var downsampleDataSources = function downsampleDataSources(_ref4) {
|
|
|
1061
1069
|
return downsampledIndices.add(downsampleIndex);
|
|
1062
1070
|
});
|
|
1063
1071
|
} catch (e) {
|
|
1072
|
+
// eslint-disable-next-line no-console
|
|
1064
1073
|
console.error("Error occurred while downsampling column ".concat(columnIndex), e);
|
|
1065
1074
|
}
|
|
1066
1075
|
}); // update data columns with downsampled columns
|
|
@@ -1073,14 +1082,7 @@ exports.downsampleDataSources = downsampleDataSources;
|
|
|
1073
1082
|
|
|
1074
1083
|
/***/ }),
|
|
1075
1084
|
|
|
1076
|
-
/***/
|
|
1077
|
-
/***/ (function(module, exports) {
|
|
1078
|
-
|
|
1079
|
-
module.exports = require("@splunk/visualizations-shared/colorUtils");
|
|
1080
|
-
|
|
1081
|
-
/***/ }),
|
|
1082
|
-
|
|
1083
|
-
/***/ 156:
|
|
1085
|
+
/***/ 154:
|
|
1084
1086
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1085
1087
|
|
|
1086
1088
|
"use strict";
|
|
@@ -1092,15 +1094,16 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1092
1094
|
exports.truncateSVGTextWithEllipsis = exports.checkDigitsOnly = exports.computeAllConnectedLinksToNodes = exports.getAllConnectedLinks = exports.extractLinkMidPoint = exports.getAllNodeNames = exports.getLinkId = exports.getNodeId = exports.convertInputToSankeyDataFormat = exports.getColorCategoryMapping = exports.getNodesIndex = void 0;
|
|
1093
1095
|
/* eslint-disable no-param-reassign */
|
|
1094
1096
|
|
|
1095
|
-
var d3_scale_1 = __webpack_require__(
|
|
1097
|
+
var d3_scale_1 = __webpack_require__(113);
|
|
1096
1098
|
|
|
1097
|
-
var types_1 = __webpack_require__(
|
|
1099
|
+
var types_1 = __webpack_require__(104);
|
|
1098
1100
|
|
|
1099
1101
|
var insertNodeIfNotExist = function insertNodeIfNotExist(sankeyData, nodeName) {
|
|
1100
1102
|
var nodes = sankeyData.nodes;
|
|
1101
1103
|
nodes = nodes || [];
|
|
1102
1104
|
|
|
1103
1105
|
if (typeof nodeName !== 'string') {
|
|
1106
|
+
// eslint-disable-next-line no-console
|
|
1104
1107
|
console.error('Node not created, invalid nodename:', nodeName);
|
|
1105
1108
|
return;
|
|
1106
1109
|
}
|
|
@@ -1187,6 +1190,7 @@ var convertInputToSankeyDataFormat = function convertInputToSankeyDataFormat(col
|
|
|
1187
1190
|
}
|
|
1188
1191
|
})();
|
|
1189
1192
|
} else {
|
|
1193
|
+
// eslint-disable-next-line no-console
|
|
1190
1194
|
console.error('Link excluded. Invalid type in column input, row :- ', i, "[".concat(columns[sourceFieldIdx][i], ", ").concat(columns[targetFieldIdx][i], ", ").concat(columns[linkValueFieldIdx][i], "]"));
|
|
1191
1195
|
}
|
|
1192
1196
|
}
|
|
@@ -1240,6 +1244,7 @@ var extractLinkMidPoint = function extractLinkMidPoint(pathStr) {
|
|
|
1240
1244
|
var zIndex = pathStr.lastIndexOf('Z');
|
|
1241
1245
|
|
|
1242
1246
|
if (mIndex < 0 || cIndexLast < 0 || cIndexLast < 0 || zIndex < 0) {
|
|
1247
|
+
// eslint-disable-next-line no-console
|
|
1243
1248
|
console.error('Extract link midpoint error. Invalid path -', pathStr);
|
|
1244
1249
|
return null;
|
|
1245
1250
|
}
|
|
@@ -1250,6 +1255,7 @@ var extractLinkMidPoint = function extractLinkMidPoint(pathStr) {
|
|
|
1250
1255
|
var section4 = pathStr.slice(cIndexLast + 1, zIndex).trim();
|
|
1251
1256
|
|
|
1252
1257
|
if (!section1.length || !section2.length || !section3.length || !section4.length) {
|
|
1258
|
+
// eslint-disable-next-line no-console
|
|
1253
1259
|
console.error('Extract link midpoint error. Invalid path -', pathStr);
|
|
1254
1260
|
return null;
|
|
1255
1261
|
}
|
|
@@ -1367,21 +1373,21 @@ exports.truncateSVGTextWithEllipsis = truncateSVGTextWithEllipsis;
|
|
|
1367
1373
|
|
|
1368
1374
|
/***/ }),
|
|
1369
1375
|
|
|
1370
|
-
/***/
|
|
1376
|
+
/***/ 159:
|
|
1371
1377
|
/***/ (function(module, exports) {
|
|
1372
1378
|
|
|
1373
|
-
module.exports = require("
|
|
1379
|
+
module.exports = require("d3-interpolate");
|
|
1374
1380
|
|
|
1375
1381
|
/***/ }),
|
|
1376
1382
|
|
|
1377
|
-
/***/
|
|
1383
|
+
/***/ 16:
|
|
1378
1384
|
/***/ (function(module, exports) {
|
|
1379
1385
|
|
|
1380
|
-
module.exports = require("
|
|
1386
|
+
module.exports = require("@splunk/visualizations-shared/colorUtils");
|
|
1381
1387
|
|
|
1382
1388
|
/***/ }),
|
|
1383
1389
|
|
|
1384
|
-
/***/
|
|
1390
|
+
/***/ 160:
|
|
1385
1391
|
/***/ (function(module, exports) {
|
|
1386
1392
|
|
|
1387
1393
|
module.exports = require("d3-collection");
|
|
@@ -1389,12 +1395,19 @@ module.exports = require("d3-collection");
|
|
|
1389
1395
|
/***/ }),
|
|
1390
1396
|
|
|
1391
1397
|
/***/ 17:
|
|
1398
|
+
/***/ (function(module, exports) {
|
|
1399
|
+
|
|
1400
|
+
module.exports = require("@splunk/visualization-encoding/Options");
|
|
1401
|
+
|
|
1402
|
+
/***/ }),
|
|
1403
|
+
|
|
1404
|
+
/***/ 18:
|
|
1392
1405
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1393
1406
|
|
|
1394
1407
|
"use strict";
|
|
1395
1408
|
|
|
1396
1409
|
|
|
1397
|
-
var _slicedToArray = __webpack_require__(
|
|
1410
|
+
var _slicedToArray = __webpack_require__(6);
|
|
1398
1411
|
|
|
1399
1412
|
Object.defineProperty(exports, "__esModule", {
|
|
1400
1413
|
value: true
|
|
@@ -1404,9 +1417,9 @@ var React = __webpack_require__(0);
|
|
|
1404
1417
|
|
|
1405
1418
|
var styled_components_1 = __webpack_require__(4);
|
|
1406
1419
|
|
|
1407
|
-
var style_1 = __webpack_require__(
|
|
1420
|
+
var style_1 = __webpack_require__(19);
|
|
1408
1421
|
|
|
1409
|
-
var colorUtils_1 = __webpack_require__(
|
|
1422
|
+
var colorUtils_1 = __webpack_require__(16);
|
|
1410
1423
|
|
|
1411
1424
|
var SizeAwareWrapper_1 = __webpack_require__(26);
|
|
1412
1425
|
|
|
@@ -1479,7 +1492,7 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
|
|
|
1479
1492
|
|
|
1480
1493
|
return React.createElement(FixSizeItem, {
|
|
1481
1494
|
"data-test": "fix-size-item",
|
|
1482
|
-
"data-splunk-visualization-version": "26.
|
|
1495
|
+
"data-splunk-visualization-version": "26.3.0 - a1ef240a6",
|
|
1483
1496
|
width: width,
|
|
1484
1497
|
height: height,
|
|
1485
1498
|
backgroundColor: backgroundColor
|
|
@@ -1501,20 +1514,13 @@ exports.default = withFixedSizeContainer;
|
|
|
1501
1514
|
|
|
1502
1515
|
/***/ }),
|
|
1503
1516
|
|
|
1504
|
-
/***/
|
|
1505
|
-
/***/ (function(module, exports) {
|
|
1506
|
-
|
|
1507
|
-
module.exports = require("@splunk/visualizations-shared/style");
|
|
1508
|
-
|
|
1509
|
-
/***/ }),
|
|
1510
|
-
|
|
1511
|
-
/***/ 189:
|
|
1517
|
+
/***/ 186:
|
|
1512
1518
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1513
1519
|
|
|
1514
1520
|
"use strict";
|
|
1515
1521
|
|
|
1516
1522
|
|
|
1517
|
-
var _typeof = __webpack_require__(
|
|
1523
|
+
var _typeof = __webpack_require__(103);
|
|
1518
1524
|
|
|
1519
1525
|
Object.defineProperty(exports, "__esModule", {
|
|
1520
1526
|
value: true
|
|
@@ -1523,17 +1529,17 @@ exports.PureSankey = exports.config = exports.themes = exports.computeVizProps =
|
|
|
1523
1529
|
|
|
1524
1530
|
var lodash_1 = __webpack_require__(3);
|
|
1525
1531
|
|
|
1526
|
-
var dataSourceUtils_1 = __webpack_require__(
|
|
1532
|
+
var dataSourceUtils_1 = __webpack_require__(117);
|
|
1527
1533
|
|
|
1528
|
-
var colorUtils_1 = __webpack_require__(
|
|
1534
|
+
var colorUtils_1 = __webpack_require__(16);
|
|
1529
1535
|
|
|
1530
|
-
var withDashboardViz_1 = __webpack_require__(
|
|
1536
|
+
var withDashboardViz_1 = __webpack_require__(55);
|
|
1531
1537
|
|
|
1532
|
-
var PureSankey_1 = __webpack_require__(
|
|
1538
|
+
var PureSankey_1 = __webpack_require__(132);
|
|
1533
1539
|
|
|
1534
1540
|
exports.PureSankey = PureSankey_1.default;
|
|
1535
1541
|
|
|
1536
|
-
var config_1 = __webpack_require__(
|
|
1542
|
+
var config_1 = __webpack_require__(480);
|
|
1537
1543
|
|
|
1538
1544
|
exports.config = config_1.default;
|
|
1539
1545
|
/**
|
|
@@ -1640,6 +1646,20 @@ exports.default = Sankey;
|
|
|
1640
1646
|
/***/ }),
|
|
1641
1647
|
|
|
1642
1648
|
/***/ 19:
|
|
1649
|
+
/***/ (function(module, exports) {
|
|
1650
|
+
|
|
1651
|
+
module.exports = require("@splunk/visualizations-shared/style");
|
|
1652
|
+
|
|
1653
|
+
/***/ }),
|
|
1654
|
+
|
|
1655
|
+
/***/ 2:
|
|
1656
|
+
/***/ (function(module, exports) {
|
|
1657
|
+
|
|
1658
|
+
module.exports = require("@splunk/ui-utils/i18n");
|
|
1659
|
+
|
|
1660
|
+
/***/ }),
|
|
1661
|
+
|
|
1662
|
+
/***/ 21:
|
|
1643
1663
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1644
1664
|
|
|
1645
1665
|
"use strict";
|
|
@@ -1648,27 +1668,19 @@ exports.default = Sankey;
|
|
|
1648
1668
|
Object.defineProperty(exports, "__esModule", {
|
|
1649
1669
|
value: true
|
|
1650
1670
|
});
|
|
1651
|
-
exports.validOutputModes = exports.
|
|
1671
|
+
exports.validOutputModes = exports.validSortDirs = void 0;
|
|
1652
1672
|
exports.validSortDirs = ['asc', 'desc', 'none'];
|
|
1653
|
-
exports.validSegmentationModes = ['none', 'inner'];
|
|
1654
1673
|
exports.validOutputModes = ['json_cols', 'json'];
|
|
1655
1674
|
|
|
1656
1675
|
/***/ }),
|
|
1657
1676
|
|
|
1658
|
-
/***/
|
|
1659
|
-
/***/ (function(module, exports) {
|
|
1660
|
-
|
|
1661
|
-
module.exports = require("@splunk/ui-utils/i18n");
|
|
1662
|
-
|
|
1663
|
-
/***/ }),
|
|
1664
|
-
|
|
1665
|
-
/***/ 21:
|
|
1677
|
+
/***/ 22:
|
|
1666
1678
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1667
1679
|
|
|
1668
1680
|
"use strict";
|
|
1669
1681
|
|
|
1670
1682
|
|
|
1671
|
-
var _classCallCheck = __webpack_require__(
|
|
1683
|
+
var _classCallCheck = __webpack_require__(9);
|
|
1672
1684
|
|
|
1673
1685
|
var _createClass = __webpack_require__(25);
|
|
1674
1686
|
|
|
@@ -1700,7 +1712,7 @@ exports.DefaultVizActionHandler = DefaultVizActionHandler;
|
|
|
1700
1712
|
|
|
1701
1713
|
/***/ }),
|
|
1702
1714
|
|
|
1703
|
-
/***/
|
|
1715
|
+
/***/ 23:
|
|
1704
1716
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1705
1717
|
|
|
1706
1718
|
"use strict";
|
|
@@ -1729,7 +1741,7 @@ var VizCategory;
|
|
|
1729
1741
|
|
|
1730
1742
|
/***/ }),
|
|
1731
1743
|
|
|
1732
|
-
/***/
|
|
1744
|
+
/***/ 24:
|
|
1733
1745
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1734
1746
|
|
|
1735
1747
|
"use strict";
|
|
@@ -1762,13 +1774,6 @@ exports.extendStaticWrapperProps = extendStaticWrapperProps;
|
|
|
1762
1774
|
|
|
1763
1775
|
/***/ }),
|
|
1764
1776
|
|
|
1765
|
-
/***/ 24:
|
|
1766
|
-
/***/ (function(module, exports) {
|
|
1767
|
-
|
|
1768
|
-
module.exports = require("@splunk/visualizations-shared/schemaUtils");
|
|
1769
|
-
|
|
1770
|
-
/***/ }),
|
|
1771
|
-
|
|
1772
1777
|
/***/ 25:
|
|
1773
1778
|
/***/ (function(module, exports) {
|
|
1774
1779
|
|
|
@@ -1789,99 +1794,24 @@ module.exports = require("@splunk/visualizations-shared/SizeAwareWrapper");
|
|
|
1789
1794
|
"use strict";
|
|
1790
1795
|
|
|
1791
1796
|
|
|
1792
|
-
var _toConsumableArray = __webpack_require__(
|
|
1793
|
-
|
|
1794
|
-
var _defineProperty = __webpack_require__(9);
|
|
1795
|
-
|
|
1796
|
-
var __rest = this && this.__rest || function (s, e) {
|
|
1797
|
-
var t = {};
|
|
1798
|
-
|
|
1799
|
-
for (var p in s) {
|
|
1800
|
-
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
1801
|
-
}
|
|
1802
|
-
|
|
1803
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
1804
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
1805
|
-
}
|
|
1806
|
-
return t;
|
|
1807
|
-
};
|
|
1797
|
+
var _toConsumableArray = __webpack_require__(7);
|
|
1808
1798
|
|
|
1809
1799
|
Object.defineProperty(exports, "__esModule", {
|
|
1810
1800
|
value: true
|
|
1811
1801
|
});
|
|
1812
|
-
exports.insertLayout = exports.isDynamicOption = exports.uncollapseEditorConfig = exports.generatePrecisionValues = exports.getInitialPreset = exports.
|
|
1802
|
+
exports.insertLayout = exports.isDynamicOption = exports.uncollapseEditorConfig = exports.generatePrecisionValues = exports.getInitialPreset = exports.enhanceConfig = exports.enhanceOptionsSchemaWithDynamicOptions = void 0;
|
|
1813
1803
|
|
|
1814
|
-
var lodash_1 = __webpack_require__(3);
|
|
1804
|
+
var lodash_1 = __webpack_require__(3); // included for backwards compatibility
|
|
1815
1805
|
|
|
1816
|
-
var schemaUtils_1 = __webpack_require__(24);
|
|
1817
1806
|
|
|
1818
|
-
var
|
|
1807
|
+
var visualization_schemas_1 = __webpack_require__(10);
|
|
1819
1808
|
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
* @param optionsSchema a visualization's options schema
|
|
1827
|
-
* @returns an updated options schema that additionally allows strings starting with > for each option
|
|
1828
|
-
*/
|
|
1829
|
-
|
|
1830
|
-
function enhanceOptionsSchemaWithDynamicOptions(optionsSchema) {
|
|
1831
|
-
var enhancedOptionsSchema = {};
|
|
1832
|
-
Object.keys(optionsSchema).forEach(function (key) {
|
|
1833
|
-
var _a = optionsSchema[key],
|
|
1834
|
-
title = _a.title,
|
|
1835
|
-
description = _a.description,
|
|
1836
|
-
readOnly = _a.readOnly,
|
|
1837
|
-
writeOnly = _a.writeOnly,
|
|
1838
|
-
examples = _a.examples,
|
|
1839
|
-
defaultValue = _a.default,
|
|
1840
|
-
type = _a.type,
|
|
1841
|
-
properties = _a.properties,
|
|
1842
|
-
patternProperties = _a.patternProperties,
|
|
1843
|
-
remainingSchemaEntry = __rest(_a, ["title", "description", "readOnly", "writeOnly", "examples", "default", "type", "properties", "patternProperties"]);
|
|
1844
|
-
|
|
1845
|
-
var annotations = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, title !== undefined && {
|
|
1846
|
-
title: title
|
|
1847
|
-
}), description !== undefined && {
|
|
1848
|
-
description: description
|
|
1849
|
-
}), readOnly !== undefined && {
|
|
1850
|
-
readOnly: readOnly
|
|
1851
|
-
}), writeOnly !== undefined && {
|
|
1852
|
-
writeOnly: writeOnly
|
|
1853
|
-
}), examples !== undefined && {
|
|
1854
|
-
examples: examples
|
|
1855
|
-
}), defaultValue !== undefined && {
|
|
1856
|
-
default: defaultValue
|
|
1857
|
-
});
|
|
1858
|
-
|
|
1859
|
-
if (type === 'object') {
|
|
1860
|
-
enhancedOptionsSchema[key] = Object.assign(Object.assign(Object.assign(Object.assign({}, remainingSchemaEntry), annotations), {
|
|
1861
|
-
type: type
|
|
1862
|
-
}), properties && {
|
|
1863
|
-
properties: enhanceOptionsSchemaWithDynamicOptions(properties)
|
|
1864
|
-
});
|
|
1865
|
-
|
|
1866
|
-
if (patternProperties) {
|
|
1867
|
-
var enhancedPatternProperties = {};
|
|
1868
|
-
Object.keys(patternProperties).forEach(function (opt) {
|
|
1869
|
-
enhancedPatternProperties = Object.assign(Object.assign({}, enhancedPatternProperties), enhanceOptionsSchemaWithDynamicOptions(_defineProperty({}, opt, patternProperties[opt])));
|
|
1870
|
-
});
|
|
1871
|
-
enhancedOptionsSchema[key].patternProperties = enhancedPatternProperties;
|
|
1872
|
-
}
|
|
1873
|
-
} else {
|
|
1874
|
-
enhancedOptionsSchema[key] = Object.assign(Object.assign({}, annotations), {
|
|
1875
|
-
anyOf: [Object.assign(Object.assign({}, type !== undefined && {
|
|
1876
|
-
type: type
|
|
1877
|
-
}), remainingSchemaEntry), dynamicOptionsDSLType]
|
|
1878
|
-
});
|
|
1879
|
-
}
|
|
1880
|
-
});
|
|
1881
|
-
return enhancedOptionsSchema;
|
|
1882
|
-
}
|
|
1883
|
-
|
|
1884
|
-
exports.enhanceOptionsSchemaWithDynamicOptions = enhanceOptionsSchemaWithDynamicOptions;
|
|
1809
|
+
Object.defineProperty(exports, "enhanceOptionsSchemaWithDynamicOptions", {
|
|
1810
|
+
enumerable: true,
|
|
1811
|
+
get: function get() {
|
|
1812
|
+
return visualization_schemas_1.enhanceOptionsSchemaWithDynamicOptions;
|
|
1813
|
+
}
|
|
1814
|
+
});
|
|
1885
1815
|
/**
|
|
1886
1816
|
* Helper function to enhance a Visualization Config as needed based on behaviors specified in supports block
|
|
1887
1817
|
* this function also collapse all editor panels
|
|
@@ -1892,11 +1822,6 @@ exports.enhanceOptionsSchemaWithDynamicOptions = enhanceOptionsSchemaWithDynamic
|
|
|
1892
1822
|
|
|
1893
1823
|
function enhanceConfig(vizConfig) {
|
|
1894
1824
|
var enhancedConfig = Object.assign({}, vizConfig);
|
|
1895
|
-
|
|
1896
|
-
if (vizConfig.supports.indexOf(VizBehavior_1.VizBehavior.DYNAMIC_OPTIONS) !== -1) {
|
|
1897
|
-
enhancedConfig.optionsSchema = enhanceOptionsSchemaWithDynamicOptions(vizConfig.optionsSchema);
|
|
1898
|
-
}
|
|
1899
|
-
|
|
1900
1825
|
enhancedConfig.editorConfig = vizConfig.editorConfig.map(function (config) {
|
|
1901
1826
|
return Object.assign(Object.assign({}, config), {
|
|
1902
1827
|
open: config.open || false
|
|
@@ -2114,7 +2039,7 @@ var i18n_1 = __webpack_require__(2);
|
|
|
2114
2039
|
|
|
2115
2040
|
var Message_1 = __webpack_require__(12);
|
|
2116
2041
|
|
|
2117
|
-
var FixedSizeContainer_1 = __webpack_require__(
|
|
2042
|
+
var FixedSizeContainer_1 = __webpack_require__(18);
|
|
2118
2043
|
/**
|
|
2119
2044
|
* @method shouldShowIconPlaceholder
|
|
2120
2045
|
* @param {object} dataSources
|
|
@@ -2192,7 +2117,7 @@ exports.default = (0, FixedSizeContainer_1.default)(IconPlaceholder);
|
|
|
2192
2117
|
"use strict";
|
|
2193
2118
|
|
|
2194
2119
|
|
|
2195
|
-
var _defineProperty = __webpack_require__(
|
|
2120
|
+
var _defineProperty = __webpack_require__(13);
|
|
2196
2121
|
|
|
2197
2122
|
Object.defineProperty(exports, "__esModule", {
|
|
2198
2123
|
value: true
|
|
@@ -2203,7 +2128,7 @@ var T = __webpack_require__(1);
|
|
|
2203
2128
|
|
|
2204
2129
|
var lodash_1 = __webpack_require__(3);
|
|
2205
2130
|
|
|
2206
|
-
var DataSource_1 = __webpack_require__(
|
|
2131
|
+
var DataSource_1 = __webpack_require__(21);
|
|
2207
2132
|
|
|
2208
2133
|
exports.SortParamsPropTypes = T.shape({
|
|
2209
2134
|
currentSortKey: T.string,
|
|
@@ -2368,7 +2293,7 @@ __exportStar(__webpack_require__(41), exports);
|
|
|
2368
2293
|
|
|
2369
2294
|
__exportStar(__webpack_require__(42), exports);
|
|
2370
2295
|
|
|
2371
|
-
__exportStar(__webpack_require__(
|
|
2296
|
+
__exportStar(__webpack_require__(21), exports);
|
|
2372
2297
|
|
|
2373
2298
|
__exportStar(__webpack_require__(43), exports);
|
|
2374
2299
|
|
|
@@ -2382,13 +2307,13 @@ __exportStar(__webpack_require__(47), exports);
|
|
|
2382
2307
|
|
|
2383
2308
|
__exportStar(__webpack_require__(48), exports);
|
|
2384
2309
|
|
|
2385
|
-
__exportStar(__webpack_require__(
|
|
2310
|
+
__exportStar(__webpack_require__(22), exports);
|
|
2386
2311
|
|
|
2387
|
-
__exportStar(__webpack_require__(
|
|
2312
|
+
__exportStar(__webpack_require__(8), exports);
|
|
2388
2313
|
|
|
2389
|
-
__exportStar(__webpack_require__(
|
|
2314
|
+
__exportStar(__webpack_require__(23), exports);
|
|
2390
2315
|
|
|
2391
|
-
__exportStar(__webpack_require__(
|
|
2316
|
+
__exportStar(__webpack_require__(49), exports);
|
|
2392
2317
|
|
|
2393
2318
|
__exportStar(__webpack_require__(50), exports);
|
|
2394
2319
|
|
|
@@ -2400,8 +2325,6 @@ __exportStar(__webpack_require__(53), exports);
|
|
|
2400
2325
|
|
|
2401
2326
|
__exportStar(__webpack_require__(54), exports);
|
|
2402
2327
|
|
|
2403
|
-
__exportStar(__webpack_require__(55), exports);
|
|
2404
|
-
|
|
2405
2328
|
/***/ }),
|
|
2406
2329
|
|
|
2407
2330
|
/***/ 41:
|
|
@@ -2491,7 +2414,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2491
2414
|
|
|
2492
2415
|
/***/ }),
|
|
2493
2416
|
|
|
2494
|
-
/***/
|
|
2417
|
+
/***/ 475:
|
|
2495
2418
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2496
2419
|
|
|
2497
2420
|
"use strict";
|
|
@@ -2527,9 +2450,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2527
2450
|
});
|
|
2528
2451
|
exports.default = void 0;
|
|
2529
2452
|
|
|
2530
|
-
__exportStar(__webpack_require__(
|
|
2453
|
+
__exportStar(__webpack_require__(186), exports);
|
|
2531
2454
|
|
|
2532
|
-
var Sankey_1 = __webpack_require__(
|
|
2455
|
+
var Sankey_1 = __webpack_require__(186);
|
|
2533
2456
|
|
|
2534
2457
|
Object.defineProperty(exports, "default", {
|
|
2535
2458
|
enumerable: true,
|
|
@@ -2540,29 +2463,17 @@ Object.defineProperty(exports, "default", {
|
|
|
2540
2463
|
|
|
2541
2464
|
/***/ }),
|
|
2542
2465
|
|
|
2543
|
-
/***/
|
|
2544
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2545
|
-
|
|
2546
|
-
"use strict";
|
|
2547
|
-
|
|
2548
|
-
|
|
2549
|
-
Object.defineProperty(exports, "__esModule", {
|
|
2550
|
-
value: true
|
|
2551
|
-
});
|
|
2552
|
-
|
|
2553
|
-
/***/ }),
|
|
2554
|
-
|
|
2555
|
-
/***/ 480:
|
|
2466
|
+
/***/ 476:
|
|
2556
2467
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2557
2468
|
|
|
2558
2469
|
"use strict";
|
|
2559
2470
|
__webpack_require__.r(__webpack_exports__);
|
|
2560
2471
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d3_sankey", function() { return d3_sankey; });
|
|
2561
|
-
/* harmony import */ var d3_interpolate__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
2472
|
+
/* harmony import */ var d3_interpolate__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(159);
|
|
2562
2473
|
/* harmony import */ var d3_interpolate__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(d3_interpolate__WEBPACK_IMPORTED_MODULE_0__);
|
|
2563
|
-
/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
2474
|
+
/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(84);
|
|
2564
2475
|
/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(d3_array__WEBPACK_IMPORTED_MODULE_1__);
|
|
2565
|
-
/* harmony import */ var d3_collection__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
2476
|
+
/* harmony import */ var d3_collection__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(160);
|
|
2566
2477
|
/* harmony import */ var d3_collection__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(d3_collection__WEBPACK_IMPORTED_MODULE_2__);
|
|
2567
2478
|
// reference link :- https://github.com/csaladenes/sankey
|
|
2568
2479
|
|
|
@@ -3119,7 +3030,7 @@ var d3_sankey = function d3_sankey() {
|
|
|
3119
3030
|
|
|
3120
3031
|
/***/ }),
|
|
3121
3032
|
|
|
3122
|
-
/***/
|
|
3033
|
+
/***/ 477:
|
|
3123
3034
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3124
3035
|
|
|
3125
3036
|
"use strict";
|
|
@@ -3137,9 +3048,9 @@ var styled_components_1 = __webpack_require__(4);
|
|
|
3137
3048
|
|
|
3138
3049
|
var react_1 = __webpack_require__(0);
|
|
3139
3050
|
|
|
3140
|
-
var PureSankey_1 = __webpack_require__(
|
|
3051
|
+
var PureSankey_1 = __webpack_require__(132);
|
|
3141
3052
|
|
|
3142
|
-
var SankeyUtils_1 = __webpack_require__(
|
|
3053
|
+
var SankeyUtils_1 = __webpack_require__(154);
|
|
3143
3054
|
|
|
3144
3055
|
var MAX_NODE_TEXT_WIDTH = 150;
|
|
3145
3056
|
|
|
@@ -3245,7 +3156,7 @@ exports.default = SankeyNode;
|
|
|
3245
3156
|
|
|
3246
3157
|
/***/ }),
|
|
3247
3158
|
|
|
3248
|
-
/***/
|
|
3159
|
+
/***/ 478:
|
|
3249
3160
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3250
3161
|
|
|
3251
3162
|
"use strict";
|
|
@@ -3263,9 +3174,9 @@ var T = __webpack_require__(1);
|
|
|
3263
3174
|
|
|
3264
3175
|
var styled_components_1 = __webpack_require__(4);
|
|
3265
3176
|
|
|
3266
|
-
var PureSankey_1 = __webpack_require__(
|
|
3177
|
+
var PureSankey_1 = __webpack_require__(132);
|
|
3267
3178
|
|
|
3268
|
-
var SankeyUtils_1 = __webpack_require__(
|
|
3179
|
+
var SankeyUtils_1 = __webpack_require__(154);
|
|
3269
3180
|
|
|
3270
3181
|
var getLinkFill = function getLinkFill(link, colorCategoryMapping, colorMode) {
|
|
3271
3182
|
if (colorMode === 'categorical') {
|
|
@@ -3368,7 +3279,7 @@ exports.default = SankeyLink;
|
|
|
3368
3279
|
|
|
3369
3280
|
/***/ }),
|
|
3370
3281
|
|
|
3371
|
-
/***/
|
|
3282
|
+
/***/ 479:
|
|
3372
3283
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3373
3284
|
|
|
3374
3285
|
"use strict";
|
|
@@ -3382,58 +3293,58 @@ var React = __webpack_require__(0);
|
|
|
3382
3293
|
|
|
3383
3294
|
var T = __webpack_require__(1);
|
|
3384
3295
|
|
|
3385
|
-
var Popover_1 = __webpack_require__(
|
|
3296
|
+
var Popover_1 = __webpack_require__(82);
|
|
3386
3297
|
|
|
3387
3298
|
var styled_components_1 = __webpack_require__(4);
|
|
3388
3299
|
|
|
3389
3300
|
var numberUtils_1 = __webpack_require__(11);
|
|
3390
3301
|
|
|
3391
|
-
var PureSankey_1 = __webpack_require__(
|
|
3302
|
+
var PureSankey_1 = __webpack_require__(132);
|
|
3392
3303
|
|
|
3393
3304
|
var DEFAULT_PLACEMENT = 'below';
|
|
3394
3305
|
var StyledTooltipContainer = styled_components_1.default.div.withConfig({
|
|
3395
3306
|
displayName: "SankeyTooltip__StyledTooltipContainer",
|
|
3396
|
-
componentId: "x563qp-0"
|
|
3307
|
+
componentId: "sc-x563qp-0"
|
|
3397
3308
|
})(["display:flex;min-width:200px;max-width:300px;padding:16px;flex-direction:column;"]);
|
|
3398
3309
|
var StyledTooltipSection = styled_components_1.default.div.withConfig({
|
|
3399
3310
|
displayName: "SankeyTooltip__StyledTooltipSection",
|
|
3400
|
-
componentId: "x563qp-1"
|
|
3311
|
+
componentId: "sc-x563qp-1"
|
|
3401
3312
|
})(["display:flex;flex-direction:column;> div:nth-child(1){margin-top:8px;}> div:last-child{margin-bottom:8px;}"]);
|
|
3402
3313
|
var StyledTooltipHeader = styled_components_1.default.div.withConfig({
|
|
3403
3314
|
displayName: "SankeyTooltip__StyledTooltipHeader",
|
|
3404
|
-
componentId: "x563qp-2"
|
|
3315
|
+
componentId: "sc-x563qp-2"
|
|
3405
3316
|
})(["display:flex;flex-direction:row;justify-content:space-between;font-size:14px;color:", ";"], function (props) {
|
|
3406
3317
|
return props.headerColor;
|
|
3407
3318
|
});
|
|
3408
3319
|
var StyledTooltipLinkHeader = styled_components_1.default.div.withConfig({
|
|
3409
3320
|
displayName: "SankeyTooltip__StyledTooltipLinkHeader",
|
|
3410
|
-
componentId: "x563qp-3"
|
|
3321
|
+
componentId: "sc-x563qp-3"
|
|
3411
3322
|
})(["display:flex;flex-direction:row;justify-content:space-between;font-size:14px;margin-bottom:8px;color:", ";"], function (props) {
|
|
3412
3323
|
return props.linkHeaderColor;
|
|
3413
3324
|
});
|
|
3414
3325
|
var StyledTooltipRow = styled_components_1.default.div.withConfig({
|
|
3415
3326
|
displayName: "SankeyTooltip__StyledTooltipRow",
|
|
3416
|
-
componentId: "x563qp-4"
|
|
3327
|
+
componentId: "sc-x563qp-4"
|
|
3417
3328
|
})(["display:flex;flex-direction:row;justify-content:space-between;font-size:12px;color:", ";margin-bottom:6px;"], function (props) {
|
|
3418
3329
|
return props.rowColor;
|
|
3419
3330
|
});
|
|
3420
3331
|
var StyledTooltipLeftCell = styled_components_1.default.div.withConfig({
|
|
3421
3332
|
displayName: "SankeyTooltip__StyledTooltipLeftCell",
|
|
3422
|
-
componentId: "x563qp-5"
|
|
3333
|
+
componentId: "sc-x563qp-5"
|
|
3423
3334
|
})(["display:flex;flex-direction:row;justify-content:flex-start;align-items:center;"]);
|
|
3424
3335
|
var StyledTooltipRightCell = styled_components_1.default.div.withConfig({
|
|
3425
3336
|
displayName: "SankeyTooltip__StyledTooltipRightCell",
|
|
3426
|
-
componentId: "x563qp-6"
|
|
3337
|
+
componentId: "sc-x563qp-6"
|
|
3427
3338
|
})(["margin-left:5px;"]);
|
|
3428
3339
|
var ColorTile = styled_components_1.default.div.withConfig({
|
|
3429
3340
|
displayName: "SankeyTooltip__ColorTile",
|
|
3430
|
-
componentId: "x563qp-7"
|
|
3341
|
+
componentId: "sc-x563qp-7"
|
|
3431
3342
|
})(["width:6px;height:16px;background-color:", ";}"], function (props) {
|
|
3432
3343
|
return typeof props.colorCategoryMapping === 'function' ? props.colorCategoryMapping(props.node.name) : PureSankey_1.DEFAULT_NODE_COLOR;
|
|
3433
3344
|
});
|
|
3434
3345
|
var NodeValue = styled_components_1.default.div.withConfig({
|
|
3435
3346
|
displayName: "SankeyTooltip__NodeValue",
|
|
3436
|
-
componentId: "x563qp-8"
|
|
3347
|
+
componentId: "sc-x563qp-8"
|
|
3437
3348
|
})(["margin-left:8px;max-width:200px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;"]);
|
|
3438
3349
|
|
|
3439
3350
|
var SankeyTooltip = function SankeyTooltip(props) {
|
|
@@ -3573,7 +3484,8 @@ var SankeyTooltip = function SankeyTooltip(props) {
|
|
|
3573
3484
|
return handleTooltipRequestClose();
|
|
3574
3485
|
}
|
|
3575
3486
|
}, React.createElement(StyledTooltipContainer, {
|
|
3576
|
-
className: "sankeyToolTip"
|
|
3487
|
+
className: "sankeyToolTip",
|
|
3488
|
+
"data-test": "sankey-tooltip"
|
|
3577
3489
|
}, React.createElement(StyledTooltipLinkHeader, {
|
|
3578
3490
|
linkHeaderColor: tooltipLinkHeaderColor,
|
|
3579
3491
|
"data-test": "main-row"
|
|
@@ -3639,7 +3551,7 @@ exports.default = SankeyTooltip;
|
|
|
3639
3551
|
|
|
3640
3552
|
/***/ }),
|
|
3641
3553
|
|
|
3642
|
-
/***/
|
|
3554
|
+
/***/ 48:
|
|
3643
3555
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3644
3556
|
|
|
3645
3557
|
"use strict";
|
|
@@ -3649,29 +3561,39 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3649
3561
|
value: true
|
|
3650
3562
|
});
|
|
3651
3563
|
|
|
3652
|
-
|
|
3564
|
+
/***/ }),
|
|
3565
|
+
|
|
3566
|
+
/***/ 480:
|
|
3567
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
3568
|
+
|
|
3569
|
+
"use strict";
|
|
3570
|
+
|
|
3653
3571
|
|
|
3654
|
-
|
|
3572
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3573
|
+
value: true
|
|
3574
|
+
});
|
|
3655
3575
|
|
|
3656
|
-
var
|
|
3576
|
+
var visualization_icons_1 = __webpack_require__(72);
|
|
3657
3577
|
|
|
3658
|
-
var
|
|
3578
|
+
var placeholders_1 = __webpack_require__(71);
|
|
3659
3579
|
|
|
3660
|
-
var
|
|
3580
|
+
var visualization_schemas_1 = __webpack_require__(10);
|
|
3661
3581
|
|
|
3662
|
-
var
|
|
3582
|
+
var PresetPalettes_1 = __webpack_require__(81);
|
|
3583
|
+
|
|
3584
|
+
var themes_1 = __webpack_require__(80);
|
|
3663
3585
|
|
|
3664
3586
|
var i18n_1 = __webpack_require__(2);
|
|
3665
3587
|
|
|
3666
|
-
var VizBehavior_1 = __webpack_require__(
|
|
3588
|
+
var VizBehavior_1 = __webpack_require__(8);
|
|
3667
3589
|
|
|
3668
|
-
var VizCategory_1 = __webpack_require__(
|
|
3590
|
+
var VizCategory_1 = __webpack_require__(23);
|
|
3669
3591
|
|
|
3670
3592
|
var configUtils_1 = __webpack_require__(27);
|
|
3671
3593
|
|
|
3672
|
-
var DynamicLinkColorsEditor_1 = __webpack_require__(
|
|
3594
|
+
var DynamicLinkColorsEditor_1 = __webpack_require__(481);
|
|
3673
3595
|
|
|
3674
|
-
var BackgroundColor_1 = __webpack_require__(
|
|
3596
|
+
var BackgroundColor_1 = __webpack_require__(73);
|
|
3675
3597
|
|
|
3676
3598
|
var defaultContext = {
|
|
3677
3599
|
linkColorRangeConfig: [{
|
|
@@ -3715,52 +3637,6 @@ var size = {
|
|
|
3715
3637
|
initialWidth: 600,
|
|
3716
3638
|
initialHeight: 300
|
|
3717
3639
|
};
|
|
3718
|
-
var optionsSchema = {
|
|
3719
|
-
backgroundColor: {
|
|
3720
|
-
default: '> themes.defaultBackgroundColor',
|
|
3721
|
-
description: 'Specify the color for the background. You may use a dataSource to apply the color. The default for enterprise light is "#ffffff". The default for enterprise dark is "#000000". The default for prisma dark is "#0b0c0e".',
|
|
3722
|
-
pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA,
|
|
3723
|
-
type: 'string'
|
|
3724
|
-
},
|
|
3725
|
-
colorMode: {
|
|
3726
|
-
default: 'categorical',
|
|
3727
|
-
description: 'Specify the coloring method used for the links. When set to "categorical" the nodes and links will be colored based on the "seriesColors". When set to "dynamic" the links will be colored based on the dynamic string assigned to "linkColors".',
|
|
3728
|
-
pattern: (0, schemaUtils_1.getPattern)(['categorical', 'dynamic']),
|
|
3729
|
-
type: 'string'
|
|
3730
|
-
},
|
|
3731
|
-
linkColors: {
|
|
3732
|
-
default: "> linkValues | rangeValue(linkColorRangeConfig)",
|
|
3733
|
-
description: 'Specify the coloring method used for the links when the colorMode “dynamic” is specified.',
|
|
3734
|
-
type: 'array',
|
|
3735
|
-
items: {
|
|
3736
|
-
type: 'string',
|
|
3737
|
-
pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA
|
|
3738
|
-
}
|
|
3739
|
-
},
|
|
3740
|
-
linkOpacity: {
|
|
3741
|
-
default: 0.5,
|
|
3742
|
-
description: 'Specify the opacity of the links. Choose a number in the range of 0 - 1 (inclusive).',
|
|
3743
|
-
type: 'number'
|
|
3744
|
-
},
|
|
3745
|
-
linkValues: {
|
|
3746
|
-
default: "> primary | seriesByType('number')",
|
|
3747
|
-
description: 'Specify the dataSource to apply link width.',
|
|
3748
|
-
type: 'string'
|
|
3749
|
-
},
|
|
3750
|
-
resultLimit: {
|
|
3751
|
-
default: 1000,
|
|
3752
|
-
description: 'Specify the maximum length of link data points rendered.',
|
|
3753
|
-
type: 'number'
|
|
3754
|
-
},
|
|
3755
|
-
seriesColors: {
|
|
3756
|
-
default: visualization_color_palettes_1.VIZ_CATEGORICAL,
|
|
3757
|
-
description: 'Specify the colors used for a series. For example, ["#FF0000", "#0000FF", "#008000"].',
|
|
3758
|
-
type: 'array',
|
|
3759
|
-
items: {
|
|
3760
|
-
type: 'string'
|
|
3761
|
-
}
|
|
3762
|
-
}
|
|
3763
|
-
};
|
|
3764
3640
|
var themes = {
|
|
3765
3641
|
defaultBackgroundColor: function defaultBackgroundColor(props) {
|
|
3766
3642
|
return (0, themes_1.pick)({
|
|
@@ -3872,7 +3748,7 @@ var config = {
|
|
|
3872
3748
|
dataContract: dataContract,
|
|
3873
3749
|
size: size,
|
|
3874
3750
|
defaultContext: defaultContext,
|
|
3875
|
-
optionsSchema:
|
|
3751
|
+
optionsSchema: visualization_schemas_1.sankeyOptionsSchema,
|
|
3876
3752
|
editorConfig: editorConfig,
|
|
3877
3753
|
events: {
|
|
3878
3754
|
'node.click': {
|
|
@@ -3890,7 +3766,7 @@ exports.default = (0, configUtils_1.enhanceConfig)(config);
|
|
|
3890
3766
|
|
|
3891
3767
|
/***/ }),
|
|
3892
3768
|
|
|
3893
|
-
/***/
|
|
3769
|
+
/***/ 481:
|
|
3894
3770
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3895
3771
|
|
|
3896
3772
|
"use strict";
|
|
@@ -4019,19 +3895,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4019
3895
|
"use strict";
|
|
4020
3896
|
|
|
4021
3897
|
|
|
4022
|
-
|
|
4023
|
-
value: true
|
|
4024
|
-
});
|
|
4025
|
-
|
|
4026
|
-
/***/ }),
|
|
4027
|
-
|
|
4028
|
-
/***/ 56:
|
|
4029
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
4030
|
-
|
|
4031
|
-
"use strict";
|
|
4032
|
-
|
|
4033
|
-
|
|
4034
|
-
var _slicedToArray = __webpack_require__(7);
|
|
3898
|
+
var _slicedToArray = __webpack_require__(6);
|
|
4035
3899
|
|
|
4036
3900
|
Object.defineProperty(exports, "__esModule", {
|
|
4037
3901
|
value: true
|
|
@@ -4041,15 +3905,15 @@ var React = __webpack_require__(0);
|
|
|
4041
3905
|
|
|
4042
3906
|
var lodash_1 = __webpack_require__(3);
|
|
4043
3907
|
|
|
4044
|
-
var getSettingsFromThemedProps_1 = __webpack_require__(
|
|
3908
|
+
var getSettingsFromThemedProps_1 = __webpack_require__(56);
|
|
4045
3909
|
|
|
4046
|
-
var Options_1 = __webpack_require__(
|
|
3910
|
+
var Options_1 = __webpack_require__(17);
|
|
4047
3911
|
|
|
4048
|
-
var SanitizeProps_1 = __webpack_require__(
|
|
3912
|
+
var SanitizeProps_1 = __webpack_require__(57);
|
|
4049
3913
|
|
|
4050
3914
|
var TimezoneContext_1 = __webpack_require__(32);
|
|
4051
3915
|
|
|
4052
|
-
var moment_1 = __webpack_require__(
|
|
3916
|
+
var moment_1 = __webpack_require__(58);
|
|
4053
3917
|
|
|
4054
3918
|
var FeatureFlagContext_1 = __webpack_require__(28);
|
|
4055
3919
|
|
|
@@ -4059,31 +3923,31 @@ var hocUtils_1 = __webpack_require__(34);
|
|
|
4059
3923
|
|
|
4060
3924
|
var JSONSchemaUtils_1 = __webpack_require__(35);
|
|
4061
3925
|
|
|
4062
|
-
var async_dynamic_options_evaluator_1 = __webpack_require__(
|
|
3926
|
+
var async_dynamic_options_evaluator_1 = __webpack_require__(59);
|
|
4063
3927
|
|
|
4064
3928
|
var id_1 = __webpack_require__(31);
|
|
4065
3929
|
|
|
4066
|
-
var SplunkVisualization_1 = __webpack_require__(
|
|
3930
|
+
var SplunkVisualization_1 = __webpack_require__(60);
|
|
4067
3931
|
|
|
4068
|
-
var VizBehavior_1 = __webpack_require__(
|
|
3932
|
+
var VizBehavior_1 = __webpack_require__(8);
|
|
4069
3933
|
|
|
4070
3934
|
var getSorting_1 = __webpack_require__(38);
|
|
4071
3935
|
|
|
4072
3936
|
var getPagination_1 = __webpack_require__(39);
|
|
4073
3937
|
|
|
4074
|
-
var useDeepMemo_1 = __webpack_require__(
|
|
3938
|
+
var useDeepMemo_1 = __webpack_require__(61);
|
|
4075
3939
|
|
|
4076
|
-
var MissingPropsMessage_1 = __webpack_require__(
|
|
3940
|
+
var MissingPropsMessage_1 = __webpack_require__(62);
|
|
4077
3941
|
|
|
4078
|
-
var withEditModeCover_1 = __webpack_require__(
|
|
3942
|
+
var withEditModeCover_1 = __webpack_require__(63);
|
|
4079
3943
|
|
|
4080
|
-
var withPlaceholder_1 = __webpack_require__(
|
|
3944
|
+
var withPlaceholder_1 = __webpack_require__(64);
|
|
4081
3945
|
|
|
4082
|
-
var useDownsampleDataSources_1 = __webpack_require__(
|
|
3946
|
+
var useDownsampleDataSources_1 = __webpack_require__(65);
|
|
4083
3947
|
|
|
4084
|
-
var dataUtils_1 = __webpack_require__(
|
|
3948
|
+
var dataUtils_1 = __webpack_require__(15);
|
|
4085
3949
|
|
|
4086
|
-
var featureFlagUtils_1 = __webpack_require__(
|
|
3950
|
+
var featureFlagUtils_1 = __webpack_require__(67);
|
|
4087
3951
|
/**
|
|
4088
3952
|
* hoc that wraps a pure react visualization in a Dashboard visualization
|
|
4089
3953
|
* @param {DashboardVizOpts} opts
|
|
@@ -4416,81 +4280,48 @@ exports.default = withDashboardViz;
|
|
|
4416
4280
|
|
|
4417
4281
|
/***/ }),
|
|
4418
4282
|
|
|
4419
|
-
/***/
|
|
4283
|
+
/***/ 56:
|
|
4420
4284
|
/***/ (function(module, exports) {
|
|
4421
4285
|
|
|
4422
4286
|
module.exports = require("@splunk/themes/getSettingsFromThemedProps");
|
|
4423
4287
|
|
|
4424
4288
|
/***/ }),
|
|
4425
4289
|
|
|
4426
|
-
/***/
|
|
4290
|
+
/***/ 57:
|
|
4427
4291
|
/***/ (function(module, exports) {
|
|
4428
4292
|
|
|
4429
4293
|
module.exports = require("@splunk/visualizations-shared/SanitizeProps");
|
|
4430
4294
|
|
|
4431
4295
|
/***/ }),
|
|
4432
4296
|
|
|
4433
|
-
/***/
|
|
4297
|
+
/***/ 58:
|
|
4434
4298
|
/***/ (function(module, exports) {
|
|
4435
4299
|
|
|
4436
4300
|
module.exports = require("@splunk/moment");
|
|
4437
4301
|
|
|
4438
4302
|
/***/ }),
|
|
4439
4303
|
|
|
4440
|
-
/***/
|
|
4441
|
-
/***/ (function(module, exports
|
|
4442
|
-
|
|
4443
|
-
"use strict";
|
|
4444
|
-
|
|
4445
|
-
|
|
4446
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4447
|
-
value: true
|
|
4448
|
-
});
|
|
4449
|
-
exports.VizBehavior = void 0;
|
|
4450
|
-
var VizBehavior;
|
|
4451
|
-
|
|
4452
|
-
(function (VizBehavior) {
|
|
4453
|
-
/**
|
|
4454
|
-
* Dynamic Options Behavior.
|
|
4455
|
-
* This allows visualization options to be powered by data
|
|
4456
|
-
*
|
|
4457
|
-
* **Example**
|
|
4458
|
-
*
|
|
4459
|
-
* sparklineValues: ">primary|seriesByIndex(0)"
|
|
4460
|
-
* would configure sparklineValues with an array of data points
|
|
4461
|
-
* coming from the first series in the primary datasource
|
|
4462
|
-
*
|
|
4463
|
-
*/
|
|
4464
|
-
VizBehavior["DYNAMIC_OPTIONS"] = "dynamic-options";
|
|
4465
|
-
VizBehavior["EVENTS"] = "events";
|
|
4466
|
-
VizBehavior["DOWNSAMPLING"] = "downsampling";
|
|
4467
|
-
/**
|
|
4468
|
-
* Placeholder behavior: visualization will display a placeholder rather than fail if any of the `requiredProps` is
|
|
4469
|
-
* missing.
|
|
4470
|
-
* @type {string}
|
|
4471
|
-
*/
|
|
4304
|
+
/***/ 59:
|
|
4305
|
+
/***/ (function(module, exports) {
|
|
4472
4306
|
|
|
4473
|
-
|
|
4474
|
-
VizBehavior["PAGE_AND_SORT"] = "page-and-sort";
|
|
4475
|
-
VizBehavior["TRELLIS"] = "trellis";
|
|
4476
|
-
})(VizBehavior = exports.VizBehavior || (exports.VizBehavior = {}));
|
|
4307
|
+
module.exports = require("@splunk/async-dynamic-options-evaluator");
|
|
4477
4308
|
|
|
4478
4309
|
/***/ }),
|
|
4479
4310
|
|
|
4480
|
-
/***/
|
|
4311
|
+
/***/ 6:
|
|
4481
4312
|
/***/ (function(module, exports) {
|
|
4482
4313
|
|
|
4483
|
-
module.exports = require("@
|
|
4314
|
+
module.exports = require("@babel/runtime/helpers/slicedToArray");
|
|
4484
4315
|
|
|
4485
4316
|
/***/ }),
|
|
4486
4317
|
|
|
4487
|
-
/***/
|
|
4318
|
+
/***/ 60:
|
|
4488
4319
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4489
4320
|
|
|
4490
4321
|
"use strict";
|
|
4491
4322
|
|
|
4492
4323
|
|
|
4493
|
-
var _classCallCheck = __webpack_require__(
|
|
4324
|
+
var _classCallCheck = __webpack_require__(9);
|
|
4494
4325
|
|
|
4495
4326
|
Object.defineProperty(exports, "__esModule", {
|
|
4496
4327
|
value: true
|
|
@@ -4502,7 +4333,7 @@ var T = __webpack_require__(1);
|
|
|
4502
4333
|
|
|
4503
4334
|
var lodash_1 = __webpack_require__(3);
|
|
4504
4335
|
|
|
4505
|
-
var VizActionHandler_1 = __webpack_require__(
|
|
4336
|
+
var VizActionHandler_1 = __webpack_require__(22); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
|
|
4506
4337
|
|
|
4507
4338
|
|
|
4508
4339
|
exports.INITIAL_WIDTH = 250;
|
|
@@ -4636,7 +4467,7 @@ exports.default = SplunkVisualization;
|
|
|
4636
4467
|
|
|
4637
4468
|
/***/ }),
|
|
4638
4469
|
|
|
4639
|
-
/***/
|
|
4470
|
+
/***/ 61:
|
|
4640
4471
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4641
4472
|
|
|
4642
4473
|
"use strict";
|
|
@@ -4682,7 +4513,7 @@ exports.useDeepMemo = useDeepMemo;
|
|
|
4682
4513
|
|
|
4683
4514
|
/***/ }),
|
|
4684
4515
|
|
|
4685
|
-
/***/
|
|
4516
|
+
/***/ 62:
|
|
4686
4517
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4687
4518
|
|
|
4688
4519
|
"use strict";
|
|
@@ -4701,7 +4532,7 @@ var i18n_1 = __webpack_require__(2);
|
|
|
4701
4532
|
|
|
4702
4533
|
var Message_1 = __webpack_require__(12);
|
|
4703
4534
|
|
|
4704
|
-
var FixedSizeContainer_1 = __webpack_require__(
|
|
4535
|
+
var FixedSizeContainer_1 = __webpack_require__(18);
|
|
4705
4536
|
/**
|
|
4706
4537
|
* @method isMissing
|
|
4707
4538
|
* @param {any} v
|
|
@@ -4763,7 +4594,7 @@ exports.default = (0, FixedSizeContainer_1.default)(exports.MissingPropsMessage)
|
|
|
4763
4594
|
|
|
4764
4595
|
/***/ }),
|
|
4765
4596
|
|
|
4766
|
-
/***/
|
|
4597
|
+
/***/ 63:
|
|
4767
4598
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4768
4599
|
|
|
4769
4600
|
"use strict";
|
|
@@ -4777,14 +4608,14 @@ var React = __webpack_require__(0);
|
|
|
4777
4608
|
|
|
4778
4609
|
var styled_components_1 = __webpack_require__(4);
|
|
4779
4610
|
|
|
4780
|
-
var hocUtils_1 = __webpack_require__(
|
|
4611
|
+
var hocUtils_1 = __webpack_require__(24);
|
|
4781
4612
|
|
|
4782
4613
|
var Cover = styled_components_1.default.div.withConfig({
|
|
4783
4614
|
displayName: "withEditModeCover__Cover",
|
|
4784
4615
|
componentId: "sc-1gsbnxb-0"
|
|
4785
4616
|
})(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
|
|
4786
4617
|
var Blocker = styled_components_1.default.div.attrs({
|
|
4787
|
-
'data-splunk-visualization-version': "26.
|
|
4618
|
+
'data-splunk-visualization-version': "26.3.0 - a1ef240a6"
|
|
4788
4619
|
}).withConfig({
|
|
4789
4620
|
displayName: "withEditModeCover__Blocker",
|
|
4790
4621
|
componentId: "sc-1gsbnxb-1"
|
|
@@ -4816,7 +4647,7 @@ exports.default = withEditModeCover;
|
|
|
4816
4647
|
|
|
4817
4648
|
/***/ }),
|
|
4818
4649
|
|
|
4819
|
-
/***/
|
|
4650
|
+
/***/ 64:
|
|
4820
4651
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4821
4652
|
|
|
4822
4653
|
"use strict";
|
|
@@ -4828,15 +4659,15 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4828
4659
|
|
|
4829
4660
|
var React = __webpack_require__(0);
|
|
4830
4661
|
|
|
4831
|
-
var colorUtils_1 = __webpack_require__(
|
|
4662
|
+
var colorUtils_1 = __webpack_require__(16);
|
|
4832
4663
|
|
|
4833
|
-
var variables_1 = __webpack_require__(
|
|
4664
|
+
var variables_1 = __webpack_require__(14);
|
|
4834
4665
|
|
|
4835
4666
|
var IconPlaceholder_1 = __webpack_require__(37);
|
|
4836
4667
|
|
|
4837
|
-
var VizBehavior_1 = __webpack_require__(
|
|
4668
|
+
var VizBehavior_1 = __webpack_require__(8);
|
|
4838
4669
|
|
|
4839
|
-
var hocUtils_1 = __webpack_require__(
|
|
4670
|
+
var hocUtils_1 = __webpack_require__(24);
|
|
4840
4671
|
|
|
4841
4672
|
var withPlaceholder = function withPlaceholder(Visualization) {
|
|
4842
4673
|
var useIconPlaceholder = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : IconPlaceholder_1.shouldShowIconPlaceholder;
|
|
@@ -4881,13 +4712,13 @@ exports.default = withPlaceholder;
|
|
|
4881
4712
|
|
|
4882
4713
|
/***/ }),
|
|
4883
4714
|
|
|
4884
|
-
/***/
|
|
4715
|
+
/***/ 65:
|
|
4885
4716
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4886
4717
|
|
|
4887
4718
|
"use strict";
|
|
4888
4719
|
|
|
4889
4720
|
|
|
4890
|
-
var _slicedToArray = __webpack_require__(
|
|
4721
|
+
var _slicedToArray = __webpack_require__(6);
|
|
4891
4722
|
|
|
4892
4723
|
Object.defineProperty(exports, "__esModule", {
|
|
4893
4724
|
value: true
|
|
@@ -4897,11 +4728,11 @@ var react_1 = __webpack_require__(0);
|
|
|
4897
4728
|
|
|
4898
4729
|
var lodash_1 = __webpack_require__(3);
|
|
4899
4730
|
|
|
4900
|
-
var dataUtils_1 = __webpack_require__(
|
|
4731
|
+
var dataUtils_1 = __webpack_require__(15);
|
|
4901
4732
|
|
|
4902
4733
|
var usePrevious_1 = __webpack_require__(33);
|
|
4903
4734
|
|
|
4904
|
-
var useGetXAndYFields_1 = __webpack_require__(
|
|
4735
|
+
var useGetXAndYFields_1 = __webpack_require__(66);
|
|
4905
4736
|
|
|
4906
4737
|
var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
|
|
4907
4738
|
var dataSources = _ref.dataSources,
|
|
@@ -4971,13 +4802,13 @@ exports.default = useDownsampleDataSources;
|
|
|
4971
4802
|
|
|
4972
4803
|
/***/ }),
|
|
4973
4804
|
|
|
4974
|
-
/***/
|
|
4805
|
+
/***/ 66:
|
|
4975
4806
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4976
4807
|
|
|
4977
4808
|
"use strict";
|
|
4978
4809
|
|
|
4979
4810
|
|
|
4980
|
-
var _toConsumableArray = __webpack_require__(
|
|
4811
|
+
var _toConsumableArray = __webpack_require__(7);
|
|
4981
4812
|
|
|
4982
4813
|
Object.defineProperty(exports, "__esModule", {
|
|
4983
4814
|
value: true
|
|
@@ -4985,7 +4816,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4985
4816
|
|
|
4986
4817
|
var react_1 = __webpack_require__(0);
|
|
4987
4818
|
|
|
4988
|
-
var Options_1 = __webpack_require__(
|
|
4819
|
+
var Options_1 = __webpack_require__(17);
|
|
4989
4820
|
/**
|
|
4990
4821
|
* Hook that evaluates the DSL for subset of a viz's options needed to determine
|
|
4991
4822
|
* its x and y fields as well as the types of all its fields.
|
|
@@ -5086,7 +4917,7 @@ exports.default = useGetXAndYFields;
|
|
|
5086
4917
|
|
|
5087
4918
|
/***/ }),
|
|
5088
4919
|
|
|
5089
|
-
/***/
|
|
4920
|
+
/***/ 67:
|
|
5090
4921
|
/***/ (function(module, exports, __webpack_require__) {
|
|
5091
4922
|
|
|
5092
4923
|
"use strict";
|
|
@@ -5097,7 +4928,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5097
4928
|
});
|
|
5098
4929
|
exports.getFeatureFlag = void 0;
|
|
5099
4930
|
|
|
5100
|
-
var FeatureFlags_1 = __webpack_require__(
|
|
4931
|
+
var FeatureFlags_1 = __webpack_require__(68);
|
|
5101
4932
|
|
|
5102
4933
|
var getFeatureFlag = function getFeatureFlag(context, flagName) {
|
|
5103
4934
|
// look for feature flag in context first
|
|
@@ -5122,7 +4953,7 @@ exports.getFeatureFlag = getFeatureFlag;
|
|
|
5122
4953
|
|
|
5123
4954
|
/***/ }),
|
|
5124
4955
|
|
|
5125
|
-
/***/
|
|
4956
|
+
/***/ 68:
|
|
5126
4957
|
/***/ (function(module, exports) {
|
|
5127
4958
|
|
|
5128
4959
|
module.exports = require("@splunk/visualization-context/FeatureFlags");
|
|
@@ -5132,32 +4963,25 @@ module.exports = require("@splunk/visualization-context/FeatureFlags");
|
|
|
5132
4963
|
/***/ 7:
|
|
5133
4964
|
/***/ (function(module, exports) {
|
|
5134
4965
|
|
|
5135
|
-
module.exports = require("@babel/runtime/helpers/
|
|
4966
|
+
module.exports = require("@babel/runtime/helpers/toConsumableArray");
|
|
5136
4967
|
|
|
5137
4968
|
/***/ }),
|
|
5138
4969
|
|
|
5139
|
-
/***/
|
|
4970
|
+
/***/ 71:
|
|
5140
4971
|
/***/ (function(module, exports) {
|
|
5141
4972
|
|
|
5142
4973
|
module.exports = require("@splunk/visualization-icons/placeholders");
|
|
5143
4974
|
|
|
5144
4975
|
/***/ }),
|
|
5145
4976
|
|
|
5146
|
-
/***/
|
|
5147
|
-
/***/ (function(module, exports) {
|
|
5148
|
-
|
|
5149
|
-
module.exports = require("@splunk/visualization-color-palettes");
|
|
5150
|
-
|
|
5151
|
-
/***/ }),
|
|
5152
|
-
|
|
5153
|
-
/***/ 74:
|
|
4977
|
+
/***/ 72:
|
|
5154
4978
|
/***/ (function(module, exports) {
|
|
5155
4979
|
|
|
5156
4980
|
module.exports = require("@splunk/visualization-icons");
|
|
5157
4981
|
|
|
5158
4982
|
/***/ }),
|
|
5159
4983
|
|
|
5160
|
-
/***/
|
|
4984
|
+
/***/ 73:
|
|
5161
4985
|
/***/ (function(module, exports, __webpack_require__) {
|
|
5162
4986
|
|
|
5163
4987
|
"use strict";
|
|
@@ -5188,35 +5012,75 @@ exports.default = background;
|
|
|
5188
5012
|
|
|
5189
5013
|
/***/ }),
|
|
5190
5014
|
|
|
5191
|
-
/***/
|
|
5015
|
+
/***/ 75:
|
|
5192
5016
|
/***/ (function(module, exports) {
|
|
5193
5017
|
|
|
5194
|
-
module.exports = require("@
|
|
5018
|
+
module.exports = require("@splunk/visualization-color-palettes");
|
|
5195
5019
|
|
|
5196
5020
|
/***/ }),
|
|
5197
5021
|
|
|
5198
|
-
/***/
|
|
5022
|
+
/***/ 8:
|
|
5023
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
5024
|
+
|
|
5025
|
+
"use strict";
|
|
5026
|
+
|
|
5027
|
+
|
|
5028
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5029
|
+
value: true
|
|
5030
|
+
});
|
|
5031
|
+
exports.VizBehavior = void 0;
|
|
5032
|
+
var VizBehavior;
|
|
5033
|
+
|
|
5034
|
+
(function (VizBehavior) {
|
|
5035
|
+
/**
|
|
5036
|
+
* Dynamic Options Behavior.
|
|
5037
|
+
* This allows visualization options to be powered by data
|
|
5038
|
+
*
|
|
5039
|
+
* **Example**
|
|
5040
|
+
*
|
|
5041
|
+
* sparklineValues: ">primary|seriesByIndex(0)"
|
|
5042
|
+
* would configure sparklineValues with an array of data points
|
|
5043
|
+
* coming from the first series in the primary datasource
|
|
5044
|
+
*
|
|
5045
|
+
*/
|
|
5046
|
+
VizBehavior["DYNAMIC_OPTIONS"] = "dynamic-options";
|
|
5047
|
+
VizBehavior["EVENTS"] = "events";
|
|
5048
|
+
VizBehavior["DOWNSAMPLING"] = "downsampling";
|
|
5049
|
+
/**
|
|
5050
|
+
* Placeholder behavior: visualization will display a placeholder rather than fail if any of the `requiredProps` is
|
|
5051
|
+
* missing.
|
|
5052
|
+
* @type {string}
|
|
5053
|
+
*/
|
|
5054
|
+
|
|
5055
|
+
VizBehavior["PLACEHOLDER"] = "placeholder";
|
|
5056
|
+
VizBehavior["PAGE_AND_SORT"] = "page-and-sort";
|
|
5057
|
+
VizBehavior["TRELLIS"] = "trellis";
|
|
5058
|
+
})(VizBehavior = exports.VizBehavior || (exports.VizBehavior = {}));
|
|
5059
|
+
|
|
5060
|
+
/***/ }),
|
|
5061
|
+
|
|
5062
|
+
/***/ 80:
|
|
5199
5063
|
/***/ (function(module, exports) {
|
|
5200
5064
|
|
|
5201
5065
|
module.exports = require("@splunk/themes");
|
|
5202
5066
|
|
|
5203
5067
|
/***/ }),
|
|
5204
5068
|
|
|
5205
|
-
/***/
|
|
5069
|
+
/***/ 81:
|
|
5206
5070
|
/***/ (function(module, exports) {
|
|
5207
5071
|
|
|
5208
5072
|
module.exports = require("@splunk/visualization-color-palettes/editors/PresetPalettes");
|
|
5209
5073
|
|
|
5210
5074
|
/***/ }),
|
|
5211
5075
|
|
|
5212
|
-
/***/
|
|
5076
|
+
/***/ 82:
|
|
5213
5077
|
/***/ (function(module, exports) {
|
|
5214
5078
|
|
|
5215
5079
|
module.exports = require("@splunk/react-ui/Popover");
|
|
5216
5080
|
|
|
5217
5081
|
/***/ }),
|
|
5218
5082
|
|
|
5219
|
-
/***/
|
|
5083
|
+
/***/ 84:
|
|
5220
5084
|
/***/ (function(module, exports) {
|
|
5221
5085
|
|
|
5222
5086
|
module.exports = require("d3-array");
|
|
@@ -5226,11 +5090,11 @@ module.exports = require("d3-array");
|
|
|
5226
5090
|
/***/ 9:
|
|
5227
5091
|
/***/ (function(module, exports) {
|
|
5228
5092
|
|
|
5229
|
-
module.exports = require("@babel/runtime/helpers/
|
|
5093
|
+
module.exports = require("@babel/runtime/helpers/classCallCheck");
|
|
5230
5094
|
|
|
5231
5095
|
/***/ }),
|
|
5232
5096
|
|
|
5233
|
-
/***/
|
|
5097
|
+
/***/ 94:
|
|
5234
5098
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
5235
5099
|
|
|
5236
5100
|
"use strict";
|