@splunk/visualizations 25.0.1 → 25.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.loki/reference/chrome_docker_PureVisualizations_PureMap_custom_base_layer_tile_server.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Area_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Bar_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Bubble_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_ChoroplethSvg_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Column_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Ellipse_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_FillerGauge_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Image_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Line_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_LinkGraph_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Map_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Markdown_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_MarkerGauge_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Parallel_Coordinates_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Pie_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Punchcard_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Rectangle_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Sankey_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Scatter_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Single_Value_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Single_Value_Icon_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Single_Value_Radial_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Table_Editor.png +0 -0
- package/Area.config.js +141 -152
- package/Area.config.js.map +1 -1
- package/Area.js +334 -431
- package/Area.js.map +1 -1
- package/Bar.config.js +143 -148
- package/Bar.config.js.map +1 -1
- package/Bar.js +336 -427
- package/Bar.js.map +1 -1
- package/Bubble.config.js +130 -117
- package/Bubble.config.js.map +1 -1
- package/Bubble.js +325 -398
- package/Bubble.js.map +1 -1
- package/ChoroplethSvg.config.js +86 -80
- package/ChoroplethSvg.config.js.map +1 -1
- package/ChoroplethSvg.js +305 -385
- package/ChoroplethSvg.js.map +1 -1
- package/Column.config.js +139 -146
- package/Column.config.js.map +1 -1
- package/Column.js +332 -425
- package/Column.js.map +1 -1
- package/Ellipse.config.js +86 -80
- package/Ellipse.config.js.map +1 -1
- package/Ellipse.js +288 -368
- package/Ellipse.js.map +1 -1
- package/FillerGauge.config.js +91 -85
- package/FillerGauge.config.js.map +1 -1
- package/FillerGauge.js +296 -376
- package/FillerGauge.js.map +1 -1
- package/Image.config.js +74 -74
- package/Image.config.js.map +1 -1
- package/Image.js +710 -798
- package/Image.js.map +1 -1
- package/Line.config.js +139 -137
- package/Line.config.js.map +1 -1
- package/Line.js +332 -416
- package/Line.js.map +1 -1
- package/LinkGraph.config.js +112 -112
- package/LinkGraph.config.js.map +1 -1
- package/LinkGraph.js +320 -405
- package/LinkGraph.js.map +1 -1
- package/Map.config.js +101 -95
- package/Map.config.js.map +1 -1
- package/Map.js +472 -518
- package/Map.js.map +1 -1
- package/Markdown.config.js +113 -113
- package/Markdown.config.js.map +1 -1
- package/Markdown.js +500 -574
- package/Markdown.js.map +1 -1
- package/MarkerGauge.config.js +192 -193
- package/MarkerGauge.config.js.map +1 -1
- package/MarkerGauge.js +1200 -1289
- package/MarkerGauge.js.map +1 -1
- package/ParallelCoordinates.config.js +138 -138
- package/ParallelCoordinates.config.js.map +1 -1
- package/ParallelCoordinates.js +292 -376
- package/ParallelCoordinates.js.map +1 -1
- package/Pie.config.js +133 -133
- package/Pie.config.js.map +1 -1
- package/Pie.js +496 -584
- package/Pie.js.map +1 -1
- package/Punchcard.config.js +139 -139
- package/Punchcard.config.js.map +1 -1
- package/Punchcard.js +315 -399
- package/Punchcard.js.map +1 -1
- package/Rectangle.config.js +267 -260
- package/Rectangle.config.js.map +1 -1
- package/Rectangle.js +499 -580
- package/Rectangle.js.map +1 -1
- package/Sankey.config.js +150 -143
- package/Sankey.config.js.map +1 -1
- package/Sankey.js +316 -390
- package/Sankey.js.map +1 -1
- package/Scatter.config.js +130 -117
- package/Scatter.config.js.map +1 -1
- package/Scatter.js +547 -623
- package/Scatter.js.map +1 -1
- package/SingleValue.config.js +119 -113
- package/SingleValue.config.js.map +1 -1
- package/SingleValue.js +523 -604
- package/SingleValue.js.map +1 -1
- package/SingleValueBasic.js +19 -19
- package/SingleValueBasic.js.map +1 -1
- package/SingleValueIcon.config.js +128 -120
- package/SingleValueIcon.config.js.map +1 -1
- package/SingleValueIcon.js +343 -420
- package/SingleValueIcon.js.map +1 -1
- package/SingleValueRadial.config.js +215 -178
- package/SingleValueRadial.config.js.map +1 -1
- package/SingleValueRadial.js +668 -749
- package/SingleValueRadial.js.map +1 -1
- package/Table.config.js +150 -151
- package/Table.config.js.map +1 -1
- package/Table.js +772 -854
- package/Table.js.map +1 -1
- package/common/Charting.js +11 -11
- package/common/Charting.js.map +1 -1
- package/common/ChartingApi.js +2 -2
- package/common/ChartingApi.js.map +1 -1
- package/common/EventsDoc.js +12 -12
- package/common/EventsDoc.js.map +1 -1
- package/common/GaugeMajorTicks.js +8 -8
- package/common/GaugeMajorTicks.js.map +1 -1
- package/common/GaugeValueMarker.js +8 -8
- package/common/GaugeValueMarker.js.map +1 -1
- package/common/OptionsDoc.js +51 -352
- package/common/OptionsDoc.js.map +1 -1
- package/common/OverviewDoc.js +22 -22
- package/common/OverviewDoc.js.map +1 -1
- package/common/SplunkVisualization.js +4 -4
- 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 +4 -4
- package/common/chartingUtils.js.map +1 -1
- package/common/docUtils.js +4 -4
- package/common/docUtils.js.map +1 -1
- package/common/gaugeUtils.js +13 -13
- package/common/gaugeUtils.js.map +1 -1
- package/common/shapeUtils.js +8 -8
- package/common/shapeUtils.js.map +1 -1
- package/common/utils/configUtils.js +17 -18
- package/common/utils/configUtils.js.map +1 -1
- package/common/utils/hocUtils.js +6 -86
- package/common/utils/hocUtils.js.map +1 -1
- package/common/utils/{JSONSchemaUtils.js → mapUtils.js} +89 -29
- package/common/utils/mapUtils.js.map +1 -0
- package/common/utils/singleValueUtils.js +14 -12
- package/common/utils/singleValueUtils.js.map +1 -1
- package/common/utils/testHelper.js +8 -8
- package/common/utils/testHelper.js.map +1 -1
- package/common/withDashboardViz.js +120 -207
- package/common/withDashboardViz.js.map +1 -1
- package/package.json +12 -12
- package/.loki/reference/chrome_docker_PureVisualizations_SvgChoroplethDynamic_SVG_Of_Size_Greater_Than_2_MB_Render.png +0 -0
- package/common/utils/JSONSchemaUtils.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 = 247);
|
|
91
91
|
/******/ })
|
|
92
92
|
/************************************************************************/
|
|
93
93
|
/******/ ([
|
|
@@ -106,13 +106,13 @@ module.exports = require("react");
|
|
|
106
106
|
/* 2 */
|
|
107
107
|
/***/ (function(module, exports) {
|
|
108
108
|
|
|
109
|
-
module.exports = require("
|
|
109
|
+
module.exports = require("@splunk/ui-utils/i18n");
|
|
110
110
|
|
|
111
111
|
/***/ }),
|
|
112
112
|
/* 3 */
|
|
113
113
|
/***/ (function(module, exports) {
|
|
114
114
|
|
|
115
|
-
module.exports = require("
|
|
115
|
+
module.exports = require("lodash");
|
|
116
116
|
|
|
117
117
|
/***/ }),
|
|
118
118
|
/* 4 */
|
|
@@ -159,14 +159,190 @@ var VizBehavior;
|
|
|
159
159
|
|
|
160
160
|
/***/ }),
|
|
161
161
|
/* 6 */
|
|
162
|
+
/***/ (function(module, exports) {
|
|
163
|
+
|
|
164
|
+
module.exports = require("@babel/runtime/helpers/defineProperty");
|
|
165
|
+
|
|
166
|
+
/***/ }),
|
|
167
|
+
/* 7 */
|
|
168
|
+
/***/ (function(module, exports) {
|
|
169
|
+
|
|
170
|
+
module.exports = require("@babel/runtime/helpers/toConsumableArray");
|
|
171
|
+
|
|
172
|
+
/***/ }),
|
|
173
|
+
/* 8 */
|
|
174
|
+
/***/ (function(module, exports) {
|
|
175
|
+
|
|
176
|
+
module.exports = require("@splunk/themes/variables");
|
|
177
|
+
|
|
178
|
+
/***/ }),
|
|
179
|
+
/* 9 */
|
|
180
|
+
/***/ (function(module, exports) {
|
|
181
|
+
|
|
182
|
+
module.exports = require("@splunk/visualizations-shared/Message");
|
|
183
|
+
|
|
184
|
+
/***/ }),
|
|
185
|
+
/* 10 */
|
|
186
|
+
/***/ (function(module, exports) {
|
|
187
|
+
|
|
188
|
+
module.exports = require("@babel/runtime/helpers/classCallCheck");
|
|
189
|
+
|
|
190
|
+
/***/ }),
|
|
191
|
+
/* 11 */
|
|
192
|
+
/***/ (function(module, exports) {
|
|
193
|
+
|
|
194
|
+
module.exports = require("@splunk/visualizations-shared/colorUtils");
|
|
195
|
+
|
|
196
|
+
/***/ }),
|
|
197
|
+
/* 12 */
|
|
162
198
|
/***/ (function(module, exports, __webpack_require__) {
|
|
163
199
|
|
|
164
200
|
"use strict";
|
|
165
201
|
|
|
166
202
|
|
|
167
|
-
|
|
203
|
+
Object.defineProperty(exports, "__esModule", {
|
|
204
|
+
value: true
|
|
205
|
+
});
|
|
206
|
+
|
|
207
|
+
var React = __webpack_require__(1);
|
|
208
|
+
|
|
209
|
+
var styled_components_1 = __webpack_require__(4);
|
|
168
210
|
|
|
169
|
-
var
|
|
211
|
+
var SizeAwareWrapper_1 = __webpack_require__(19);
|
|
212
|
+
|
|
213
|
+
var style_1 = __webpack_require__(14);
|
|
214
|
+
|
|
215
|
+
var colorUtils_1 = __webpack_require__(11);
|
|
216
|
+
|
|
217
|
+
var Item = styled_components_1.default.div.attrs(function (_ref) {
|
|
218
|
+
var width = _ref.width;
|
|
219
|
+
return {
|
|
220
|
+
style: {
|
|
221
|
+
width: style_1.toPx(width)
|
|
222
|
+
}
|
|
223
|
+
};
|
|
224
|
+
}).withConfig({
|
|
225
|
+
displayName: "FixedSizeContainer__Item",
|
|
226
|
+
componentId: "sc-1yhgpod-0"
|
|
227
|
+
})(["position:relative;background-color:", "};"], function (props) {
|
|
228
|
+
return colorUtils_1.isColor(props.backgroundColor) && props.backgroundColor || props.theme.defaultBackgroundColor;
|
|
229
|
+
}); // Use `.attrs()` for highly dynamic styles. Ref: https://github.com/styled-components/styled-components/issues/134#issuecomment-312415291
|
|
230
|
+
|
|
231
|
+
var FixSizeItem = styled_components_1.default.div.attrs(function (_ref2) {
|
|
232
|
+
var width = _ref2.width,
|
|
233
|
+
height = _ref2.height;
|
|
234
|
+
return {
|
|
235
|
+
style: Object.assign(Object.assign({}, width && {
|
|
236
|
+
width: style_1.toPx(width)
|
|
237
|
+
}), height && {
|
|
238
|
+
height: style_1.toPx(height)
|
|
239
|
+
})
|
|
240
|
+
};
|
|
241
|
+
}).withConfig({
|
|
242
|
+
displayName: "FixedSizeContainer__FixSizeItem",
|
|
243
|
+
componentId: "sc-1yhgpod-1"
|
|
244
|
+
})(["position:relative;flex-direction:column;flex:1;display:flex;background-color:", "};"], function (props) {
|
|
245
|
+
return colorUtils_1.isColor(props.backgroundColor) && props.backgroundColor || props.theme.defaultBackgroundColor;
|
|
246
|
+
});
|
|
247
|
+
var ItemContent = styled_components_1.default.div.withConfig({
|
|
248
|
+
displayName: "FixedSizeContainer__ItemContent",
|
|
249
|
+
componentId: "sc-1yhgpod-2"
|
|
250
|
+
})(["position:relative;min-height:100px;width:100%;"]);
|
|
251
|
+
var FixSizeItemContent = styled_components_1.default.div.withConfig({
|
|
252
|
+
displayName: "FixedSizeContainer__FixSizeItemContent",
|
|
253
|
+
componentId: "sc-1yhgpod-3"
|
|
254
|
+
})(["min-height:0px;flex:1;position:relative;box-sizing:border-box;"]);
|
|
255
|
+
|
|
256
|
+
var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
|
|
257
|
+
var FixedSizeContainer = function FixedSizeContainer(props) {
|
|
258
|
+
var width = props.width,
|
|
259
|
+
height = props.height,
|
|
260
|
+
backgroundColor = props.backgroundColor;
|
|
261
|
+
|
|
262
|
+
if (!height) {
|
|
263
|
+
return React.createElement(Item, {
|
|
264
|
+
"data-test": "item",
|
|
265
|
+
width: width,
|
|
266
|
+
backgroundColor: backgroundColor
|
|
267
|
+
}, React.createElement(ItemContent, null, React.createElement(Viz, Object.assign({}, props))));
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
return React.createElement(FixSizeItem, {
|
|
271
|
+
"data-test": "fix-size-item",
|
|
272
|
+
"data-splunk-visualization-version": "25.1.0 - 812a9a4d8",
|
|
273
|
+
width: width,
|
|
274
|
+
height: height,
|
|
275
|
+
backgroundColor: backgroundColor
|
|
276
|
+
}, React.createElement(FixSizeItemContent, null, React.createElement(SizeAwareWrapper_1.default, null, function (_ref3) {
|
|
277
|
+
var newWidth = _ref3.width,
|
|
278
|
+
newHeight = _ref3.height;
|
|
279
|
+
return React.createElement(Viz, Object.assign({}, props, {
|
|
280
|
+
width: newWidth,
|
|
281
|
+
height: newHeight
|
|
282
|
+
}));
|
|
283
|
+
})));
|
|
284
|
+
};
|
|
285
|
+
|
|
286
|
+
FixedSizeContainer.displayName = 'withFixedSizeContainer';
|
|
287
|
+
return FixedSizeContainer;
|
|
288
|
+
};
|
|
289
|
+
|
|
290
|
+
exports.default = withFixedSizeContainer;
|
|
291
|
+
|
|
292
|
+
/***/ }),
|
|
293
|
+
/* 13 */
|
|
294
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
295
|
+
|
|
296
|
+
"use strict";
|
|
297
|
+
|
|
298
|
+
|
|
299
|
+
Object.defineProperty(exports, "__esModule", {
|
|
300
|
+
value: true
|
|
301
|
+
});
|
|
302
|
+
exports.extendStaticWrapperProps = void 0;
|
|
303
|
+
/**
|
|
304
|
+
* @method extendStaticWrapperProps
|
|
305
|
+
* @param {Object} props
|
|
306
|
+
* @param {DashboardVizType} props.Wrapper
|
|
307
|
+
* @param {DashboardVizType} props.Visualization
|
|
308
|
+
*/
|
|
309
|
+
|
|
310
|
+
var extendStaticWrapperProps = function extendStaticWrapperProps(_ref) {
|
|
311
|
+
var Wrapper = _ref.Wrapper,
|
|
312
|
+
Visualization = _ref.Visualization;
|
|
313
|
+
var extendProperties = ['propTypes', 'defaultProps', 'config'];
|
|
314
|
+
extendProperties.forEach(function (prop) {
|
|
315
|
+
if (Visualization[prop]) {
|
|
316
|
+
// eslint-disable-next-line no-param-reassign
|
|
317
|
+
Wrapper[prop] = Visualization[prop];
|
|
318
|
+
}
|
|
319
|
+
});
|
|
320
|
+
};
|
|
321
|
+
|
|
322
|
+
exports.extendStaticWrapperProps = extendStaticWrapperProps;
|
|
323
|
+
|
|
324
|
+
/***/ }),
|
|
325
|
+
/* 14 */
|
|
326
|
+
/***/ (function(module, exports) {
|
|
327
|
+
|
|
328
|
+
module.exports = require("@splunk/visualizations-shared/style");
|
|
329
|
+
|
|
330
|
+
/***/ }),
|
|
331
|
+
/* 15 */
|
|
332
|
+
/***/ (function(module, exports) {
|
|
333
|
+
|
|
334
|
+
module.exports = require("@splunk/visualizations-shared/schemaUtils");
|
|
335
|
+
|
|
336
|
+
/***/ }),
|
|
337
|
+
/* 16 */
|
|
338
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
339
|
+
|
|
340
|
+
"use strict";
|
|
341
|
+
|
|
342
|
+
|
|
343
|
+
var _toConsumableArray = __webpack_require__(7);
|
|
344
|
+
|
|
345
|
+
var _defineProperty = __webpack_require__(6);
|
|
170
346
|
|
|
171
347
|
var __rest = this && this.__rest || function (s, e) {
|
|
172
348
|
var t = {};
|
|
@@ -184,11 +360,11 @@ var __rest = this && this.__rest || function (s, e) {
|
|
|
184
360
|
Object.defineProperty(exports, "__esModule", {
|
|
185
361
|
value: true
|
|
186
362
|
});
|
|
187
|
-
exports.insertLayout = exports.
|
|
363
|
+
exports.insertLayout = exports.isDynamicOption = exports.uncollapseEditorConfig = exports.generatePrecisionValues = exports.getInitialPreset = exports.enhanceOptionsSchemaWithDynamicOptions = exports.enhanceConfig = void 0;
|
|
188
364
|
|
|
189
|
-
var lodash_1 = __webpack_require__(
|
|
365
|
+
var lodash_1 = __webpack_require__(3);
|
|
190
366
|
|
|
191
|
-
var schemaUtils_1 = __webpack_require__(
|
|
367
|
+
var schemaUtils_1 = __webpack_require__(15);
|
|
192
368
|
|
|
193
369
|
var VizBehavior_1 = __webpack_require__(5);
|
|
194
370
|
|
|
@@ -394,303 +570,52 @@ var insertLayout = function insertLayout(layout, index) {
|
|
|
394
570
|
exports.insertLayout = insertLayout;
|
|
395
571
|
|
|
396
572
|
/***/ }),
|
|
397
|
-
/*
|
|
398
|
-
/***/ (function(module, exports) {
|
|
399
|
-
|
|
400
|
-
module.exports = require("@babel/runtime/helpers/defineProperty");
|
|
401
|
-
|
|
402
|
-
/***/ }),
|
|
403
|
-
/* 8 */
|
|
404
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
405
|
-
|
|
406
|
-
"use strict";
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
var _typeof = __webpack_require__(25);
|
|
410
|
-
|
|
411
|
-
Object.defineProperty(exports, "__esModule", {
|
|
412
|
-
value: true
|
|
413
|
-
});
|
|
414
|
-
exports.deepMergeWithArrayPrimitiveOverrides = exports.extendStaticWrapperProps = void 0;
|
|
415
|
-
|
|
416
|
-
var lodash_1 = __webpack_require__(2);
|
|
417
|
-
|
|
418
|
-
var mapUtils_1 = __webpack_require__(41);
|
|
419
|
-
/**
|
|
420
|
-
* @method extendStaticWrapperProps
|
|
421
|
-
* @param {Object} props
|
|
422
|
-
* @param {DashboardVizType} props.Wrapper
|
|
423
|
-
* @param {DashboardVizType} props.Visualization
|
|
424
|
-
*/
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
var extendStaticWrapperProps = function extendStaticWrapperProps(_ref) {
|
|
428
|
-
var Wrapper = _ref.Wrapper,
|
|
429
|
-
Visualization = _ref.Visualization;
|
|
430
|
-
var extendProperties = ['propTypes', 'defaultProps', 'config'];
|
|
431
|
-
extendProperties.forEach(function (prop) {
|
|
432
|
-
if (Visualization[prop]) {
|
|
433
|
-
// eslint-disable-next-line no-param-reassign
|
|
434
|
-
Wrapper[prop] = Visualization[prop];
|
|
435
|
-
}
|
|
436
|
-
});
|
|
437
|
-
};
|
|
438
|
-
|
|
439
|
-
exports.extendStaticWrapperProps = extendStaticWrapperProps;
|
|
440
|
-
/**
|
|
441
|
-
* helper to deeply merge objects while preserving arrays in earlier source objects
|
|
442
|
-
* deeply nested primitive keys are merged similarly to lodash's defaultsDeep, while keys with arrays of primitives will be preserved if already present in the resultant merged object
|
|
443
|
-
* this prevents default arrays of primitives from appending values to user-defined arrays (this occurs if the default array is longer than the user-defined one).
|
|
444
|
-
* Array of objects gets merged with the defaults, where the defaults can be an array of objects. Closest matching default object from the defaults list based on key - value pair
|
|
445
|
-
* will be used for merging defaults for each object in the array. If no closest match found, first object in default array list used for merging.
|
|
446
|
-
*
|
|
447
|
-
* @method deepMergeWithArrayPrimitiveOverrides
|
|
448
|
-
* @param {Object} initial - target object to merge values into
|
|
449
|
-
* @param {Object[]} sources - other default options to be merged into the resultant object if no explicit value is provided, with earlier args taking precedence over later ones
|
|
450
|
-
*
|
|
451
|
-
* @returns {Object}
|
|
452
|
-
*/
|
|
453
|
-
|
|
454
|
-
var deepMergeWithArrayPrimitiveOverrides = function deepMergeWithArrayPrimitiveOverrides(initial) {
|
|
455
|
-
var clone = lodash_1.cloneDeep(initial);
|
|
456
|
-
|
|
457
|
-
for (var _len = arguments.length, sources = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
458
|
-
sources[_key - 1] = arguments[_key];
|
|
459
|
-
}
|
|
460
|
-
|
|
461
|
-
sources.forEach(function (sourceToApply) {
|
|
462
|
-
Object.keys(sourceToApply).forEach(function (sourceKey) {
|
|
463
|
-
if (!Object.prototype.hasOwnProperty.call(clone, sourceKey)) {
|
|
464
|
-
clone[sourceKey] = lodash_1.cloneDeep(sourceToApply[sourceKey]);
|
|
465
|
-
}
|
|
466
|
-
|
|
467
|
-
if (clone[sourceKey] && _typeof(clone[sourceKey]) === 'object' && !Array.isArray(clone[sourceKey]) && _typeof(sourceToApply[sourceKey]) === 'object') {
|
|
468
|
-
clone[sourceKey] = exports.deepMergeWithArrayPrimitiveOverrides(clone[sourceKey], sourceToApply[sourceKey]);
|
|
469
|
-
} else if (Array.isArray(clone[sourceKey]) && _typeof(clone[sourceKey][0]) === 'object' && !Array.isArray(clone[sourceKey][0])) {
|
|
470
|
-
// If option is an array of objects
|
|
471
|
-
for (var i = 0; i < clone[sourceKey].length; i += 1) {
|
|
472
|
-
if (_typeof(clone[sourceKey][i]) === 'object') {
|
|
473
|
-
var closestMatchIdx = mapUtils_1.findClosestMatchFromDefaultList(sourceToApply[sourceKey], clone[sourceKey][i]);
|
|
474
|
-
|
|
475
|
-
if (closestMatchIdx > -1) {
|
|
476
|
-
clone[sourceKey][i] = exports.deepMergeWithArrayPrimitiveOverrides(clone[sourceKey][i], sourceToApply[sourceKey][closestMatchIdx]);
|
|
477
|
-
}
|
|
478
|
-
}
|
|
479
|
-
}
|
|
480
|
-
}
|
|
481
|
-
});
|
|
482
|
-
});
|
|
483
|
-
return clone;
|
|
484
|
-
};
|
|
485
|
-
|
|
486
|
-
exports.deepMergeWithArrayPrimitiveOverrides = deepMergeWithArrayPrimitiveOverrides;
|
|
487
|
-
|
|
488
|
-
/***/ }),
|
|
489
|
-
/* 9 */
|
|
490
|
-
/***/ (function(module, exports) {
|
|
491
|
-
|
|
492
|
-
module.exports = require("@babel/runtime/helpers/toConsumableArray");
|
|
493
|
-
|
|
494
|
-
/***/ }),
|
|
495
|
-
/* 10 */
|
|
496
|
-
/***/ (function(module, exports) {
|
|
497
|
-
|
|
498
|
-
module.exports = require("@splunk/themes/variables");
|
|
499
|
-
|
|
500
|
-
/***/ }),
|
|
501
|
-
/* 11 */
|
|
502
|
-
/***/ (function(module, exports) {
|
|
503
|
-
|
|
504
|
-
module.exports = require("@splunk/visualizations-shared/Message");
|
|
505
|
-
|
|
506
|
-
/***/ }),
|
|
507
|
-
/* 12 */
|
|
508
|
-
/***/ (function(module, exports) {
|
|
509
|
-
|
|
510
|
-
module.exports = require("@babel/runtime/helpers/classCallCheck");
|
|
511
|
-
|
|
512
|
-
/***/ }),
|
|
513
|
-
/* 13 */
|
|
514
|
-
/***/ (function(module, exports) {
|
|
515
|
-
|
|
516
|
-
module.exports = require("@splunk/visualizations-shared/colorUtils");
|
|
517
|
-
|
|
518
|
-
/***/ }),
|
|
519
|
-
/* 14 */
|
|
520
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
521
|
-
|
|
522
|
-
"use strict";
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
Object.defineProperty(exports, "__esModule", {
|
|
526
|
-
value: true
|
|
527
|
-
});
|
|
528
|
-
|
|
529
|
-
var React = __webpack_require__(1);
|
|
530
|
-
|
|
531
|
-
var styled_components_1 = __webpack_require__(4);
|
|
532
|
-
|
|
533
|
-
var SizeAwareWrapper_1 = __webpack_require__(18);
|
|
534
|
-
|
|
535
|
-
var style_1 = __webpack_require__(15);
|
|
536
|
-
|
|
537
|
-
var colorUtils_1 = __webpack_require__(13);
|
|
538
|
-
|
|
539
|
-
var Item = styled_components_1.default.div.attrs(function (_ref) {
|
|
540
|
-
var width = _ref.width;
|
|
541
|
-
return {
|
|
542
|
-
style: {
|
|
543
|
-
width: style_1.toPx(width)
|
|
544
|
-
}
|
|
545
|
-
};
|
|
546
|
-
}).withConfig({
|
|
547
|
-
displayName: "FixedSizeContainer__Item",
|
|
548
|
-
componentId: "sc-1yhgpod-0"
|
|
549
|
-
})(["position:relative;background-color:", "};"], function (props) {
|
|
550
|
-
return colorUtils_1.isColor(props.backgroundColor) && props.backgroundColor || props.theme.defaultBackgroundColor;
|
|
551
|
-
}); // Use `.attrs()` for highly dynamic styles. Ref: https://github.com/styled-components/styled-components/issues/134#issuecomment-312415291
|
|
552
|
-
|
|
553
|
-
var FixSizeItem = styled_components_1.default.div.attrs(function (_ref2) {
|
|
554
|
-
var width = _ref2.width,
|
|
555
|
-
height = _ref2.height;
|
|
556
|
-
return {
|
|
557
|
-
style: Object.assign(Object.assign({}, width && {
|
|
558
|
-
width: style_1.toPx(width)
|
|
559
|
-
}), height && {
|
|
560
|
-
height: style_1.toPx(height)
|
|
561
|
-
})
|
|
562
|
-
};
|
|
563
|
-
}).withConfig({
|
|
564
|
-
displayName: "FixedSizeContainer__FixSizeItem",
|
|
565
|
-
componentId: "sc-1yhgpod-1"
|
|
566
|
-
})(["position:relative;flex-direction:column;flex:1;display:flex;background-color:", "};"], function (props) {
|
|
567
|
-
return colorUtils_1.isColor(props.backgroundColor) && props.backgroundColor || props.theme.defaultBackgroundColor;
|
|
568
|
-
});
|
|
569
|
-
var ItemContent = styled_components_1.default.div.withConfig({
|
|
570
|
-
displayName: "FixedSizeContainer__ItemContent",
|
|
571
|
-
componentId: "sc-1yhgpod-2"
|
|
572
|
-
})(["position:relative;min-height:100px;width:100%;"]);
|
|
573
|
-
var FixSizeItemContent = styled_components_1.default.div.withConfig({
|
|
574
|
-
displayName: "FixedSizeContainer__FixSizeItemContent",
|
|
575
|
-
componentId: "sc-1yhgpod-3"
|
|
576
|
-
})(["min-height:0px;flex:1;position:relative;box-sizing:border-box;"]);
|
|
577
|
-
|
|
578
|
-
var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
|
|
579
|
-
var FixedSizeContainer = function FixedSizeContainer(props) {
|
|
580
|
-
var width = props.width,
|
|
581
|
-
height = props.height,
|
|
582
|
-
backgroundColor = props.backgroundColor;
|
|
583
|
-
|
|
584
|
-
if (!height) {
|
|
585
|
-
return React.createElement(Item, {
|
|
586
|
-
"data-test": "item",
|
|
587
|
-
width: width,
|
|
588
|
-
backgroundColor: backgroundColor
|
|
589
|
-
}, React.createElement(ItemContent, null, React.createElement(Viz, Object.assign({}, props))));
|
|
590
|
-
}
|
|
591
|
-
|
|
592
|
-
return React.createElement(FixSizeItem, {
|
|
593
|
-
"data-test": "fix-size-item",
|
|
594
|
-
"data-splunk-visualization-version": "25.0.1 - de10ad954",
|
|
595
|
-
width: width,
|
|
596
|
-
height: height,
|
|
597
|
-
backgroundColor: backgroundColor
|
|
598
|
-
}, React.createElement(FixSizeItemContent, null, React.createElement(SizeAwareWrapper_1.default, null, function (_ref3) {
|
|
599
|
-
var newWidth = _ref3.width,
|
|
600
|
-
newHeight = _ref3.height;
|
|
601
|
-
return React.createElement(Viz, Object.assign({}, props, {
|
|
602
|
-
width: newWidth,
|
|
603
|
-
height: newHeight
|
|
604
|
-
}));
|
|
605
|
-
})));
|
|
606
|
-
};
|
|
607
|
-
|
|
608
|
-
FixedSizeContainer.displayName = 'withFixedSizeContainer';
|
|
609
|
-
return FixedSizeContainer;
|
|
610
|
-
};
|
|
611
|
-
|
|
612
|
-
exports.default = withFixedSizeContainer;
|
|
613
|
-
|
|
614
|
-
/***/ }),
|
|
615
|
-
/* 15 */
|
|
616
|
-
/***/ (function(module, exports) {
|
|
617
|
-
|
|
618
|
-
module.exports = require("@splunk/visualizations-shared/style");
|
|
619
|
-
|
|
620
|
-
/***/ }),
|
|
621
|
-
/* 16 */
|
|
573
|
+
/* 17 */
|
|
622
574
|
/***/ (function(module, exports) {
|
|
623
575
|
|
|
624
|
-
module.exports = require("@splunk/visualizations-shared/
|
|
576
|
+
module.exports = require("@splunk/visualizations-shared/configUtils");
|
|
625
577
|
|
|
626
578
|
/***/ }),
|
|
627
|
-
/*
|
|
579
|
+
/* 18 */
|
|
628
580
|
/***/ (function(module, exports) {
|
|
629
581
|
|
|
630
582
|
module.exports = require("@babel/runtime/helpers/createClass");
|
|
631
583
|
|
|
632
584
|
/***/ }),
|
|
633
|
-
/*
|
|
585
|
+
/* 19 */
|
|
634
586
|
/***/ (function(module, exports) {
|
|
635
587
|
|
|
636
588
|
module.exports = require("@splunk/visualizations-shared/SizeAwareWrapper");
|
|
637
589
|
|
|
638
590
|
/***/ }),
|
|
639
|
-
/* 19 */,
|
|
640
591
|
/* 20 */,
|
|
641
|
-
/* 21
|
|
592
|
+
/* 21 */,
|
|
593
|
+
/* 22 */
|
|
642
594
|
/***/ (function(module, exports) {
|
|
643
595
|
|
|
644
596
|
module.exports = require("@splunk/visualization-context/TimezoneContext");
|
|
645
597
|
|
|
646
598
|
/***/ }),
|
|
647
|
-
/*
|
|
648
|
-
/*
|
|
599
|
+
/* 23 */,
|
|
600
|
+
/* 24 */
|
|
649
601
|
/***/ (function(module, exports) {
|
|
650
602
|
|
|
651
|
-
module.exports = require("@splunk/visualizations-shared/
|
|
603
|
+
module.exports = require("@splunk/visualizations-shared/hocUtils");
|
|
652
604
|
|
|
653
605
|
/***/ }),
|
|
654
|
-
/*
|
|
655
|
-
/***/ (function(module, exports
|
|
656
|
-
|
|
657
|
-
"use strict";
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
Object.defineProperty(exports, "__esModule", {
|
|
661
|
-
value: true
|
|
662
|
-
});
|
|
663
|
-
exports.pickFieldFromJSONSchema = void 0;
|
|
664
|
-
|
|
665
|
-
var lodash_1 = __webpack_require__(2);
|
|
666
|
-
|
|
667
|
-
var pickFieldFromJSONSchema = function pickFieldFromJSONSchema(optionsSchema) {
|
|
668
|
-
var fieldName = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'default';
|
|
669
|
-
return Object.keys(optionsSchema).reduce(function (accum, k) {
|
|
670
|
-
if (lodash_1.has(optionsSchema[k], fieldName)) {
|
|
671
|
-
accum[k] = optionsSchema[k][fieldName];
|
|
672
|
-
} else if (lodash_1.get(optionsSchema, [k, 'type']) === 'object' && lodash_1.has(optionsSchema[k], 'properties')) {
|
|
673
|
-
var nestedSchema = exports.pickFieldFromJSONSchema(optionsSchema[k].properties, fieldName);
|
|
674
|
-
|
|
675
|
-
if (!lodash_1.isEmpty(nestedSchema)) {
|
|
676
|
-
accum[k] = nestedSchema;
|
|
677
|
-
}
|
|
678
|
-
}
|
|
679
|
-
|
|
680
|
-
return accum;
|
|
681
|
-
}, {});
|
|
682
|
-
};
|
|
606
|
+
/* 25 */
|
|
607
|
+
/***/ (function(module, exports) {
|
|
683
608
|
|
|
684
|
-
exports
|
|
609
|
+
module.exports = require("@splunk/visualizations-shared/JSONSchemaUtils");
|
|
685
610
|
|
|
686
611
|
/***/ }),
|
|
687
|
-
/*
|
|
612
|
+
/* 26 */
|
|
688
613
|
/***/ (function(module, exports) {
|
|
689
614
|
|
|
690
|
-
module.exports = require("@
|
|
615
|
+
module.exports = require("@splunk/visualizations-shared/numberUtils");
|
|
691
616
|
|
|
692
617
|
/***/ }),
|
|
693
|
-
/*
|
|
618
|
+
/* 27 */
|
|
694
619
|
/***/ (function(module, exports, __webpack_require__) {
|
|
695
620
|
|
|
696
621
|
"use strict";
|
|
@@ -705,13 +630,13 @@ var React = __webpack_require__(1);
|
|
|
705
630
|
|
|
706
631
|
var T = __webpack_require__(0);
|
|
707
632
|
|
|
708
|
-
var lodash_1 = __webpack_require__(
|
|
633
|
+
var lodash_1 = __webpack_require__(3);
|
|
709
634
|
|
|
710
|
-
var i18n_1 = __webpack_require__(
|
|
635
|
+
var i18n_1 = __webpack_require__(2);
|
|
711
636
|
|
|
712
|
-
var Message_1 = __webpack_require__(
|
|
637
|
+
var Message_1 = __webpack_require__(9);
|
|
713
638
|
|
|
714
|
-
var FixedSizeContainer_1 = __webpack_require__(
|
|
639
|
+
var FixedSizeContainer_1 = __webpack_require__(12);
|
|
715
640
|
/**
|
|
716
641
|
* @method shouldShowIconPlaceholder
|
|
717
642
|
* @param {object} dataSources
|
|
@@ -781,13 +706,13 @@ IconPlaceholder.defaultProps = {
|
|
|
781
706
|
exports.default = FixedSizeContainer_1.default(IconPlaceholder);
|
|
782
707
|
|
|
783
708
|
/***/ }),
|
|
784
|
-
/*
|
|
709
|
+
/* 28 */
|
|
785
710
|
/***/ (function(module, exports, __webpack_require__) {
|
|
786
711
|
|
|
787
712
|
"use strict";
|
|
788
713
|
|
|
789
714
|
|
|
790
|
-
var _defineProperty = __webpack_require__(
|
|
715
|
+
var _defineProperty = __webpack_require__(6);
|
|
791
716
|
|
|
792
717
|
Object.defineProperty(exports, "__esModule", {
|
|
793
718
|
value: true
|
|
@@ -796,9 +721,9 @@ exports.getSortingParams = exports.SortParamsPropTypes = void 0;
|
|
|
796
721
|
|
|
797
722
|
var T = __webpack_require__(0);
|
|
798
723
|
|
|
799
|
-
var lodash_1 = __webpack_require__(
|
|
724
|
+
var lodash_1 = __webpack_require__(3);
|
|
800
725
|
|
|
801
|
-
var DataSource_1 = __webpack_require__(
|
|
726
|
+
var DataSource_1 = __webpack_require__(38);
|
|
802
727
|
|
|
803
728
|
exports.SortParamsPropTypes = T.shape({
|
|
804
729
|
currentSortKey: T.string,
|
|
@@ -851,7 +776,7 @@ var getSortingParams = function getSortingParams(_ref) {
|
|
|
851
776
|
exports.getSortingParams = getSortingParams;
|
|
852
777
|
|
|
853
778
|
/***/ }),
|
|
854
|
-
/*
|
|
779
|
+
/* 29 */
|
|
855
780
|
/***/ (function(module, exports, __webpack_require__) {
|
|
856
781
|
|
|
857
782
|
"use strict";
|
|
@@ -864,7 +789,7 @@ exports.getPaginationParams = exports.PaginatorParamsPropTypes = void 0;
|
|
|
864
789
|
|
|
865
790
|
var T = __webpack_require__(0);
|
|
866
791
|
|
|
867
|
-
var lodash_1 = __webpack_require__(
|
|
792
|
+
var lodash_1 = __webpack_require__(3);
|
|
868
793
|
|
|
869
794
|
exports.PaginatorParamsPropTypes = T.shape({
|
|
870
795
|
isPaging: T.bool,
|
|
@@ -915,7 +840,7 @@ var getPaginationParams = function getPaginationParams(_ref) {
|
|
|
915
840
|
exports.getPaginationParams = getPaginationParams;
|
|
916
841
|
|
|
917
842
|
/***/ }),
|
|
918
|
-
/*
|
|
843
|
+
/* 30 */
|
|
919
844
|
/***/ (function(module, exports, __webpack_require__) {
|
|
920
845
|
|
|
921
846
|
"use strict";
|
|
@@ -943,7 +868,7 @@ var VizCategory;
|
|
|
943
868
|
})(VizCategory = exports.VizCategory || (exports.VizCategory = {}));
|
|
944
869
|
|
|
945
870
|
/***/ }),
|
|
946
|
-
/*
|
|
871
|
+
/* 31 */
|
|
947
872
|
/***/ (function(module, exports, __webpack_require__) {
|
|
948
873
|
|
|
949
874
|
"use strict";
|
|
@@ -955,39 +880,39 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
955
880
|
|
|
956
881
|
var React = __webpack_require__(1);
|
|
957
882
|
|
|
958
|
-
var lodash_1 = __webpack_require__(
|
|
883
|
+
var lodash_1 = __webpack_require__(3);
|
|
959
884
|
|
|
960
|
-
var getSettingsFromThemedProps_1 = __webpack_require__(
|
|
885
|
+
var getSettingsFromThemedProps_1 = __webpack_require__(32);
|
|
961
886
|
|
|
962
|
-
var Options_1 = __webpack_require__(
|
|
887
|
+
var Options_1 = __webpack_require__(33);
|
|
963
888
|
|
|
964
|
-
var SanitizeProps_1 = __webpack_require__(
|
|
889
|
+
var SanitizeProps_1 = __webpack_require__(34);
|
|
965
890
|
|
|
966
|
-
var TimezoneContext_1 = __webpack_require__(
|
|
891
|
+
var TimezoneContext_1 = __webpack_require__(22);
|
|
967
892
|
|
|
968
|
-
var moment_1 = __webpack_require__(
|
|
893
|
+
var moment_1 = __webpack_require__(35);
|
|
969
894
|
|
|
970
895
|
var styled_components_1 = __webpack_require__(4);
|
|
971
896
|
|
|
972
|
-
var
|
|
897
|
+
var hocUtils_1 = __webpack_require__(24);
|
|
973
898
|
|
|
974
|
-
var
|
|
899
|
+
var JSONSchemaUtils_1 = __webpack_require__(25);
|
|
975
900
|
|
|
976
|
-
var
|
|
901
|
+
var SplunkVisualization_1 = __webpack_require__(36);
|
|
977
902
|
|
|
978
|
-
var
|
|
903
|
+
var VizBehavior_1 = __webpack_require__(5);
|
|
979
904
|
|
|
980
|
-
var
|
|
905
|
+
var getSorting_1 = __webpack_require__(28);
|
|
981
906
|
|
|
982
|
-
var
|
|
907
|
+
var getPagination_1 = __webpack_require__(29);
|
|
983
908
|
|
|
984
|
-
var
|
|
909
|
+
var useDeepMemo_1 = __webpack_require__(39);
|
|
985
910
|
|
|
986
|
-
var
|
|
911
|
+
var MissingPropsMessage_1 = __webpack_require__(40);
|
|
987
912
|
|
|
988
|
-
var
|
|
913
|
+
var withEditModeCover_1 = __webpack_require__(41);
|
|
989
914
|
|
|
990
|
-
var
|
|
915
|
+
var withPlaceholder_1 = __webpack_require__(42);
|
|
991
916
|
/**
|
|
992
917
|
* hoc that wraps a pure react visualization in a Dashboard visualization
|
|
993
918
|
* @param {DashboardVizOpts} opts
|
|
@@ -1188,37 +1113,37 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
1188
1113
|
exports.default = withDashboardViz;
|
|
1189
1114
|
|
|
1190
1115
|
/***/ }),
|
|
1191
|
-
/*
|
|
1116
|
+
/* 32 */
|
|
1192
1117
|
/***/ (function(module, exports) {
|
|
1193
1118
|
|
|
1194
1119
|
module.exports = require("@splunk/themes/getSettingsFromThemedProps");
|
|
1195
1120
|
|
|
1196
1121
|
/***/ }),
|
|
1197
|
-
/*
|
|
1122
|
+
/* 33 */
|
|
1198
1123
|
/***/ (function(module, exports) {
|
|
1199
1124
|
|
|
1200
1125
|
module.exports = require("@splunk/visualization-encoding/Options");
|
|
1201
1126
|
|
|
1202
1127
|
/***/ }),
|
|
1203
|
-
/*
|
|
1128
|
+
/* 34 */
|
|
1204
1129
|
/***/ (function(module, exports) {
|
|
1205
1130
|
|
|
1206
1131
|
module.exports = require("@splunk/visualizations-shared/SanitizeProps");
|
|
1207
1132
|
|
|
1208
1133
|
/***/ }),
|
|
1209
|
-
/*
|
|
1134
|
+
/* 35 */
|
|
1210
1135
|
/***/ (function(module, exports) {
|
|
1211
1136
|
|
|
1212
1137
|
module.exports = require("@splunk/moment");
|
|
1213
1138
|
|
|
1214
1139
|
/***/ }),
|
|
1215
|
-
/*
|
|
1140
|
+
/* 36 */
|
|
1216
1141
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1217
1142
|
|
|
1218
1143
|
"use strict";
|
|
1219
1144
|
|
|
1220
1145
|
|
|
1221
|
-
var _classCallCheck = __webpack_require__(
|
|
1146
|
+
var _classCallCheck = __webpack_require__(10);
|
|
1222
1147
|
|
|
1223
1148
|
Object.defineProperty(exports, "__esModule", {
|
|
1224
1149
|
value: true
|
|
@@ -1228,9 +1153,9 @@ exports.INITIAL_HEIGHT = exports.INITIAL_WIDTH = void 0;
|
|
|
1228
1153
|
|
|
1229
1154
|
var T = __webpack_require__(0);
|
|
1230
1155
|
|
|
1231
|
-
var lodash_1 = __webpack_require__(
|
|
1156
|
+
var lodash_1 = __webpack_require__(3);
|
|
1232
1157
|
|
|
1233
|
-
var VizActionHandler_1 = __webpack_require__(
|
|
1158
|
+
var VizActionHandler_1 = __webpack_require__(37); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
|
|
1234
1159
|
|
|
1235
1160
|
|
|
1236
1161
|
exports.INITIAL_WIDTH = 250;
|
|
@@ -1363,15 +1288,15 @@ SplunkVisualization.defaultProps = {
|
|
|
1363
1288
|
exports.default = SplunkVisualization;
|
|
1364
1289
|
|
|
1365
1290
|
/***/ }),
|
|
1366
|
-
/*
|
|
1291
|
+
/* 37 */
|
|
1367
1292
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1368
1293
|
|
|
1369
1294
|
"use strict";
|
|
1370
1295
|
|
|
1371
1296
|
|
|
1372
|
-
var _classCallCheck = __webpack_require__(
|
|
1297
|
+
var _classCallCheck = __webpack_require__(10);
|
|
1373
1298
|
|
|
1374
|
-
var _createClass = __webpack_require__(
|
|
1299
|
+
var _createClass = __webpack_require__(18);
|
|
1375
1300
|
|
|
1376
1301
|
Object.defineProperty(exports, "__esModule", {
|
|
1377
1302
|
value: true
|
|
@@ -1400,7 +1325,7 @@ var DefaultVizActionHandler = /*#__PURE__*/function () {
|
|
|
1400
1325
|
exports.DefaultVizActionHandler = DefaultVizActionHandler;
|
|
1401
1326
|
|
|
1402
1327
|
/***/ }),
|
|
1403
|
-
/*
|
|
1328
|
+
/* 38 */
|
|
1404
1329
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1405
1330
|
|
|
1406
1331
|
"use strict";
|
|
@@ -1413,7 +1338,7 @@ exports.validSortDirs = void 0;
|
|
|
1413
1338
|
exports.validSortDirs = ['asc', 'desc', 'none'];
|
|
1414
1339
|
|
|
1415
1340
|
/***/ }),
|
|
1416
|
-
/*
|
|
1341
|
+
/* 39 */
|
|
1417
1342
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1418
1343
|
|
|
1419
1344
|
"use strict";
|
|
@@ -1426,7 +1351,7 @@ exports.useDeepMemo = void 0;
|
|
|
1426
1351
|
|
|
1427
1352
|
var react_1 = __webpack_require__(1);
|
|
1428
1353
|
|
|
1429
|
-
var lodash_1 = __webpack_require__(
|
|
1354
|
+
var lodash_1 = __webpack_require__(3);
|
|
1430
1355
|
/**
|
|
1431
1356
|
* This hook evaluates and stores the result of a passed function and only
|
|
1432
1357
|
* re-evaluates the function when passed dependencies change.
|
|
@@ -1458,7 +1383,7 @@ var useDeepMemo = function useDeepMemo(fn, dependencies) {
|
|
|
1458
1383
|
exports.useDeepMemo = useDeepMemo;
|
|
1459
1384
|
|
|
1460
1385
|
/***/ }),
|
|
1461
|
-
/*
|
|
1386
|
+
/* 40 */
|
|
1462
1387
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1463
1388
|
|
|
1464
1389
|
"use strict";
|
|
@@ -1473,11 +1398,11 @@ var React = __webpack_require__(1);
|
|
|
1473
1398
|
|
|
1474
1399
|
var T = __webpack_require__(0);
|
|
1475
1400
|
|
|
1476
|
-
var i18n_1 = __webpack_require__(
|
|
1401
|
+
var i18n_1 = __webpack_require__(2);
|
|
1477
1402
|
|
|
1478
|
-
var Message_1 = __webpack_require__(
|
|
1403
|
+
var Message_1 = __webpack_require__(9);
|
|
1479
1404
|
|
|
1480
|
-
var FixedSizeContainer_1 = __webpack_require__(
|
|
1405
|
+
var FixedSizeContainer_1 = __webpack_require__(12);
|
|
1481
1406
|
/**
|
|
1482
1407
|
* @method isMissing
|
|
1483
1408
|
* @param {any} v
|
|
@@ -1538,7 +1463,7 @@ exports.MissingPropsMessage.defaultProps = {
|
|
|
1538
1463
|
exports.default = FixedSizeContainer_1.default(exports.MissingPropsMessage);
|
|
1539
1464
|
|
|
1540
1465
|
/***/ }),
|
|
1541
|
-
/*
|
|
1466
|
+
/* 41 */
|
|
1542
1467
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1543
1468
|
|
|
1544
1469
|
"use strict";
|
|
@@ -1552,14 +1477,14 @@ var React = __webpack_require__(1);
|
|
|
1552
1477
|
|
|
1553
1478
|
var styled_components_1 = __webpack_require__(4);
|
|
1554
1479
|
|
|
1555
|
-
var hocUtils_1 = __webpack_require__(
|
|
1480
|
+
var hocUtils_1 = __webpack_require__(13);
|
|
1556
1481
|
|
|
1557
1482
|
var Cover = styled_components_1.default.div.withConfig({
|
|
1558
1483
|
displayName: "withEditModeCover__Cover",
|
|
1559
1484
|
componentId: "sc-1gsbnxb-0"
|
|
1560
1485
|
})(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
|
|
1561
1486
|
var Blocker = styled_components_1.default.div.attrs({
|
|
1562
|
-
'data-splunk-visualization-version': "25.0
|
|
1487
|
+
'data-splunk-visualization-version': "25.1.0 - 812a9a4d8"
|
|
1563
1488
|
}).withConfig({
|
|
1564
1489
|
displayName: "withEditModeCover__Blocker",
|
|
1565
1490
|
componentId: "sc-1gsbnxb-1"
|
|
@@ -1589,12 +1514,6 @@ var withEditModeCover = function withEditModeCover(Visualization, disableEditMod
|
|
|
1589
1514
|
|
|
1590
1515
|
exports.default = withEditModeCover;
|
|
1591
1516
|
|
|
1592
|
-
/***/ }),
|
|
1593
|
-
/* 41 */
|
|
1594
|
-
/***/ (function(module, exports) {
|
|
1595
|
-
|
|
1596
|
-
module.exports = require("@splunk/visualizations-shared/mapUtils");
|
|
1597
|
-
|
|
1598
1517
|
/***/ }),
|
|
1599
1518
|
/* 42 */
|
|
1600
1519
|
/***/ (function(module, exports, __webpack_require__) {
|
|
@@ -1608,15 +1527,15 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1608
1527
|
|
|
1609
1528
|
var React = __webpack_require__(1);
|
|
1610
1529
|
|
|
1611
|
-
var colorUtils_1 = __webpack_require__(
|
|
1530
|
+
var colorUtils_1 = __webpack_require__(11);
|
|
1612
1531
|
|
|
1613
|
-
var variables_1 = __webpack_require__(
|
|
1532
|
+
var variables_1 = __webpack_require__(8);
|
|
1614
1533
|
|
|
1615
|
-
var IconPlaceholder_1 = __webpack_require__(
|
|
1534
|
+
var IconPlaceholder_1 = __webpack_require__(27);
|
|
1616
1535
|
|
|
1617
1536
|
var VizBehavior_1 = __webpack_require__(5);
|
|
1618
1537
|
|
|
1619
|
-
var hocUtils_1 = __webpack_require__(
|
|
1538
|
+
var hocUtils_1 = __webpack_require__(13);
|
|
1620
1539
|
|
|
1621
1540
|
var withPlaceholder = function withPlaceholder(Visualization) {
|
|
1622
1541
|
var useIconPlaceholder = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : IconPlaceholder_1.shouldShowIconPlaceholder;
|
|
@@ -1691,7 +1610,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1691
1610
|
value: true
|
|
1692
1611
|
});
|
|
1693
1612
|
|
|
1694
|
-
var i18n_1 = __webpack_require__(
|
|
1613
|
+
var i18n_1 = __webpack_require__(2);
|
|
1695
1614
|
|
|
1696
1615
|
var background = function background(_ref) {
|
|
1697
1616
|
var label = _ref.label,
|
|
@@ -1796,19 +1715,20 @@ module.exports = require("d3-scale");
|
|
|
1796
1715
|
/* 85 */,
|
|
1797
1716
|
/* 86 */,
|
|
1798
1717
|
/* 87 */,
|
|
1799
|
-
/* 88
|
|
1718
|
+
/* 88 */,
|
|
1719
|
+
/* 89 */
|
|
1800
1720
|
/***/ (function(module, exports) {
|
|
1801
1721
|
|
|
1802
1722
|
module.exports = require("@splunk/visualization-encoding/utils/types");
|
|
1803
1723
|
|
|
1804
1724
|
/***/ }),
|
|
1805
|
-
/*
|
|
1725
|
+
/* 90 */
|
|
1806
1726
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1807
1727
|
|
|
1808
1728
|
"use strict";
|
|
1809
1729
|
|
|
1810
1730
|
|
|
1811
|
-
var _toConsumableArray = __webpack_require__(
|
|
1731
|
+
var _toConsumableArray = __webpack_require__(7);
|
|
1812
1732
|
|
|
1813
1733
|
var _slicedToArray = __webpack_require__(52);
|
|
1814
1734
|
|
|
@@ -1823,32 +1743,32 @@ var react_1 = __webpack_require__(1);
|
|
|
1823
1743
|
|
|
1824
1744
|
var T = __webpack_require__(0);
|
|
1825
1745
|
|
|
1826
|
-
var lodash_1 = __webpack_require__(
|
|
1746
|
+
var lodash_1 = __webpack_require__(3);
|
|
1827
1747
|
|
|
1828
1748
|
var styled_components_1 = __webpack_require__(4);
|
|
1829
1749
|
|
|
1830
|
-
var Message_1 = __webpack_require__(
|
|
1750
|
+
var Message_1 = __webpack_require__(9);
|
|
1831
1751
|
|
|
1832
|
-
var i18n_1 = __webpack_require__(
|
|
1752
|
+
var i18n_1 = __webpack_require__(2);
|
|
1833
1753
|
|
|
1834
|
-
var SizeAwareWrapper_1 = __webpack_require__(
|
|
1754
|
+
var SizeAwareWrapper_1 = __webpack_require__(19);
|
|
1835
1755
|
|
|
1836
|
-
var style_1 = __webpack_require__(
|
|
1756
|
+
var style_1 = __webpack_require__(14);
|
|
1837
1757
|
|
|
1838
1758
|
var visualization_color_palettes_1 = __webpack_require__(44); // eslint-disable-next-line camelcase
|
|
1839
1759
|
|
|
1840
1760
|
|
|
1841
|
-
var sankey_1 = __webpack_require__(
|
|
1761
|
+
var sankey_1 = __webpack_require__(248);
|
|
1842
1762
|
|
|
1843
1763
|
var VizStyleWrapper_1 = __webpack_require__(62);
|
|
1844
1764
|
|
|
1845
|
-
var SankeyUtils_1 = __webpack_require__(
|
|
1765
|
+
var SankeyUtils_1 = __webpack_require__(110);
|
|
1846
1766
|
|
|
1847
|
-
var SankeyNode_1 = __webpack_require__(
|
|
1767
|
+
var SankeyNode_1 = __webpack_require__(249);
|
|
1848
1768
|
|
|
1849
|
-
var SankeyLink_1 = __webpack_require__(
|
|
1769
|
+
var SankeyLink_1 = __webpack_require__(250);
|
|
1850
1770
|
|
|
1851
|
-
var SankeyTooltip_1 = __webpack_require__(
|
|
1771
|
+
var SankeyTooltip_1 = __webpack_require__(251);
|
|
1852
1772
|
|
|
1853
1773
|
exports.DEFAULT_COLORS = {
|
|
1854
1774
|
backgroundColor: '#ffffff',
|
|
@@ -2184,7 +2104,6 @@ PureSankey.defaultProps = {
|
|
|
2184
2104
|
exports.default = PureSankey;
|
|
2185
2105
|
|
|
2186
2106
|
/***/ }),
|
|
2187
|
-
/* 90 */,
|
|
2188
2107
|
/* 91 */,
|
|
2189
2108
|
/* 92 */,
|
|
2190
2109
|
/* 93 */,
|
|
@@ -2198,13 +2117,13 @@ exports.default = PureSankey;
|
|
|
2198
2117
|
/* 101 */,
|
|
2199
2118
|
/* 102 */,
|
|
2200
2119
|
/* 103 */,
|
|
2201
|
-
/* 104
|
|
2120
|
+
/* 104 */,
|
|
2121
|
+
/* 105 */
|
|
2202
2122
|
/***/ (function(module, exports) {
|
|
2203
2123
|
|
|
2204
2124
|
module.exports = require("@splunk/visualizations-shared/dataSourceUtils");
|
|
2205
2125
|
|
|
2206
2126
|
/***/ }),
|
|
2207
|
-
/* 105 */,
|
|
2208
2127
|
/* 106 */,
|
|
2209
2128
|
/* 107 */,
|
|
2210
2129
|
/* 108 */
|
|
@@ -2214,6 +2133,12 @@ module.exports = require("@splunk/react-ui/Popover");
|
|
|
2214
2133
|
|
|
2215
2134
|
/***/ }),
|
|
2216
2135
|
/* 109 */
|
|
2136
|
+
/***/ (function(module, exports) {
|
|
2137
|
+
|
|
2138
|
+
module.exports = require("@babel/runtime/helpers/typeof");
|
|
2139
|
+
|
|
2140
|
+
/***/ }),
|
|
2141
|
+
/* 110 */
|
|
2217
2142
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2218
2143
|
|
|
2219
2144
|
"use strict";
|
|
@@ -2227,7 +2152,7 @@ exports.truncateSVGTextWithEllipsis = exports.checkDigitsOnly = exports.computeA
|
|
|
2227
2152
|
|
|
2228
2153
|
var d3_scale_1 = __webpack_require__(78);
|
|
2229
2154
|
|
|
2230
|
-
var types_1 = __webpack_require__(
|
|
2155
|
+
var types_1 = __webpack_require__(89);
|
|
2231
2156
|
|
|
2232
2157
|
var insertNodeIfNotExist = function insertNodeIfNotExist(sankeyData, nodeName) {
|
|
2233
2158
|
var nodes = sankeyData.nodes;
|
|
@@ -2499,24 +2424,23 @@ var truncateSVGTextWithEllipsis = function truncateSVGTextWithEllipsis(textEleme
|
|
|
2499
2424
|
exports.truncateSVGTextWithEllipsis = truncateSVGTextWithEllipsis;
|
|
2500
2425
|
|
|
2501
2426
|
/***/ }),
|
|
2502
|
-
/* 110 */,
|
|
2503
2427
|
/* 111 */,
|
|
2504
2428
|
/* 112 */,
|
|
2505
2429
|
/* 113 */,
|
|
2506
2430
|
/* 114 */,
|
|
2507
|
-
/* 115
|
|
2431
|
+
/* 115 */,
|
|
2432
|
+
/* 116 */
|
|
2508
2433
|
/***/ (function(module, exports) {
|
|
2509
2434
|
|
|
2510
2435
|
module.exports = require("d3-interpolate");
|
|
2511
2436
|
|
|
2512
2437
|
/***/ }),
|
|
2513
|
-
/*
|
|
2438
|
+
/* 117 */
|
|
2514
2439
|
/***/ (function(module, exports) {
|
|
2515
2440
|
|
|
2516
2441
|
module.exports = require("d3-collection");
|
|
2517
2442
|
|
|
2518
2443
|
/***/ }),
|
|
2519
|
-
/* 117 */,
|
|
2520
2444
|
/* 118 */,
|
|
2521
2445
|
/* 119 */,
|
|
2522
2446
|
/* 120 */,
|
|
@@ -2536,32 +2460,33 @@ module.exports = require("d3-collection");
|
|
|
2536
2460
|
/* 134 */,
|
|
2537
2461
|
/* 135 */,
|
|
2538
2462
|
/* 136 */,
|
|
2539
|
-
/* 137
|
|
2463
|
+
/* 137 */,
|
|
2464
|
+
/* 138 */
|
|
2540
2465
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2541
2466
|
|
|
2542
2467
|
"use strict";
|
|
2543
2468
|
|
|
2544
2469
|
|
|
2545
|
-
var _typeof = __webpack_require__(
|
|
2470
|
+
var _typeof = __webpack_require__(109);
|
|
2546
2471
|
|
|
2547
2472
|
Object.defineProperty(exports, "__esModule", {
|
|
2548
2473
|
value: true
|
|
2549
2474
|
});
|
|
2550
2475
|
exports.PureSankey = exports.config = exports.themes = exports.computeVizProps = exports.showPlaceHolderIcon = void 0;
|
|
2551
2476
|
|
|
2552
|
-
var lodash_1 = __webpack_require__(
|
|
2477
|
+
var lodash_1 = __webpack_require__(3);
|
|
2553
2478
|
|
|
2554
|
-
var dataSourceUtils_1 = __webpack_require__(
|
|
2479
|
+
var dataSourceUtils_1 = __webpack_require__(105);
|
|
2555
2480
|
|
|
2556
|
-
var colorUtils_1 = __webpack_require__(
|
|
2481
|
+
var colorUtils_1 = __webpack_require__(11);
|
|
2557
2482
|
|
|
2558
|
-
var withDashboardViz_1 = __webpack_require__(
|
|
2483
|
+
var withDashboardViz_1 = __webpack_require__(31);
|
|
2559
2484
|
|
|
2560
|
-
var PureSankey_1 = __webpack_require__(
|
|
2485
|
+
var PureSankey_1 = __webpack_require__(90);
|
|
2561
2486
|
|
|
2562
2487
|
exports.PureSankey = PureSankey_1.default;
|
|
2563
2488
|
|
|
2564
|
-
var config_1 = __webpack_require__(
|
|
2489
|
+
var config_1 = __webpack_require__(252);
|
|
2565
2490
|
|
|
2566
2491
|
exports.config = config_1.default;
|
|
2567
2492
|
/**
|
|
@@ -2649,7 +2574,6 @@ exports.themes = themes;
|
|
|
2649
2574
|
exports.default = Sankey;
|
|
2650
2575
|
|
|
2651
2576
|
/***/ }),
|
|
2652
|
-
/* 138 */,
|
|
2653
2577
|
/* 139 */,
|
|
2654
2578
|
/* 140 */,
|
|
2655
2579
|
/* 141 */,
|
|
@@ -2756,7 +2680,9 @@ exports.default = Sankey;
|
|
|
2756
2680
|
/* 242 */,
|
|
2757
2681
|
/* 243 */,
|
|
2758
2682
|
/* 244 */,
|
|
2759
|
-
/* 245
|
|
2683
|
+
/* 245 */,
|
|
2684
|
+
/* 246 */,
|
|
2685
|
+
/* 247 */
|
|
2760
2686
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2761
2687
|
|
|
2762
2688
|
"use strict";
|
|
@@ -2786,9 +2712,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2786
2712
|
});
|
|
2787
2713
|
exports.default = void 0;
|
|
2788
2714
|
|
|
2789
|
-
__exportStar(__webpack_require__(
|
|
2715
|
+
__exportStar(__webpack_require__(138), exports);
|
|
2790
2716
|
|
|
2791
|
-
var Sankey_1 = __webpack_require__(
|
|
2717
|
+
var Sankey_1 = __webpack_require__(138);
|
|
2792
2718
|
|
|
2793
2719
|
Object.defineProperty(exports, "default", {
|
|
2794
2720
|
enumerable: true,
|
|
@@ -2798,17 +2724,17 @@ Object.defineProperty(exports, "default", {
|
|
|
2798
2724
|
});
|
|
2799
2725
|
|
|
2800
2726
|
/***/ }),
|
|
2801
|
-
/*
|
|
2727
|
+
/* 248 */
|
|
2802
2728
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2803
2729
|
|
|
2804
2730
|
"use strict";
|
|
2805
2731
|
__webpack_require__.r(__webpack_exports__);
|
|
2806
2732
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d3_sankey", function() { return d3_sankey; });
|
|
2807
|
-
/* harmony import */ var d3_interpolate__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
2733
|
+
/* harmony import */ var d3_interpolate__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(116);
|
|
2808
2734
|
/* harmony import */ var d3_interpolate__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(d3_interpolate__WEBPACK_IMPORTED_MODULE_0__);
|
|
2809
2735
|
/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(54);
|
|
2810
2736
|
/* harmony import */ var d3_array__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(d3_array__WEBPACK_IMPORTED_MODULE_1__);
|
|
2811
|
-
/* harmony import */ var d3_collection__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
2737
|
+
/* harmony import */ var d3_collection__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(117);
|
|
2812
2738
|
/* harmony import */ var d3_collection__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(d3_collection__WEBPACK_IMPORTED_MODULE_2__);
|
|
2813
2739
|
// reference link :- https://github.com/csaladenes/sankey
|
|
2814
2740
|
|
|
@@ -3364,7 +3290,7 @@ var d3_sankey = function d3_sankey() {
|
|
|
3364
3290
|
};
|
|
3365
3291
|
|
|
3366
3292
|
/***/ }),
|
|
3367
|
-
/*
|
|
3293
|
+
/* 249 */
|
|
3368
3294
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3369
3295
|
|
|
3370
3296
|
"use strict";
|
|
@@ -3382,9 +3308,9 @@ var styled_components_1 = __webpack_require__(4);
|
|
|
3382
3308
|
|
|
3383
3309
|
var react_1 = __webpack_require__(1);
|
|
3384
3310
|
|
|
3385
|
-
var PureSankey_1 = __webpack_require__(
|
|
3311
|
+
var PureSankey_1 = __webpack_require__(90);
|
|
3386
3312
|
|
|
3387
|
-
var SankeyUtils_1 = __webpack_require__(
|
|
3313
|
+
var SankeyUtils_1 = __webpack_require__(110);
|
|
3388
3314
|
|
|
3389
3315
|
var MAX_NODE_TEXT_WIDTH = 150;
|
|
3390
3316
|
|
|
@@ -3484,7 +3410,7 @@ SankeyNode.defaultProps = {
|
|
|
3484
3410
|
exports.default = SankeyNode;
|
|
3485
3411
|
|
|
3486
3412
|
/***/ }),
|
|
3487
|
-
/*
|
|
3413
|
+
/* 250 */
|
|
3488
3414
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3489
3415
|
|
|
3490
3416
|
"use strict";
|
|
@@ -3498,9 +3424,9 @@ var React = __webpack_require__(1);
|
|
|
3498
3424
|
|
|
3499
3425
|
var T = __webpack_require__(0);
|
|
3500
3426
|
|
|
3501
|
-
var PureSankey_1 = __webpack_require__(
|
|
3427
|
+
var PureSankey_1 = __webpack_require__(90);
|
|
3502
3428
|
|
|
3503
|
-
var SankeyUtils_1 = __webpack_require__(
|
|
3429
|
+
var SankeyUtils_1 = __webpack_require__(110);
|
|
3504
3430
|
|
|
3505
3431
|
var getLinkFill = function getLinkFill(link, colorCategoryMapping, colorMode) {
|
|
3506
3432
|
if (colorMode === 'categorical') {
|
|
@@ -3592,7 +3518,7 @@ SankeyLink.defaultProps = {
|
|
|
3592
3518
|
exports.default = SankeyLink;
|
|
3593
3519
|
|
|
3594
3520
|
/***/ }),
|
|
3595
|
-
/*
|
|
3521
|
+
/* 251 */
|
|
3596
3522
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3597
3523
|
|
|
3598
3524
|
"use strict";
|
|
@@ -3610,9 +3536,9 @@ var Popover_1 = __webpack_require__(108);
|
|
|
3610
3536
|
|
|
3611
3537
|
var styled_components_1 = __webpack_require__(4);
|
|
3612
3538
|
|
|
3613
|
-
var numberUtils_1 = __webpack_require__(
|
|
3539
|
+
var numberUtils_1 = __webpack_require__(26);
|
|
3614
3540
|
|
|
3615
|
-
var PureSankey_1 = __webpack_require__(
|
|
3541
|
+
var PureSankey_1 = __webpack_require__(90);
|
|
3616
3542
|
|
|
3617
3543
|
var DEFAULT_PLACEMENT = 'below';
|
|
3618
3544
|
var StyledTooltipContainer = styled_components_1.default.div.withConfig({
|
|
@@ -3862,7 +3788,7 @@ SankeyTooltip.defaultProps = {
|
|
|
3862
3788
|
exports.default = SankeyTooltip;
|
|
3863
3789
|
|
|
3864
3790
|
/***/ }),
|
|
3865
|
-
/*
|
|
3791
|
+
/* 252 */
|
|
3866
3792
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3867
3793
|
|
|
3868
3794
|
"use strict";
|
|
@@ -3878,21 +3804,21 @@ var placeholders_1 = __webpack_require__(45);
|
|
|
3878
3804
|
|
|
3879
3805
|
var visualization_color_palettes_1 = __webpack_require__(44);
|
|
3880
3806
|
|
|
3881
|
-
var schemaUtils_1 = __webpack_require__(
|
|
3807
|
+
var schemaUtils_1 = __webpack_require__(15);
|
|
3882
3808
|
|
|
3883
3809
|
var PresetPalettes_1 = __webpack_require__(53);
|
|
3884
3810
|
|
|
3885
3811
|
var themes_1 = __webpack_require__(69);
|
|
3886
3812
|
|
|
3887
|
-
var i18n_1 = __webpack_require__(
|
|
3813
|
+
var i18n_1 = __webpack_require__(2);
|
|
3888
3814
|
|
|
3889
3815
|
var VizBehavior_1 = __webpack_require__(5);
|
|
3890
3816
|
|
|
3891
|
-
var VizCategory_1 = __webpack_require__(
|
|
3817
|
+
var VizCategory_1 = __webpack_require__(30);
|
|
3892
3818
|
|
|
3893
|
-
var configUtils_1 = __webpack_require__(
|
|
3819
|
+
var configUtils_1 = __webpack_require__(16);
|
|
3894
3820
|
|
|
3895
|
-
var DynamicLinkColorsEditor_1 = __webpack_require__(
|
|
3821
|
+
var DynamicLinkColorsEditor_1 = __webpack_require__(253);
|
|
3896
3822
|
|
|
3897
3823
|
var BackgroundColor_1 = __webpack_require__(49);
|
|
3898
3824
|
|
|
@@ -4105,16 +4031,16 @@ var config = {
|
|
|
4105
4031
|
exports.default = configUtils_1.enhanceConfig(config);
|
|
4106
4032
|
|
|
4107
4033
|
/***/ }),
|
|
4108
|
-
/*
|
|
4034
|
+
/* 253 */
|
|
4109
4035
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4110
4036
|
|
|
4111
4037
|
"use strict";
|
|
4112
4038
|
__webpack_require__.r(__webpack_exports__);
|
|
4113
4039
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getDynamicLinkColorsEditor", function() { return getDynamicLinkColorsEditor; });
|
|
4114
|
-
/* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
4040
|
+
/* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
|
|
4115
4041
|
/* harmony import */ var _splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_splunk_ui_utils_i18n__WEBPACK_IMPORTED_MODULE_0__);
|
|
4116
|
-
/* harmony import */ var
|
|
4117
|
-
/* harmony import */ var
|
|
4042
|
+
/* harmony import */ var _splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(17);
|
|
4043
|
+
/* harmony import */ var _splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__);
|
|
4118
4044
|
|
|
4119
4045
|
|
|
4120
4046
|
var getDynamicLinkColorsEditor = function getDynamicLinkColorsEditor(_ref) {
|
|
@@ -4127,7 +4053,7 @@ var getDynamicLinkColorsEditor = function getDynamicLinkColorsEditor(_ref) {
|
|
|
4127
4053
|
editor: 'editor.dynamicColor',
|
|
4128
4054
|
showEditor: function showEditor(_ref2) {
|
|
4129
4055
|
var options = _ref2.options;
|
|
4130
|
-
return Object(
|
|
4056
|
+
return Object(_splunk_visualizations_shared_configUtils__WEBPACK_IMPORTED_MODULE_1__["isDynamicOption"])(options.linkColors);
|
|
4131
4057
|
},
|
|
4132
4058
|
editorProps: {
|
|
4133
4059
|
labelPosition: 'left',
|