@splunk/visualizations 26.2.1 → 26.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Area.config.js +92 -595
- package/Area.config.js.map +1 -1
- package/Area.js +296 -801
- package/Area.js.map +1 -1
- package/Bar.config.js +93 -562
- package/Bar.config.js.map +1 -1
- package/Bar.js +299 -770
- package/Bar.js.map +1 -1
- package/Bubble.config.js +84 -483
- package/Bubble.config.js.map +1 -1
- package/Bubble.js +286 -687
- package/Bubble.js.map +1 -1
- package/ChoroplethSvg.config.js +77 -202
- package/ChoroplethSvg.config.js.map +1 -1
- package/ChoroplethSvg.js +272 -400
- package/ChoroplethSvg.js.map +1 -1
- package/Column.config.js +93 -600
- package/Column.config.js.map +1 -1
- package/Column.js +299 -808
- package/Column.js.map +1 -1
- package/Ellipse.config.js +82 -200
- package/Ellipse.config.js.map +1 -1
- package/Ellipse.js +233 -356
- package/Ellipse.js.map +1 -1
- package/Events.config.js +62 -283
- package/Events.config.js.map +1 -1
- package/Events.js +326 -530
- package/Events.js.map +1 -1
- package/FillerGauge.config.js +91 -220
- package/FillerGauge.config.js.map +1 -1
- package/FillerGauge.js +267 -401
- package/FillerGauge.js.map +1 -1
- package/Image.config.js +61 -157
- package/Image.config.js.map +1 -1
- package/Image.js +217 -327
- package/Image.js.map +1 -1
- package/Line.config.js +92 -607
- package/Line.config.js.map +1 -1
- package/Line.js +297 -814
- package/Line.js.map +1 -1
- package/LinkGraph.config.js +75 -257
- package/LinkGraph.config.js.map +1 -1
- package/LinkGraph.js +1755 -17415
- package/LinkGraph.js.map +1 -1
- package/MIGRATION.md +6 -0
- package/Map.config.js +128 -1123
- package/Map.config.js.map +1 -1
- package/Map.js +470 -782
- package/Map.js.map +1 -1
- package/Markdown.config.js +62 -189
- package/Markdown.config.js.map +1 -1
- package/Markdown.js +272 -401
- package/Markdown.js.map +1 -1
- package/MarkerGauge.config.js +138 -298
- package/MarkerGauge.config.js.map +1 -1
- package/MarkerGauge.js +309 -470
- package/MarkerGauge.js.map +1 -1
- package/ParallelCoordinates.config.js +72 -192
- package/ParallelCoordinates.config.js.map +1 -1
- package/ParallelCoordinates.js +333 -442
- package/ParallelCoordinates.js.map +1 -1
- package/Pie.config.js +77 -241
- package/Pie.config.js.map +1 -1
- package/Pie.js +336 -471
- package/Pie.js.map +1 -1
- package/Punchcard.config.js +72 -306
- package/Punchcard.config.js.map +1 -1
- package/Punchcard.js +356 -583
- package/Punchcard.js.map +1 -1
- package/Rectangle.config.js +211 -347
- package/Rectangle.config.js.map +1 -1
- package/Rectangle.js +371 -509
- package/Rectangle.js.map +1 -1
- package/Sankey.config.js +72 -214
- package/Sankey.config.js.map +1 -1
- package/Sankey.js +343 -475
- package/Sankey.js.map +1 -1
- package/Scatter.config.js +86 -464
- package/Scatter.config.js.map +1 -1
- package/Scatter.js +1118 -1493
- package/Scatter.js.map +1 -1
- package/SingleValue.config.js +124 -411
- package/SingleValue.config.js.map +1 -1
- package/SingleValue.js +522 -789
- package/SingleValue.js.map +1 -1
- package/SingleValueBasic.js +73 -61
- package/SingleValueBasic.js.map +1 -1
- package/SingleValueIcon.config.js +123 -380
- package/SingleValueIcon.config.js.map +1 -1
- package/SingleValueIcon.js +508 -745
- package/SingleValueIcon.js.map +1 -1
- package/SingleValueRadial.config.js +121 -385
- package/SingleValueRadial.config.js.map +1 -1
- package/SingleValueRadial.js +1642 -1885
- package/SingleValueRadial.js.map +1 -1
- package/SparkLine.js +39 -39
- package/SparkLine.js.map +1 -1
- package/Table.config.js +82 -496
- package/Table.config.js.map +1 -1
- package/Table.js +416 -825
- package/Table.js.map +1 -1
- package/common/Charting.js +37 -57
- package/common/Charting.js.map +1 -1
- package/common/DocExampleWithVizSandbox.js +21 -21
- package/common/DocExampleWithVizSandbox.js.map +1 -1
- package/common/EventsDoc.js +18 -18
- package/common/EventsDoc.js.map +1 -1
- package/common/GaugeMajorTicks.js +4 -4
- package/common/GaugeMajorTicks.js.map +1 -1
- package/common/GaugeValueMarker.js +2 -2
- package/common/GaugeValueMarker.js.map +1 -1
- package/common/OptionsDoc.js +4 -4
- package/common/OptionsDoc.js.map +1 -1
- package/common/OverviewDoc.js +39 -40
- package/common/OverviewDoc.js.map +1 -1
- package/common/SplunkVisualization.js +2 -2
- package/common/SplunkVisualization.js.map +1 -1
- package/common/SplunkVisualizationApi.js +2 -2
- package/common/SplunkVisualizationApi.js.map +1 -1
- package/common/ThemesDoc.js +19 -19
- package/common/ThemesDoc.js.map +1 -1
- package/common/chartingUtils.js +2 -2
- package/common/chartingUtils.js.map +1 -1
- package/common/gaugeUtils.js +10 -10
- package/common/gaugeUtils.js.map +1 -1
- package/common/shapeUtils.js +10 -10
- package/common/shapeUtils.js.map +1 -1
- package/common/utils/configUtils.js +25 -155
- package/common/utils/configUtils.js.map +1 -1
- package/common/utils/dataUtils.js +87 -105
- package/common/utils/dataUtils.js.map +1 -1
- package/common/utils/featureFlagUtils.js +4 -4
- package/common/utils/featureFlagUtils.js.map +1 -1
- package/common/utils/hocUtils.js +2 -2
- package/common/utils/hocUtils.js.map +1 -1
- package/common/utils/mapUtils.js +51 -54
- package/common/utils/mapUtils.js.map +1 -1
- package/common/utils/singleValueUtils.js +30 -18
- package/common/utils/singleValueUtils.js.map +1 -1
- package/common/utils/testHelper.js +7 -36
- package/common/utils/testHelper.js.map +1 -1
- package/common/utils/trellisUtils.js +7 -6
- package/common/utils/trellisUtils.js.map +1 -1
- package/common/utils/urlUtils.js +2 -2
- package/common/utils/urlUtils.js.map +1 -1
- package/common/withDashboardViz.js +93 -101
- package/common/withDashboardViz.js.map +1 -1
- package/package.json +48 -50
- package/common/utils/layoutUtils.js +0 -115
- package/common/utils/layoutUtils.js.map +0 -1
package/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 = 467);
|
|
91
91
|
/******/ })
|
|
92
92
|
/************************************************************************/
|
|
93
93
|
/******/ ({
|
|
@@ -95,32 +95,32 @@ module.exports =
|
|
|
95
95
|
/***/ 0:
|
|
96
96
|
/***/ (function(module, exports) {
|
|
97
97
|
|
|
98
|
-
module.exports = require("
|
|
98
|
+
module.exports = require("prop-types");
|
|
99
99
|
|
|
100
100
|
/***/ }),
|
|
101
101
|
|
|
102
102
|
/***/ 1:
|
|
103
103
|
/***/ (function(module, exports) {
|
|
104
104
|
|
|
105
|
-
module.exports = require("
|
|
105
|
+
module.exports = require("react");
|
|
106
106
|
|
|
107
107
|
/***/ }),
|
|
108
108
|
|
|
109
109
|
/***/ 10:
|
|
110
110
|
/***/ (function(module, exports) {
|
|
111
111
|
|
|
112
|
-
module.exports = require("@
|
|
112
|
+
module.exports = require("@splunk/visualizations-shared/numberUtils");
|
|
113
113
|
|
|
114
114
|
/***/ }),
|
|
115
115
|
|
|
116
|
-
/***/
|
|
116
|
+
/***/ 102:
|
|
117
117
|
/***/ (function(module, exports) {
|
|
118
118
|
|
|
119
119
|
module.exports = require("@babel/runtime/helpers/typeof");
|
|
120
120
|
|
|
121
121
|
/***/ }),
|
|
122
122
|
|
|
123
|
-
/***/
|
|
123
|
+
/***/ 103:
|
|
124
124
|
/***/ (function(module, exports) {
|
|
125
125
|
|
|
126
126
|
module.exports = require("@splunk/visualization-encoding/utils/types");
|
|
@@ -130,28 +130,28 @@ module.exports = require("@splunk/visualization-encoding/utils/types");
|
|
|
130
130
|
/***/ 11:
|
|
131
131
|
/***/ (function(module, exports) {
|
|
132
132
|
|
|
133
|
-
module.exports = require("@splunk/visualizations-shared/
|
|
133
|
+
module.exports = require("@splunk/visualizations-shared/Message");
|
|
134
134
|
|
|
135
135
|
/***/ }),
|
|
136
136
|
|
|
137
|
-
/***/
|
|
137
|
+
/***/ 112:
|
|
138
138
|
/***/ (function(module, exports) {
|
|
139
139
|
|
|
140
140
|
module.exports = require("d3-scale");
|
|
141
141
|
|
|
142
142
|
/***/ }),
|
|
143
143
|
|
|
144
|
-
/***/
|
|
144
|
+
/***/ 116:
|
|
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("@
|
|
154
|
+
module.exports = require("@babel/runtime/helpers/defineProperty");
|
|
155
155
|
|
|
156
156
|
/***/ }),
|
|
157
157
|
|
|
@@ -162,53 +162,53 @@ module.exports = require("@splunk/themes/variables");
|
|
|
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__(6);
|
|
172
172
|
|
|
173
|
-
var _slicedToArray = __webpack_require__(
|
|
173
|
+
var _slicedToArray = __webpack_require__(5);
|
|
174
174
|
|
|
175
175
|
Object.defineProperty(exports, "__esModule", {
|
|
176
176
|
value: true
|
|
177
177
|
});
|
|
178
178
|
exports.DEFAULT_LINK_VALUE_INDEX = exports.DEFAULT_TARGET_INDEX = exports.DEFAULT_SOURCE_INDEX = exports.DEFAULT_CHART_HEIGHT = exports.DEFAULT_CHART_WIDTH = exports.CHART_MIN_HEIGHT = exports.CHART_MIN_WIDTH = exports.INACTIVE_OPACITY = exports.DEFAULT_NODE_OPACITY = exports.DEFAULT_LINK_OPACITY = exports.DEFAULT_SERIES_COLOR = exports.DEFAULT_LINK_COLOR = exports.DEFAULT_NODE_COLOR = exports.DEFAULT_FONT_FAMILY = exports.NODE_TEXT_FONT_SIZE = exports.DEFAULT_COLORS = void 0;
|
|
179
179
|
|
|
180
|
-
var React = __webpack_require__(
|
|
180
|
+
var React = __webpack_require__(1);
|
|
181
181
|
|
|
182
|
-
var react_1 = __webpack_require__(
|
|
182
|
+
var react_1 = __webpack_require__(1);
|
|
183
183
|
|
|
184
|
-
var T = __webpack_require__(
|
|
184
|
+
var T = __webpack_require__(0);
|
|
185
185
|
|
|
186
|
-
var lodash_1 = __webpack_require__(
|
|
186
|
+
var lodash_1 = __webpack_require__(2);
|
|
187
187
|
|
|
188
188
|
var styled_components_1 = __webpack_require__(4);
|
|
189
189
|
|
|
190
|
-
var Message_1 = __webpack_require__(
|
|
190
|
+
var Message_1 = __webpack_require__(11);
|
|
191
191
|
|
|
192
|
-
var i18n_1 = __webpack_require__(
|
|
192
|
+
var i18n_1 = __webpack_require__(3);
|
|
193
193
|
|
|
194
|
-
var SizeAwareWrapper_1 = __webpack_require__(
|
|
194
|
+
var SizeAwareWrapper_1 = __webpack_require__(25);
|
|
195
195
|
|
|
196
196
|
var style_1 = __webpack_require__(18);
|
|
197
197
|
|
|
198
|
-
var visualization_color_palettes_1 = __webpack_require__(
|
|
198
|
+
var visualization_color_palettes_1 = __webpack_require__(74); // eslint-disable-next-line camelcase
|
|
199
199
|
|
|
200
200
|
|
|
201
|
-
var sankey_1 = __webpack_require__(
|
|
201
|
+
var sankey_1 = __webpack_require__(468);
|
|
202
202
|
|
|
203
|
-
var VizStyleWrapper_1 = __webpack_require__(
|
|
203
|
+
var VizStyleWrapper_1 = __webpack_require__(93);
|
|
204
204
|
|
|
205
|
-
var SankeyUtils_1 = __webpack_require__(
|
|
205
|
+
var SankeyUtils_1 = __webpack_require__(152);
|
|
206
206
|
|
|
207
|
-
var SankeyNode_1 = __webpack_require__(
|
|
207
|
+
var SankeyNode_1 = __webpack_require__(469);
|
|
208
208
|
|
|
209
|
-
var SankeyLink_1 = __webpack_require__(
|
|
209
|
+
var SankeyLink_1 = __webpack_require__(470);
|
|
210
210
|
|
|
211
|
-
var SankeyTooltip_1 = __webpack_require__(
|
|
211
|
+
var SankeyTooltip_1 = __webpack_require__(471);
|
|
212
212
|
|
|
213
213
|
exports.DEFAULT_COLORS = {
|
|
214
214
|
backgroundColor: '#ffffff',
|
|
@@ -609,9 +609,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
609
609
|
});
|
|
610
610
|
exports.downsampleDataSources = exports.calculateDownsamplingThreshold = exports.calculateThresholdOnRangeSelect = exports.isDownsamplingEnabledForViz = exports.convertToArrOfObjects = void 0;
|
|
611
611
|
|
|
612
|
-
var numberUtils_1 = __webpack_require__(
|
|
612
|
+
var numberUtils_1 = __webpack_require__(10);
|
|
613
613
|
|
|
614
|
-
var interfaces_1 = __webpack_require__(
|
|
614
|
+
var interfaces_1 = __webpack_require__(39); // TODO: utilize this fn in ParallelCoordinates
|
|
615
615
|
|
|
616
616
|
|
|
617
617
|
var convertToArrOfObjects = function convertToArrOfObjects(columns, fields) {
|
|
@@ -746,19 +746,21 @@ var largestTriangleThreeBuckets = function largestTriangleThreeBuckets(data, thr
|
|
|
746
746
|
*/
|
|
747
747
|
|
|
748
748
|
|
|
749
|
-
var strictlyCoerceYColumn = function strictlyCoerceYColumn(column) {
|
|
750
|
-
// Splunk charting allows for numbers in formats such as negative hex that
|
|
749
|
+
var strictlyCoerceYColumn = function strictlyCoerceYColumn(column, options) {
|
|
750
|
+
var isNullCoercionEnabled = options.nullValueDisplay === 'zero'; // Splunk charting allows for numbers in formats such as negative hex that
|
|
751
751
|
// Number() does not support and also allows loose coercion of hex numbers (but not other formats)
|
|
752
752
|
// We want to identify columns which contain at least one value that can be loosely coerced
|
|
753
|
+
|
|
753
754
|
var canLooselyCoerceSomeValues = column.findIndex(function (value) {
|
|
754
|
-
return (0, numberUtils_1.startsWithNumber)("".concat(value));
|
|
755
|
+
return (0, numberUtils_1.startsWithNumber)("".concat(value)) || isNullCoercionEnabled && value === null;
|
|
755
756
|
}) >= 0; // If not all values in column can be strictly coerced to a number, we do not downsample
|
|
756
757
|
|
|
757
758
|
var coercedColumn = [];
|
|
758
759
|
var canDownsampleColumn = !column.some(function (value) {
|
|
759
|
-
var coercedValue = Number(value);
|
|
760
|
+
var coercedValue = Number(value);
|
|
761
|
+
var coerceValueToZero = isNullCoercionEnabled && value === null; // if it can't be parsed or isn't safe, fail
|
|
760
762
|
|
|
761
|
-
if (Number.isNaN(coercedValue) || coercedValue <= Number.MIN_SAFE_INTEGER || coercedValue >= Number.MAX_SAFE_INTEGER || typeof value !== 'string' && typeof value !== 'number') {
|
|
763
|
+
if (Number.isNaN(coercedValue) || coercedValue <= Number.MIN_SAFE_INTEGER || coercedValue >= Number.MAX_SAFE_INTEGER || typeof value !== 'string' && typeof value !== 'number' && !coerceValueToZero) {
|
|
762
764
|
return true;
|
|
763
765
|
} // save value and continue to next
|
|
764
766
|
|
|
@@ -839,8 +841,7 @@ var calculateDownsamplingThreshold = function calculateDownsamplingThreshold(_re
|
|
|
839
841
|
dataSources = _ref3.dataSources,
|
|
840
842
|
selectChartEvent = _ref3.selectChartEvent,
|
|
841
843
|
width = _ref3.width,
|
|
842
|
-
xField = _ref3.xField
|
|
843
|
-
y2Fields = _ref3.y2Fields;
|
|
844
|
+
xField = _ref3.xField;
|
|
844
845
|
|
|
845
846
|
var _a, _b, _c;
|
|
846
847
|
|
|
@@ -877,14 +878,7 @@ var calculateDownsamplingThreshold = function calculateDownsamplingThreshold(_re
|
|
|
877
878
|
});
|
|
878
879
|
var lastIndex = fullSeries.findIndex(function (x) {
|
|
879
880
|
return downsampledSeries[endXIndex] === x;
|
|
880
|
-
});
|
|
881
|
-
// re-calculating downsampling threshold if the chart is zoomed in until SPL-259458 is fixed
|
|
882
|
-
// Also do not support re-calculating downsampling threshold for zoomed-in charts with y2
|
|
883
|
-
// until SPL-259611 is fixed
|
|
884
|
-
|
|
885
|
-
if (xField !== '_time' || (y2Fields === null || y2Fields === void 0 ? void 0 : y2Fields.length)) {
|
|
886
|
-
return firstIndex === 0 && lastIndex === fullSeries.length - 1 ? width : null;
|
|
887
|
-
}
|
|
881
|
+
});
|
|
888
882
|
|
|
889
883
|
if (firstIndex >= 0 && lastIndex >= 0 && firstIndex <= lastIndex) {
|
|
890
884
|
return (0, exports.calculateThresholdOnRangeSelect)({
|
|
@@ -895,6 +889,7 @@ var calculateDownsamplingThreshold = function calculateDownsamplingThreshold(_re
|
|
|
895
889
|
});
|
|
896
890
|
}
|
|
897
891
|
} catch (e) {
|
|
892
|
+
// eslint-disable-next-line no-console
|
|
898
893
|
console.error('Error occurred while setting downsample threshold on range select event', e);
|
|
899
894
|
}
|
|
900
895
|
|
|
@@ -933,7 +928,7 @@ var isColumnStrictlyIncreasing = function isColumnStrictlyIncreasing(column, fie
|
|
|
933
928
|
*/
|
|
934
929
|
|
|
935
930
|
|
|
936
|
-
var tryToCoerceAllDisplayedFields = function tryToCoerceAllDisplayedFields(ds, xField, yFields, fieldTypes) {
|
|
931
|
+
var tryToCoerceAllDisplayedFields = function tryToCoerceAllDisplayedFields(ds, xField, yFields, fieldTypes, options) {
|
|
937
932
|
var xColumn = [];
|
|
938
933
|
var yColumns = [];
|
|
939
934
|
var canDownsample = !ds.data.fields.some(function (field, index) {
|
|
@@ -947,7 +942,7 @@ var tryToCoerceAllDisplayedFields = function tryToCoerceAllDisplayedFields(ds, x
|
|
|
947
942
|
if (fieldName === xField) {
|
|
948
943
|
xColumn = strictlyCoerceXColumn(column, fieldType);
|
|
949
944
|
} else if (yFields.has(fieldName)) {
|
|
950
|
-
var _strictlyCoerceYColum = strictlyCoerceYColumn(ds.data.columns[index]),
|
|
945
|
+
var _strictlyCoerceYColum = strictlyCoerceYColumn(ds.data.columns[index], options),
|
|
951
946
|
coercedColumn = _strictlyCoerceYColum.coercedColumn,
|
|
952
947
|
canLooselyCoerceSomeValues = _strictlyCoerceYColum.canLooselyCoerceSomeValues,
|
|
953
948
|
canDownsampleColumn = _strictlyCoerceYColum.canDownsampleColumn; // do not perform downsampling if a column can possibly be displayed but cannot
|
|
@@ -1037,7 +1032,7 @@ var downsampleDataSources = function downsampleDataSources(_ref4) {
|
|
|
1037
1032
|
return dataSources;
|
|
1038
1033
|
}
|
|
1039
1034
|
|
|
1040
|
-
var _tryToCoerceAllDispla = tryToCoerceAllDisplayedFields(primaryDS, xField, nonInternalYFields, fieldTypes),
|
|
1035
|
+
var _tryToCoerceAllDispla = tryToCoerceAllDisplayedFields(primaryDS, xField, nonInternalYFields, fieldTypes, options),
|
|
1041
1036
|
xColumn = _tryToCoerceAllDispla.xColumn,
|
|
1042
1037
|
yColumns = _tryToCoerceAllDispla.yColumns;
|
|
1043
1038
|
|
|
@@ -1061,6 +1056,7 @@ var downsampleDataSources = function downsampleDataSources(_ref4) {
|
|
|
1061
1056
|
return downsampledIndices.add(downsampleIndex);
|
|
1062
1057
|
});
|
|
1063
1058
|
} catch (e) {
|
|
1059
|
+
// eslint-disable-next-line no-console
|
|
1064
1060
|
console.error("Error occurred while downsampling column ".concat(columnIndex), e);
|
|
1065
1061
|
}
|
|
1066
1062
|
}); // update data columns with downsampled columns
|
|
@@ -1080,7 +1076,7 @@ module.exports = require("@splunk/visualizations-shared/colorUtils");
|
|
|
1080
1076
|
|
|
1081
1077
|
/***/ }),
|
|
1082
1078
|
|
|
1083
|
-
/***/
|
|
1079
|
+
/***/ 152:
|
|
1084
1080
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1085
1081
|
|
|
1086
1082
|
"use strict";
|
|
@@ -1092,15 +1088,16 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1092
1088
|
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
1089
|
/* eslint-disable no-param-reassign */
|
|
1094
1090
|
|
|
1095
|
-
var d3_scale_1 = __webpack_require__(
|
|
1091
|
+
var d3_scale_1 = __webpack_require__(112);
|
|
1096
1092
|
|
|
1097
|
-
var types_1 = __webpack_require__(
|
|
1093
|
+
var types_1 = __webpack_require__(103);
|
|
1098
1094
|
|
|
1099
1095
|
var insertNodeIfNotExist = function insertNodeIfNotExist(sankeyData, nodeName) {
|
|
1100
1096
|
var nodes = sankeyData.nodes;
|
|
1101
1097
|
nodes = nodes || [];
|
|
1102
1098
|
|
|
1103
1099
|
if (typeof nodeName !== 'string') {
|
|
1100
|
+
// eslint-disable-next-line no-console
|
|
1104
1101
|
console.error('Node not created, invalid nodename:', nodeName);
|
|
1105
1102
|
return;
|
|
1106
1103
|
}
|
|
@@ -1187,6 +1184,7 @@ var convertInputToSankeyDataFormat = function convertInputToSankeyDataFormat(col
|
|
|
1187
1184
|
}
|
|
1188
1185
|
})();
|
|
1189
1186
|
} else {
|
|
1187
|
+
// eslint-disable-next-line no-console
|
|
1190
1188
|
console.error('Link excluded. Invalid type in column input, row :- ', i, "[".concat(columns[sourceFieldIdx][i], ", ").concat(columns[targetFieldIdx][i], ", ").concat(columns[linkValueFieldIdx][i], "]"));
|
|
1191
1189
|
}
|
|
1192
1190
|
}
|
|
@@ -1240,6 +1238,7 @@ var extractLinkMidPoint = function extractLinkMidPoint(pathStr) {
|
|
|
1240
1238
|
var zIndex = pathStr.lastIndexOf('Z');
|
|
1241
1239
|
|
|
1242
1240
|
if (mIndex < 0 || cIndexLast < 0 || cIndexLast < 0 || zIndex < 0) {
|
|
1241
|
+
// eslint-disable-next-line no-console
|
|
1243
1242
|
console.error('Extract link midpoint error. Invalid path -', pathStr);
|
|
1244
1243
|
return null;
|
|
1245
1244
|
}
|
|
@@ -1250,6 +1249,7 @@ var extractLinkMidPoint = function extractLinkMidPoint(pathStr) {
|
|
|
1250
1249
|
var section4 = pathStr.slice(cIndexLast + 1, zIndex).trim();
|
|
1251
1250
|
|
|
1252
1251
|
if (!section1.length || !section2.length || !section3.length || !section4.length) {
|
|
1252
|
+
// eslint-disable-next-line no-console
|
|
1253
1253
|
console.error('Extract link midpoint error. Invalid path -', pathStr);
|
|
1254
1254
|
return null;
|
|
1255
1255
|
}
|
|
@@ -1367,24 +1367,24 @@ exports.truncateSVGTextWithEllipsis = truncateSVGTextWithEllipsis;
|
|
|
1367
1367
|
|
|
1368
1368
|
/***/ }),
|
|
1369
1369
|
|
|
1370
|
-
/***/
|
|
1370
|
+
/***/ 157:
|
|
1371
1371
|
/***/ (function(module, exports) {
|
|
1372
1372
|
|
|
1373
|
-
module.exports = require("
|
|
1373
|
+
module.exports = require("d3-interpolate");
|
|
1374
1374
|
|
|
1375
1375
|
/***/ }),
|
|
1376
1376
|
|
|
1377
|
-
/***/
|
|
1377
|
+
/***/ 158:
|
|
1378
1378
|
/***/ (function(module, exports) {
|
|
1379
1379
|
|
|
1380
|
-
module.exports = require("d3-
|
|
1380
|
+
module.exports = require("d3-collection");
|
|
1381
1381
|
|
|
1382
1382
|
/***/ }),
|
|
1383
1383
|
|
|
1384
|
-
/***/
|
|
1384
|
+
/***/ 16:
|
|
1385
1385
|
/***/ (function(module, exports) {
|
|
1386
1386
|
|
|
1387
|
-
module.exports = require("
|
|
1387
|
+
module.exports = require("@splunk/visualization-encoding/Options");
|
|
1388
1388
|
|
|
1389
1389
|
/***/ }),
|
|
1390
1390
|
|
|
@@ -1394,13 +1394,13 @@ module.exports = require("d3-collection");
|
|
|
1394
1394
|
"use strict";
|
|
1395
1395
|
|
|
1396
1396
|
|
|
1397
|
-
var _slicedToArray = __webpack_require__(
|
|
1397
|
+
var _slicedToArray = __webpack_require__(5);
|
|
1398
1398
|
|
|
1399
1399
|
Object.defineProperty(exports, "__esModule", {
|
|
1400
1400
|
value: true
|
|
1401
1401
|
});
|
|
1402
1402
|
|
|
1403
|
-
var React = __webpack_require__(
|
|
1403
|
+
var React = __webpack_require__(1);
|
|
1404
1404
|
|
|
1405
1405
|
var styled_components_1 = __webpack_require__(4);
|
|
1406
1406
|
|
|
@@ -1408,7 +1408,7 @@ var style_1 = __webpack_require__(18);
|
|
|
1408
1408
|
|
|
1409
1409
|
var colorUtils_1 = __webpack_require__(15);
|
|
1410
1410
|
|
|
1411
|
-
var SizeAwareWrapper_1 = __webpack_require__(
|
|
1411
|
+
var SizeAwareWrapper_1 = __webpack_require__(25);
|
|
1412
1412
|
|
|
1413
1413
|
var Item = styled_components_1.default.div.attrs(function (_ref) {
|
|
1414
1414
|
var width = _ref.width;
|
|
@@ -1479,7 +1479,7 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
|
|
|
1479
1479
|
|
|
1480
1480
|
return React.createElement(FixSizeItem, {
|
|
1481
1481
|
"data-test": "fix-size-item",
|
|
1482
|
-
"data-splunk-visualization-version": "26.
|
|
1482
|
+
"data-splunk-visualization-version": "26.4.0 - 04078274d",
|
|
1483
1483
|
width: width,
|
|
1484
1484
|
height: height,
|
|
1485
1485
|
backgroundColor: backgroundColor
|
|
@@ -1508,32 +1508,32 @@ module.exports = require("@splunk/visualizations-shared/style");
|
|
|
1508
1508
|
|
|
1509
1509
|
/***/ }),
|
|
1510
1510
|
|
|
1511
|
-
/***/
|
|
1511
|
+
/***/ 184:
|
|
1512
1512
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1513
1513
|
|
|
1514
1514
|
"use strict";
|
|
1515
1515
|
|
|
1516
1516
|
|
|
1517
|
-
var _typeof = __webpack_require__(
|
|
1517
|
+
var _typeof = __webpack_require__(102);
|
|
1518
1518
|
|
|
1519
1519
|
Object.defineProperty(exports, "__esModule", {
|
|
1520
1520
|
value: true
|
|
1521
1521
|
});
|
|
1522
1522
|
exports.PureSankey = exports.config = exports.themes = exports.computeVizProps = exports.showPlaceHolderIcon = void 0;
|
|
1523
1523
|
|
|
1524
|
-
var lodash_1 = __webpack_require__(
|
|
1524
|
+
var lodash_1 = __webpack_require__(2);
|
|
1525
1525
|
|
|
1526
|
-
var dataSourceUtils_1 = __webpack_require__(
|
|
1526
|
+
var dataSourceUtils_1 = __webpack_require__(116);
|
|
1527
1527
|
|
|
1528
1528
|
var colorUtils_1 = __webpack_require__(15);
|
|
1529
1529
|
|
|
1530
|
-
var withDashboardViz_1 = __webpack_require__(
|
|
1530
|
+
var withDashboardViz_1 = __webpack_require__(54);
|
|
1531
1531
|
|
|
1532
|
-
var PureSankey_1 = __webpack_require__(
|
|
1532
|
+
var PureSankey_1 = __webpack_require__(132);
|
|
1533
1533
|
|
|
1534
1534
|
exports.PureSankey = PureSankey_1.default;
|
|
1535
1535
|
|
|
1536
|
-
var config_1 = __webpack_require__(
|
|
1536
|
+
var config_1 = __webpack_require__(472);
|
|
1537
1537
|
|
|
1538
1538
|
exports.config = config_1.default;
|
|
1539
1539
|
/**
|
|
@@ -1639,7 +1639,14 @@ exports.default = Sankey;
|
|
|
1639
1639
|
|
|
1640
1640
|
/***/ }),
|
|
1641
1641
|
|
|
1642
|
-
/***/
|
|
1642
|
+
/***/ 2:
|
|
1643
|
+
/***/ (function(module, exports) {
|
|
1644
|
+
|
|
1645
|
+
module.exports = require("lodash");
|
|
1646
|
+
|
|
1647
|
+
/***/ }),
|
|
1648
|
+
|
|
1649
|
+
/***/ 20:
|
|
1643
1650
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1644
1651
|
|
|
1645
1652
|
"use strict";
|
|
@@ -1648,29 +1655,21 @@ exports.default = Sankey;
|
|
|
1648
1655
|
Object.defineProperty(exports, "__esModule", {
|
|
1649
1656
|
value: true
|
|
1650
1657
|
});
|
|
1651
|
-
exports.validOutputModes = exports.
|
|
1658
|
+
exports.validOutputModes = exports.validSortDirs = void 0;
|
|
1652
1659
|
exports.validSortDirs = ['asc', 'desc', 'none'];
|
|
1653
|
-
exports.validSegmentationModes = ['none', 'inner'];
|
|
1654
1660
|
exports.validOutputModes = ['json_cols', 'json'];
|
|
1655
1661
|
|
|
1656
1662
|
/***/ }),
|
|
1657
1663
|
|
|
1658
|
-
/***/ 2:
|
|
1659
|
-
/***/ (function(module, exports) {
|
|
1660
|
-
|
|
1661
|
-
module.exports = require("@splunk/ui-utils/i18n");
|
|
1662
|
-
|
|
1663
|
-
/***/ }),
|
|
1664
|
-
|
|
1665
1664
|
/***/ 21:
|
|
1666
1665
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1667
1666
|
|
|
1668
1667
|
"use strict";
|
|
1669
1668
|
|
|
1670
1669
|
|
|
1671
|
-
var _classCallCheck = __webpack_require__(
|
|
1670
|
+
var _classCallCheck = __webpack_require__(8);
|
|
1672
1671
|
|
|
1673
|
-
var _createClass = __webpack_require__(
|
|
1672
|
+
var _createClass = __webpack_require__(24);
|
|
1674
1673
|
|
|
1675
1674
|
Object.defineProperty(exports, "__esModule", {
|
|
1676
1675
|
value: true
|
|
@@ -1765,123 +1764,41 @@ exports.extendStaticWrapperProps = extendStaticWrapperProps;
|
|
|
1765
1764
|
/***/ 24:
|
|
1766
1765
|
/***/ (function(module, exports) {
|
|
1767
1766
|
|
|
1768
|
-
module.exports = require("@splunk/visualizations-shared/schemaUtils");
|
|
1769
|
-
|
|
1770
|
-
/***/ }),
|
|
1771
|
-
|
|
1772
|
-
/***/ 25:
|
|
1773
|
-
/***/ (function(module, exports) {
|
|
1774
|
-
|
|
1775
1767
|
module.exports = require("@babel/runtime/helpers/createClass");
|
|
1776
1768
|
|
|
1777
1769
|
/***/ }),
|
|
1778
1770
|
|
|
1779
|
-
/***/
|
|
1771
|
+
/***/ 25:
|
|
1780
1772
|
/***/ (function(module, exports) {
|
|
1781
1773
|
|
|
1782
1774
|
module.exports = require("@splunk/visualizations-shared/SizeAwareWrapper");
|
|
1783
1775
|
|
|
1784
1776
|
/***/ }),
|
|
1785
1777
|
|
|
1786
|
-
/***/
|
|
1778
|
+
/***/ 26:
|
|
1787
1779
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1788
1780
|
|
|
1789
1781
|
"use strict";
|
|
1790
1782
|
|
|
1791
1783
|
|
|
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
|
-
};
|
|
1784
|
+
var _toConsumableArray = __webpack_require__(6);
|
|
1808
1785
|
|
|
1809
1786
|
Object.defineProperty(exports, "__esModule", {
|
|
1810
1787
|
value: true
|
|
1811
1788
|
});
|
|
1812
|
-
exports.insertLayout = exports.isDynamicOption = exports.uncollapseEditorConfig = exports.generatePrecisionValues = exports.getInitialPreset = exports.
|
|
1813
|
-
|
|
1814
|
-
var lodash_1 = __webpack_require__(3);
|
|
1789
|
+
exports.insertLayout = exports.isDynamicOption = exports.uncollapseEditorConfig = exports.generatePrecisionValues = exports.getInitialPreset = exports.enhanceConfig = exports.enhanceOptionsSchemaWithDynamicOptions = void 0;
|
|
1815
1790
|
|
|
1816
|
-
var
|
|
1791
|
+
var lodash_1 = __webpack_require__(2); // included for backwards compatibility
|
|
1817
1792
|
|
|
1818
|
-
var VizBehavior_1 = __webpack_require__(6);
|
|
1819
1793
|
|
|
1820
|
-
var
|
|
1821
|
-
type: 'string',
|
|
1822
|
-
pattern: schemaUtils_1.DYNAMIC_OPTIONS_DSL_PATTERN
|
|
1823
|
-
};
|
|
1824
|
-
/**
|
|
1825
|
-
* Helper function to extend an options schema with dynamic options DSL
|
|
1826
|
-
* @param optionsSchema a visualization's options schema
|
|
1827
|
-
* @returns an updated options schema that additionally allows strings starting with > for each option
|
|
1828
|
-
*/
|
|
1794
|
+
var visualization_schemas_1 = __webpack_require__(9);
|
|
1829
1795
|
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
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;
|
|
1796
|
+
Object.defineProperty(exports, "enhanceOptionsSchemaWithDynamicOptions", {
|
|
1797
|
+
enumerable: true,
|
|
1798
|
+
get: function get() {
|
|
1799
|
+
return visualization_schemas_1.enhanceOptionsSchemaWithDynamicOptions;
|
|
1800
|
+
}
|
|
1801
|
+
});
|
|
1885
1802
|
/**
|
|
1886
1803
|
* Helper function to enhance a Visualization Config as needed based on behaviors specified in supports block
|
|
1887
1804
|
* this function also collapse all editor panels
|
|
@@ -1892,11 +1809,6 @@ exports.enhanceOptionsSchemaWithDynamicOptions = enhanceOptionsSchemaWithDynamic
|
|
|
1892
1809
|
|
|
1893
1810
|
function enhanceConfig(vizConfig) {
|
|
1894
1811
|
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
1812
|
enhancedConfig.editorConfig = vizConfig.editorConfig.map(function (config) {
|
|
1901
1813
|
return Object.assign(Object.assign({}, config), {
|
|
1902
1814
|
open: config.open || false
|
|
@@ -2020,14 +1932,14 @@ exports.insertLayout = insertLayout;
|
|
|
2020
1932
|
|
|
2021
1933
|
/***/ }),
|
|
2022
1934
|
|
|
2023
|
-
/***/
|
|
1935
|
+
/***/ 27:
|
|
2024
1936
|
/***/ (function(module, exports) {
|
|
2025
1937
|
|
|
2026
1938
|
module.exports = require("@splunk/visualization-context/FeatureFlagContext");
|
|
2027
1939
|
|
|
2028
1940
|
/***/ }),
|
|
2029
1941
|
|
|
2030
|
-
/***/
|
|
1942
|
+
/***/ 28:
|
|
2031
1943
|
/***/ (function(module, exports) {
|
|
2032
1944
|
|
|
2033
1945
|
module.exports = require("@splunk/visualizations-shared/configUtils");
|
|
@@ -2037,25 +1949,25 @@ module.exports = require("@splunk/visualizations-shared/configUtils");
|
|
|
2037
1949
|
/***/ 3:
|
|
2038
1950
|
/***/ (function(module, exports) {
|
|
2039
1951
|
|
|
2040
|
-
module.exports = require("
|
|
1952
|
+
module.exports = require("@splunk/ui-utils/i18n");
|
|
2041
1953
|
|
|
2042
1954
|
/***/ }),
|
|
2043
1955
|
|
|
2044
|
-
/***/
|
|
1956
|
+
/***/ 30:
|
|
2045
1957
|
/***/ (function(module, exports) {
|
|
2046
1958
|
|
|
2047
1959
|
module.exports = require("@splunk/ui-utils/id");
|
|
2048
1960
|
|
|
2049
1961
|
/***/ }),
|
|
2050
1962
|
|
|
2051
|
-
/***/
|
|
1963
|
+
/***/ 31:
|
|
2052
1964
|
/***/ (function(module, exports) {
|
|
2053
1965
|
|
|
2054
1966
|
module.exports = require("@splunk/visualization-context/TimezoneContext");
|
|
2055
1967
|
|
|
2056
1968
|
/***/ }),
|
|
2057
1969
|
|
|
2058
|
-
/***/
|
|
1970
|
+
/***/ 32:
|
|
2059
1971
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2060
1972
|
|
|
2061
1973
|
"use strict";
|
|
@@ -2065,7 +1977,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2065
1977
|
value: true
|
|
2066
1978
|
});
|
|
2067
1979
|
|
|
2068
|
-
var react_1 = __webpack_require__(
|
|
1980
|
+
var react_1 = __webpack_require__(1);
|
|
2069
1981
|
|
|
2070
1982
|
function usePrevious(value) {
|
|
2071
1983
|
var ref = (0, react_1.useRef)();
|
|
@@ -2079,21 +1991,21 @@ exports.default = usePrevious;
|
|
|
2079
1991
|
|
|
2080
1992
|
/***/ }),
|
|
2081
1993
|
|
|
2082
|
-
/***/
|
|
1994
|
+
/***/ 33:
|
|
2083
1995
|
/***/ (function(module, exports) {
|
|
2084
1996
|
|
|
2085
1997
|
module.exports = require("@splunk/visualizations-shared/hocUtils");
|
|
2086
1998
|
|
|
2087
1999
|
/***/ }),
|
|
2088
2000
|
|
|
2089
|
-
/***/
|
|
2001
|
+
/***/ 34:
|
|
2090
2002
|
/***/ (function(module, exports) {
|
|
2091
2003
|
|
|
2092
2004
|
module.exports = require("@splunk/visualizations-shared/JSONSchemaUtils");
|
|
2093
2005
|
|
|
2094
2006
|
/***/ }),
|
|
2095
2007
|
|
|
2096
|
-
/***/
|
|
2008
|
+
/***/ 36:
|
|
2097
2009
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2098
2010
|
|
|
2099
2011
|
"use strict";
|
|
@@ -2104,15 +2016,15 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2104
2016
|
});
|
|
2105
2017
|
exports.shouldShowIconPlaceholder = void 0;
|
|
2106
2018
|
|
|
2107
|
-
var React = __webpack_require__(
|
|
2019
|
+
var React = __webpack_require__(1);
|
|
2108
2020
|
|
|
2109
|
-
var T = __webpack_require__(
|
|
2021
|
+
var T = __webpack_require__(0);
|
|
2110
2022
|
|
|
2111
|
-
var lodash_1 = __webpack_require__(
|
|
2023
|
+
var lodash_1 = __webpack_require__(2);
|
|
2112
2024
|
|
|
2113
|
-
var i18n_1 = __webpack_require__(
|
|
2025
|
+
var i18n_1 = __webpack_require__(3);
|
|
2114
2026
|
|
|
2115
|
-
var Message_1 = __webpack_require__(
|
|
2027
|
+
var Message_1 = __webpack_require__(11);
|
|
2116
2028
|
|
|
2117
2029
|
var FixedSizeContainer_1 = __webpack_require__(17);
|
|
2118
2030
|
/**
|
|
@@ -2186,24 +2098,24 @@ exports.default = (0, FixedSizeContainer_1.default)(IconPlaceholder);
|
|
|
2186
2098
|
|
|
2187
2099
|
/***/ }),
|
|
2188
2100
|
|
|
2189
|
-
/***/
|
|
2101
|
+
/***/ 37:
|
|
2190
2102
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2191
2103
|
|
|
2192
2104
|
"use strict";
|
|
2193
2105
|
|
|
2194
2106
|
|
|
2195
|
-
var _defineProperty = __webpack_require__(
|
|
2107
|
+
var _defineProperty = __webpack_require__(12);
|
|
2196
2108
|
|
|
2197
2109
|
Object.defineProperty(exports, "__esModule", {
|
|
2198
2110
|
value: true
|
|
2199
2111
|
});
|
|
2200
2112
|
exports.getSortingParams = exports.SortParamsPropTypes = void 0;
|
|
2201
2113
|
|
|
2202
|
-
var T = __webpack_require__(
|
|
2114
|
+
var T = __webpack_require__(0);
|
|
2203
2115
|
|
|
2204
|
-
var lodash_1 = __webpack_require__(
|
|
2116
|
+
var lodash_1 = __webpack_require__(2);
|
|
2205
2117
|
|
|
2206
|
-
var DataSource_1 = __webpack_require__(
|
|
2118
|
+
var DataSource_1 = __webpack_require__(20);
|
|
2207
2119
|
|
|
2208
2120
|
exports.SortParamsPropTypes = T.shape({
|
|
2209
2121
|
currentSortKey: T.string,
|
|
@@ -2257,7 +2169,7 @@ exports.getSortingParams = getSortingParams;
|
|
|
2257
2169
|
|
|
2258
2170
|
/***/ }),
|
|
2259
2171
|
|
|
2260
|
-
/***/
|
|
2172
|
+
/***/ 38:
|
|
2261
2173
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2262
2174
|
|
|
2263
2175
|
"use strict";
|
|
@@ -2268,9 +2180,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2268
2180
|
});
|
|
2269
2181
|
exports.getPaginationParams = exports.PaginatorParamsPropTypes = void 0;
|
|
2270
2182
|
|
|
2271
|
-
var T = __webpack_require__(
|
|
2183
|
+
var T = __webpack_require__(0);
|
|
2272
2184
|
|
|
2273
|
-
var lodash_1 = __webpack_require__(
|
|
2185
|
+
var lodash_1 = __webpack_require__(2);
|
|
2274
2186
|
|
|
2275
2187
|
exports.PaginatorParamsPropTypes = T.shape({
|
|
2276
2188
|
isPaging: T.bool,
|
|
@@ -2322,14 +2234,7 @@ exports.getPaginationParams = getPaginationParams;
|
|
|
2322
2234
|
|
|
2323
2235
|
/***/ }),
|
|
2324
2236
|
|
|
2325
|
-
/***/
|
|
2326
|
-
/***/ (function(module, exports) {
|
|
2327
|
-
|
|
2328
|
-
module.exports = require("styled-components");
|
|
2329
|
-
|
|
2330
|
-
/***/ }),
|
|
2331
|
-
|
|
2332
|
-
/***/ 40:
|
|
2237
|
+
/***/ 39:
|
|
2333
2238
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2334
2239
|
|
|
2335
2240
|
"use strict";
|
|
@@ -2364,11 +2269,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2364
2269
|
value: true
|
|
2365
2270
|
});
|
|
2366
2271
|
|
|
2272
|
+
__exportStar(__webpack_require__(40), exports);
|
|
2273
|
+
|
|
2367
2274
|
__exportStar(__webpack_require__(41), exports);
|
|
2368
2275
|
|
|
2369
|
-
__exportStar(__webpack_require__(
|
|
2276
|
+
__exportStar(__webpack_require__(20), exports);
|
|
2370
2277
|
|
|
2371
|
-
__exportStar(__webpack_require__(
|
|
2278
|
+
__exportStar(__webpack_require__(42), exports);
|
|
2372
2279
|
|
|
2373
2280
|
__exportStar(__webpack_require__(43), exports);
|
|
2374
2281
|
|
|
@@ -2380,16 +2287,16 @@ __exportStar(__webpack_require__(46), exports);
|
|
|
2380
2287
|
|
|
2381
2288
|
__exportStar(__webpack_require__(47), exports);
|
|
2382
2289
|
|
|
2383
|
-
__exportStar(__webpack_require__(48), exports);
|
|
2384
|
-
|
|
2385
|
-
__exportStar(__webpack_require__(49), exports);
|
|
2386
|
-
|
|
2387
2290
|
__exportStar(__webpack_require__(21), exports);
|
|
2388
2291
|
|
|
2389
|
-
__exportStar(__webpack_require__(
|
|
2292
|
+
__exportStar(__webpack_require__(7), exports);
|
|
2390
2293
|
|
|
2391
2294
|
__exportStar(__webpack_require__(22), exports);
|
|
2392
2295
|
|
|
2296
|
+
__exportStar(__webpack_require__(48), exports);
|
|
2297
|
+
|
|
2298
|
+
__exportStar(__webpack_require__(49), exports);
|
|
2299
|
+
|
|
2393
2300
|
__exportStar(__webpack_require__(50), exports);
|
|
2394
2301
|
|
|
2395
2302
|
__exportStar(__webpack_require__(51), exports);
|
|
@@ -2398,13 +2305,16 @@ __exportStar(__webpack_require__(52), exports);
|
|
|
2398
2305
|
|
|
2399
2306
|
__exportStar(__webpack_require__(53), exports);
|
|
2400
2307
|
|
|
2401
|
-
|
|
2308
|
+
/***/ }),
|
|
2309
|
+
|
|
2310
|
+
/***/ 4:
|
|
2311
|
+
/***/ (function(module, exports) {
|
|
2402
2312
|
|
|
2403
|
-
|
|
2313
|
+
module.exports = require("styled-components");
|
|
2404
2314
|
|
|
2405
2315
|
/***/ }),
|
|
2406
2316
|
|
|
2407
|
-
/***/
|
|
2317
|
+
/***/ 40:
|
|
2408
2318
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2409
2319
|
|
|
2410
2320
|
"use strict";
|
|
@@ -2416,7 +2326,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2416
2326
|
|
|
2417
2327
|
/***/ }),
|
|
2418
2328
|
|
|
2419
|
-
/***/
|
|
2329
|
+
/***/ 41:
|
|
2420
2330
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2421
2331
|
|
|
2422
2332
|
"use strict";
|
|
@@ -2431,7 +2341,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2431
2341
|
|
|
2432
2342
|
/***/ }),
|
|
2433
2343
|
|
|
2434
|
-
/***/
|
|
2344
|
+
/***/ 42:
|
|
2435
2345
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2436
2346
|
|
|
2437
2347
|
"use strict";
|
|
@@ -2443,7 +2353,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2443
2353
|
|
|
2444
2354
|
/***/ }),
|
|
2445
2355
|
|
|
2446
|
-
/***/
|
|
2356
|
+
/***/ 43:
|
|
2447
2357
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2448
2358
|
|
|
2449
2359
|
"use strict";
|
|
@@ -2455,7 +2365,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2455
2365
|
|
|
2456
2366
|
/***/ }),
|
|
2457
2367
|
|
|
2458
|
-
/***/
|
|
2368
|
+
/***/ 44:
|
|
2459
2369
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2460
2370
|
|
|
2461
2371
|
"use strict";
|
|
@@ -2467,7 +2377,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2467
2377
|
|
|
2468
2378
|
/***/ }),
|
|
2469
2379
|
|
|
2470
|
-
/***/
|
|
2380
|
+
/***/ 45:
|
|
2471
2381
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2472
2382
|
|
|
2473
2383
|
"use strict";
|
|
@@ -2479,7 +2389,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2479
2389
|
|
|
2480
2390
|
/***/ }),
|
|
2481
2391
|
|
|
2482
|
-
/***/
|
|
2392
|
+
/***/ 46:
|
|
2483
2393
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2484
2394
|
|
|
2485
2395
|
"use strict";
|
|
@@ -2491,7 +2401,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2491
2401
|
|
|
2492
2402
|
/***/ }),
|
|
2493
2403
|
|
|
2494
|
-
/***/
|
|
2404
|
+
/***/ 467:
|
|
2495
2405
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2496
2406
|
|
|
2497
2407
|
"use strict";
|
|
@@ -2527,9 +2437,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2527
2437
|
});
|
|
2528
2438
|
exports.default = void 0;
|
|
2529
2439
|
|
|
2530
|
-
__exportStar(__webpack_require__(
|
|
2440
|
+
__exportStar(__webpack_require__(184), exports);
|
|
2531
2441
|
|
|
2532
|
-
var Sankey_1 = __webpack_require__(
|
|
2442
|
+
var Sankey_1 = __webpack_require__(184);
|
|
2533
2443
|
|
|
2534
2444
|
Object.defineProperty(exports, "default", {
|
|
2535
2445
|
enumerable: true,
|
|
@@ -2540,29 +2450,17 @@ Object.defineProperty(exports, "default", {
|
|
|
2540
2450
|
|
|
2541
2451
|
/***/ }),
|
|
2542
2452
|
|
|
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:
|
|
2453
|
+
/***/ 468:
|
|
2556
2454
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2557
2455
|
|
|
2558
2456
|
"use strict";
|
|
2559
2457
|
__webpack_require__.r(__webpack_exports__);
|
|
2560
2458
|
/* 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__(
|
|
2459
|
+
/* harmony import */ var d3_interpolate__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(157);
|
|
2562
2460
|
/* 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__(
|
|
2461
|
+
/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(83);
|
|
2564
2462
|
/* 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__(
|
|
2463
|
+
/* harmony import */ var d3_collection__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(158);
|
|
2566
2464
|
/* harmony import */ var d3_collection__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(d3_collection__WEBPACK_IMPORTED_MODULE_2__);
|
|
2567
2465
|
// reference link :- https://github.com/csaladenes/sankey
|
|
2568
2466
|
|
|
@@ -3119,7 +3017,7 @@ var d3_sankey = function d3_sankey() {
|
|
|
3119
3017
|
|
|
3120
3018
|
/***/ }),
|
|
3121
3019
|
|
|
3122
|
-
/***/
|
|
3020
|
+
/***/ 469:
|
|
3123
3021
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3124
3022
|
|
|
3125
3023
|
"use strict";
|
|
@@ -3129,17 +3027,17 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3129
3027
|
value: true
|
|
3130
3028
|
});
|
|
3131
3029
|
|
|
3132
|
-
var React = __webpack_require__(
|
|
3030
|
+
var React = __webpack_require__(1);
|
|
3133
3031
|
|
|
3134
|
-
var T = __webpack_require__(
|
|
3032
|
+
var T = __webpack_require__(0);
|
|
3135
3033
|
|
|
3136
3034
|
var styled_components_1 = __webpack_require__(4);
|
|
3137
3035
|
|
|
3138
|
-
var react_1 = __webpack_require__(
|
|
3036
|
+
var react_1 = __webpack_require__(1);
|
|
3139
3037
|
|
|
3140
|
-
var PureSankey_1 = __webpack_require__(
|
|
3038
|
+
var PureSankey_1 = __webpack_require__(132);
|
|
3141
3039
|
|
|
3142
|
-
var SankeyUtils_1 = __webpack_require__(
|
|
3040
|
+
var SankeyUtils_1 = __webpack_require__(152);
|
|
3143
3041
|
|
|
3144
3042
|
var MAX_NODE_TEXT_WIDTH = 150;
|
|
3145
3043
|
|
|
@@ -3245,7 +3143,19 @@ exports.default = SankeyNode;
|
|
|
3245
3143
|
|
|
3246
3144
|
/***/ }),
|
|
3247
3145
|
|
|
3248
|
-
/***/
|
|
3146
|
+
/***/ 47:
|
|
3147
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
3148
|
+
|
|
3149
|
+
"use strict";
|
|
3150
|
+
|
|
3151
|
+
|
|
3152
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3153
|
+
value: true
|
|
3154
|
+
});
|
|
3155
|
+
|
|
3156
|
+
/***/ }),
|
|
3157
|
+
|
|
3158
|
+
/***/ 470:
|
|
3249
3159
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3250
3160
|
|
|
3251
3161
|
"use strict";
|
|
@@ -3255,17 +3165,17 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3255
3165
|
value: true
|
|
3256
3166
|
});
|
|
3257
3167
|
|
|
3258
|
-
var React = __webpack_require__(
|
|
3168
|
+
var React = __webpack_require__(1);
|
|
3259
3169
|
|
|
3260
|
-
var react_1 = __webpack_require__(
|
|
3170
|
+
var react_1 = __webpack_require__(1);
|
|
3261
3171
|
|
|
3262
|
-
var T = __webpack_require__(
|
|
3172
|
+
var T = __webpack_require__(0);
|
|
3263
3173
|
|
|
3264
3174
|
var styled_components_1 = __webpack_require__(4);
|
|
3265
3175
|
|
|
3266
|
-
var PureSankey_1 = __webpack_require__(
|
|
3176
|
+
var PureSankey_1 = __webpack_require__(132);
|
|
3267
3177
|
|
|
3268
|
-
var SankeyUtils_1 = __webpack_require__(
|
|
3178
|
+
var SankeyUtils_1 = __webpack_require__(152);
|
|
3269
3179
|
|
|
3270
3180
|
var getLinkFill = function getLinkFill(link, colorCategoryMapping, colorMode) {
|
|
3271
3181
|
if (colorMode === 'categorical') {
|
|
@@ -3368,7 +3278,7 @@ exports.default = SankeyLink;
|
|
|
3368
3278
|
|
|
3369
3279
|
/***/ }),
|
|
3370
3280
|
|
|
3371
|
-
/***/
|
|
3281
|
+
/***/ 471:
|
|
3372
3282
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3373
3283
|
|
|
3374
3284
|
"use strict";
|
|
@@ -3378,62 +3288,62 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3378
3288
|
value: true
|
|
3379
3289
|
});
|
|
3380
3290
|
|
|
3381
|
-
var React = __webpack_require__(
|
|
3291
|
+
var React = __webpack_require__(1);
|
|
3382
3292
|
|
|
3383
|
-
var T = __webpack_require__(
|
|
3293
|
+
var T = __webpack_require__(0);
|
|
3384
3294
|
|
|
3385
|
-
var Popover_1 = __webpack_require__(
|
|
3295
|
+
var Popover_1 = __webpack_require__(81);
|
|
3386
3296
|
|
|
3387
3297
|
var styled_components_1 = __webpack_require__(4);
|
|
3388
3298
|
|
|
3389
|
-
var numberUtils_1 = __webpack_require__(
|
|
3299
|
+
var numberUtils_1 = __webpack_require__(10);
|
|
3390
3300
|
|
|
3391
|
-
var PureSankey_1 = __webpack_require__(
|
|
3301
|
+
var PureSankey_1 = __webpack_require__(132);
|
|
3392
3302
|
|
|
3393
3303
|
var DEFAULT_PLACEMENT = 'below';
|
|
3394
3304
|
var StyledTooltipContainer = styled_components_1.default.div.withConfig({
|
|
3395
3305
|
displayName: "SankeyTooltip__StyledTooltipContainer",
|
|
3396
|
-
componentId: "x563qp-0"
|
|
3306
|
+
componentId: "sc-x563qp-0"
|
|
3397
3307
|
})(["display:flex;min-width:200px;max-width:300px;padding:16px;flex-direction:column;"]);
|
|
3398
3308
|
var StyledTooltipSection = styled_components_1.default.div.withConfig({
|
|
3399
3309
|
displayName: "SankeyTooltip__StyledTooltipSection",
|
|
3400
|
-
componentId: "x563qp-1"
|
|
3310
|
+
componentId: "sc-x563qp-1"
|
|
3401
3311
|
})(["display:flex;flex-direction:column;> div:nth-child(1){margin-top:8px;}> div:last-child{margin-bottom:8px;}"]);
|
|
3402
3312
|
var StyledTooltipHeader = styled_components_1.default.div.withConfig({
|
|
3403
3313
|
displayName: "SankeyTooltip__StyledTooltipHeader",
|
|
3404
|
-
componentId: "x563qp-2"
|
|
3314
|
+
componentId: "sc-x563qp-2"
|
|
3405
3315
|
})(["display:flex;flex-direction:row;justify-content:space-between;font-size:14px;color:", ";"], function (props) {
|
|
3406
3316
|
return props.headerColor;
|
|
3407
3317
|
});
|
|
3408
3318
|
var StyledTooltipLinkHeader = styled_components_1.default.div.withConfig({
|
|
3409
3319
|
displayName: "SankeyTooltip__StyledTooltipLinkHeader",
|
|
3410
|
-
componentId: "x563qp-3"
|
|
3320
|
+
componentId: "sc-x563qp-3"
|
|
3411
3321
|
})(["display:flex;flex-direction:row;justify-content:space-between;font-size:14px;margin-bottom:8px;color:", ";"], function (props) {
|
|
3412
3322
|
return props.linkHeaderColor;
|
|
3413
3323
|
});
|
|
3414
3324
|
var StyledTooltipRow = styled_components_1.default.div.withConfig({
|
|
3415
3325
|
displayName: "SankeyTooltip__StyledTooltipRow",
|
|
3416
|
-
componentId: "x563qp-4"
|
|
3326
|
+
componentId: "sc-x563qp-4"
|
|
3417
3327
|
})(["display:flex;flex-direction:row;justify-content:space-between;font-size:12px;color:", ";margin-bottom:6px;"], function (props) {
|
|
3418
3328
|
return props.rowColor;
|
|
3419
3329
|
});
|
|
3420
3330
|
var StyledTooltipLeftCell = styled_components_1.default.div.withConfig({
|
|
3421
3331
|
displayName: "SankeyTooltip__StyledTooltipLeftCell",
|
|
3422
|
-
componentId: "x563qp-5"
|
|
3332
|
+
componentId: "sc-x563qp-5"
|
|
3423
3333
|
})(["display:flex;flex-direction:row;justify-content:flex-start;align-items:center;"]);
|
|
3424
3334
|
var StyledTooltipRightCell = styled_components_1.default.div.withConfig({
|
|
3425
3335
|
displayName: "SankeyTooltip__StyledTooltipRightCell",
|
|
3426
|
-
componentId: "x563qp-6"
|
|
3336
|
+
componentId: "sc-x563qp-6"
|
|
3427
3337
|
})(["margin-left:5px;"]);
|
|
3428
3338
|
var ColorTile = styled_components_1.default.div.withConfig({
|
|
3429
3339
|
displayName: "SankeyTooltip__ColorTile",
|
|
3430
|
-
componentId: "x563qp-7"
|
|
3340
|
+
componentId: "sc-x563qp-7"
|
|
3431
3341
|
})(["width:6px;height:16px;background-color:", ";}"], function (props) {
|
|
3432
3342
|
return typeof props.colorCategoryMapping === 'function' ? props.colorCategoryMapping(props.node.name) : PureSankey_1.DEFAULT_NODE_COLOR;
|
|
3433
3343
|
});
|
|
3434
3344
|
var NodeValue = styled_components_1.default.div.withConfig({
|
|
3435
3345
|
displayName: "SankeyTooltip__NodeValue",
|
|
3436
|
-
componentId: "x563qp-8"
|
|
3346
|
+
componentId: "sc-x563qp-8"
|
|
3437
3347
|
})(["margin-left:8px;max-width:200px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;"]);
|
|
3438
3348
|
|
|
3439
3349
|
var SankeyTooltip = function SankeyTooltip(props) {
|
|
@@ -3573,7 +3483,8 @@ var SankeyTooltip = function SankeyTooltip(props) {
|
|
|
3573
3483
|
return handleTooltipRequestClose();
|
|
3574
3484
|
}
|
|
3575
3485
|
}, React.createElement(StyledTooltipContainer, {
|
|
3576
|
-
className: "sankeyToolTip"
|
|
3486
|
+
className: "sankeyToolTip",
|
|
3487
|
+
"data-test": "sankey-tooltip"
|
|
3577
3488
|
}, React.createElement(StyledTooltipLinkHeader, {
|
|
3578
3489
|
linkHeaderColor: tooltipLinkHeaderColor,
|
|
3579
3490
|
"data-test": "main-row"
|
|
@@ -3639,7 +3550,7 @@ exports.default = SankeyTooltip;
|
|
|
3639
3550
|
|
|
3640
3551
|
/***/ }),
|
|
3641
3552
|
|
|
3642
|
-
/***/
|
|
3553
|
+
/***/ 472:
|
|
3643
3554
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3644
3555
|
|
|
3645
3556
|
"use strict";
|
|
@@ -3649,29 +3560,27 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3649
3560
|
value: true
|
|
3650
3561
|
});
|
|
3651
3562
|
|
|
3652
|
-
var visualization_icons_1 = __webpack_require__(
|
|
3653
|
-
|
|
3654
|
-
var placeholders_1 = __webpack_require__(72);
|
|
3563
|
+
var visualization_icons_1 = __webpack_require__(71);
|
|
3655
3564
|
|
|
3656
|
-
var
|
|
3565
|
+
var placeholders_1 = __webpack_require__(70);
|
|
3657
3566
|
|
|
3658
|
-
var
|
|
3567
|
+
var visualization_schemas_1 = __webpack_require__(9);
|
|
3659
3568
|
|
|
3660
|
-
var PresetPalettes_1 = __webpack_require__(
|
|
3569
|
+
var PresetPalettes_1 = __webpack_require__(80);
|
|
3661
3570
|
|
|
3662
|
-
var themes_1 = __webpack_require__(
|
|
3571
|
+
var themes_1 = __webpack_require__(79);
|
|
3663
3572
|
|
|
3664
|
-
var i18n_1 = __webpack_require__(
|
|
3573
|
+
var i18n_1 = __webpack_require__(3);
|
|
3665
3574
|
|
|
3666
|
-
var VizBehavior_1 = __webpack_require__(
|
|
3575
|
+
var VizBehavior_1 = __webpack_require__(7);
|
|
3667
3576
|
|
|
3668
3577
|
var VizCategory_1 = __webpack_require__(22);
|
|
3669
3578
|
|
|
3670
|
-
var configUtils_1 = __webpack_require__(
|
|
3579
|
+
var configUtils_1 = __webpack_require__(26);
|
|
3671
3580
|
|
|
3672
|
-
var DynamicLinkColorsEditor_1 = __webpack_require__(
|
|
3581
|
+
var DynamicLinkColorsEditor_1 = __webpack_require__(473);
|
|
3673
3582
|
|
|
3674
|
-
var BackgroundColor_1 = __webpack_require__(
|
|
3583
|
+
var BackgroundColor_1 = __webpack_require__(72);
|
|
3675
3584
|
|
|
3676
3585
|
var defaultContext = {
|
|
3677
3586
|
linkColorRangeConfig: [{
|
|
@@ -3715,52 +3624,6 @@ var size = {
|
|
|
3715
3624
|
initialWidth: 600,
|
|
3716
3625
|
initialHeight: 300
|
|
3717
3626
|
};
|
|
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
3627
|
var themes = {
|
|
3765
3628
|
defaultBackgroundColor: function defaultBackgroundColor(props) {
|
|
3766
3629
|
return (0, themes_1.pick)({
|
|
@@ -3872,7 +3735,7 @@ var config = {
|
|
|
3872
3735
|
dataContract: dataContract,
|
|
3873
3736
|
size: size,
|
|
3874
3737
|
defaultContext: defaultContext,
|
|
3875
|
-
optionsSchema:
|
|
3738
|
+
optionsSchema: visualization_schemas_1.sankeyOptionsSchema,
|
|
3876
3739
|
editorConfig: editorConfig,
|
|
3877
3740
|
events: {
|
|
3878
3741
|
'node.click': {
|
|
@@ -3890,15 +3753,15 @@ exports.default = (0, configUtils_1.enhanceConfig)(config);
|
|
|
3890
3753
|
|
|
3891
3754
|
/***/ }),
|
|
3892
3755
|
|
|
3893
|
-
/***/
|
|
3756
|
+
/***/ 473:
|
|
3894
3757
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3895
3758
|
|
|
3896
3759
|
"use strict";
|
|
3897
3760
|
__webpack_require__.r(__webpack_exports__);
|
|
3898
3761
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getDynamicLinkColorsEditor", function() { return getDynamicLinkColorsEditor; });
|
|
3899
|
-
/* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
3762
|
+
/* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3);
|
|
3900
3763
|
/* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__);
|
|
3901
|
-
/* harmony import */ var _splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
3764
|
+
/* harmony import */ var _splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(28);
|
|
3902
3765
|
/* harmony import */ var _splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__);
|
|
3903
3766
|
|
|
3904
3767
|
|
|
@@ -3941,7 +3804,7 @@ var getDynamicLinkColorsEditor = function getDynamicLinkColorsEditor(_ref) {
|
|
|
3941
3804
|
|
|
3942
3805
|
/***/ }),
|
|
3943
3806
|
|
|
3944
|
-
/***/
|
|
3807
|
+
/***/ 48:
|
|
3945
3808
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3946
3809
|
|
|
3947
3810
|
"use strict";
|
|
@@ -3953,7 +3816,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3953
3816
|
|
|
3954
3817
|
/***/ }),
|
|
3955
3818
|
|
|
3956
|
-
/***/
|
|
3819
|
+
/***/ 49:
|
|
3957
3820
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3958
3821
|
|
|
3959
3822
|
"use strict";
|
|
@@ -3965,19 +3828,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3965
3828
|
|
|
3966
3829
|
/***/ }),
|
|
3967
3830
|
|
|
3968
|
-
/***/
|
|
3969
|
-
/***/ (function(module, exports
|
|
3970
|
-
|
|
3971
|
-
"use strict";
|
|
3972
|
-
|
|
3831
|
+
/***/ 5:
|
|
3832
|
+
/***/ (function(module, exports) {
|
|
3973
3833
|
|
|
3974
|
-
|
|
3975
|
-
value: true
|
|
3976
|
-
});
|
|
3834
|
+
module.exports = require("@babel/runtime/helpers/slicedToArray");
|
|
3977
3835
|
|
|
3978
3836
|
/***/ }),
|
|
3979
3837
|
|
|
3980
|
-
/***/
|
|
3838
|
+
/***/ 50:
|
|
3981
3839
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3982
3840
|
|
|
3983
3841
|
"use strict";
|
|
@@ -3989,7 +3847,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3989
3847
|
|
|
3990
3848
|
/***/ }),
|
|
3991
3849
|
|
|
3992
|
-
/***/
|
|
3850
|
+
/***/ 51:
|
|
3993
3851
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3994
3852
|
|
|
3995
3853
|
"use strict";
|
|
@@ -4001,7 +3859,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4001
3859
|
|
|
4002
3860
|
/***/ }),
|
|
4003
3861
|
|
|
4004
|
-
/***/
|
|
3862
|
+
/***/ 52:
|
|
4005
3863
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4006
3864
|
|
|
4007
3865
|
"use strict";
|
|
@@ -4013,7 +3871,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4013
3871
|
|
|
4014
3872
|
/***/ }),
|
|
4015
3873
|
|
|
4016
|
-
/***/
|
|
3874
|
+
/***/ 53:
|
|
4017
3875
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4018
3876
|
|
|
4019
3877
|
"use strict";
|
|
@@ -4025,65 +3883,65 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4025
3883
|
|
|
4026
3884
|
/***/ }),
|
|
4027
3885
|
|
|
4028
|
-
/***/
|
|
3886
|
+
/***/ 54:
|
|
4029
3887
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4030
3888
|
|
|
4031
3889
|
"use strict";
|
|
4032
3890
|
|
|
4033
3891
|
|
|
4034
|
-
var _slicedToArray = __webpack_require__(
|
|
3892
|
+
var _slicedToArray = __webpack_require__(5);
|
|
4035
3893
|
|
|
4036
3894
|
Object.defineProperty(exports, "__esModule", {
|
|
4037
3895
|
value: true
|
|
4038
3896
|
});
|
|
4039
3897
|
|
|
4040
|
-
var React = __webpack_require__(
|
|
3898
|
+
var React = __webpack_require__(1);
|
|
4041
3899
|
|
|
4042
|
-
var lodash_1 = __webpack_require__(
|
|
3900
|
+
var lodash_1 = __webpack_require__(2);
|
|
4043
3901
|
|
|
4044
|
-
var getSettingsFromThemedProps_1 = __webpack_require__(
|
|
3902
|
+
var getSettingsFromThemedProps_1 = __webpack_require__(55);
|
|
4045
3903
|
|
|
4046
3904
|
var Options_1 = __webpack_require__(16);
|
|
4047
3905
|
|
|
4048
|
-
var SanitizeProps_1 = __webpack_require__(
|
|
3906
|
+
var SanitizeProps_1 = __webpack_require__(56);
|
|
4049
3907
|
|
|
4050
|
-
var TimezoneContext_1 = __webpack_require__(
|
|
3908
|
+
var TimezoneContext_1 = __webpack_require__(31);
|
|
4051
3909
|
|
|
4052
|
-
var moment_1 = __webpack_require__(
|
|
3910
|
+
var moment_1 = __webpack_require__(57);
|
|
4053
3911
|
|
|
4054
|
-
var FeatureFlagContext_1 = __webpack_require__(
|
|
3912
|
+
var FeatureFlagContext_1 = __webpack_require__(27);
|
|
4055
3913
|
|
|
4056
3914
|
var styled_components_1 = __webpack_require__(4);
|
|
4057
3915
|
|
|
4058
|
-
var hocUtils_1 = __webpack_require__(
|
|
3916
|
+
var hocUtils_1 = __webpack_require__(33);
|
|
4059
3917
|
|
|
4060
|
-
var JSONSchemaUtils_1 = __webpack_require__(
|
|
3918
|
+
var JSONSchemaUtils_1 = __webpack_require__(34);
|
|
4061
3919
|
|
|
4062
|
-
var async_dynamic_options_evaluator_1 = __webpack_require__(
|
|
3920
|
+
var async_dynamic_options_evaluator_1 = __webpack_require__(58);
|
|
4063
3921
|
|
|
4064
|
-
var id_1 = __webpack_require__(
|
|
3922
|
+
var id_1 = __webpack_require__(30);
|
|
4065
3923
|
|
|
4066
|
-
var SplunkVisualization_1 = __webpack_require__(
|
|
3924
|
+
var SplunkVisualization_1 = __webpack_require__(59);
|
|
4067
3925
|
|
|
4068
|
-
var VizBehavior_1 = __webpack_require__(
|
|
3926
|
+
var VizBehavior_1 = __webpack_require__(7);
|
|
4069
3927
|
|
|
4070
|
-
var getSorting_1 = __webpack_require__(
|
|
3928
|
+
var getSorting_1 = __webpack_require__(37);
|
|
4071
3929
|
|
|
4072
|
-
var getPagination_1 = __webpack_require__(
|
|
3930
|
+
var getPagination_1 = __webpack_require__(38);
|
|
4073
3931
|
|
|
4074
|
-
var useDeepMemo_1 = __webpack_require__(
|
|
3932
|
+
var useDeepMemo_1 = __webpack_require__(60);
|
|
4075
3933
|
|
|
4076
|
-
var MissingPropsMessage_1 = __webpack_require__(
|
|
3934
|
+
var MissingPropsMessage_1 = __webpack_require__(61);
|
|
4077
3935
|
|
|
4078
|
-
var withEditModeCover_1 = __webpack_require__(
|
|
3936
|
+
var withEditModeCover_1 = __webpack_require__(62);
|
|
4079
3937
|
|
|
4080
|
-
var withPlaceholder_1 = __webpack_require__(
|
|
3938
|
+
var withPlaceholder_1 = __webpack_require__(63);
|
|
4081
3939
|
|
|
4082
|
-
var useDownsampleDataSources_1 = __webpack_require__(
|
|
3940
|
+
var useDownsampleDataSources_1 = __webpack_require__(64);
|
|
4083
3941
|
|
|
4084
3942
|
var dataUtils_1 = __webpack_require__(14);
|
|
4085
3943
|
|
|
4086
|
-
var featureFlagUtils_1 = __webpack_require__(
|
|
3944
|
+
var featureFlagUtils_1 = __webpack_require__(66);
|
|
4087
3945
|
/**
|
|
4088
3946
|
* hoc that wraps a pure react visualization in a Dashboard visualization
|
|
4089
3947
|
* @param {DashboardVizOpts} opts
|
|
@@ -4416,81 +4274,41 @@ exports.default = withDashboardViz;
|
|
|
4416
4274
|
|
|
4417
4275
|
/***/ }),
|
|
4418
4276
|
|
|
4419
|
-
/***/
|
|
4277
|
+
/***/ 55:
|
|
4420
4278
|
/***/ (function(module, exports) {
|
|
4421
4279
|
|
|
4422
4280
|
module.exports = require("@splunk/themes/getSettingsFromThemedProps");
|
|
4423
4281
|
|
|
4424
4282
|
/***/ }),
|
|
4425
4283
|
|
|
4426
|
-
/***/
|
|
4284
|
+
/***/ 56:
|
|
4427
4285
|
/***/ (function(module, exports) {
|
|
4428
4286
|
|
|
4429
4287
|
module.exports = require("@splunk/visualizations-shared/SanitizeProps");
|
|
4430
4288
|
|
|
4431
4289
|
/***/ }),
|
|
4432
4290
|
|
|
4433
|
-
/***/
|
|
4291
|
+
/***/ 57:
|
|
4434
4292
|
/***/ (function(module, exports) {
|
|
4435
4293
|
|
|
4436
4294
|
module.exports = require("@splunk/moment");
|
|
4437
4295
|
|
|
4438
4296
|
/***/ }),
|
|
4439
4297
|
|
|
4440
|
-
/***/
|
|
4441
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
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
|
-
*/
|
|
4472
|
-
|
|
4473
|
-
VizBehavior["PLACEHOLDER"] = "placeholder";
|
|
4474
|
-
VizBehavior["PAGE_AND_SORT"] = "page-and-sort";
|
|
4475
|
-
VizBehavior["TRELLIS"] = "trellis";
|
|
4476
|
-
})(VizBehavior = exports.VizBehavior || (exports.VizBehavior = {}));
|
|
4477
|
-
|
|
4478
|
-
/***/ }),
|
|
4479
|
-
|
|
4480
|
-
/***/ 60:
|
|
4298
|
+
/***/ 58:
|
|
4481
4299
|
/***/ (function(module, exports) {
|
|
4482
4300
|
|
|
4483
4301
|
module.exports = require("@splunk/async-dynamic-options-evaluator");
|
|
4484
4302
|
|
|
4485
4303
|
/***/ }),
|
|
4486
4304
|
|
|
4487
|
-
/***/
|
|
4305
|
+
/***/ 59:
|
|
4488
4306
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4489
4307
|
|
|
4490
4308
|
"use strict";
|
|
4491
4309
|
|
|
4492
4310
|
|
|
4493
|
-
var _classCallCheck = __webpack_require__(
|
|
4311
|
+
var _classCallCheck = __webpack_require__(8);
|
|
4494
4312
|
|
|
4495
4313
|
Object.defineProperty(exports, "__esModule", {
|
|
4496
4314
|
value: true
|
|
@@ -4498,9 +4316,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4498
4316
|
exports.INITIAL_HEIGHT = exports.INITIAL_WIDTH = void 0;
|
|
4499
4317
|
/* eslint-disable react/no-unused-prop-types,react/prefer-stateless-function */
|
|
4500
4318
|
|
|
4501
|
-
var T = __webpack_require__(
|
|
4319
|
+
var T = __webpack_require__(0);
|
|
4502
4320
|
|
|
4503
|
-
var lodash_1 = __webpack_require__(
|
|
4321
|
+
var lodash_1 = __webpack_require__(2);
|
|
4504
4322
|
|
|
4505
4323
|
var VizActionHandler_1 = __webpack_require__(21); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
|
|
4506
4324
|
|
|
@@ -4636,7 +4454,14 @@ exports.default = SplunkVisualization;
|
|
|
4636
4454
|
|
|
4637
4455
|
/***/ }),
|
|
4638
4456
|
|
|
4639
|
-
/***/
|
|
4457
|
+
/***/ 6:
|
|
4458
|
+
/***/ (function(module, exports) {
|
|
4459
|
+
|
|
4460
|
+
module.exports = require("@babel/runtime/helpers/toConsumableArray");
|
|
4461
|
+
|
|
4462
|
+
/***/ }),
|
|
4463
|
+
|
|
4464
|
+
/***/ 60:
|
|
4640
4465
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4641
4466
|
|
|
4642
4467
|
"use strict";
|
|
@@ -4647,9 +4472,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4647
4472
|
});
|
|
4648
4473
|
exports.useDeepMemo = void 0;
|
|
4649
4474
|
|
|
4650
|
-
var react_1 = __webpack_require__(
|
|
4475
|
+
var react_1 = __webpack_require__(1);
|
|
4651
4476
|
|
|
4652
|
-
var lodash_1 = __webpack_require__(
|
|
4477
|
+
var lodash_1 = __webpack_require__(2);
|
|
4653
4478
|
/**
|
|
4654
4479
|
* This hook evaluates and stores the result of a passed function and only
|
|
4655
4480
|
* re-evaluates the function when passed dependencies change.
|
|
@@ -4682,7 +4507,7 @@ exports.useDeepMemo = useDeepMemo;
|
|
|
4682
4507
|
|
|
4683
4508
|
/***/ }),
|
|
4684
4509
|
|
|
4685
|
-
/***/
|
|
4510
|
+
/***/ 61:
|
|
4686
4511
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4687
4512
|
|
|
4688
4513
|
"use strict";
|
|
@@ -4693,13 +4518,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4693
4518
|
});
|
|
4694
4519
|
exports.MissingPropsMessage = exports.missingKeys = exports.isMissing = void 0;
|
|
4695
4520
|
|
|
4696
|
-
var React = __webpack_require__(
|
|
4521
|
+
var React = __webpack_require__(1);
|
|
4697
4522
|
|
|
4698
|
-
var T = __webpack_require__(
|
|
4523
|
+
var T = __webpack_require__(0);
|
|
4699
4524
|
|
|
4700
|
-
var i18n_1 = __webpack_require__(
|
|
4525
|
+
var i18n_1 = __webpack_require__(3);
|
|
4701
4526
|
|
|
4702
|
-
var Message_1 = __webpack_require__(
|
|
4527
|
+
var Message_1 = __webpack_require__(11);
|
|
4703
4528
|
|
|
4704
4529
|
var FixedSizeContainer_1 = __webpack_require__(17);
|
|
4705
4530
|
/**
|
|
@@ -4763,7 +4588,7 @@ exports.default = (0, FixedSizeContainer_1.default)(exports.MissingPropsMessage)
|
|
|
4763
4588
|
|
|
4764
4589
|
/***/ }),
|
|
4765
4590
|
|
|
4766
|
-
/***/
|
|
4591
|
+
/***/ 62:
|
|
4767
4592
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4768
4593
|
|
|
4769
4594
|
"use strict";
|
|
@@ -4773,7 +4598,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4773
4598
|
value: true
|
|
4774
4599
|
});
|
|
4775
4600
|
|
|
4776
|
-
var React = __webpack_require__(
|
|
4601
|
+
var React = __webpack_require__(1);
|
|
4777
4602
|
|
|
4778
4603
|
var styled_components_1 = __webpack_require__(4);
|
|
4779
4604
|
|
|
@@ -4784,7 +4609,7 @@ var Cover = styled_components_1.default.div.withConfig({
|
|
|
4784
4609
|
componentId: "sc-1gsbnxb-0"
|
|
4785
4610
|
})(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
|
|
4786
4611
|
var Blocker = styled_components_1.default.div.attrs({
|
|
4787
|
-
'data-splunk-visualization-version': "26.
|
|
4612
|
+
'data-splunk-visualization-version': "26.4.0 - 04078274d"
|
|
4788
4613
|
}).withConfig({
|
|
4789
4614
|
displayName: "withEditModeCover__Blocker",
|
|
4790
4615
|
componentId: "sc-1gsbnxb-1"
|
|
@@ -4816,7 +4641,7 @@ exports.default = withEditModeCover;
|
|
|
4816
4641
|
|
|
4817
4642
|
/***/ }),
|
|
4818
4643
|
|
|
4819
|
-
/***/
|
|
4644
|
+
/***/ 63:
|
|
4820
4645
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4821
4646
|
|
|
4822
4647
|
"use strict";
|
|
@@ -4826,15 +4651,15 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4826
4651
|
value: true
|
|
4827
4652
|
});
|
|
4828
4653
|
|
|
4829
|
-
var React = __webpack_require__(
|
|
4654
|
+
var React = __webpack_require__(1);
|
|
4830
4655
|
|
|
4831
4656
|
var colorUtils_1 = __webpack_require__(15);
|
|
4832
4657
|
|
|
4833
4658
|
var variables_1 = __webpack_require__(13);
|
|
4834
4659
|
|
|
4835
|
-
var IconPlaceholder_1 = __webpack_require__(
|
|
4660
|
+
var IconPlaceholder_1 = __webpack_require__(36);
|
|
4836
4661
|
|
|
4837
|
-
var VizBehavior_1 = __webpack_require__(
|
|
4662
|
+
var VizBehavior_1 = __webpack_require__(7);
|
|
4838
4663
|
|
|
4839
4664
|
var hocUtils_1 = __webpack_require__(23);
|
|
4840
4665
|
|
|
@@ -4881,27 +4706,30 @@ exports.default = withPlaceholder;
|
|
|
4881
4706
|
|
|
4882
4707
|
/***/ }),
|
|
4883
4708
|
|
|
4884
|
-
/***/
|
|
4709
|
+
/***/ 64:
|
|
4885
4710
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4886
4711
|
|
|
4887
4712
|
"use strict";
|
|
4888
4713
|
|
|
4889
4714
|
|
|
4890
|
-
var _slicedToArray = __webpack_require__(
|
|
4715
|
+
var _slicedToArray = __webpack_require__(5);
|
|
4891
4716
|
|
|
4892
4717
|
Object.defineProperty(exports, "__esModule", {
|
|
4893
4718
|
value: true
|
|
4894
4719
|
});
|
|
4895
4720
|
|
|
4896
|
-
var react_1 = __webpack_require__(
|
|
4721
|
+
var react_1 = __webpack_require__(1);
|
|
4897
4722
|
|
|
4898
|
-
var lodash_1 = __webpack_require__(
|
|
4723
|
+
var lodash_1 = __webpack_require__(2);
|
|
4899
4724
|
|
|
4900
4725
|
var dataUtils_1 = __webpack_require__(14);
|
|
4901
4726
|
|
|
4902
|
-
var usePrevious_1 = __webpack_require__(
|
|
4727
|
+
var usePrevious_1 = __webpack_require__(32);
|
|
4728
|
+
|
|
4729
|
+
var useGetXAndYFields_1 = __webpack_require__(65); // Options properties which impact/require re-downsample on change.
|
|
4730
|
+
|
|
4903
4731
|
|
|
4904
|
-
var
|
|
4732
|
+
var downsampleVizOptionProperties = ['nullValueDisplay'];
|
|
4905
4733
|
|
|
4906
4734
|
var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
|
|
4907
4735
|
var dataSources = _ref.dataSources,
|
|
@@ -4915,8 +4743,15 @@ var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
|
|
|
4915
4743
|
options: options,
|
|
4916
4744
|
context: context,
|
|
4917
4745
|
dataSources: dataSources
|
|
4918
|
-
});
|
|
4919
|
-
|
|
4746
|
+
}); // Extract viz options that impact downsampling.
|
|
4747
|
+
|
|
4748
|
+
var downsampleVizOptions = (0, react_1.useMemo)(function () {
|
|
4749
|
+
return (0, lodash_1.pick)(options, downsampleVizOptionProperties);
|
|
4750
|
+
}, [options]);
|
|
4751
|
+
var downsampleDSOptions = (0, react_1.useMemo)(function () {
|
|
4752
|
+
return Object.assign(Object.assign({}, downsampleVizOptions), xAndYFieldsWithTypes);
|
|
4753
|
+
}, [xAndYFieldsWithTypes, downsampleVizOptions]);
|
|
4754
|
+
var previousDownsampleDSOptions = (0, usePrevious_1.default)(downsampleDSOptions);
|
|
4920
4755
|
var previousDataSources = (0, usePrevious_1.default)(dataSources);
|
|
4921
4756
|
var previousThreshold = (0, usePrevious_1.default)(threshold);
|
|
4922
4757
|
|
|
@@ -4924,7 +4759,7 @@ var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
|
|
|
4924
4759
|
return isDownsamplingEnabled ? (0, dataUtils_1.downsampleDataSources)({
|
|
4925
4760
|
dataSources: dataSources,
|
|
4926
4761
|
threshold: threshold,
|
|
4927
|
-
options:
|
|
4762
|
+
options: downsampleDSOptions
|
|
4928
4763
|
}) : dataSources;
|
|
4929
4764
|
}),
|
|
4930
4765
|
_ref3 = _slicedToArray(_ref2, 2),
|
|
@@ -4952,7 +4787,7 @@ var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
|
|
|
4952
4787
|
return;
|
|
4953
4788
|
}
|
|
4954
4789
|
|
|
4955
|
-
if ((0, lodash_1.isEqual)(
|
|
4790
|
+
if ((0, lodash_1.isEqual)(previousDownsampleDSOptions, downsampleDSOptions) && previousDataSources === dataSources && previousThreshold === threshold) {
|
|
4956
4791
|
return;
|
|
4957
4792
|
} // Debounce the downsampling so we don't have to downsample and execute DSL multiple times
|
|
4958
4793
|
// while the viz is being resized
|
|
@@ -4960,10 +4795,10 @@ var useDownsampleDataSources = function useDownsampleDataSources(_ref) {
|
|
|
4960
4795
|
|
|
4961
4796
|
debouncedDownsampleDataSources({
|
|
4962
4797
|
dataSources: dataSources,
|
|
4963
|
-
options:
|
|
4798
|
+
options: downsampleDSOptions,
|
|
4964
4799
|
threshold: threshold
|
|
4965
4800
|
}); // need to detect if this runs as part of the initial render
|
|
4966
|
-
}, [dataSources, debouncedDownsampleDataSources, xAndYFieldsWithTypes, threshold, isDownsamplingEnabled,
|
|
4801
|
+
}, [dataSources, downsampleDSOptions, debouncedDownsampleDataSources, xAndYFieldsWithTypes, threshold, isDownsamplingEnabled, previousDataSources, previousThreshold, previousDownsampleDSOptions]);
|
|
4967
4802
|
return downsampledDataSources;
|
|
4968
4803
|
};
|
|
4969
4804
|
|
|
@@ -4971,19 +4806,19 @@ exports.default = useDownsampleDataSources;
|
|
|
4971
4806
|
|
|
4972
4807
|
/***/ }),
|
|
4973
4808
|
|
|
4974
|
-
/***/
|
|
4809
|
+
/***/ 65:
|
|
4975
4810
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4976
4811
|
|
|
4977
4812
|
"use strict";
|
|
4978
4813
|
|
|
4979
4814
|
|
|
4980
|
-
var _toConsumableArray = __webpack_require__(
|
|
4815
|
+
var _toConsumableArray = __webpack_require__(6);
|
|
4981
4816
|
|
|
4982
4817
|
Object.defineProperty(exports, "__esModule", {
|
|
4983
4818
|
value: true
|
|
4984
4819
|
});
|
|
4985
4820
|
|
|
4986
|
-
var react_1 = __webpack_require__(
|
|
4821
|
+
var react_1 = __webpack_require__(1);
|
|
4987
4822
|
|
|
4988
4823
|
var Options_1 = __webpack_require__(16);
|
|
4989
4824
|
/**
|
|
@@ -5086,7 +4921,7 @@ exports.default = useGetXAndYFields;
|
|
|
5086
4921
|
|
|
5087
4922
|
/***/ }),
|
|
5088
4923
|
|
|
5089
|
-
/***/
|
|
4924
|
+
/***/ 66:
|
|
5090
4925
|
/***/ (function(module, exports, __webpack_require__) {
|
|
5091
4926
|
|
|
5092
4927
|
"use strict";
|
|
@@ -5097,7 +4932,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5097
4932
|
});
|
|
5098
4933
|
exports.getFeatureFlag = void 0;
|
|
5099
4934
|
|
|
5100
|
-
var FeatureFlags_1 = __webpack_require__(
|
|
4935
|
+
var FeatureFlags_1 = __webpack_require__(67);
|
|
5101
4936
|
|
|
5102
4937
|
var getFeatureFlag = function getFeatureFlag(context, flagName) {
|
|
5103
4938
|
// look for feature flag in context first
|
|
@@ -5122,7 +4957,7 @@ exports.getFeatureFlag = getFeatureFlag;
|
|
|
5122
4957
|
|
|
5123
4958
|
/***/ }),
|
|
5124
4959
|
|
|
5125
|
-
/***/
|
|
4960
|
+
/***/ 67:
|
|
5126
4961
|
/***/ (function(module, exports) {
|
|
5127
4962
|
|
|
5128
4963
|
module.exports = require("@splunk/visualization-context/FeatureFlags");
|
|
@@ -5130,34 +4965,60 @@ module.exports = require("@splunk/visualization-context/FeatureFlags");
|
|
|
5130
4965
|
/***/ }),
|
|
5131
4966
|
|
|
5132
4967
|
/***/ 7:
|
|
5133
|
-
/***/ (function(module, exports) {
|
|
4968
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
5134
4969
|
|
|
5135
|
-
|
|
4970
|
+
"use strict";
|
|
5136
4971
|
|
|
5137
|
-
/***/ }),
|
|
5138
4972
|
|
|
5139
|
-
|
|
5140
|
-
|
|
4973
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4974
|
+
value: true
|
|
4975
|
+
});
|
|
4976
|
+
exports.VizBehavior = void 0;
|
|
4977
|
+
var VizBehavior;
|
|
5141
4978
|
|
|
5142
|
-
|
|
4979
|
+
(function (VizBehavior) {
|
|
4980
|
+
/**
|
|
4981
|
+
* Dynamic Options Behavior.
|
|
4982
|
+
* This allows visualization options to be powered by data
|
|
4983
|
+
*
|
|
4984
|
+
* **Example**
|
|
4985
|
+
*
|
|
4986
|
+
* sparklineValues: ">primary|seriesByIndex(0)"
|
|
4987
|
+
* would configure sparklineValues with an array of data points
|
|
4988
|
+
* coming from the first series in the primary datasource
|
|
4989
|
+
*
|
|
4990
|
+
*/
|
|
4991
|
+
VizBehavior["DYNAMIC_OPTIONS"] = "dynamic-options";
|
|
4992
|
+
VizBehavior["EVENTS"] = "events";
|
|
4993
|
+
VizBehavior["DOWNSAMPLING"] = "downsampling";
|
|
4994
|
+
/**
|
|
4995
|
+
* Placeholder behavior: visualization will display a placeholder rather than fail if any of the `requiredProps` is
|
|
4996
|
+
* missing.
|
|
4997
|
+
* @type {string}
|
|
4998
|
+
*/
|
|
4999
|
+
|
|
5000
|
+
VizBehavior["PLACEHOLDER"] = "placeholder";
|
|
5001
|
+
VizBehavior["PAGE_AND_SORT"] = "page-and-sort";
|
|
5002
|
+
VizBehavior["TRELLIS"] = "trellis";
|
|
5003
|
+
})(VizBehavior = exports.VizBehavior || (exports.VizBehavior = {}));
|
|
5143
5004
|
|
|
5144
5005
|
/***/ }),
|
|
5145
5006
|
|
|
5146
|
-
/***/
|
|
5007
|
+
/***/ 70:
|
|
5147
5008
|
/***/ (function(module, exports) {
|
|
5148
5009
|
|
|
5149
|
-
module.exports = require("@splunk/visualization-
|
|
5010
|
+
module.exports = require("@splunk/visualization-icons/placeholders");
|
|
5150
5011
|
|
|
5151
5012
|
/***/ }),
|
|
5152
5013
|
|
|
5153
|
-
/***/
|
|
5014
|
+
/***/ 71:
|
|
5154
5015
|
/***/ (function(module, exports) {
|
|
5155
5016
|
|
|
5156
5017
|
module.exports = require("@splunk/visualization-icons");
|
|
5157
5018
|
|
|
5158
5019
|
/***/ }),
|
|
5159
5020
|
|
|
5160
|
-
/***/
|
|
5021
|
+
/***/ 72:
|
|
5161
5022
|
/***/ (function(module, exports, __webpack_require__) {
|
|
5162
5023
|
|
|
5163
5024
|
"use strict";
|
|
@@ -5167,14 +5028,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5167
5028
|
value: true
|
|
5168
5029
|
});
|
|
5169
5030
|
|
|
5170
|
-
var i18n_1 = __webpack_require__(
|
|
5031
|
+
var i18n_1 = __webpack_require__(3);
|
|
5171
5032
|
|
|
5172
5033
|
var background = function background(_ref) {
|
|
5173
5034
|
var label = _ref.label,
|
|
5174
5035
|
themes = _ref.themes,
|
|
5175
5036
|
labelPosition = _ref.labelPosition;
|
|
5176
5037
|
return [{
|
|
5177
|
-
label: (0, i18n_1._)(label || 'Background'),
|
|
5038
|
+
label: (0, i18n_1._)(label || 'Background color'),
|
|
5178
5039
|
option: 'backgroundColor',
|
|
5179
5040
|
editor: 'editor.color',
|
|
5180
5041
|
editorProps: {
|
|
@@ -5188,35 +5049,42 @@ exports.default = background;
|
|
|
5188
5049
|
|
|
5189
5050
|
/***/ }),
|
|
5190
5051
|
|
|
5191
|
-
/***/
|
|
5052
|
+
/***/ 74:
|
|
5192
5053
|
/***/ (function(module, exports) {
|
|
5193
5054
|
|
|
5194
|
-
module.exports = require("@
|
|
5055
|
+
module.exports = require("@splunk/visualization-color-palettes");
|
|
5195
5056
|
|
|
5196
5057
|
/***/ }),
|
|
5197
5058
|
|
|
5198
|
-
/***/
|
|
5059
|
+
/***/ 79:
|
|
5199
5060
|
/***/ (function(module, exports) {
|
|
5200
5061
|
|
|
5201
5062
|
module.exports = require("@splunk/themes");
|
|
5202
5063
|
|
|
5203
5064
|
/***/ }),
|
|
5204
5065
|
|
|
5205
|
-
/***/
|
|
5066
|
+
/***/ 8:
|
|
5067
|
+
/***/ (function(module, exports) {
|
|
5068
|
+
|
|
5069
|
+
module.exports = require("@babel/runtime/helpers/classCallCheck");
|
|
5070
|
+
|
|
5071
|
+
/***/ }),
|
|
5072
|
+
|
|
5073
|
+
/***/ 80:
|
|
5206
5074
|
/***/ (function(module, exports) {
|
|
5207
5075
|
|
|
5208
5076
|
module.exports = require("@splunk/visualization-color-palettes/editors/PresetPalettes");
|
|
5209
5077
|
|
|
5210
5078
|
/***/ }),
|
|
5211
5079
|
|
|
5212
|
-
/***/
|
|
5080
|
+
/***/ 81:
|
|
5213
5081
|
/***/ (function(module, exports) {
|
|
5214
5082
|
|
|
5215
5083
|
module.exports = require("@splunk/react-ui/Popover");
|
|
5216
5084
|
|
|
5217
5085
|
/***/ }),
|
|
5218
5086
|
|
|
5219
|
-
/***/
|
|
5087
|
+
/***/ 83:
|
|
5220
5088
|
/***/ (function(module, exports) {
|
|
5221
5089
|
|
|
5222
5090
|
module.exports = require("d3-array");
|
|
@@ -5226,11 +5094,11 @@ module.exports = require("d3-array");
|
|
|
5226
5094
|
/***/ 9:
|
|
5227
5095
|
/***/ (function(module, exports) {
|
|
5228
5096
|
|
|
5229
|
-
module.exports = require("@
|
|
5097
|
+
module.exports = require("@splunk/visualization-schemas");
|
|
5230
5098
|
|
|
5231
5099
|
/***/ }),
|
|
5232
5100
|
|
|
5233
|
-
/***/
|
|
5101
|
+
/***/ 93:
|
|
5234
5102
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
5235
5103
|
|
|
5236
5104
|
"use strict";
|